**** BEGIN LOGGING AT Wed Jul 17 02:59:57 2019 Jul 17 05:30:11 Hi, i want to write a recipe to Install python package from wheel file. Jul 17 05:32:13 Current recipes are based on python package source file. I need to know how can whl packagecan be installed. Jul 17 05:33:08 SWAT: thank you all for the warrior-21.0.1 release effort! Jul 17 08:11:54 New news from stackoverflow: Add New Kernel Parameter To Custom Linux Image Generated By Yocto Jul 17 08:28:22 poky/meta/classes/cve-check.bbclass', lineno: 237, function: check_cves Jul 17 08:28:32 Exception: UnboundLocalError: local variable 'to_append' referenced before assignment Jul 17 08:29:09 libsdl2-native-2.0.9-r0 do_cve_check is failing the builds on master now.. Jul 17 09:12:08 mcfrisk: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0c0a056db8c0f918a0daf9145b162e50f1a44124 Jul 17 09:14:16 Chrusel: related but not the root cause. I sent a patch which fixes the build for me. Jul 17 09:42:07 New news from stackoverflow: Yocto helloword recipe in rootfs Jul 17 10:21:17 Hi all. Anyone here know the python recipes well? Jul 17 10:22:24 I need pathlib, but the way python stuffs everything into a .inc file means I'm not sure how to go about adding it. Jul 17 11:35:46 I'm assuming we can't bbappend to an inc file? Jul 17 11:52:35 JoeR: the use of an inc shouldn't matter as you can still bbappend the recipe? Jul 17 11:54:21 So I think I need to modify the .inc file. It seems to break python down into the many packages we see it as in yocto. Jul 17 11:54:43 If it were a normal recipe I would bbappend my changes, but I can't do that with the inc file can I? Jul 17 11:55:10 Or would you append to whatever recipe includes the inc? Jul 17 11:55:26 (i.e. append to the main python recipe) Jul 17 11:55:59 anyone else seeing that freetype 2.10 is failing to compile on aarch64 with: aarch64-poky-linux-libtool: compile: unable to infer tagged configuration ? Jul 17 11:58:11 JoeR: From my understanding you should bbappend the recipe which includes the .inc Jul 17 11:58:30 OK. Except I can't find that.... Which is weird. Jul 17 11:59:46 Oh. Muppet error. The main python recipe requires it. Jul 17 12:00:03 Though with it's own variable tracking the version number. Jul 17 12:29:31 How to make EGL on meta-intel work? I've added drm, egl, gbm features, yet eglinfo says `eglInitialize failed` Jul 17 12:46:18 missing drivers? worked with core-image-sato for me last time i tried. Jul 17 12:47:35 I'm building core-image-minimal. AFAIS drm drivers are there Jul 17 12:48:58 kernel drivers? mesa drivers? Jul 17 12:50:45 drunk drivers? Jul 17 12:51:33 i965_dri is presented Jul 17 12:51:48 what do you mean by kernel drivers? Jul 17 12:51:50 dri? Jul 17 12:53:56 Hm, lsmod doesn't show drm Jul 17 12:57:10 minimal is minimal Jul 17 12:57:33 a better 'experimenting' base is core-image-base Jul 17 12:57:40 (or -full-cmdline) Jul 17 12:57:50 I see, thanks. Jul 17 12:58:25 If I understand correctly I need `MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-module-drm"` right? Jul 17 12:59:02 tbh i'd just start with adding kernel-modules and see if that solves the problm Jul 17 13:00:02 I did and there appeared a few modules but not drm Jul 17 13:01:39 I'll try base and see what it adds if kernel-module-drm will not fix it Jul 17 13:12:41 New news from stackoverflow: How to merge two /data partitions to access u-boot in linux? Jul 17 13:42:46 New news from stackoverflow: Cannot access /data/u-boot in linux on integrating mender? Jul 17 13:46:44 Nah, even in the basic image there is no drm module. What adds it? Jul 17 14:16:35 hi, can I instruct my layer to download and use a pre-built binary toolchain? Jul 17 15:16:13 hello folks Jul 17 15:16:30 a python setup script needs "rsync". but there's no rsync-native recipe. Jul 17 15:16:47 is there a way that I can make the buildsystem's "rsync" command available to do_install ? Jul 17 15:17:51 I don't want to brutally use PATH=/bin:$PATH in do_install .. I think that would be very bad. but what's the correct way? Ideally, it just just install a symlink into STAGING_DIR_NATIVE/${bindir} from rsync to /usr/bin/rsync Jul 17 15:19:31 HOSTTOOLS is used for that, it's how we filter host tool availability to avoid contamination Jul 17 15:25:13 I understand that yocto builds some of the tools as -native and the main utility is, for example for python-native, that the same build tools are used that match target-tools Jul 17 15:25:34 for rsync though, I don't see the utility in building it as -native. Am I right or missing something? Jul 17 15:25:39 kergoth, thanks, i'll use that Jul 17 15:26:25 there's a balance to be maintained between host dependencies and self sufficiency. more recipes extends build time, but more dependencies requires more host setup Jul 17 15:26:37 your call given its your recipe/layer Jul 17 15:29:25 HOSTTOOLS can have a dramatic effect on build reproducibility also Jul 17 15:31:13 kergoth, hmm i added "rsync" to HOSTTOOLS in the recipe, and then it still complains. the setup.py calls "rsync --version >/dev/null" to check for the presence of rsync. Jul 17 15:31:37 is it a problem that this setup.py is interpreted by the python-native and that it doesn't somehow look into the magic directory that contains the hosttools? Jul 17 15:32:12 litb: I don't think you can add it per recipe. I think you probably need to put it in layer.conf Jul 17 15:32:22 ah i see Jul 17 15:33:22 as a matter of fact, I *can* execute "rsync --version" just fine in the do_devshell Jul 17 15:34:11 but that doesn't seem a good indicator, as I can also execute xchat. devshell doesn't appear to reliably reproduce the build environment in that regard Jul 17 15:35:11 yes, HOSTTOOLS is a global configuration variable. early in the boot process we set up a directory of symlinks for the binaries listed in HOSTTOOLS and that ends up in PATH Jul 17 15:37:14 ah i see Jul 17 15:37:51 since that's a one-time process, it doesn't work at the recipe level. not run on a per-recipe basis Jul 17 15:38:30 you could arrange for it in the recipe itself of course. add a task to create a dir, symlink from the host, add it to PATH, Jul 17 15:39:54 ah i see Jul 17 15:40:10 probably not worth the hassle to bypass the usual mechanism, though Jul 17 15:43:02 "/python-pycopia/usr/lib/python2.7/.../platutils.py is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination " haha. Jul 17 15:43:03 New news from stackoverflow: Yocto install deb packages from remote in target Jul 17 15:43:51 i guess this happens because i didn't use the "install" tool, which probably takes care that in the end the files appear as root-owned in the packages (fake-root) Jul 17 16:02:10 kergoth: did you see the runqueue changes? Of course we now start to find interesting new problems :/ Jul 17 16:02:24 I did, though haven't reviewed them very deeply yet Jul 17 16:02:41 of course. as always. there's always some corner case we didn't consider when reworking something Jul 17 16:02:42 every time Jul 17 16:03:04 nature of the beast working with something this complex Jul 17 16:03:21 kergoth: do_fetch wipes out the recipe-sysroot. Trouble is now it can run in parallel with do_XXX_setscene :( Jul 17 16:03:28 oof Jul 17 16:03:39 kergoth: I'm not sure we can safely delete the sysroots now Jul 17 16:04:32 could we have all the setscenes depend on a separate sysroot clean task? Jul 17 16:04:52 kergoth: setscene may or may not run... Jul 17 16:05:24 right, but do_fetch could depend on it too? course that'd change all the signatures.. Jul 17 16:05:25 hrmph Jul 17 16:05:54 kergoth: I'm really struggling to see how we can fix this one Jul 17 16:13:19 bitbake appears to execute "do_install()" functions in fakeroot (pseudo) by default. however, "do_install" never is defined by the "fakeroot" keyword Jul 17 16:13:28 why is it still executed within fakeroot ? Jul 17 16:45:14 litb: the fakeroot flag is set on the do_install variable Jul 17 16:53:14 Hi, I am trying to compile to cyclone5 via "https://rocketboards.org/foswiki/Documentation/GSRDCompilingLinux". But I am getting ParseError at /home/navid/angstrom-build/layers/openembedded-core/meta/classes/image.bbclass:181: Could not inherit file classes/sdcard_image-socfpga.bbclass Jul 17 16:53:52 Anybody can give any hints or tips to how to solve this? Jul 17 17:03:30 RP, thanks, makes sense Jul 17 17:04:09 crazy how much of all thos runs behind the scenes Jul 17 18:00:49 I am compiling a golang based repository and I keep stumbling on this error: `arm-phytec-linux-gnueabi-strip: Unable to recognise the format of the input file` Jul 17 18:01:47 It is a vendor specific file which the `strip` is unable to recognize during `do_populate_sysroot` Jul 17 18:13:31 New news from stackoverflow: Build real time Linux for Raspberry Pi Zero W Jul 17 19:06:40 hi is there possibility to change DISTRO_NAME in local.conf (I saw that in poky it's use with = not ?= so probably not?) Jul 17 19:09:40 I can override /etc/issue in bbappend but I don't like it :) Jul 17 19:33:19 opennandra: use an override. i.e. DISTRO_NAME_forcevariable = "foo". any override would work, so DISTRO_NAME_poky or whatever would do too Jul 17 19:33:27 but it sounds like you should create your own distro at this point Jul 17 19:36:00 kergoth: well I just want to change this text (I'm confident with poky distro :)) Jul 17 19:38:18 kergoth: thanks it works with _poky Jul 17 19:38:41 I didn't even know this is possible (I was aware only of _append, _remove) Jul 17 19:49:35 kergoth: I'm trying to fix some twisted stuff in buildbot. The thought then occurred that we could add twisted to bitbake. I think nobody would the understand it at all :) Jul 17 19:58:53 * RP wonders if anyone here is a twisted expert Jul 17 20:04:53 opennandra: poky is an example, please just make your own Jul 17 20:05:22 rburton: it's is must to create new repo (generally speaking) or can use poky Jul 17 20:05:30 *sorry distro Jul 17 20:05:33 you *can* use poky Jul 17 20:05:46 but don't be surprised when you upgrade to warrior and suddenly its using systemd not sysvinit Jul 17 20:06:09 because poky is primarily a test bed, and will happily change Jul 17 20:06:10 folks always overestimate the work involved in creating their own distro and images Jul 17 20:06:14 always Jul 17 20:06:17 rburton: I'm using systemd already so no problem, ok I'll take it into account Jul 17 20:06:22 cp poky.conf mydistro.conf Jul 17 20:06:22 DONE Jul 17 20:06:38 i've pointed at https://github.com/rossburton/customdistro three times this week now Jul 17 20:06:53 kergoth: I created tons of images but still using poky as default Jul 17 20:08:22 I think such informations are overlooked or so. I'm working with your for few years now but always hack only recipes adding recipes or create custom images Jul 17 20:08:39 I was thiking about sharing this how-to's somehow on blog or so Jul 17 20:10:08 or the manual Jul 17 20:10:10 patches welcome! Jul 17 20:10:39 there's also https://wiki.yoctoproject.org/wiki/TipsAndTricks for quick notes that haven't yet made it into the docs proper Jul 17 20:11:03 like https://wiki.yoctoproject.org/wiki/TipsAndTricks/MiningPerformanceData was just me writing down what i did so i could read it again when i forget Jul 17 20:12:12 ok that is good idea -> I did lot of changes to variosu stuff but never shared I think it's time to start on wiki Jul 17 20:12:15 thanks Jul 17 20:21:01 rburton: ask LetoThe2nd to cover this on twitch? **** ENDING LOGGING AT Thu Jul 18 02:59:56 2019