**** BEGIN LOGGING AT Sun Feb 14 02:59:58 2016 Feb 14 06:41:45 do_populate_sysroot is not copying everything I want. What could be the reason? Feb 14 06:42:38 also is do_populate_staging the same as do_populate_sysroot? Both seem to be used interchangeably in the bitbake manual? Feb 14 06:46:30 I am guessing this has something to do with WARNING: QA Issue: found library in the wrong location. Feb 14 06:47:38 those are the files which are not populated by do_populate_sysroot Feb 14 06:47:59 even though the location is correct Feb 14 06:50:35 somebody please help, give me a guess even if you don't know why? Feb 14 10:12:16 he Feb 14 10:12:18 hi Feb 14 10:13:28 My do_populate_sysroot is not putting all the all the files into the sysroot (staging area). How do I fix this? Feb 14 10:14:58 somebody please help be with this, I have been stuck with this for a looong time. :-( Feb 14 10:15:05 *me Feb 14 10:15:58 this package is a build dependency of another package, and since it cannot find the files, it is not compiling. Feb 14 10:21:13 archer121: it populates only the files usually used by other components (stuff like libraries, headers, pkgconfig etc) you can easily extend the list Feb 14 10:21:39 the libraries I want are not populated. Feb 14 10:21:54 define sysroot_stage_all_append() Feb 14 10:22:07 are they in usual paths? Feb 14 10:22:50 JaMa: I have started using yocto only since 3 days. the learning curve is pretty steep. SO please bare with me if I talk rubbish Feb 14 10:23:11 They get installed in the correct paths in the final image Feb 14 10:25:04 The path is /usr/local/cuda-6-5{include/bin} Feb 14 10:27:04 see staging.bbclass /usr/local isn't in paths which are staged in sysroot Feb 14 10:30:18 So I need to copy them manually in sysroot_stage_all_append() by cp -r ${WORKDIR}/output/usr/local ${SYSROOT_DESTDIR}/usr/local Feb 14 10:32:04 Use sysroot_stage_dir ${D}/usr/local/foo ${SYSROOT_DESTDIR}/usr/local\ Feb 14 10:32:26 but why do you install it in /usr/local in first place? Feb 14 10:33:24 I am trying to install some binaries provided by Nvidia in the for of .deb files. Feb 14 10:33:53 The .deb installs them to /usr/local so I follow the same. Feb 14 10:36:26 JaMa: sysroot_stage_dir ${D}/usr/local/foo ${SYSROOT_DESTDIR}/usr/local\ is like a function call, right? Feb 14 10:37:08 so do I need the inherit the staging class in my recipe? Feb 14 10:38:25 why is there a backward slash in the second argument? is it a typo? Feb 14 10:40:33 yes typo Feb 14 10:40:40 and you don't need to inherit anything Feb 14 10:41:03 it's already inherited Feb 14 10:41:16 sysroot_stage_all_append only adds it to default function Feb 14 10:42:10 appended to the sysroot_stage_all function. thanks Feb 14 11:09:31 JaMa: This is what i tried to do: https://paste.ubuntu.com/15053144/ but I get this error: https://paste.ubuntu.com/15053158/ Feb 14 11:22:32 I fixed it by appending to sysroot_stage_all instead Feb 14 11:22:49 maybe others where python functions Feb 14 11:27:00 that's what I was saying from the start :) Feb 14 11:30:07 loz, thanks a lot! Feb 14 14:43:14 What is the difference between using debian or yocto relealted projects for the BeagleBone Black? Is it space related (on the flash) ? Feb 14 14:46:55 lighter? Feb 14 15:08:35 Seekha: depends on what you want. debian's got a ton of packages and is a pretty full-fat distro, if that's what you want. A yocto based thing will have whatever the people in charge decided to put in, so more just the bits they want. Feb 14 15:09:10 Ok, I saw that too Feb 14 16:46:17 can I set a shell environment variable from EXTRA_OECMAKE? Feb 14 16:50:20 No Feb 14 16:50:31 EXTRA_OECMAKE is passed as argument to the cmake invocation Feb 14 16:51:20 I see, so I can set env variables from do_cmake_configure_append() Feb 14 16:51:40 *prepend Feb 14 16:51:40 _append() would probably happen *after* the cmake invocation, so doesn't really help you Feb 14 16:51:49 Try do_configure_prepend() { export foo } Feb 14 16:52:02 sry that was a typo. Feb 14 16:52:28 Finally I understand how yocto works. Feb 14 16:52:38 (atleast somewhat) Feb 14 16:52:42 thanks Feb 14 17:25:49 My cmake inside do_configure is trying to execute a binary executable file, and it fails. So what architecture does cmake executed by cmake.bbclass expect? host architecture or target architecture? Feb 14 17:26:17 archer121: your host's architecture Feb 14 17:26:26 which usually means you need a -native version of the tool Feb 14 17:28:06 the binary file is of target's architecture Feb 14 17:28:51 native = host or target? Feb 14 17:29:06 neverpanic? Feb 14 17:40:43 native = host Feb 14 17:40:52 if it's a target binary, that won't work Feb 14 17:51:03 neverpanic: So we are making cmake cross compile? Feb 14 18:08:21 Yocto does automatically, usually Feb 15 02:03:56 * nerdboy made a convenience tool for beaglebone => https://github.com/VCTLabs/vct-beagleboard-bsp-platform **** ENDING LOGGING AT Mon Feb 15 02:59:59 2016