**** BEGIN LOGGING AT Wed Dec 20 03:00:02 2017 Dec 20 08:50:18 New news from stackoverflow: bitbake recipe for installing deb package Dec 20 08:57:09 good morning Dec 20 09:56:35 Hi Dec 20 09:57:24 Could someone tell me how sstcache mechanism works, for how I can delete obsolete files with all dependences ? Dec 20 09:57:32 morning Dec 20 09:57:48 and then be sure that yocto will recreate files when missing Dec 20 09:59:35 devik : ../sources/poky/scripts/sstate-cache-management.sh --cache-dir=../sstate-cache -d Dec 20 10:01:30 ok but this will just remove duplicates Dec 20 10:01:45 and what if I will delete something by rm ? Dec 20 10:03:28 devik: i'm not an expert, but i think you shouldn't remove stuff manually :) you can use bitbake -c cleansstate also, i maybe wrong Dec 20 10:21:05 devik: have you seen rm_work? that might help Dec 20 10:21:20 I'd also agree that removing things manually is error prone Dec 20 10:21:43 you can wipe out TMPDIR entirely and have it rebuild just from the DL_DIR and SSTATE_CACHE directories fwiw Dec 20 10:29:06 RP what you mean by "rm_work"? Dec 20 10:29:50 devik: top hit on google: https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/classes/rm_work.bbclass Dec 20 10:30:02 or http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-rm-work :) Dec 20 10:30:27 ok thx Dec 20 10:35:27 is the using of .scc files to enforce patch order documented somewhere? Dec 20 10:37:03 kernel-dev.html seems to be the answer Dec 20 10:37:06 :) Dec 20 10:46:00 I have also a question about conf directory that is located inside my custom meta. If I change there some settings in layer.conf and bblayers.conf are they have prioryty then those in build directory ? Dec 20 10:47:01 to use the existing .scc file, i can use KERNEL_FEATURES += . is there any other way to tell the recipe that .scc file must be used? Dec 20 10:50:43 New news from stackoverflow: Git issue Bitbake gets stuck at do_fetch? Dec 20 11:01:56 hi all, someone popped the question to me and I need help Dec 20 11:02:07 he is building Media SDK using YP rocko release Dec 20 11:02:44 and he hit into gcc fixed header file issue: https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Fixed-Headers.html#Fixed-Headers Dec 20 11:03:29 how do we generate the fixed header in a reference image? Dec 20 11:17:35 hi I delete a file from /tmp/work../.../ how can I get the file recompiled or rebiuld? Dec 20 11:19:23 I tried all these options with bitbake recipe_name -f -c (fetch - compile - cleansstate - build - cleanall) Dec 20 11:37:15 -C compile Dec 20 11:37:27 In uppercase Dec 20 12:45:20 I am trying to use chromium-ozone-wayland from meta-browser but I get a crash just after a log message related to dbus. The message is "Failed to connect to the bus: could not parse server address: Unknown address type" and I traced it back to happening after a call to dbus_bus_get_private. If I launch chromium with dbus-launch I get a different error "The name org.freedesktop.Notifications was Dec 20 12:45:20 not provided by any .service files". Any ideas? Dec 20 12:49:08 if I add a layer in yocto, does it automatically fix and download its dependencies or I've to download it manually ? Dec 20 12:53:20 xtron_: dependencies meaning other layers it depends on? no. Dec 20 12:57:19 LetoThe2nd: yes, for example I need meta-selinux layer, it depends on or openembedded-core and meta-python Dec 20 12:58:07 does openembedded need to be added, isn't is already part of yocto? Dec 20 12:58:31 xtron_: core is, the rest is not. you need to add them manually. Dec 20 12:59:49 LetoThe2nd: ok, does any of you guys worked on SELinux with current master branch? Dec 20 13:00:44 xton: usually, we take yocto version branch Dec 20 13:01:43 I'm looking into broken patches of refpolicy of meta-selinux, anyone else have looked that issue? Dec 20 13:03:16 nayfe: consider rocko for now, Dec 20 13:47:16 I need to add meta-python, which depends on meta-openembedded and its subdirectory, do I've to clone meta-openembedded, or directly clone the meta-python in some directory? Dec 20 13:49:50 xtron_: what is you board arch ? Dec 20 13:50:16 nayfe: using qemuarm Dec 20 13:51:18 for instance, i use freescale BSP, it uses google repo tool to handle differents git repositories (layers) Dec 20 13:52:23 nayfe: but my question is different, in standard yocto build system, do meta-openembedded exist built-in or have to clone seperately Dec 20 13:53:00 xtron_: yocto is just a group of technos. Dec 20 13:53:14 nayfe: https://layers.openembedded.org/layerindex/branch/master/layer/meta-python/ Dec 20 13:53:29 nayfe: take a look and see its dependencies, Dec 20 13:54:10 you probably start with poky reference distro, that will give you oe-core and scripts, then you will have to add every layers by hand Dec 20 13:54:28 meta-python is subdirectory of meta-openembedded, if it already exist I can clone python layer in it Dec 20 13:54:54 nayfe: yes, I checkout the rocko reop Dec 20 13:56:29 xtron_: bblayer.conf: BBLAYERS = " ..... ${BSPDIR}/sources/meta-openembedded/meta-python ...." Dec 20 13:57:35 meta-openembedded is not a real yocto layer, it does not contains any ./conf folder Dec 20 14:35:57 hi everyone Dec 20 14:39:46 i'm having problems using devtools' workspaces. whenever i add one (even an empty one) an image recipe fails on `set_image_size`. i've posted in the channel of the specific project too, but i figured someone here might have encountered something similar too Dec 20 14:41:59 oh, maybe false alarm, deleting tmp seems to pass the parsing step Dec 20 15:24:56 hmm, trying to build swupdate (an older version) and when i run `bitbake swupdate` i get an error in do_configure that oldconfig is not a target of make, but when i run the make command from devshell it finds the target Dec 20 15:27:01 also, can i run commands like oe-runmake from the devshell? Dec 20 16:32:29 hey guys! What does one do if he has no proper vsync from the video drivers and Qt flickers as hell? the firmware is yocto-born Dec 20 16:34:07 does anyone else, building meta-selinux facing broken refpolicy patches? Dec 20 16:34:37 or anyone here recently build meta-selinux? Dec 20 16:54:29 I'm buiiding a rocko system with systemd and I get the following kernel panic on boot: Dec 20 16:54:30 > /sbin/init: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory Dec 20 16:55:16 anyone knows why liblz4 would not have been built? Dec 20 17:04:04 okay, found some bbappend files that cause this... Dec 20 17:12:55 zeddii, zeddii_home: Any news on the kernel update? Should I add a bbappend for now? Dec 20 17:13:30 bbappend for what ? the serial fix ? Dec 20 17:13:54 I have a whole new set of kernel updates pending, but was still doing boot testing. was planning on sending them by EOD here. Dec 20 17:14:40 zeddii_home: did you find the serial issue? Dec 20 17:14:58 zeddii_home: the append would be for the x2apic, we're suffering with that :/ Dec 20 17:15:26 zeddii_home: Can we enable the x2apic for both qemux86 and -64 ? Dec 20 17:18:27 ah yes. that. I’ll put it in the update I’ll send in a bit. That got lost in the threads. Dec 20 17:19:03 thanks zeddii_home Dec 20 17:19:04 the serial issue, we need to retry with the 4.12.x update I have queued, since it has some changes in that area. I’m not seeing any issues locally with the updates Dec 20 17:19:10 now I need to find that email thread again. Dec 20 17:20:02 zeddii_home: is there a patch I can test? Dec 20 17:23:27 I just pushed the queue: git push -f ssh://git@git.pokylinux.org/poky-contrib zedd/kernel:zedd/kernel Dec 20 17:23:41 but that doesn’t have the x2 apic change. I’m still hunting that email. Dec 20 17:25:07 found it. making the config change now. will do a quick test and add it to the queue. Dec 20 17:29:44 zeddii_home: thanks! can you ping me when that is on the branch and I'll test Dec 20 17:59:04 RP: it is on that branch now. Dec 20 18:05:46 zeddii_home: thanks! Dec 20 18:07:11 zeddii_home: sorry I wasn't clear earlier, can we enable that for common-pc too (i.e. 32 bit) ? Dec 20 18:07:41 zeddii_home: originally I thought this was 64 bit only but I think we have the issue on 32 bit too. Not sure we can use x2apic there though :/ Dec 20 18:08:11 zeddii_home: good news is the failing selftest works here with the branch (the serial issue) Dec 20 18:08:32 yup. the email only said -64 so that’s what I did. I can fix it in about 2 mins. I’ll message again when I’ve amended that commit. Dec 20 18:09:01 zeddii_home: right, I'm basing this on learnings since I sent that mail... Dec 20 18:11:36 commit is amended for both 64 and 32 bit and pushed. zedd/kernel is non-fastforward now, but only that top commit differs Dec 20 18:13:06 zeddii_home: looks good thanks. My tests here are looking good Dec 20 18:13:20 excellent. fingers crossed. Dec 20 18:22:21 New news from stackoverflow: Ship extra files in kernel module recipe Dec 20 18:38:48 I am trying to update my Yocto build area to Rocko and I have one piece I have not gotten to work. I am probably not understanding a piece of the process. Dec 20 18:40:51 The recipe explicitly declares a do_install-native function to include a "mkimage" script in the SDK. It does get put in recipe-sysroot-native/usr/bin/mkimage. I now need my kernel build recipe to find that script. Dec 20 18:41:58 I also see it in build/tmp/work/x86_64-linux/nand-boot-redirect-native/1.0-r0/git/tools/mkimage. I think this is the one I need to find with kernel recipe. How do I indicate in the recipe how to find this? Dec 20 18:43:37 Or what do I need to do in the mkimage recipe to get it where I can access from the kernel build recipe? Dec 20 18:52:27 New news from stackoverflow: How do I escape a "$" in bitbake/yocto? Dec 20 19:15:55 My PREFERRED_PROVIDER_virtual/kernel works great until I add a MACHINEOVERRIDES =. "mx6:mx6q:mymachine". After adding the MACHINEOVERRIDES it defaults to the mx6 kernel. Dec 20 19:16:03 Am I forgetting something? Dec 20 19:16:23 seems pretty obvious to me, there's a PREFERRED_PROVIDER_virtual/kernel_mx6 or similar somewhere Dec 20 19:16:26 :) Dec 20 19:18:11 I'm trying to job my memory from when I did this last and why I'm confused. I recall using SOC_FAMILY to group my board with the mx6 in the past. Dec 20 19:18:23 s/job/jog/ Dec 20 19:19:02 My goal is to let bitbake know that I can build things with COMPATIBLE_MACHINE = (mx6). Dec 20 19:19:27 But still use my PREFERRED_PROVIDER(s) for mymachine. Dec 20 19:21:17 I guess I can just add PREFERRED_PROVIDER_virtual/kernel_mymachine, but that seems like it should be overkill. Dec 20 19:22:03 Shouldn't the system realize that mymachine PROVIDES is more important? Dec 20 19:22:16 bitbake -c read_my_mind Dec 20 19:33:18 is there a way to not install certain packages from a package-group? Dec 20 19:34:41 zeddii_home: X2APIC depends on X86_64 :( Dec 20 19:34:51 zeddii_home: so we can't use that as a workaround on x86 :( Dec 20 19:40:52 ahahah. I didn’t check, just made the commit. hmm. Dec 20 20:10:35 BubuIIC> something like IMAGE_INSTALL_remove = "" ? Dec 20 20:11:13 nayfe: that doesn't seem to have any effect Dec 20 20:11:52 currently doing a clean build Dec 20 20:15:01 BubuIIC: maybe your package is installed as a dependency ? did you check bitbake -e | egrep ^IMAGE_INSTALL ? Dec 20 20:16:49 or try to blacklist it http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-blacklist Dec 20 20:44:49 nayfe: taskexp shows it as a dependency of my image task Dec 20 20:45:06 but it should only come from the packagegroup I think Dec 20 20:47:00 IMAGE_INSTALL has packagegroup-core-full-cmdline Dec 20 20:47:16 and ofc some unrelated packages Dec 20 20:49:32 nayfe: still no luck Dec 20 20:53:05 > nothing provides nfs-utils needed by packagegroup-core-full-cmdline-sys-services Dec 20 20:54:49 BubuIIC: what you can do is create your own packagroup as duplicate of cmdline without the one you don't want Dec 20 20:55:28 nayfe: I see, I thought there might be an easier way Dec 20 20:56:40 it could :) you can still wait for an expert answer, rburton? :) Dec 20 21:42:29 Hello, How to build statically linked ELF instead of a dynamic one in Yocto? Dec 20 21:42:43 What should I add to the recipe to make this switch? Dec 20 21:44:54 batman_: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.1-poky-reference-distribution-changes i think you need to set DISABLE_STATIC = "" Dec 20 21:48:35 nayfe: Thanks!, I will give that a shot Dec 20 23:00:54 hi there I'm looking for kernel sources for Intel Quark. Would you be able to provide me a repo address that I can clone and browse? Thanks Dec 20 23:35:13 batman_: the disable-static thing just stops libraries building static libraries as well as shared. Dec 20 23:35:36 batman_: how you build a static library depends on how you're building the library. if you're calling gcc/ld then pass -static Dec 20 23:35:45 (this isn't a yocto question, it's a "how does my compiler work" question Dec 21 00:28:59 armpit: do you prefer people sending to your gmail or mvista email? **** ENDING LOGGING AT Thu Dec 21 03:00:00 2017