**** BEGIN LOGGING AT Fri Jun 29 03:00:00 2018 Jun 29 06:54:38 New news from stackoverflow: Which Yocto branch to use Jun 29 07:18:30 I'm getting a compile error with qtbase-native. How can I fix it? Jun 29 07:26:06 learningc> can you pastebin it? Jun 29 07:29:00 There: https://pastebin.com/sXpQ39Kx Jun 29 07:36:59 learningc did you try to clean it and rebuild? Jun 29 07:38:22 Yes Jun 29 07:38:50 Is there something that prevents it from building? Jun 29 07:39:28 When I rebuild it still cannot get past this error Jun 29 07:51:44 "cc1plus: error: one or more PCH files were found, but they were invalid" Jun 29 07:52:15 can you find a file named .pch/Qt5Concurrent in tmp build folder? Jun 29 07:59:36 maxin: i replaced jamvm-native by cacao-native in java-native provider and it does not crash anymore, not sure what happens with jamvm ... I saw this patch https://github.com/PLi-metas/openembedded/blob/master/recipes/jamvm/files/debian-jni.patch but I'm not sure it applies on version jamvm_git (2.0) Jun 29 08:00:16 maxin: btw hi again :) Jun 29 08:17:03 nayfe: good to hear that :) Jun 29 09:43:32 Hey, I am trying to build the SDK with populate_sdk but I've got an issue... Jun 29 09:44:03 I am running Debian 9 with gcc 4.9.2 and yocto 1.8 Jun 29 09:44:27 The error is : cat: /home/nico/yocto/ipos_v1.4/build/arago-tmp-glibc/work-shared/gcc-4.9.2-r0/gcc-4.9.2/gcc/defaults.h: No such file or directory Jun 29 09:44:36 Any ideas ? Jun 29 10:33:52 pouet_forever: I found this in the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2015-April/103497.html seems to be a similar error. Could be related to your distro (arago). Jun 29 10:39:33 how to update system time in yocto. it shows old date. root@nitrogen6x:~# date Thu Jun 22 23:56:28 UTC 2017. Jun 29 10:39:41 even though i'm connected to internet Jun 29 11:08:16 bachp: thank you ! I have already found this post before but there is no solution to solve my problem Jun 29 11:09:21 I have extracted the gcc-linaro-4.9-2015.03.tar.xz file and the file defaults.h is present... :-/ Jun 29 11:55:39 New news from stackoverflow: How to get bridge support with /etc/network/interfaces? Jun 29 12:05:43 Hi, one short question. Old rpi projects based on jethro got migrated to morty, some package architectures changed now from cortexa7hf-vfp-vfpv4-neon to cortexa7hf-neon-vfpv4, therefore new package versions get not recognized via opkg. Jun 29 12:06:30 is there a possibility to change the target architecture back to the old wording? Jun 29 12:09:34 i found the package_extra_archs var in the arm in machine/include/tune-cortexa7.inc f.e. but i don't really understand the system which determines what package is valid for which cpu arch Jun 29 12:25:45 New news from stackoverflow: How to install dlib and update gcc on Yocto Jun 29 12:36:25 what does "do_install" do? we're building an image, not installing a package, so what is being installed to where? --Confused Jun 29 12:38:04 hello, I believe I can see a problem with the bmap-tools recipe in master... python3-fcntl is not listed as a dependency, though it is needed to import during runtime Jun 29 12:38:15 yates, the software needs to be installed into a pseudo root to be splitted into it's packages Jun 29 12:39:28 fsdun: thanks - makes sense now. Jun 29 12:39:55 eduardas_m, will it be pulled in through RDEPENDS packages? Jun 29 12:40:19 fsdun: no, that is the point Jun 29 12:41:18 fsdun: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb?h=master Jun 29 12:41:57 fsdun: python3-fcntl is not listed as a direct RDEPENDS and neither does it get pulled in indirectly Jun 29 12:42:50 the only reason it used to work for me is becaused it used to be pulled in by unrelated packages, as soon as I slimmed down my image, it broke Jun 29 12:42:52 In this case you should send a fix to ML Jun 29 12:48:12 fsdun: where is this package-building done? is it somewhere under the tmp/ folder? Jun 29 12:48:35 rather, package-splitting Jun 29 12:50:15 i'm getting this error: "...libubi.h': No such file or directory" https://paste.fedoraproject.org/paste/82zN5meLNoWDlV0M1o9R8Q Jun 29 12:59:55 nm, i found it. Jun 29 13:25:57 New news from stackoverflow: compile Dlib library with Yocto Jun 29 13:38:30 where is mkdep defined? $(foreach v,$(MTD_BINS),$(eval $(call mkdep,,$(v)))) Jun 29 13:38:46 is it built-in to gnumake? Jun 29 14:37:14 nm found it Jun 29 15:40:43 when I’m on vacation, it would be easier if everyone else stopped working as well! :P Jun 29 16:58:49 RP, when does 'LAYERSERIES_CORENAMES" change? Jun 29 17:00:46 armpit: I need to add the next one now Jun 29 17:01:01 armpit: then we drop sumo when we break 'ABI' Jun 29 17:55:21 is there a lag on the mailing lists? Jun 29 17:56:13 or just my email getting stuck somewhere along the way Jun 29 17:56:16 I just sent an email and it went through right away Jun 29 17:56:33 If you're not signed up for the list I think the messages are moderated? Jun 29 17:59:22 I should be signed up Jun 29 18:00:24 I have the welcome email Jun 29 18:00:38 maybe there's a trial period :) Jun 29 18:01:14 when bitbake runs a gnumake command as part of a do_install for a recipe, how does it form the make command, e.g., how are -I options constructed? Jun 29 18:02:25 no, wait, the compiler -I options are in the makefile Jun 29 18:10:37 how can the install command complain about libubi.h not being found if that is not in the list of input files it is to copy? https://paste.fedoraproject.org/paste/QUzYzDtR7L0-0inTckDyDQ Jun 29 18:13:37 also, why is the "install: cannot stat ..." being emitted after the gzip command and not after the install command? is it to do with -j options for the makefile? Jun 29 18:22:03 Is there maybe one of your layers that is modifying mtd-utils with a .bbappend? Jun 29 18:23:00 yates, not likely, that make seems to be on a single thread Jun 29 18:23:12 see /Storage/swupdate-test/sources/poky/build-hw-test-image/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/mtd-utils/1.5.2-r0/temp/run.do_install.18064 Jun 29 18:23:27 maybe there's an install after that gzip Jun 29 18:39:26 mihai: aha. Jun 29 18:39:29 AHA! Jun 29 18:41:23 well, wait Jun 29 18:42:27 is this python? https://paste.fedoraproject.org/paste/kyK1jmCzkj8vJV1nultnwQ Jun 29 18:42:50 no, bash script Jun 29 18:48:59 i'm really confused. is this logfile output from the do_install() command in the shell script, or from the makefile? Jun 29 18:49:42 the first line of do_install() is to run the makefile (oe_runmake... ), right? Jun 29 18:50:15 ok, that's right. Jun 29 18:50:51 yes, it runs the make file, the last command of the make install target being gzip, THEN it runs the install's after the oe_runmake. Jun 29 18:52:35 where does this script come from? is it in the recipe somewhere? (some recipe?) Jun 29 18:54:24 read the bbclasses the recipe inherits Jun 29 18:54:38 including the globally inherited classes, 'base' and any listed in the INHERIT variable Jun 29 18:54:46 but its easier to just use bitbake -e as was suggested yesterday Jun 29 18:54:54 which includes the definitions of all the defined functions Jun 29 18:54:56 including oe_runmake Jun 29 19:11:48 kergoth: ok, i have this massive -e output. i'm not sure how to use it to find where this install script is coing from Jun 29 19:12:05 coming Jun 29 19:12:21 i don't understandt heq uestion Jun 29 19:12:26 you don't know how to search a text file? Jun 29 19:12:28 grep? vim? Jun 29 19:12:38 look for oe_runmake () { Jun 29 19:12:55 it's basically shell script, other than the python functions being included as well Jun 29 19:13:07 if you can read a recipe, you can read the -e output Jun 29 19:13:11 it's the same syntax Jun 29 19:13:47 i'm looking for the do_install for that particular recipe/thing, and there are a bazillion do_installs Jun 29 19:14:31 no, there isn't Jun 29 19:14:40 bitbake -e somerecipe, search for do_install () { Jun 29 19:15:03 there is only one do_install for the entire bitbake build? Jun 29 19:15:05 not that hard to follow it. do_install () { } likely runs autotools_do_install, so then search for that Jun 29 19:15:13 no, bitbake -e specifies the recipe Jun 29 19:15:20 as you could tell if you'd run bitbake --help Jun 29 19:15:27 bitbake -e somerecipe shows the metadata for that recipe Jun 29 19:15:39 bitbake -e is just the global configuration metadata (bitbake.conf, local.conf, etc) Jun 29 19:15:44 (not specifying the recipe) Jun 29 19:16:39 no, there aren't Jun 29 19:16:47 erm ,wrong window on that Jun 29 19:16:58 exactly what problem are you hitting? i don't have the full scrollback from this irc client Jun 29 19:19:28 hmm Jun 29 19:20:11 "bitbake swupdate-image" errors out with "cannot stat libubi.h". that was traced to the do_install() function in a bash shell script via the run.do_install.xyz file, specifically to an "install" command specifying the location of the libubi.h i want to find out where that do_install script is generated Jun 29 19:20:34 "do_install ()" is not found in the -e output Jun 29 19:20:45 if do_install wasn't in -e, then tehre is no do_install Jun 29 19:20:53 -e dumps the full metadata Jun 29 19:20:57 so swupdate-image is an image, and doesn't do any building Jun 29 19:21:11 yeah, as rburton says, you need to examine the metadata of the recipe that's failing, with -e, not the image Jun 29 19:21:12 you want to read the log to find out what dependent recipe was being built, and look at *that* recipe Jun 29 19:23:21 the recipe most likely doesn't have a do_install directly but uses the default from base.bbclass which essentially just does 'make install', so you need to look at the makefiles Jun 29 19:23:33 but worth checking the recipe doesn't have manual install steps Jun 29 19:24:39 rburton: that is not the case here. there is a 'make install' as well as several other commands e.g., 'install' in a bash script. Jun 29 19:24:58 and the error is coming from one of the script 'install's Jun 29 19:25:14 down the rabbit hole you go, welcome to the wonderful world of integration Jun 29 19:25:24 ha. Jun 29 19:25:33 this week i fixed a bug in a configure script which uses sh to generate makefile rules Jun 29 19:25:36 did i take the red pill or the blue pill? Jun 29 19:26:00 sounds horrendous Jun 29 19:27:14 yeah it wasn't fun, and left me wondering who in their right mind would construct a build system like that Jun 29 19:27:21 (the libsdl maintainers, is the answer) Jun 29 19:28:14 ok, i may get booted from teh channel (or /ignored..), but can you give me a clue: https://paste.fedoraproject.org/paste/eNU4UMdFxPB73HcymvG4Gg Jun 29 19:28:53 how do i look through this to see where this do_install shell script is generated?!? Jun 29 19:30:05 presumably thats the wrong recipe still, that has a do_install that calls base_do_install that does nothing Jun 29 19:30:38 PN="swupdate-image" <-- you're still doing -e on the image, not the recipe that breaks Jun 29 19:30:54 rburton: when you said "15:21 you want to read the log to find out what dependent ..." did you mean the output of -e for the image? Jun 29 19:31:12 no Jun 29 19:31:13 armpit: Jun 29 19:31:17 you run bitbake swupdate-image Jun 29 19:31:19 it breaks Jun 29 19:31:25 right Jun 29 19:31:29 the log on screen tells you what recipe broke Jun 29 19:31:34 armpit: how are you? Jun 29 19:31:36 otavio[m], yes Jun 29 19:31:40 fine Jun 29 19:31:47 could you review https://github.com/OSSystems/oe-core/compare/sumo...sumo-next for stable? Jun 29 19:32:37 ok Jun 29 19:33:21 so you mean this: ERROR: Task (/Storage/swupdate-test/sources/poky/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_install) failed with exit code '1' Jun 29 19:33:31 otavio[m], sure thing.. thanks Jun 29 19:33:41 so poky/meta/recipes-devtools/mtd/mtd-utils_git.bb broke Jun 29 19:34:07 yates: Yes, you want 'bitbake -e mtd-utils' Jun 29 19:34:07 so then i should run bitbake -e mtd-utils_git ? Jun 29 19:34:30 _git is the "version", so you omit it Jun 29 19:37:10 yates: easier to just look at the recipe tbh Jun 29 19:37:31 see if it has a do_install itself, if not look at the classes it inherits, Jun 29 19:38:08 ok, i found the do_install in the -e output with the offending "install". yay! Jun 29 19:38:31 it's "do_install()", btw. no space before the "()" Jun 29 19:39:07 rburton: ok. Jun 29 19:41:25 there is a "do_install () {" function defined in poky/meta/recipes-devtools/mtd/mtd-utils_git.bb, but it doesn't match the shell script i saw. Jun 29 19:41:39 it only has the first oe_runmake: https://paste.fedoraproject.org/paste/x2lZx-jq7M-LQzEdWw~~bA Jun 29 19:42:11 where is this script you saw? Jun 29 19:42:26 sounds like its from the makefile to me Jun 29 19:42:35 as you see, the recipe just does 'make install' Jun 29 19:42:54 it was in poky/build-hw-test-image/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/mtd-utils/1.5.2-r0/temp/run.do_install.18064 Jun 29 19:43:00 https://paste.fedoraproject.org/paste/H~Z5G6N5qQCSfSnskOgmUA Jun 29 19:45:02 looks a lot like you've inherited a class globally that really shouldn't be inherited globally Jun 29 19:45:43 whatever that is, its part of swupdate, so i'd be asking the maintainers of that what broke Jun 29 19:45:54 babic Jun 29 19:45:59 stefano babic Jun 29 20:33:23 ok, posted on https://groups.google.com/forum/#!forum/swupdate **** ENDING LOGGING AT Sat Jun 30 03:00:03 2018