**** BEGIN LOGGING AT Sun Jun 14 02:59:57 2020 Jun 14 09:07:38 hi . I add tzdata to my Image, in tmp/work/....../tzdata it is complete and have all of country! but in my rootfs its not complete!!! why ??? I dont understand it Jun 14 09:08:27 for example in /usr/share/zoneInfo there isnt any Iran or Tehran in Asia Jun 14 09:20:06 Moh3N: I seem to remember something like that. Which Yocto Project version are you using? Jun 14 10:07:01 hello there ! I'm trying to build a piece of software that relies upon usb.h.. I then created a recipe for such, but the build fails because of missing include usb.h.. I glanced at /recipe-sysroot and indeed, I could not see usb.h anywhere. Prior to this, I've had added "libusb1" to DEPENDS var recipe.. with no luck.. Jun 14 10:07:07 any clue ? :) Jun 14 10:09:36 PaowZ: did you look here? http://layers.openembedded.org/layerindex/branch/master/recipes/?q=libusb Jun 14 10:11:41 PaowZ: You could check what provides usb.h on your host distro, may give some clue as to the Yocto package you need Jun 14 10:14:37 have you tried oe-pkgdata-util find-path /usr/include/usb.h Jun 14 10:15:30 hi nameclash, tks for your reply, are they dependencies to append ? Jun 14 10:16:23 no that's a utility you could use to find out what package populates a given file in the sysroot Jun 14 10:16:42 aahh.. coool.. Jun 14 10:17:02 I'm giving a try right away ! Jun 14 10:17:20 https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#viewing-package-information-with-oe-pkgdata-util Jun 14 10:22:06 nameclash: ERROR: Unable to find any package producing path /usr/include/usb.h Jun 14 10:22:26 yeah I just tried that myself and got the same result... Jun 14 10:22:53 did you follow paulbarker's advice? Jun 14 10:23:30 how did you get usb.h on your host system and what is its location there? Jun 14 10:23:48 is it at /usr/include/usb.h at all? Jun 14 10:23:56 ./recipe-sysroot/usr/include/libusb-1.0/libusb.h is the only header I saw.. Jun 14 10:24:44 yeah but you're looking for usb.h particularly, so where is it on your host system and how did you get it there? Jun 14 10:25:34 paulbarker: thks for suggesting. Actually, usb.h is delivered as part of libusb-1.0-0-dev debian package.. Jun 14 10:26:11 ..and I wrongly thought libusb1 was the yocto recipe equivalent. Jun 14 10:27:14 nameclash: yep ! that header is in /usr/include.. Jun 14 10:27:15 -rw-r--r-- 1 root root 8574 mai 4 2018 /usr/include/usb.h Jun 14 10:29:06 @paulbarker excuse me, I became disconnected, How I can find yocto version? Jun 14 10:29:24 do you mean poky version ? Jun 14 10:31:04 in //tmp/work/all-poky-linux/tzdata/2013d-r0/image/usr/share/zoneinfo dirctory the zoneinfo of all country are available, but in my Image (my rootfs) only there are some country!!! Jun 14 10:31:26 = 2013d-r0 Jun 14 10:32:54 Moh3N: Poky version would be fine. Or what branch did you download? Jun 14 10:33:21 Moh3N: I remember fixing this last year in this commit: https://git.openembedded.org/openembedded-core/commit/?id=2af4d6eb2526d60b26bc5128068541ff3350fb58 Jun 14 10:33:22 its an SDK that NXP give us Jun 14 10:33:27 I wonder if you're on an older version Jun 14 10:34:40 If your tzdata version is 2013d then you've got a very old Yocto Project branch. tzdata releases multiple times per year to keep up with timezone changes Jun 14 10:35:38 I recommend upgrading to a newer Yocto Project version if possible. If not then maybe backport oe-core commits 2af4d6eb2526d60b26bc5128068541ff3350fb58 and 3d2d31fed64169f08c0ecfce4c07b8c7ebd052d2 and see if it fixes your issue Jun 14 10:37:15 PaowZ: you sure the debian package provides that file? it appears neither in https://packages.ubuntu.com/xenial/amd64/libusb-1.0-0/filelist nor https://packages.ubuntu.com/xenial/amd64/libusb-1.0-0-dev/filelist Jun 14 10:37:22 thanks a lot, but my question is why all the fetch tzdata isnt in my rootfs?!!! Jun 14 10:39:37 Moh3N, you need to install it Jun 14 10:40:09 @paulbarker when I run bitbake -c compile tzdata and then bitbake -c install tzdata Ican see all of timezone in //tmp/work/all-poky-linux/tzdata/2013d-r0/image/usr/share/zoneinfo Jun 14 10:40:31 Moh3N: In older versions `tzdata` was just the 'core' timezone data. You need to look at the packages defined in the tzdata and install the ones you need Jun 14 10:40:33 but in my rootfs there are some of them! for example there are 4 country in Asia Jun 14 10:40:41 nameclash: let me see that.. this is not something I wrote for sure.. I keep you posted ! Jun 14 10:41:08 @paulbarker thank you :) Jun 14 10:41:14 Moh3N: It's split into packages like tzdata-americas, tzdata-asia, etc Jun 14 10:41:27 Pick the ones you need and add those to your image Jun 14 10:42:13 In recent Yocto Project versions `tzdata` gives you everything and the old 'core' package is renamed `tzdata-core` as you're not the first one to be tripped up by this Jun 14 10:42:39 Update your Yocto Project version and you'll see a lot of improvements :) Jun 14 10:42:55 PaowZ: https://pastebin.com/fnus2Mpi Jun 14 10:45:25 PaowZ: https://pastebin.com/Uw4Pi5jX Jun 14 10:45:36 yup, you damn right, nameclash ! libusb-compat added a wrapper around that.. I'm wondering how I ended up with /usr/include/usb.h Jun 14 10:46:22 well there's a package for it http://layers.openembedded.org/layerindex/recipe/87099/ Jun 14 10:46:48 nameclash: Indeed, I just clone the repo.. xD Jun 14 10:46:54 *cloned Jun 14 10:47:19 my /poky folder has begin to weight a lot, on my disk.. Jun 14 10:47:25 *begun Jun 14 10:53:30 PaowZ: yeah it took me also a while to understand that yocto/poky actually provides both the development and runtime environment and thus should not be reduced to be just a OS distro. It completely replaced our homegrown SDK generation toolchain as it causes much less pain in the long run.. Jun 14 10:54:24 nameclash: libusb-dev is responsible for shipping /usr/include/usb.h.. below some details: https://pastebin.com/KnM0faGS Jun 14 11:00:09 yeah you're right.. Jun 14 11:01:24 there is something like a clash name (no pun intended.. well, yes, after all ;-) between some usb libs that are misleading, imh.. Jun 14 11:02:17 xD Jun 14 11:05:31 PaowZ: looks like libusb-compat-dev is your friend: https://pastebin.com/b1ZH5gC9 Jun 14 11:19:58 which is built by the recipe libusb-compat Jun 14 11:20:16 bitbake -e libusb-compat | grep ^PACKAGES= Jun 14 11:20:26 PACKAGES="libusb-compat-dbg libusb-compat-staticdev libusb-compat-dev libusb-compat-doc libusb-compat-locale libusb-compat-bin libusb-compat" Jun 14 11:23:40 nameclash: yep, that's right ! As stated https://pastebin.com/5jx8EtKg Jun 14 11:24:37 this is a little step towards dependencies completeness :) Jun 14 11:25:43 :) Jun 14 12:33:40 Dear GOD/GODS and/or anyone else who can HELP ME (e.g. MEMBERS OF SUPER-INTELLIGENT ALIEN CIVILIZATIONS): The next time I wake up, please change my physical form to that of FINN MCMILLAN of SOUTH NEW BRIGHTON at 8 YEARS OLD and keep it that way FOREVER. I am so sick of this chubby Asian man body! Thank you! - CHAUL JHIN KIM (a.k.a. A DESPERATE Jun 14 12:33:41 SOUL) Jun 14 12:34:34 wtf.. Jun 14 17:28:28 what would be the reason why an env variable could not be seen ? I'm having issues with CMAKE_BUILD_PARALLEL_LEVEL which I set from within a recipe but is never seen (bitbake -e CMAKE_BUILD_PARALLEL_LEVEL giving nothing..) Jun 14 17:43:21 Isn't there some kind of allow/block list of variables, where if you don't explicitly state that you want a thing to leak in from the environment, it won't? Jun 14 18:00:03 Hi! Is it normal for bitbake to be "checking for sstate mirror object availability" repeatedly? Just following a tutorial, and this msg started filling my terminal when I switched to systemd. **** ENDING LOGGING AT Mon Jun 15 02:59:57 2020