**** BEGIN LOGGING AT Fri Jan 12 03:00:03 2018 Jan 12 03:16:08 Hi, How do i add an additional path to y PATH variable for a recipe? Jan 12 03:25:59 batman_, I think the proper approach is to add the right "-native" dependencies so you get what you need in the sysroot of the package build. Jan 12 03:26:21 if that fails, I guess you'll have to ask Robin. Jan 12 03:26:56 @paulg, I do not have a recipe to build a bare metal toolchain, thats the reason why I need to include the path to it as of now Jan 12 03:27:16 Untill we can get that toolchain built through yocto Jan 12 03:33:05 batman_: you need to pass that TC to the recipes workdir using SRC_URI and simply execute it from there (for now) Jan 12 03:34:14 #aehs29: If the toolchain is installed on my machine, can I just include the path to my PATH when I run the recipe? Jan 12 03:35:55 lots of time and effort is spent on *reducing* host contamination for making reproducible builds. Jan 12 03:36:40 paulg, Ah! I see your point Jan 12 03:36:40 This includes blocking random things (including toochains) in $PATH. Jan 12 03:37:08 so maybe you need to step back and ask why you need the custom toolchain Jan 12 03:38:10 maybe you have a legit reason for that compiler, that board, that version. Jan 12 03:38:16 batman_: yeah I wouldnt recommend that Jan 12 03:38:23 But best if you know what exactly it is. Jan 12 05:09:09 New news from stackoverflow: How to manage a git repository of Yocto project Jan 12 09:40:54 while creating some images I have observed that more packets are installed besides the ones I put to IMAGE_INSTALL or PACKAGE_INSTALL. Jan 12 09:40:57 it there a way to install only those I want without their dependencies? or I must remove those packet I don't want afterwards? Jan 12 11:10:02 New news from stackoverflow: Make yocto skip a recipe instead of stopping Jan 12 11:17:13 Can someone help me understand what does this error exactly mean? "file /opt/dey/2.4-r1/sysroots/x86_64-deysdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.8.2-r0.0.x86_64_nativesdk and nativesdk-qtbase-tools-5.9.3+git0+73573fce29-r0.0.x86_64_nativesdk" Jan 12 11:17:26 My understanding is that both recipes are trying to install the same file in the same path? Jan 12 12:33:20 How can I remove a -lGL flag from a compilation of a recipe? Jan 12 12:34:45 how is it set? Jan 12 12:37:08 arm-fslc-linux-gnueabi-libtool: link: arm-fslc-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/nxp/fsl-community-bsp/build-wayland/tmp/sysroots/imx6ulevk -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/nxp/fsl-community-bsp/build-wayland/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/libsdl2-ttf/2.0.14-r0=/usr/src/debug/libsdl2-ttf/2.0.14-r0 -fdebug-prefix-map=/home/nxp/fsl-community-bsp/build-wayland/t Jan 12 12:37:08 mp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/nxp/fsl-community-bsp/build-wayland/tmp/sysroots/imx6ulevk= -I/home/nxp/fsl-community-bsp/build-wayland/tmp/sysroots/imx6ulevk/usr/include/freetype2 -D_REENTRANT -I/home/nxp/fsl-community-bsp/build-wayland/tmp/sysroots/imx6ulevk/usr/include/SDL2 -DHAVE_OPENGL -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/glfont glfont.o ./.libs/libSDL2_ttf.so -lGL /home/nxp/fsl-community-bsp/build-wayland/tmp/sysro Jan 12 12:37:09 ots/imx6ulevk/usr/lib/libfreetype.so -lz /home/nxp/fsl-community-bsp/build-wayland/tmp/sysroots/imx6ulevk/usr/lib/libSDL2.so -lm -ldl -lpthread -lrt Jan 12 12:38:07 Third line before last has -lGL causing issue Jan 12 12:39:47 entirely up to whatever recipe youre building Jan 12 12:40:32 Where is this configuration located? Jan 12 12:41:02 I searched but cannot locate the source of this config Jan 12 12:45:12 you're literally asking "where is something", but the package probably uses pkgconfig or similar to find linker flags Jan 12 13:17:10 Where do they find the linker flags? Jan 12 13:17:39 Can it be found through grep? Jan 12 13:35:58 learningc: quite possibly Jan 12 13:37:28 My application complains libstdc++.so.6 not found Jan 12 13:37:39 How do I add this package? Jan 12 14:10:29 New news from stackoverflow: Busybox syslog enable/disable klogd Jan 12 15:01:45 hello, I have a weird issue when I write two dependencies with do_image_wic[depends] instead of one Jan 12 15:02:44 do_image_wic[depends] += " fod-recovery-image:do_image_complete fod-factory-image-swu:do_swuimage" gives me an error for do_image_wic task Jan 12 15:03:01 ERROR: fod-testing-image-1.0-r0 do_image_wic: The file /lib/firmware/ti-connectivity/wl1271-nvs.bin is installed by both wl18xx-firmware and linux-firmware, aborting Jan 12 15:03:10 ERROR: fod-testing-image-1.0-r0 do_image_wic: Function failed: extend_recipe_sysroot Jan 12 15:03:37 do_image_wic[depends] += " fod-recovery-image:do_image_complete" actually allows to build fine Jan 12 15:04:05 the error sounds absolutely unrelated with what I am actually trying to do Jan 12 15:04:48 I just want to make sure the SWU update archive (used by SWUpdate) is built and put into the deploy directory before I generate the final image Jan 12 15:05:44 but the error sounds like it is rootfs related Jan 12 15:07:15 although it does not look like I am doing anything rootfs-related, I just want to set what stuff gets done before I enter do_image_wic Jan 12 15:35:17 eduardas_m: this is an error introduced by meta-ti Jan 12 15:35:39 the error message is clear and states what is happening (two packages are installing same file) Jan 12 15:36:40 otavio: but why is it triggered by something seemingly unrelated like do_image_wic[depends]? Jan 12 15:37:10 otavio: is this a known meta-ti bug? Jan 12 15:58:05 eduardas_m: because you are asking it to be included or the image dois Jan 12 15:58:22 eduardas_m: honestly, meta-ti is a mistery for me Jan 12 16:10:50 New news from stackoverflow: set mysql root password in bitbake MariaDB's recipe Jan 12 16:13:06 otavio: I have actually realized I am not even using meta-ti... this stuff comes from my vendor's (Variscite) BSP Jan 12 16:13:24 it's just that they have recipes for TI WiLink stuff Jan 12 16:20:49 otavio: doing a DEPENDS += " fod-factory-image-swu" and a do_image_wic[depends] += " fod-recovery-image:do_image_complete" instead of do_image_wic[depends] += " fod-recovery-image:do_image_complete fod-factory-image-swu:do_swuimage" solves the problem for me Jan 12 16:21:00 not sure why that is so, though Jan 12 17:05:34 eduardas_m: without knowing what you are doing, it is hard to help Jan 12 19:15:41 clear Jan 12 19:15:48 oops! Jan 12 20:36:48 does anyone know how to enable php-fpm service ? I tried adding SYSTEMD_SERVICE_${PN} = "php-fpm.service" SYSTEMD_AUTO_ENABLE_${PN} = "enable" to my php_%.bbappend file but didn't seem to enable it Jan 12 21:41:43 New news from stackoverflow: Linux Build Machine - Virtual/Real or otherwise? Jan 12 21:50:42 zeddi: zeddi_home: ping, hoping for some help regarding out of tree modules Jan 12 21:53:49 our kernel has CONFIG_UNWINDER_ORC=y, so I needed the same DEPENDS addition you did here: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b9cbac1c765d3c736210d2eba3c8f33429eb3e1b Jan 12 21:54:48 but adding that doesn't seem to help in the case of out of tree modules such as lttng-modules. I see elfutils-native in the native sysroot but I still get the "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" error Jan 12 21:55:44 and yes I've tried adding that dependency to lttng-modules as well Jan 12 23:47:14 zeddii: zeddii_home: I figured it out; these lines in the kernel Makefile cause it: Jan 12 23:47:14 has_libelf := $(call try-run,\ Jan 12 23:47:14 echo "int main() {}" | $(HOSTCC) -xc -o /dev/null -lelf -,1,0) Jan 12 23:47:35 the kernel itself doesn't have this problem thanks to: Jan 12 23:47:35 EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" Jan 13 00:58:13 Hi all. I'm trying to build with yocto. I am getting "unknown type name '__locale_t'" during the glibc/cross-localedef-native_2.25.bb pyro recipe. I have found a similar report to my problem, but am unsure how to apply this to the yocto project. Jan 13 00:58:14 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 Jan 13 00:58:15 Bug 52922: was not found. Jan 13 00:59:06 This was building just last week, and I am not sure what would have changed **** ENDING LOGGING AT Sat Jan 13 03:00:01 2018