**** BEGIN LOGGING AT Mon Sep 25 03:00:01 2017 Sep 25 03:52:56 learningc: try virtual/kernel instead of kernel/virtual Sep 25 03:53:14 though you may have figured that out by now perhas Sep 25 03:59:47 bluelightning, Yes I tried and works now. Is virtual/kernel a path or like I first thought of the backslash as OR ? Sep 25 04:00:35 learningc: no, "virtual/kernel" is just a name that all kernel recipes provide Sep 25 04:01:25 the "virtual/" bit is a convention to allow dependencies on certain things that might be selectable without specifying any selection Sep 25 04:01:59 conveniently it also allows you to build the selected item without having to know what the configuration has selected for it Sep 25 04:02:13 bluelightning, I see. Is there a way to see the name of all those kernel recipes referenced by virtual/kernel? Like on imx6 board, the instruction calls for linux-imx Sep 25 04:03:02 good question - actually I don't think there is a way currently, other than "git grep virtual/kernel" on each of your layers Sep 25 04:04:35 one way of finding the currently selected one is to run bitbake -e virtual/kernel | grep ^PN= (or ^FILE= to get the path to the recipe file) Sep 25 04:06:39 bluelightning, Thanks. Seems to work. I get PN="linux-renesas" Sep 25 04:08:20 right - FYI you can find out where that's been selected by running bitbake -e | less and then searching (with /) for ^PREFERRED_PROVIDER_virtual/kernel Sep 25 04:10:41 bluelightning, I see. Good to know. Thanks Sep 25 06:58:04 Hello, is there a way to tell yocto to keep only the last image in the tmp/deploy folder ? Sep 25 07:34:57 top22: should be default behaviour anyways since morty, IIRC Sep 25 07:40:51 LetoThe2nd: I'm actually using krogoth :( Sep 25 07:50:19 Hi, is there any way somehow get the compiled image recipe name during a package/recipe compilation? Concretely I'd like to adjust 'hostname' in 'base-files' recipe according to the name of compiled image. Thanks! Sep 25 08:11:06 After I generate the .config file for my new kernel, what should I do? Do I rebuild the image with bitbake myimagename ? Sep 25 08:23:31 learningc: You have to make a .bbappend file for your kernel with .config -> defconfig name... It is described in the bitbake manual here: https://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html#changing-the-configuration Sep 25 08:24:15 learningc: Actually it is not bitbake manual it is kernel development help for Yocto Projects, sorry.. :) Sep 25 08:25:00 learningc: After this when you will rebuild your image kernel will be recompiled according to your defconfig file. Sep 25 08:26:05 BBoy, I see. Thanks. Sep 25 08:38:25 learningc: You're welcome. Sep 25 09:07:37 Does anyone know which boards will be available at Yocto Developer Day Europe 2017? https://www.yoctoproject.org/yocto-project-developer-day-europe-2017 doesn't say Sep 25 09:07:58 * LetoThe2nd guesses: cardboards. Sep 25 09:08:03 maybe also whiteboards. Sep 25 09:08:13 :) Sep 25 09:08:28 bored boards. Sep 25 09:08:30 add snowboards and I'm in Sep 25 09:08:53 beardsboards. Sep 25 09:09:06 emory boards Sep 25 09:15:24 hmm the registration form also doesn't show the options Sep 25 09:15:40 then not on board :) Sep 25 09:17:37 i'm only there for the coffee. Sep 25 09:17:49 * LetoThe2nd looks over to stack of boards gathering dust Sep 25 12:31:01 Hi All. Does some people have trouble with the freescale git ? thanks. Sep 25 12:41:28 The server was down i think but now it works thanks. Sep 25 13:43:28 hello, I am trying to build core-image-minimal with Freescale community BSP Pyro release + vendor layer... I get a strange error: https://pastebin.com/MjKpyiC3 Sep 25 13:44:26 the message about update-alternatives bbclass not being able to link something really confuses me Sep 25 13:45:11 Hello. I'm a bit confused about the 'emacs' recipie. It's not on the http://layers.openembedded.org/layerindex/branch/master/recipes/?q=emacs but I can see it in the 'meta-openembedded/meta-oe/recipes-support/emacs' directory. Sep 25 13:45:18 could anyone provide any suggestions as to how I might fix this issue? Sep 25 13:45:19 Right beside nano, which I have no problem adding Sep 25 13:47:58 malinus: seems to be blacklisted in latest release... http://layers.openembedded.org/layerindex/recipe/62443/ Sep 25 13:51:57 hi Sep 25 13:53:51 eduardas_m: ah I see. Thanks Sep 25 13:53:56 is there a nice way to pass the current git rev for a source repo to the build process? i've got some code using cmake (so it's only using "inherit cmake") and the recipe always gets the latest code (SRCREV = "${AUTOREV}). Sep 25 13:54:53 malinus: considering how important emacs is supposed to be to the open source community, that is actually surprising to me Sep 25 13:56:18 crazy_imp: what exactly are you trying to pass the sha to? Sep 25 13:57:15 CTtpollard: i want it set as -DGIT_VERSION_INFO=.... or such, so i can use it in the code Sep 25 13:57:35 (so it would be passed to the compiler) Sep 25 13:57:36 crazy_imp: just write the SHA1, like SRCREV = "1ab938fa4bd2a75b6f44f565ac877f3c5b428521" Sep 25 13:59:05 crazy_imp: sorry, had to re-read that Sep 25 14:00:39 crazy_imp: maybe "EXTRA_OECMAKE += -"-DGIT_VERSION_INFO=$SRCREV"" Sep 25 14:01:03 without that rogue - Sep 25 14:01:31 CTtpollard: ok thanks :) Sep 25 14:01:46 not sure if that should be before or after the inherit Sep 25 14:01:50 before probably Sep 25 14:14:50 looks like i found a better version, allowing me to use the same without bitbake around :) Sep 25 14:14:59 execute_process(COMMAND git describe --dirty --always --long --all --tags OUTPUT_VARIABLE REPO_STATE OUTPUT_STRIP_TRAILING_WHITESPACE) Sep 25 14:15:03 add_definitions("-DREPO_STATE=\"${REPO_STATE}\"") Sep 25 14:15:14 (for the CMakeLists.txt) Sep 25 14:15:45 ah, wait Sep 25 14:15:59 WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} that's missing form the execute_process Sep 25 14:16:01 eduardas_m: is there any file with the blacklist? Because I've checked out Morty, and it definetly has the file in there. However I still get an error when trying to build it Sep 25 14:16:32 (the most important part since bitbake doesn't create the build dir inside the sources dir, thus git fails to get the rigth repo) Sep 25 14:28:06 I am using devtool to modify chromium. Building chromium from scratch takes ~5hrs on my machine. Sometimes, when I make changes to the recipe, yocto automatically clears my build directory which triggers a complete rebuild. Is there any way to get a confirmation/warning before this happens? For instance, now I just changed the DEPENDS variable which I think should not trigger a full rebuild but it did Sep 25 14:35:58 of course that causes a full rebuild. use devshell and yu can run make directly. Sep 25 14:37:51 Why should adding 1 dependency trigger a full rebuild? Also I would not really mind that but I want an option to get a confirm Y/N thing before it throws away my work (so I can do the full rebuild during the night) Sep 25 14:38:15 because the contents of the sysroot changed so the input to configure would be different Sep 25 14:42:32 malinus: what is the error? Sep 25 14:44:28 eduardas_m: "ERROR: Nothing RPROVIDES 'emacs-23.4'" I've also tried with 'emacs'. Like I've said, I have it in "meta-openembedded/meta-oe/recipes-support/emacs" right beside "meta-openembedded/meta-oe/recipes-support/nano". And I'm building nano just fine. Sep 25 14:45:40 malinus: did you include meta-oe layer in bblayers.conf? Sep 25 14:46:02 JaMa: yes, I wouldn't be able to build nano otherwise I think. Sep 25 14:46:29 malinus: ok and which branch are you using now? Sep 25 14:46:37 mory Sep 25 14:46:39 *morty Sep 25 14:47:18 ./meta-oe/recipes-support/emacs/emacs_23.4.bb:PNBLACKLIST[emacs] ?= "qemu: uncaught target signal 11 (Segmentation fault) - core dumped" Sep 25 14:47:22 it's blacklisted there Sep 25 14:47:39 if you do bitbake emacs it should show you the blacklist reason Sep 25 14:47:55 thanks a lot! Sep 25 14:48:06 and in master it's completely removed, so don't get too used to it Sep 25 14:48:21 unless you're willing to step up and fix the issues in it Sep 25 14:48:22 JaMa: just fix it and submit :P Sep 25 14:49:34 I'm not interested in emacs and nobody else sent fix in couple years, that's why I've removed it Sep 25 14:50:15 emacs-nox + screen. How do people do without?! :P Sep 25 14:50:53 vim to rule them all Sep 25 14:50:56 malinus: with vi :D (personally) Sep 25 14:51:31 vim still works, which clearly shows that vim users are more capable than emacs users :) Sep 25 14:52:35 I think people are worried it would replace 99% of the recipes :D Sep 25 15:17:41 JaMa: ERROR: Task (poky/meta-openembedded/meta-oe/recipes-support/emacs/emacs_23.4.bb:do_configure) failed with exit code '1 Sep 25 15:17:48 I can see there are some issues, yes. **** BEGIN LOGGING AT Mon Sep 25 16:44:52 2017 Sep 25 16:58:41 I keep getting "/lib/ld-linux-armhf.so.3: No such file or directory" while trying to build a recipe I've generated from a git repo with devtool. All just autools. I can see that the library is in my work directory. Sep 25 19:20:59 is there a good example recipe to look at that shows me how to make one that can find the headers for ? Sep 25 19:20:59 or documentation somewhere? **** BEGIN LOGGING AT Mon Sep 25 19:21:19 2017 Sep 25 19:27:11 ugh I am a newb... I tried a very simple recipe but I am getting errors even after modifying my includes. Sep 25 19:27:12 ${CC} -I ${STAGING_KERNEL_DIR}/include/linux ../fbalpha.c -o fbalpha Sep 25 19:27:32 thats my do_compile Sep 25 19:27:33 stddef.h:4:31: fatal error: uapi/linux/stddef.h: No such file or directory Sep 25 19:27:36 thats the error I get now Sep 25 19:27:53 it finds the file Sep 25 19:28:08 but then chokes on an include from another system <> include Sep 25 19:28:28 https://pastebin.com/PTnfgKF1 Sep 25 19:31:54 the file should be found here: -I ${STAGING_KERNEL_DIR}/include/uapi/linux Sep 25 19:31:59 but I still get the same error Sep 25 19:32:07 even if I add that dir Sep 25 19:41:57 bodangly: if the path is include/uapi/linux, then you need -I${STAGING_KERNEL_DIR}/include, not -I${STAGING_KERNEL_DIR}/include/linux Sep 25 19:41:57 I feel like this should be a lot easier than it is, what am I missing? Sep 25 19:42:29 it looks for the path relative to the specified include paths. so you're having it look for ${STAGING_KERNEL_DIR}/include/linux/uapi/linux/stddef.h Sep 25 19:42:36 which is unlikely to be correct Sep 25 19:43:27 if I jjust do /include not /include/linux then it chokes earlier though: asm/arch/mxcfb.h Sep 25 19:44:13 asm/arch/ is relative to include, not include/linux. that is, the 'asm' dir lives in the include directory, not linux Sep 25 19:46:17 https://pastebin.com/cfKgNygu Sep 25 19:46:40 ${CC} -I${STAGING_KERNEL_DIR}/include ../fbalpha.c -o fbalpha is the recipe right now Sep 25 19:46:59 and it still fails to find asm/arch/mxcfb.h :( Sep 25 19:48:22 and in fact, nowhere in my tmp directory is there an mxcfb.h that is in asm/arch, only one is in uapi/linux/mxcfb.h or linux/mxcfb.h Sep 25 19:48:32 maybe I goofed with my include Sep 25 19:50:10 sounds like it Sep 25 21:52:16 Anyone here who has built console-image for raspberry pi3? I'm unable to download bcm2835-bootfiles-20170530-r60 because of checksum error. This seems an upstream issue. Sep 25 23:10:02 .. bitbake just said it started the bitbake server, and then started the pr server, and then reconnected to the bitbake server. reconnected to the server you just started? Sep 25 23:10:14 ah, right, forgot i'm still using old layers **** ENDING LOGGING AT Tue Sep 26 03:00:02 2017