**** BEGIN LOGGING AT Wed Apr 04 03:00:01 2018 Apr 04 04:52:13 #yocto Apr 04 04:52:18 Hi Guys Apr 04 04:52:29 Can anyone tell me how to add pygtk to our image Apr 04 04:52:42 I tried searching in meta layer and it doesn't exist in it Apr 04 04:52:47 Which layer can I find it Apr 04 04:53:20 Jamal: There's a nice web ui for finding recipes, http://layers.openembedded.org/layerindex/branch/master/recipes/?q=pygtk Apr 04 04:58:35 Thanks erbo Apr 04 04:58:43 Is openembedded and meta-oe different in yocto Apr 04 05:00:54 I only need pygtk and it is present in meta-debian. Do I need to include meta-debian in bblayers.conf and then add IMAGE_INSTALL_append = pygtk will it be sufficient Apr 04 05:01:14 and whether it will build all the recipes present in meta-debian or only pygtk Apr 04 05:47:14 New news from stackoverflow: How to add pygtk package in yocto Apr 04 06:53:11 hi, how do i get the application version info out of a qt pro file and into the PV variable in bitbake ? Apr 04 08:50:00 Hello! i have very few experience with embedded linux development. I would like to add "libre-office" package on my build. but this package depend on "libreoffice-native" which i have some issue during compilation. in fact, this error tells there is no "lpython3.4" library but when i verify in the /usr/lib/ directory, the library exist. Anyone could help me please. here is the log file: https://pastebin.com/XwH5BfkF Apr 04 09:38:53 hello Apr 04 09:58:21 hi, on future Fedora 28 I have the same issue than another one on this channel about glibc-initial (and some other) where tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6 does not have GLIBC_2.27 symbol Apr 04 09:58:40 that is normal, on rocko it is glibc-2.26, glibc-2.27 is my host Apr 04 09:59:02 normally this situation shouldn't be handled by Yocto? Apr 04 10:05:04 Renault: have you updated to the latest on the rocko branch? There were fixes for this Apr 04 10:08:53 RP: no because I'm following Variscite BSP, but I'm looking for cherry pick patches / fixes from poky rocko branch but I don't find something relevent to fix this issue, but maybe I'm not searching at the right place Apr 04 10:12:39 in fact I'm checking in glibc* recipes in poky Apr 04 10:16:24 ok, it is maybe this fix: https://git.yoctoproject.org/cgit.cgi/poky/commit/?h=rocko&id=287ed0c9ad5551b0ce4a66c59ebc36b84fca1bd6 I will test Apr 04 11:05:10 morning fols Apr 04 11:05:22 s/fols/folks :) Apr 04 11:05:38 when is meta-openembedded going to branch out for sumo Apr 04 11:14:40 We use KERNEL_MODULE_PACKAGE_PREFIX in a recipe for kernel module backports. Apr 04 11:15:36 This works fine and OE creates packages with the prefix (e.g. backports-kernel-module-ath9k-4.9.84) Apr 04 11:16:37 However, when trying to install a single kernel module using that name, bitbake fails with "Missing or unbuildable dependency chain was: ['console-tdx-image', 'backports-kernel-module-ath9k-4.9.84']" Apr 04 11:17:20 It works with regular kernel modules though... It seems that there is some special handling when checking dependency for kernel modules...? Apr 04 11:35:39 Hi all, i would like to know if Avnet MiniZed will be supported in meta-xilinx ? Maybe i'm not in the right channel (sorry if not) Apr 04 11:53:29 PinkSnake: here, have a look: http://layers.openembedded.org/layerindex/branch/master/layer/meta-xilinx/ Apr 04 12:00:35 @LetoThe2nd thx! Board not supported yet :( Apr 04 12:08:57 For the records, the solution to my problem was using PACKAGES_DYNAMIC to make sure that backports-kernel-module- packages are always considered being available... Apr 04 12:18:33 New news from stackoverflow: How to format partitions for Yocto sdcard image for Variscite iMX6 Apr 04 12:47:01 hey everyone, is there a guide on how to properly make a recipe that would put a service file in the right place as well as enable it for bootup? Apr 04 12:47:16 I'm going over the mega-manual but I'm having a hard time finding the relevant info Apr 04 12:52:34 flying_sausages: basically its just like this: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-extended/watchdog/watchdog_5.15.bb#n40 Apr 04 12:52:46 flying_sausages: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-systemd Apr 04 13:08:53 neverpanic, LetoThe2nd so I tried to make my recipe look like this but it's failing to build https://pastebin.com/zTSYWa3w Apr 04 13:09:37 I'm getting install: cannot create regular file ‘/home/user/customer/fsl-arm-yocto-bsp/build_sabresd/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/shellmanager/1.0-r0/image/lib/systemd/system’: No such file or directory Apr 04 13:10:16 do I have yto manually create the folders on my system? Apr 04 13:10:27 should the service files not go into /etc/systemd/system? Apr 04 13:11:06 well, where is that file supposed to be coming from? i can't see any source in SRC_URI that would provide it. Apr 04 13:11:27 ah NVM misread. Apr 04 13:11:29 file://shellmanager.service \ Apr 04 13:11:30 ? Apr 04 13:11:38 haha ok :) Apr 04 13:12:14 but why workdir? Apr 04 13:13:13 it's just easier to read in the end Apr 04 13:13:25 especially for someone not used to yocto yet ;) Apr 04 13:13:29 and, why that explicit "shellmanager-test"? Apr 04 13:13:44 it should be ${PN}-test, if you want that nomenclature Apr 04 13:14:37 I had some bugs before, thought that was it, and then it worked Apr 04 13:14:50 so I left it ha Apr 04 13:15:18 once I figure out the systemd stuff I'll move to actually having it make sense ha Apr 04 13:15:47 Anyone knows if labgrid and lava can work together? Apr 04 14:24:26 hum, there is a breaking change in Fedora 28: https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt Apr 04 14:25:19 I have some recipes that are complaigning about tmp/sysroots-uninative/x86_64-linux/lib/libcrypt.so.1: version `XCRYPT_2.0' not found because my system has libcrypt split from glibc but that is not the case in the yocto build Apr 04 14:25:31 any idea how to fix / work around this issue? Apr 04 14:36:00 Renault: Is it because the unnative libcrypt doesn't match the system libcrypt? Apr 04 14:36:15 yes Apr 04 14:36:57 hmm... is libcrypt getting removed from the upstream glibc or is this just a Fedora thing? Apr 04 14:36:57 libcrypt.so.1 in unative seems built from glibc, in Fedora (>= 28) this library comes from external source with some new symbols Apr 04 14:37:37 https://sourceware.org/ml/libc-alpha/2017-08/msg01257.html Apr 04 14:37:56 since last year glibc deprecated embedded libcrypt and disabled by default its building Apr 04 14:38:09 so, a removing in the future is likely Apr 04 14:39:12 Are we building a new enough version of glibc into uninative that we could do the same thing? Apr 04 14:39:52 I don't know if it is necessarily the *right* thing to do, but you might see if you can build uninative with glibc+libxcrypt Apr 04 14:40:44 I'm not sure about this Apr 04 14:41:28 I guess the issue come from glibc option compilation and the lack of libxcrypt in the process Apr 04 14:41:42 for the uninative Apr 04 14:43:03 Ya, I suspect that the fedora core utilites are all linking against libxcrypt now and expecting those symbols/versions, so when uninative doesn't provide them, they explode. Apr 04 14:43:37 that the case Apr 04 14:43:45 I've been meaning to try out FC28 to try and get ahead of any problems befire it releases Apr 04 14:44:08 You could try building without uninative for now? Apr 04 14:46:19 how can do that? just removing poky/meta-poky/conf/distro/poky.conf:102:require conf/distro/include/yocto-uninative.inc ? Apr 04 14:46:41 and cleaning everything? Apr 04 14:53:34 so... this build finished, but what do i need to put on the SD card to get it running? shouldn't there be a big file system with all the usual linux folders in it? Apr 04 14:57:06 there's a u-boot ".img" file--that sounds perfect for what i'm doing, but it's like 400 kB so it can't be the whole linux image Apr 04 15:00:15 AbleBacon: u-boot is jusst the bootloader. the image file you want is named based on the image you built. i.e. bitbake core-image-minimal -> look for core-image-minimal files in tmp/deploy/image Apr 04 15:00:29 exactly what format image is produced depends on the machine Apr 04 15:00:45 i did core-image-minimal, but there's no image with that name! Apr 04 15:01:16 maybe the build didn't complete? Apr 04 15:01:27 if the build finished, you'd have an image. Apr 04 15:01:37 JPEW: I put INHERIT_remove = "uninative" in my local.conf, I'm rebuilding everything Apr 04 15:04:00 what does it mean if my VM shuts down during the build? Apr 04 15:04:13 it was shutting down, so i figured that meant the build was done... Apr 04 15:04:59 no idea what you're referring to. bitbake doesn't shut the system down. using crops or some other bitbake wrapper? Apr 04 15:05:59 i'm using an ubuntu virtual machine Apr 04 15:06:00 NOTE: Running task 2320 of 2586 (/home/user/poky/meta/recipes-kernel/lttng/lttng-ust_2.10.1.bb:do_package_qa) Apr 04 15:06:05 that's the last thing it did before it died Apr 04 15:06:14 if i'm understanding the logging system correctly Apr 04 15:07:41 this lltng thing doesn't sound important--is there any way i can skip it without changing my conf files? the build is close to finishing and changing my conf will set be back to the start Apr 04 15:09:39 like i said, bitbake does not shut your system down. Apr 04 15:09:49 and lttng-ust has nothing to do with anything Apr 04 15:09:59 well, something the script is doing is crashing the VM Apr 04 15:10:00 if your system shut down, you have something else going wrong on your end, or you ran out of ram or something Apr 04 15:10:06 ohhhhhhhh the RAM Apr 04 15:10:10 i'll try increasing it Apr 04 15:10:12 so investigate, don't pointlessly disable recipes that have nothing to do with the problem Apr 04 15:10:33 check system logs Apr 04 15:14:12 "lastlog" and "faillog" are both empty in /var/log... seeing some stuff about audio in other logs Apr 04 15:15:28 this really has nothing to do with bitbake, but you probably want 'messages' or similar, or on a systemd host use journalctl Apr 04 15:15:41 ah--thanks Apr 04 15:21:15 Renault: Ya, I think that works. There is probably a better way Apr 04 15:24:42 so, assuming that the u-boot is already set up correctly on my target, i just have to "dd" the final system image to the SD card and it'll work? Apr 04 15:24:57 assuming that there are no vendor-specific weird things necessary first Apr 04 15:32:24 sd card formatting and filenames and whatnot depend on the device. some machines are set up to emit a wic image, which is a full disk image for the sd card.l any that don't support wic will instead emit the individual files, and you'd have to read up on the update process for the device to determine how to use them Apr 04 15:32:29 afaik most are using wic nowadays, but not all Apr 04 15:36:12 thanks for the tips, btw... i would have spent hours trying to get around that build step when really i just needed to give the VM more ram Apr 04 15:36:45 i'm sweating bullets waiting for this build to finish Apr 04 15:39:19 no problem, it's a fairly common thing, bitbake does use quite a bit of ram to build Apr 04 15:46:32 JPEW: so apparently one task that failed with the uninative succeed, I'm waiting the end of the building Apr 04 15:48:11 (libxml-parser-perl-native failed on configure, it is installed now) Apr 04 15:49:00 Renault: thanks for the heads up warning about fedora28 :/ Apr 04 15:49:05 this sounds messy :( Apr 04 15:49:20 Renault: Ok. That isn't a long term solution, but it should let you keep going to find the next problem :) Apr 04 15:49:20 New news from stackoverflow: How to add an arbitrary file to the sdcard DOS partition using yocto Apr 04 15:50:31 JPEW: I fixed all other issues, most of them are already in the lasts commits (master or rocko) Apr 04 15:51:15 Renault: Good. How long have you been running FC28? Apr 04 15:52:40 on my personal computer since November (just after F27 have been released), on my pro computer today :) Apr 04 15:53:03 (the release is next month, I'm testing everything before) Apr 04 15:53:29 Ya, thats good. I'll probably upgrade shortly after release Apr 04 15:56:29 but so, I understand that is no an long term fix but with that I can work with my new F28 and prevent colleagues too, if I have time I can try to fix it in a better way Apr 04 15:59:35 Renault: Yes... The long term fix will be tricky, since we don't want to break anyone not using FC28. Maybe it's just sufficent to build a new uninative with libxcrypt... but maybe not. Apr 04 16:00:18 I can try to build one to start Apr 04 16:00:30 Ya that would be a good data point Apr 04 16:00:56 but I don't know how to do that, if you have a pointer Apr 04 16:02:54 The uninative is built with a recipe just like any other image.... meta/recipes-core/meta/uninative-tarball.bb. Apr 04 16:03:22 ok, good Apr 04 16:03:24 The harder part is getting glibc configured correctly and probably including a recipe for libxcrypt if there isn't one alread Apr 04 16:03:31 yes Apr 04 16:04:04 I suppose this uninative should be tested only on F28, other distros should use "default" one? Apr 04 16:04:22 Thats probably not ideal Apr 04 16:09:01 Renault: I'm hoping its backwards compatible so the new uninative should work everywhere Apr 04 16:09:32 a libxcrypt recipe and changing glibc, then building and testing a new uninative is the way forward Apr 04 16:09:37 see how that works out Apr 04 16:11:28 libxcrypt is backwards compatible but not the converse, if you are using libxcrypt, you cannot use glibc's libcrypt Apr 04 16:12:09 I don't know the architecture of the uninative and if it is an issue or not Apr 04 16:14:34 Renault: Dunno... If libxcrypt truly is a "drop-in" replacement for libcrypt (which it sounds like), I think it would be OK. I think it almost would have to be, or FC28 might break compatability with older applications Apr 04 16:24:57 Renault: if its backwards compatible we should be ok Apr 04 17:03:54 Hey all, I'm running into this build failed with rocko (fixed in master by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4e3d3c122f95dd0a5735b3238a4d2072749d0d97). I'm pulling in poky via gitsubmodules, so my plan is to fork the repo and cherry pick that commit. Don't suppose anyone has a better idea? Also, is that a chance that would likely find its way into a point release? Apr 04 17:07:27 jjhuff, so would backporting that to rocko help ? Apr 04 17:08:08 * armpit adds to list Apr 04 17:08:34 * armpit hell, got morty sdk to build... its beer time Apr 04 17:12:58 so, i just finished a build. which folders do i need to save to do this build again if i need to? Apr 04 17:13:21 also, i plan to do another build that's going to use a lot of the same things. is there any way i can have it use the stuff that it downloaded from the previous build to do this new one? Apr 04 17:14:19 read local.conf Apr 04 17:14:27 specifically see DL_DIR and SSTATE_DIR Apr 04 17:14:33 see also thhe yocto project documentation Apr 04 17:15:29 armpit, yup, it would. Apr 04 17:16:03 jjhuff, k. will grap the commit for queuing in rocko Apr 04 17:16:41 armpit: sweet, thanks! Apr 04 17:18:18 armpit: how long does that usually take to get through pipeline? Apr 04 17:31:29 JPEW: so, it worked, thank you. I will test on master to build uninative image and use it on F28 and F27 to compare Apr 04 17:48:45 Renault: Cool. If you have somewhere to push your changes, I'd be interested to see/test them Apr 04 17:50:12 not really, do you have a space / repo for that? Apr 04 17:50:13 jjhuff, that change and any other I pull in should be in a build over this coming weekend. If its clean, RP may pull into Rocko depending on how busy he is on sumo on other things. Apr 04 17:50:56 jjhuff, the next point release wont happen until after sumo m3 qa. no ETA on that Apr 04 17:59:27 armpit: awesome, thank you! Apr 04 18:04:34 Renault: I don't. poky-contrib (if you already have access) or GitHub would work Apr 04 18:26:33 i need to add some stuff to my ".wic" image's start-up. is there a way to do this without rebuilding everything? Apr 04 19:00:03 Renault: if you give us an ssh key we can give you access to poky-contrib to share patches Apr 04 19:23:50 Has any one here had any luck getting meta-darwin to work with rocko? Apr 04 19:26:49 AbleBacon: wic can do some changes in the fs. I don't like doing this as it is not reproducible easily but the tool can add and remove files Apr 04 21:37:04 armpit: you fixed morty? you'll need beer! :) Apr 04 21:39:46 RP, maybe... it appears http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akuster/stable/morty-next&id=c170cbada07c5197a6e8d39d2acf7ab7b2b792c0 Apr 04 21:40:00 may be the final piece Apr 04 21:40:15 its builds at home. Its now building on the AB Apr 04 21:40:56 I found other general "Fixes" and pulled them in from pyro Apr 04 21:42:06 have less than an hour left Apr 04 21:43:31 * armpit interesting journey Apr 04 21:43:51 armpit: that looks promising, I'm hoping! Apr 04 21:44:01 armpit: where are you going? Apr 04 21:44:26 the journey of walking through code Apr 04 21:45:27 I have a 4k magnetic memory so I will forget what I learn today by tomorrow Apr 04 21:47:40 armpit: ah. Must remember to keep you aware from magnets! :) Apr 04 21:47:43 er, away Apr 05 01:13:33 * armpit woo hoo!! morty passes Apr 05 01:20:19 Have a question/issue in using devtool to integrate a 3rd party driver into a working poky distribution. Apr 05 01:21:04 Getting "ERROR: cgosapi-1.0-r0 do_package: QA Issue: cgosapi: Files/directories were installed but not shipped in any package" when trying to do "devtool build cgosapi" Apr 05 01:21:20 where cgosapi is my new recipe for the 3rd party S/W. Apr 05 01:24:56 Hello? Apr 05 01:29:15 you'll need to either insstall the files in standard paths, or add them to the FILES variables. see the yocto project documentation for details Apr 05 01:30:46 I'd googled this topic, tried FILES_${PN}, and have been reading a lot of YP doc lately. I'll try to email Yocto mailing list with more details. Apr 05 01:33:55 FILES_${PN} is the correct variable, yes Apr 05 01:46:33 Do I need to subscribe to a mailing list in order to send and receive any response I may get? Apr 05 02:00:07 I think you have to subscribe to send. Not sure about replying on a thread you've been CC'd on. **** ENDING LOGGING AT Thu Apr 05 03:00:04 2018