**** BEGIN LOGGING AT Wed Jun 06 03:00:10 2018 Jun 06 09:21:11 hi everybody Jun 06 09:21:53 what is the mechanism for adding a .conf file in /etc/modules-load.d/ directory, file which should have a 1 per line list of modules? Jun 06 09:22:17 write a recipe which builds a package that contains that file Jun 06 09:22:21 KERNEL_MODULE_AUTOLOAD will create 1 .conf file there per entry Jun 06 09:22:53 so can't use an existing yocto mechanism at this point? Jun 06 09:26:48 the yocto docs say: Jun 06 09:26:54 Specify it as follows: Jun 06 09:26:54 KERNEL_MODULE_AUTOLOAD += "module_name1 module_name2 module_name3" Jun 06 09:26:54 Jun 06 09:26:54 Including KERNEL_MODULE_AUTOLOAD causes the OpenEmbedded build system to populate the /etc/modules-load.d/modname.conf file with the list of modules to be auto-loaded on boot. The modules appear one-per-line in the file. Jun 06 09:27:49 it's not clear from this snippet if the build system will create 1 file including these 3 entries, one per line, or 3 files with one entry per line Jun 06 09:28:07 but by experimenting it seems that yocto does the last one Jun 06 09:30:10 does it matter? Jun 06 09:33:26 yeah, I need a .conf file in /etc/moudles-load.d/ in which I specify a list of modules, and by this the listed modules will be loaded in the given order Jun 06 09:33:54 I need some kernel modules to be loaded in a particular order Jun 06 09:35:02 looks like I'll have to stick with adding the file through a recipe as you suggested Jun 06 09:35:22 would have preferred to use the yocto AUTOLOAD mechanism though Jun 06 10:15:06 kanavin: https://autobuilder.yocto.io/builders/nightly-x86-64/builds/1080/steps/BuildImages_2/logs/stdio - any ideas why that could break like that? Jun 06 10:27:06 rburton: deciding to add in the mesa upgrade was a disaster, sorry :( Jun 06 10:27:21 mesa is great at pain :) Jun 06 10:27:55 rburton: still one mystery selftest regression to isolate too Jun 06 10:28:16 rburton: and the gitsm patch broke, again. I've replied on list about that Jun 06 10:29:00 RP: re my qemu patches on top of martin's, you just want the middle two in my branch to fix up the local.conf and packagegroups Jun 06 10:29:12 RP: i'll push the needed fixes to meta-mingw now Jun 06 10:31:08 rburton: don't I have those? Jun 06 10:32:24 dunno haven't looked at next ;) Jun 06 10:32:36 one sec rebasing Jun 06 10:32:56 RP: drop '2018-06-05 13:49 Ross Burton o qemu: only build SDL UI if X11 is enabled' Jun 06 10:35:07 rburton: ok Jun 06 10:37:58 rburton: I've updated the branch and sent that staticdev fix Jun 06 12:06:08 New news from stackoverflow: Yocto: oe_runmake failed, iMX6 Apalis Jun 06 12:12:21 When is the next yocto release scheduled? Jun 06 12:12:41 Will Qt 5.11 be a part of any yocto release any time soon? Jun 06 12:15:07 sveinse: maybe ask mikko.gronoff@qt.io directly ? Jun 06 12:15:23 sveinse: "yocto" doesn't release. oe-core is on a six-monthly schedule. as for meta-qt5 you'll want to ask the meta-qt5 maintainers directly (or send a patch) Jun 06 12:15:48 as rburton says :) Jun 06 12:16:32 sveinse: 5.11 is already in meta-qt5/master for couple months Jun 06 12:16:44 with the final revision in jansa/master currently Jun 06 12:32:09 RP: hello. We found that bitbake 1.38 branch did not update it's version. It still shows 1.37 Jun 06 12:35:30 otavio[m]: oops. Fixed Jun 06 12:37:06 :-) Jun 06 12:37:27 RP: I am checking mesa error too Jun 06 12:37:52 otavio[m]: thanks Jun 06 13:00:57 rburton: Isn't "rocko" or "sumo" a Yocto release? https://wiki.yoctoproject.org/wiki/Releases Jun 06 13:09:28 dear people, what's the canonical way to rebuild an image after you change/rebuild the kernel? Jun 06 13:15:56 My guess would be to remove the tmp and rebuild - but im pretty new to the project. Id love to hear someone confirm that Jun 06 13:16:27 Im also trying to udate the kernel for my image Jun 06 13:26:59 RyFa: that's what i've been doing, but it takes half a workday initially Jun 06 13:27:40 then i tried bitbake -c cleanall the image, and then bitbake it again Jun 06 13:27:55 but it fails complaining some cryptodev module missing Jun 06 13:29:29 Yeah, Initial builds take a super long time unfortunately, but for a major change such as a kernel, id expect it to be necessary. Jun 06 13:29:46 Do you happen to get that same error in every case? Jun 06 13:29:51 that's not a major change Jun 06 13:29:56 to generate an image Jun 06 13:30:12 it's not like i was rebuilding the host toolchain Jun 06 13:30:23 yeah same Jun 06 13:30:29 guess i go bug our vendor with this Jun 06 13:31:06 do oyu have a cryptodev recipe somewhere in your project? Jun 06 13:31:20 not me Jun 06 13:31:25 check this out: http://layers.openembedded.org/layerindex/branch/master/recipes/?q=cryptodev Jun 06 13:31:36 but it's yocto, so billion of the vendor layers mixed Jun 06 13:31:47 you may be able to add one based on this Jun 06 13:32:05 mm thanks i'll look at this Jun 06 13:32:53 but it builds fine from clean state with the same recipe, that's what is strange Jun 06 13:36:52 hhm yeah - its beyond my knowledge Jun 06 13:37:16 there is no reason to kill tmp when you change the kernel Jun 06 13:38:24 I am not sure what you are observing but everything should just work Jun 06 13:39:14 even doing something like 'bitbake virtual/kernel -c menuconfig' will invalidate the necessary stamps which will then rebuild what needs to be rebuilt when you bitbake your image again Jun 06 13:40:54 ha.. does it have to be virtual/kernel? Jun 06 13:41:03 because i am rebuilding the vendor package name Jun 06 13:41:17 I use virtual/kernel as it saves me having to figure out what kernel is in play Jun 06 13:41:18 bitbake linux-variscite.. Jun 06 13:41:41 bitbaking this one does not invalidate the cache Jun 06 13:41:52 if i bake image it runs no tasks Jun 06 13:42:07 then your image is not using this kernel Jun 06 13:42:35 doubt it, the changes i did in the kernel tree show up in sysfs Jun 06 13:43:38 hm. Jun 06 13:44:27 if you are changing linux-variscite and then rebuilding your image and no tasks are run Jun 06 13:44:40 then there is no dependency in the image on linux-variscite Jun 06 13:45:11 do 'bitbake -e | tee outme' Jun 06 13:45:32 then 'grep PREFERRED_PROVIDER_virtual/kernel outme' Jun 06 13:46:10 if virtual/kernel is not linux-variscite then it is just a clinger Jun 06 13:46:28 marka: i .bbappended varistite recipe to use my repo with the set of device drivers i need Jun 06 13:46:45 and when i build it from clean state, the drivers show up with node names i assigned Jun 06 13:47:03 ok i'll look into that.. Jun 06 13:47:18 Hey marka. Sorry, I hadn't seen your messages here yesterday. Jun 06 13:47:28 mario-goulart: no problem Jun 06 13:48:34 varjag: check that your image doesn't just have linux-variscite as an RDEPENDS but it actually properly being defined as the kernel that should be used Jun 06 13:49:13 ok, i'll check, thanks Jun 06 13:50:10 it is often worth the time to setup a "pure" yocto build with core-image-minimal and qemu-x86-64 to compare against Jun 06 13:51:36 you can setup a shared DL_DIR to save some time and disk space Jun 06 13:53:49 sveinse: rocko/sumo/etc are oe-core and poky releases Jun 06 14:03:33 RP: no idea, have never seen this kind of checksum failure before Jun 06 14:03:54 RP: "libgstfft-1.0-0-1.14.0-r0.0.core2_64: sha256 check failed: 36b24cf863c232197c9660029fb5590665a86023b32f17d5a2d000e5c0e7e1c1 vs 178f1e86a46fe8457d768d65d0b3cdaa0022611705af7fb89131bf6f5a54c357" Jun 06 14:04:35 RP: one possibility is that the package files got overwritten somehow between creating the repo index and making a rootfs with it, but that's not supposed to happen Jun 06 14:09:25 kanavin: indeed. I don't understand it Jun 06 14:09:35 kanavin: another question since you're here :) Jun 06 14:10:01 RP: I am transitioning to 'kanavin_home' nickname :) Jun 06 14:10:07 but so far, this one still works :) Jun 06 14:10:13 kanavin: I can use either :) Jun 06 14:10:49 So, I recently upgraded my project from Pyro to Sumo, and updated my specified kernel from 4.10 to 4.14 and now Im getting some new errors with my linux modules during the do_rootfs stage of the build. An examle error reads: "- nothing provides kernel-module-gobiserial-4.14.30-yocto-standard needed by linux-mod-gobiserial-2.28-r0.genericx86_64" Any ideas how I should address this? Jun 06 14:11:02 kanavin: https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1099/steps/Running%20oe-selftest/logs/stdio Jun 06 14:11:33 kanavin: error: %preun(shadow-4.2.1-r0.0.core2_64) scriptlet failed, exit status 127 - is there somewhere I can get more info about that? Jun 06 14:12:20 RP: yes, should be 'ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.39609' Jun 06 14:12:21 :) Jun 06 14:13:39 kanavin: no more info in there Jun 06 14:15:43 RP: you probably need this patch: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ce12d183bb0a3366d37855e18452ac6ee6215be3 Jun 06 14:15:55 RP: but it's already in master I think :/ Jun 06 14:16:34 kanavin: I think that was already in that build, yes Jun 06 14:17:31 can you share that log then? at least for postinsts it should print a line by line trace of their execution, and I believe the same should happen for postuns Jun 06 14:17:46 or preuns Jun 06 14:22:49 kanavin: http://dan.rpsys.net/log.do_rootfs.39609 Jun 06 14:25:08 RP: 'NOTE: Running /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/rpm -e -v --nodeps --root=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs base-passwd update-rc.d run-postinsts shadow' Jun 06 14:25:26 RP: this de-installation is not handled through dnf, but through rpm directly, and so extra verbosity is not in effect Jun 06 14:25:44 RP: don't remember right now where in rootfs.py or package_manager.py that happens Jun 06 14:26:45 kanavin: ah, we should perhaps try and improve that if we can then... Jun 06 14:27:27 RP: yes, certainly. It's not hard, just add the necessary command line switch to rpm invocation. I can't do this right now though. Jun 06 14:28:01 kanavin: do you know what the switch is offhand? Jun 06 14:29:12 RP: -v, or maybe even -vv :) just looked up in the manpage Jun 06 14:29:39 ah, -v is already there Jun 06 14:29:41 -vv then Jun 06 14:31:14 kanavin: thanks, lets see if I can add debugging assume it reproduces Jun 06 14:31:20 RP: " args = ["-e", "-v", "--nodeps", "--root=%s" %self.target_rootfs]" in package_manager.py Jun 06 14:32:58 kanavin: thanks :) Jun 06 14:38:56 kanavin: would you believe this isn't much more helpful :( Jun 06 14:39:08 RP: :-( Jun 06 14:39:42 kanavin: https://pastebin.com/u79apLR2 Jun 06 14:48:18 RP: try -d. Just reading source code for rpm, man page is not helpful :) Jun 06 14:49:02 RP: ah, wait Jun 06 15:03:51 RP: note that both prerm scripts fail, and they're different. It's as if they don't even begin to execute. Jun 06 15:07:18 RP: maybe we're best off bisecting this? It certainly used to work, didn't it? Jun 06 15:07:56 kanavin: I can start reverting things to try and track it down, in theory its a problem in -next. I just don't like the lack of logs Jun 06 15:08:26 RP: I guess that's the most we can get out of rpm :-/ Jun 06 15:09:07 fray: any ideas on getting more info from rpm preun? Jun 06 15:09:34 kanavin: shadow preun only calls update-altnatives afaict too Jun 06 15:14:52 RP: I remember I had to insert ad hoc logging into rpm for some issues. They can print lots of irrelevant stuff, then when things break, critical pieces of info are missing. Jun 06 15:20:28 kanavin: I'm not surprised :( Jun 06 15:24:17 RP: let me try another idea, wait a moment Jun 06 15:25:49 * armpit the joys of backporting spectre Jun 06 15:30:34 RP: no, false lead. Something breaks down before shell executes actual lines, I believe Jun 06 15:38:42 for the rpm preun, you can inject some script stuff into the rpm macros (something that is run prior to the execution of the script.... Jun 06 15:39:00 but if the preun fails, then the scriptlet that failed will remain on the disk int he tmp location as well.. Jun 06 15:39:26 so if you are debugging a failure, you don't have to do anything else.. if you are debuggign a 'success', then you can muck with the RPM parameters to say add 'set -x' Jun 06 15:52:23 kanavin: that would match the 127 exit code Jun 06 16:06:31 RP: any objection to adding the oe-core date-based yocto release tags to the version matrix in the Releases wiki page alongside the bitbake version? The mapping from poky release to oe-core release is unclear, currently. Jun 06 16:07:05 kergoth: no Jun 06 16:07:13 k Jun 06 16:08:17 rburton, kanavin: I reproduced that failure on centos7 with master, so its nothing in -next Jun 06 16:08:34 which is good and bad Jun 06 16:28:44 RP: https://pastebin.ca/4038573 Jun 06 16:29:01 RP: thats the gcc8 SDK output when someone specifies -mspe Jun 06 16:29:59 khem: can you build gcc with spe enabled though? Jun 06 16:30:07 no Jun 06 16:30:19 khem: that is no longer possible at all? Jun 06 16:30:19 hi guys, how can I build an ISO image? Jun 06 16:30:19 the backend is different now Jun 06 16:30:40 we need to add another tuple to supported machines Jun 06 16:30:40 I set IMAGE_FSTYPES = "iso hddimg", but it is building only hddimg Jun 06 16:31:21 on log.do_bootimg I saw that INITRD is not set Jun 06 16:31:44 so I tried to set INITRD = "${INITRD_LIVE}", but it did not work Jun 06 16:32:08 so, there is a default initramfs to put on INITRD var to build a iso? Jun 06 16:32:18 khem: I still think there may be a problem lurking in there, I'm having trouble explaining it though :/ Jun 06 16:32:35 igor: meta/conf/machine/include/x86-base.inc:NOISO ?= "1" you need to set NOISO = "0" Jun 06 16:33:11 Thank you very mutch Khem Jun 06 16:33:17 * RP thinks NOISO needs to die in favour of IMAGE_FSTYPES Jun 06 16:33:21 RP: a subset of freescale ppc impl used SPE newer PPC impls from them has altivec Jun 06 16:33:43 RP: yes, that burnt me recently too Jun 06 16:34:23 RP: so older ppc from freescale is primarily what uses spe Jun 06 16:34:54 the newer ones they dont have spe and thats also probably one reason there is no interest in maintaining it upstream Jun 06 16:35:00 khem: we don't have any machines in core which use spe right? Jun 06 16:35:24 I think our ref board is can you tell me the name :( Jun 06 16:35:34 another question: I build a tar.bz2 image and inherited core-image. when I ran bitbake -e I see that image-live are included and bootimg task are executing Jun 06 16:35:59 rburton, kanavin: 762a3f229c42b734160334fb462beaf576353a58 breaks, 6db8b6a77723f1e3a34d61ffd96c196e03ace164 does not Jun 06 16:36:01 I put a deltask bootimg on my recipe because I didnt found how to remove image-live from inherited classes Jun 06 16:36:19 there is a better way to do that or deltask is the best option? Jun 06 16:36:49 igor: bootimg isn't a task, its a class Jun 06 16:37:14 on branch sumo it is a task on image-live called do_bootimg Jun 06 16:37:52 it runs build_hddimg and build_iso Jun 06 16:37:58 igor: hmm, I see what you mean. I think that task is needed as part of image-live Jun 06 16:38:07 yes Jun 06 16:38:15 but my image is tar.bz2 and dont need this Jun 06 16:38:36 igor: what do you have IMAGE_FSTYPES set to? Jun 06 16:38:48 IMAGE_FSTYPES = "tar.bz2" Jun 06 16:39:58 igor: can you check that with bitbake -e ? Jun 06 16:40:01 on bitbake -e , the build_live function is returning empty string, but the image-live class still include in BBINCLUDED Jun 06 16:40:14 yes Jun 06 16:40:48 rburton, kanavin: This is looking like http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b7f6638962b0348ae93c1d5a7696c80e2b7933ed as the change which breaks it :/ Jun 06 16:41:22 igor: that seems odd :( Jun 06 16:41:43 igor: you're not trying to do this in individual images are you? Jun 06 16:41:45 RP: # "tar.bz2" IMAGE_FSTYPES="tar.bz2" Jun 06 16:42:15 RP: our ref board in core is mpc8315erdb which is e300c3 core which is implementing proper FPU and doesnt have SPE AFAICT Jun 06 16:42:22 fwiw i've an image recipe that does successfully build just a targz Jun 06 16:42:46 RP: but when I see the var BOOTIMG_EXTRA_SPACE for example, it was set by image-live.bbclass Jun 06 16:42:51 rburton/RP: is it possible for you to boot a gcc8 image on a ref board Jun 06 16:43:01 and other vars too Jun 06 16:44:37 khem: i've a nuc Jun 06 16:44:45 rburton: would be interesting to know if it still inherited the class though... Jun 06 16:45:37 i'm on branch sumo, and few days ago, I had a error to build this image because do_bootimg has the dependency ${PN}:do_image_ext4 and I have no ext on my IMAGE_FSTYPES Jun 06 16:46:12 it was fixed few days ago, but the task do_bootimg sill added Jun 06 16:46:33 but I solved this problema putting deltask bootimg on my recipe Jun 06 16:46:41 RP: it isn't Jun 06 16:47:01 Saur: around? Jun 06 16:55:00 fray: does anything jump out to you in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b7f6638962b0348ae93c1d5a7696c80e2b7933ed as causing that preun problem? Jun 06 16:55:18 looking Jun 06 16:57:10 the setCloseOnExec will certainly change behavior.. but this would only be a problem if the script was being passed to the receiver inline or something Jun 06 16:57:22 lua change, as far as I know we're not using lua in any preuns Jun 06 16:57:45 ++open_max = sysconf(_SC_OPEN_MAX); Jun 06 16:57:45 ++if (open_max == -1) { Jun 06 16:57:45 ++open_max = 1024; Jun 06 16:57:45 ++} Jun 06 16:57:45 ++for (fdno = 3; fdno < open_max; fdno++) { Jun 06 16:57:46 ++flag = fcntl(fdno, F_GETFD); Jun 06 16:57:46 ++if (flag == -1 || (flag & FD_CLOEXEC)) Jun 06 16:57:47 ++continue; Jun 06 16:57:47 ++fcntl(fdno, F_SETFD, FD_CLOEXEC); Jun 06 16:57:48 ++} Jun 06 16:57:48 ++} Jun 06 16:57:54 Ohhh.. this would be closing pseudo stuff too... Jun 06 16:58:18 could that be causing a problem? Jun 06 16:58:45 fray: yes, that could Jun 06 16:59:21 second patch file changes the above, but conceptually it's still doing the same thing Jun 06 17:00:00 also iterates over /proc -- but proc will be able to see the pseudo fds Jun 06 17:00:22 so ya.. it's likely breaking the connection on exec with pseudo -- but I don't know the exact ramifications of that Jun 06 17:00:43 (and it's breaking them cause it's blindly adjusting -all- fds, not just the ones that rpm itself created) Jun 06 17:01:16 fray: I wonder if the "+x" bit disappears on the script Jun 06 17:01:31 as in set +x? Jun 06 17:01:36 or execute Jun 06 17:01:47 fray: execute Jun 06 17:01:53 hence the exit 127 Jun 06 17:01:59 scriptlets SHOULD be executed as 'interpreter