**** BEGIN LOGGING AT Tue May 23 03:00:02 2017 May 23 06:17:32 morning all **** BEGIN LOGGING AT Tue May 23 06:32:00 2017 May 23 07:03:56 RP1: I couldn't reproduce that build failure. on OpenSuse 42.2 it works just fine, on my older machines build breaks this way: https://gist.github.com/bartosh/741ea816bf944e2601c51fdc3c865010 May 23 07:04:10 RP1: any ideas? May 23 08:01:48 @ed2 sometimes glibc-locale: 820 installed and not shipped files. [installed-vs-shipped] means you don't have set FILES varibale correctly May 23 08:02:48 PinkSnake: well, it's master-next as it is. i didn't set any variables. it's a clean build. May 23 08:03:18 PinkSnake: and it works on latest OpenSuse. It doesn't work on 42.1 and 13.2 May 23 08:05:26 @ed2 ok so there is maybe some touble on master-next, it's dirty but you can maybe add INSANE_SKIP+="installed-vs-shipped" in a .bbappend May 23 08:10:38 I'm losing it ! https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#bitbake-user-manual-execution states, very clearly, "The layer.conf files are used to construct key variables such as BBPATH and BBFILES." If that is the case, why are these variables always being set in conf/bblayers.conf and not conf/layers.conf ? May 23 08:26:59 Smitty_: They are set in /poky/meta-something/conf/layer.conf May 23 08:27:11 Can a flag OE_QMAKE_CXXFLAGS defined in one meta layer meta-qt5 be used in some other meta layer ? May 23 08:34:20 Morning everyone! May 23 08:37:24 Trying to understand what (the hell) bitbake is doing is an exercise in frustration. The "-e" option to bitbake (e.g. bitbake -e customtarget) produces output like this: https://pastebin.com/ksWzrkZn Why are files like conf/bitbake.conf, conf.site.conf, conf.auto.conf not provided with full path names. Where do they come from ? Why doesn't this show the order of processing from the very first file bitbakes opens (bblayers.co May 23 08:37:38 ...are processed ? May 23 08:48:26 Why doesn't my layer appear in BBLAYERS variable? https://pastebin.com/81XdwB2g May 23 08:48:50 My Layer being meta-custom, which is present May 23 08:50:12 Smitty_: Have you added the layer path to the bblayer.conf file? May 23 08:52:03 meta-custom is "included" by way of an line in templateconf.cfg "..meta-custom/conf" - which apparently is adding in the layer - unless I am mistake May 23 08:52:47 Smitty_: As far as i know you just have to add the path to bblayers.conf and you should be able to use the layer May 23 09:18:50 is it possible to limit a recipe to architecture features? ie. only for cortexa15hf? COMPATIBLE_MACHINE matches not what I want May 23 09:21:19 Smitty_ : For adding a layer, is just simple as adding a line into bblayers.conf May 23 09:22:13 Smitty_ : You also need to check into your layer, if you have a layer.conf. If you have followed the guide, you have used the tools to create one and in the layer.conf it should select every recipe in your layer. May 23 09:22:43 Smitty_ : Something like BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" May 23 09:29:15 sobczyk : Does " soc_familly" could help you? May 23 09:31:34 sobczyk : Look into also TARGET_ARCH / TUNE_ARCH May 23 09:33:35 hello May 23 09:33:38 sobczyk : you are limitating a recipe for an arch, but as you have to define the machine target, is it really needed? Maybe you should consider makingn a recipe image for your arch. May 23 09:33:51 is there a plan to move to meson away from autotools? May 23 09:34:03 sobczyk : and you bitbake the image that suit your arch. May 23 09:41:11 ChrysD: my image is tuned for odroid, but the specific recipe is a blob that should not be used on other boards like imx6 May 23 09:42:28 so the blob recipe should only build for all odroid machines (cortexa15hf) May 23 09:42:55 sobczyk : What don't you make an image for odroid machines especially including that recipe for example? May 23 09:43:18 @sobczyk maybe with someting like that: machine = d.getVar('COMPATIBLE_MACHINE', True) May 23 09:44:34 ChrysD: I do include it explicitly, but I don't want others include it in other arch by mistake May 23 09:46:58 @sobczyk @ChrysD is right, you can also maybe split you work in 2 meta-layers and add the board dependent part in bbalyer May 23 09:50:46 sobczyk : you couldn't avoid any "humans problems". If someone do the wrong bitbake and flash it into the board, yocto couldn't help you for that. Even if you do a kind of system that could select the recipe depending the machine put, if the one that bitbake forgot to tell the right arch/machine, it won't work. May 23 09:51:17 sobczyk : so maybe doing a recipe image which explicitely tell you that is an image for odroid ou imx6 will help to not bitbake the wrong image May 23 09:51:29 sobczyk : odroid-image-gui-qt or whatever May 23 09:51:37 sobczyk : imx6-image May 23 11:09:22 can a flag like OE_QMAKE_CXXFLAGS used between different layers ? May 23 11:13:11 Ramose: i guess it depends on where you defined it ... May 23 11:13:41 binarym: I defined it in meta-qt5 layer May 23 11:15:09 and wanted to use value of that flag in some other layer May 23 11:15:15 https://lists.yoctoproject.org/pipermail/yocto/2012-February/004596.html May 23 11:15:18 something like it May 23 11:17:53 Does anyone know why "multiprocessing" is not installed with the python3 package? May 23 11:18:45 rj_: because until very recently python3 just installed python3-core which is just the critical bits. install python3-modules. May 23 11:18:59 (I fixed this a few weeks ago) May 23 11:19:11 Ah alright, thanks! May 23 11:21:15 rburton: Where exactly can i find the recipe? May 23 11:21:43 Ramose: but where ? In a recipe ? May 23 11:21:53 Yes May 23 11:21:57 if defined in a recipe (.bb file), the flag will only apply to it May 23 11:22:09 if you want system-wide flags, you have to put it in a .conf May 23 11:22:11 but May 23 11:22:13 rj_: its built by python3, just install python3-modules instead of python3 in your image May 23 11:22:34 i'm not sure that it works for OE_QMAKE_CXXFLAGS May 23 11:22:36 yeah I am trying this .conf approach May 23 11:22:49 Ramose: try with your build/conf/local.conf May 23 11:22:53 export OE_QMAKE_CXXFLAGS May 23 11:22:57 in my opinion, best place to do it May 23 11:22:57 rburton: ah okay May 23 11:23:16 and then lets the recipe file in meta-qt5 set its value May 23 11:23:46 and see if this flag can be used system-wide. May 23 11:28:08 hello bluelightning did you send the patch about upper case PN files? (the variables not being evaluated when PN is upper case) May 23 11:33:25 rburton: It works now, thanks ^^ May 23 11:33:59 rj_: annoying bug in the metadata, might push it back into 2.3 as its annoying May 23 11:34:38 rburton: Well if you know about it's no problem. But when you don't it can be hard to find whats wrong May 23 12:57:14 runqemu hangs at: runqemu - INFO - Running tmp-glibc/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-i386 -drive file=tmp-glibc/deploy/images/qemux86/customimage-qemux86-20170522132558.rootfs.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -usbdevice tablet -device virtio-rng-pci -cpu qemu32 -m 256 -serial mon:vc -serial null -kernel tmp-glibc/deploy/images/qemux86/bzImage--4.10.15+g May 23 12:58:04 Do I need some kind of special privilege to run qemu under linux ? May 23 13:15:27 how does the yocto project handle security fixes for its layers? from what I can see/read there are security updates for around a year? my impression is that after that point i either move to a new yocto release (wont happen for a product...) or i monitor all the packages in my system and apply patches accordingly. Is this correct? May 23 13:16:23 fmeerkoetter: yes, either monitor yourself or pay a OSV such as wind river/mentor/montavista to do it for you (by providing a supported yocto-based system for N years) May 23 13:17:28 rburton: ah. thanks! that is of course also an option. good point May 23 13:17:57 rburton: sadly enough that is not what I am seeing in practice. :-( May 23 13:18:14 there everybody and its dog is just doing neither... May 23 13:18:59 yeah, that's the sad truth May 23 13:19:21 the "community" doesn't have the manpower to support four year old releases for security updates May 23 13:19:45 what other OSVs are there? May 23 13:20:34 that also use yocto underneath May 23 13:20:44 fmeerkoetter: https://www.yoctoproject.org/ecosystem/yocto-project-participants is a list of all project members, a fair proportion of those do supported products May 23 13:23:51 thank you! May 23 13:44:35 Hi, is there a recipe/target that enables me to include the entire python standard library in my image? May 23 13:44:43 There May 23 13:45:17 There's stuff like argparse and importlib and gettext missing and I don't want to hunt down each package manually and generate an image every time May 23 13:45:21 BaloneyGeek|work: include python3-modules or python-modules in your image May 23 13:45:32 really going to have to backport the fix for this May 23 13:46:01 rburton: ERROR: Nothing PROVIDES 'python-modules'. Close matches: May 23 13:46:19 codecs, idle, dbus, python RPROVIDES python-modules May 23 13:46:30 But I have python in my IMAGE_INSTALL May 23 13:46:44 yeah, IMAGE_INSTALL should have python-modules in May 23 13:46:46 That's if I try to bitbake python-modules May 23 13:47:03 python-modules is a *package* built by the python *recipe* May 23 13:47:12 Ah May 23 13:47:19 just add python-modules to your image and build the image, bitbake will do the rest May 23 13:48:35 Yeah, that's working May 23 13:48:37 Thanks May 23 13:51:36 Still can't do the simplest thing - this time: change a project to also produce an ISO. It appears there is a variable that I want to use "IMAGE_FSTYPES", and from what I can tell, for some reason I want to put this variable in the file build/conf/local.conf (in the *build directory*). But this produces an error May 23 13:52:00 ERROR: /home/smitty/my_yocto/customdistro/openembedded-core/../meta-custom/recipes-example/images/customimage.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ISO' - possibly invalid type name or missing support class May 23 13:52:09 lowercase May 23 13:52:28 Huh ? May 23 13:52:33 'iso' not 'ISO' May 23 13:52:47 oh my god May 23 13:57:00 I guess nobody cares that in fact the FS Type is ISO, and the image file extension is iso - if the system is going to be case sensitive over such things, it should get it right. May 23 13:58:50 Smitty_: the entry in FSTYPES is used to look up variable overrides, which are lowercase May 23 13:59:03 if the documentation is buggy point to where it says ISO and we can fix it May 23 13:59:04 Hello, I have the following error "The license listed Proprietary was not in the licenses collected for recipe XXX"; however the Proprietary license does appear in poky/meta/files/common-licenses/ May 23 14:09:34 So, I totally don't understand how add "iso" to a variable could ahve casue bitbake to have to build so much extra stuff May 23 14:11:08 how adding "iso".... could have caused May 23 14:12:38 Because the ability to wrote in ISO format is not enabled by default, so the tools required to do so haven't been built ? May 23 14:12:58 assuming that's what its building, yes May 23 14:18:19 Hello ! I have a recipe who build a kernel module, i do see the module in the sysroot when i add my recipe to IMAGE_INSTALL. I'm trying now to load the module when booting, I have tried to add my module in KERNEL_MODULE_AUTOLOAD, but it doesn't load the module when booting my image. Can someone help me on this? May 23 14:21:19 So, if I always want the ability to to write an ISO image in my project, I need to provide a local.conf and ensure it somehow gets copied/moved to build/conf/local.conf (probably by way of a customized oe-setup-environment script) ? May 23 14:24:13 Smitty_: or, put it in your distro configuration May 23 14:24:26 which if you say "always" is the correct solution May 23 14:24:31 put what in my distro configuration ? May 23 14:24:35 IMAGE_FSTYPES May 23 14:24:56 but, it doesn't belong there, it's supposed to go in local.conf May 23 14:25:01 isn't it ? May 23 14:25:06 it can go in a configuration file May 23 14:25:16 local.conf is your configuration file for that specific build tree May 23 14:25:25 the distro config is another one, for distro-wide choice May 23 14:25:36 some BSP configuration files set specific IMAGE_FSTYPES too May 23 14:26:52 *NOT* understanding this paradigm at all. May 23 14:27:51 if your product is saying "i want an ISO image" then put it in your distro configuration file May 23 14:28:26 whereas if you were saying "i want an iso to test something" then local.conf is appropriate. May 23 14:30:32 OK, so, what if I just want the ISO to be a build target ? Which is really the sensible thing to do, IMHO. In other words, I'd like to be able to say "bitbake