**** BEGIN LOGGING AT Mon Feb 24 02:59:57 2020 Feb 24 03:06:53 New news from stackoverflow: YOCTO:Where does Beaglebone black firmware directory located at core image sato build? Feb 24 06:44:23 I'm doing some experiments with a ROCK64, using the meta-rock64 BSP. I have a Poky core-image-base running. Feb 24 06:44:44 Problem is that after boot, eth0 is never up by default. I need to run "ifup eth0" to bring it up. If ethernet cable is disconnected when I bring it up, it will not start a DHCP transaction after I plug it in. I only get a local IP if I bring it up WHILE the ethernet cable is connected. Feb 24 06:44:47 I would appreciate any tips on how to get eth0 up on boot. Feb 24 08:17:43 bernardoaraujo: add/enable whatever network manager you like. popular choices these days are ifupdown, nm, systemd-networkd, connman. Feb 24 08:21:10 hi Josef! I checked the manifest, "init-ifupdown aarch64 1.0-r7" is there Feb 24 08:23:07 bernardoaraujo: then do your configuration in etc/network/interfaces Feb 24 08:27:43 this is the wired section of it, without doing any customizations Feb 24 08:27:49 https://www.irccloud.com/pastebin/Z9Gtt6Yw/ Feb 24 08:29:07 well i'm no ifupdown user, hence i can only guess. but "technically" this looks correct, given the assumption that ifupdown is started Feb 24 08:32:50 I just went mobile, but when I get home I'll double check whether ifupdown is starting as a service at boot... good point, thanks! Feb 24 08:33:43 have fun. Feb 24 08:49:03 hi , what is exactly yocto read-only rootfs doing ? Feb 24 08:49:29 angelo__: it makes the rootfs read-only. Feb 24 08:49:32 :) Feb 24 08:52:07 LetoThe2nd, mm, i can mount it rw Feb 24 08:52:14 the idea is basically security: if rogue agents can't write there, their ability to do damage is limited Feb 24 08:52:40 angelo__: well of course, by manual intervention you can do almost anything Feb 24 08:53:02 LetoThe2nd, so it is thought to be used as RO Feb 24 08:53:10 angelo__: but it comes up as RO, and the build process incorporates some tweaks needed to do that. Feb 24 08:53:45 ok, so mainly tweaks related to system settings that should be not persistent or things like that ? Feb 24 08:54:08 angelo__: for example ssh key generation. Feb 24 08:54:37 angelo__: the first and foremost tweak of course being "ro" in the fstab instead of "rw" :P Feb 24 08:58:13 mm no clear fstab thing ... isn't mount mode defined by the kernel params ? Feb 24 08:58:49 angelo__: its more like fstab defines it and kernel overrides. embedded is a bit special there. Feb 24 09:02:55 LetoThe2nd, ok Feb 24 09:02:58 thanksù Feb 24 09:07:54 New news from stackoverflow: Where are bitbake python functions documented Feb 24 09:17:17 howdy, trying to learn more about WIC, WKS, bmap etc, haven't looked at it before Feb 24 09:18:14 feels like I'm missing something. with meta-freescale and imx7dsabresd I get a wic.gz and wic.bmap... what do I do with those? Feb 24 09:19:24 ernstp: you should be able to just zcat the wic.gz to sd-card, or whatever medium you use. Feb 24 09:19:54 ernstp: bmap is (AFAIK) a config file for some flasher tool, ask google about it. Feb 24 09:20:18 doh, I was stuck on 3.16. Creating Partitioned Images Using Wic in the manual, didn't see 3.17. Flashing Images Using bmaptool :-) Feb 24 09:20:44 hrhr Feb 24 09:20:48 LetoThe2nd: I think you're supposed to use bmap-tool in there... Feb 24 09:21:11 I'm guessing that it does a little bit more than just dd/zcat Feb 24 09:21:38 ernstp: i have no idea, never used it. my targets are "different" (TM) Feb 24 09:22:09 LetoThe2nd: yeah same here, but working with the Sabre reference board now a bit Feb 24 09:23:17 bmap-tools is excellent, the bmap file says which blocks in the image contain actual data and only those are copied to the target device Feb 24 09:30:10 bmaptool is really excellent and worth to look at it! Using the tool may speed up the flashing time significantly. Feb 24 09:45:44 I want to use ubifs for the kernel image, but when i create the image in Linux i cannot mount it in uboot. i always get ECC Errors (-74) . Is there a solution to this? Feb 24 09:45:56 It looks like uboot uses another ECC then kernel... Feb 24 09:46:55 perdmann: if you're using raw nand and setting up ecc manually (as opposed to emmc, for example), well then, this is certainly possible. Feb 24 09:47:02 solution: look at the ecc setups :) Feb 24 09:48:36 <[Sno]> JaMa: I checked http://lists.openembedded.org/pipermail/openembedded-devel/2020-February/205012.html Friday evening - all 4 build fine Feb 24 09:52:23 LetoThe2nd i want to use ubifs to get management for bad blocks etc.pp. Its not an emmc, its a raw NAND Feb 24 09:52:55 perdmann: then you also want to look at both your uboot and kernel config to make sure things match Feb 24 09:54:36 Where do i need to search for that? I already compared the MTD and UBI configs, they looked okay Feb 24 09:55:08 board setup routing might eb a good start Feb 24 09:56:27 routing? Or did you mean routine in uboot? Feb 24 09:56:55 i meant routine, sorry for typo Feb 24 09:57:18 No problem. I just wanted to ensure that i understand you correctly :D Feb 24 10:04:25 maybe i should add that: as far as i understood our Processor, in Linux we use a hardware ECC … Feb 24 10:05:31 perdmann: then you should myke sure that uboot also sets up and uses that hw ecc. Feb 24 10:09:26 LetoThe2nd actually i totally did not remember this fact -.- Feb 24 10:09:56 :) Feb 24 10:16:16 i am getting the below error for my recipe Feb 24 10:16:36 do_package_qa: QA Issue: No GNU_HASH in the elf binary Feb 24 10:18:13 siva: does https://forums.xilinx.com/t5/Embedded-Linux/No-GNU-HASH/td-p/832423 apply to your case? Feb 24 10:24:27 thanks Feb 24 10:24:35 it fixed the issue Feb 24 10:25:08 siva: where can send my invoice? i take 5€ per google. Feb 24 10:30:15 Hi, I'm trying to build an image with GCC installed on it and can't quite work out why I'm not getting that! Working on thud, I have packagegroup-core-buildessential in my IMAGE_INSTALL list, is that not the right way to do it? Feb 24 10:31:09 ChrisStuart: it probably should do, but adding "tools-sdk" to IMAGE_FEATURES (as indicated in the template local.conf) should be easier Feb 24 10:32:42 @LetoThe2nd I will give that a go, thank you. Thought I'd popped that in before! Feb 24 10:49:31 how to re-use machine config snippets from other layers? requires directive doesn't work. Should I copy all config files from generic BSP layer to device specific one? Feb 24 10:54:36 mcfrisk: require doesn't work, why? Feb 24 10:55:35 LetoThe2nd: requires works for the first level dependency. Then the SoC specific bits need more config files which are not found from the search path. It snow balls into complex setup.. Feb 24 10:55:49 mcfrisk: hmmm Feb 24 10:57:04 mcfrisk: from my understanding the require-nesting should support an arbitrary depth. if it doesn't, then i'm not sure if that is by intent or by bug Feb 24 10:58:24 from meta-ti the machine configs find poky/meta/conf/machine/include/soc-family.inc correctly. From my custom layer the machine config can't find the meta-ti .inc files which I'd like to re-use. Maybe I'm missing some machine search path magic across layers.. Feb 24 10:59:06 mcfrisk: i'd guess that there is just a relative path in there somewhere, as opposed to requiring the full inside-layer path Feb 24 11:02:07 LetoThe2nd: between meta-ti and poky the relative paths work for soc-family.inc but I can't get the same working from custom BSP layer to meta-ti. must be missing something really trivial.. Feb 24 11:03:45 mcfrisk: maybe but i can't put my finger onto it too, sorry. Feb 24 11:08:21 New news from stackoverflow: Dpkg-reconfigure keyboard-configuration equivalent in opkg Feb 24 11:08:26 LetoThe2nd: found it, typo elsewhere in include files... Feb 24 11:08:34 mcfrisk: \o/ Feb 24 11:38:27 New news from stackoverflow: How to create recipe (Yocto build environment) for Nodejs modules Feb 24 11:38:34 mcfrisk: was going to say, that should work Feb 24 11:39:47 * LetoThe2nd hi5es RP Feb 24 12:12:42 i am getting the below error for my linux-imx_%.bbappend changes Feb 24 12:13:55 sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.14.98.bb:do_compile) failed with exit code '1' Feb 24 12:14:10 make[2]: arm-poky-linux-gnueabi-gcc: Command not foun Feb 24 12:15:00 i have commented out all the SRC_URI Feb 24 12:15:21 siva: put your append on a pastebin, please. Feb 24 12:17:46 hello Feb 24 12:17:53 Does anyone help me here ? Feb 24 12:18:08 I have errors related to SDK Feb 24 12:18:10 https://pastebin.com/EXWSfQyC Feb 24 12:19:57 https://pastebin.com/GLbLwiQW Feb 24 12:20:21 i have added a new machine type imx6uloib Feb 24 12:22:37 siva: that looks kind of weird. not really like a machine bbappend, or only partically. Feb 24 12:23:13 siva: i mean, why are you setting EXTRA_OEMAKE for all kinds of stuff? Feb 24 12:24:05 siva: so again, my advice from last week repeated: comment out stuff until the breakage goes away. Feb 24 12:25:38 <[Sno]> RP: preview of make compiling with mingw is available at github.com:rehsack/poky.git Feb 24 12:25:42 this error goes away only if i change the name of linux-imx_%.bbappend to linux-fslc_%.bbapend Feb 24 12:25:59 siva: i explained already last week why that is. Feb 24 12:26:11 <[Sno]> RP: final will come when I submitted the patches upstream and add remarks :) Feb 24 12:26:47 https://pastebin.com/GhVWCteP Feb 24 12:26:53 pls check this one Feb 24 12:27:34 siva: and? Feb 24 12:28:42 basically this bbappend was working with jethro version. when i tried to migrate to SUMO, i am getting this build erros Feb 24 12:30:08 siva: in that case i would guess that something in your patches is buggy. that it is hard-setting things. like arm-poky-linux-gnueabi somewhere, which is not true anymore. Feb 24 12:32:12 ok, i have compared my machine.conf with imx6ulevk.conf. but couldn't find any thing obvious Feb 24 12:33:54 thats not what i meant Feb 24 12:34:34 look at your defconfig, does it set CROSS_COMPILE? Feb 24 12:38:48 hello, does anyone read my post Feb 24 12:39:26 gaston53: yes. Feb 24 12:39:52 LetoThe2nd https://pastebin.com/EXWSfQyC Feb 24 12:40:04 I am missing some thing in my SDK Feb 24 12:40:15 gaston53: i have read it, no more and no less. that what you asked. Feb 24 12:42:51 what is this " real-ld " Feb 24 12:42:54 ? Feb 24 12:43:09 and how can I install what is missing ? Feb 24 12:43:18 probably the real, actual linker binary. Feb 24 12:43:42 he is saying that there are some missing files inside it Feb 24 12:43:49 but it is not a directory Feb 24 12:43:54 I can't access to it Feb 24 12:44:00 to see what is there Feb 24 12:44:55 bash: cd: /opt/poky-atmel/2.5.3/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/real-ld: Not a directory Feb 24 12:47:49 LetoThe2nd do you have an idea about it ? Feb 24 12:48:02 gaston53: none right in the first 5 seconds. Feb 24 12:48:33 LetoThe2nd hmmm Feb 24 12:56:03 gaston53: real-ld is not a directory, is a binary. That binary is saying it can't find those files. Feb 24 12:58:40 [Sno]: cool, thanks Feb 24 12:58:40 erbo ah okey, so my problem is, that files are non installed, or the path is unclear for it Feb 24 12:58:57 erbo How can I install those files in my SDK ? Feb 24 12:59:09 the problem is that your VS setup doesn't work well with the yocto cmake toolchain config Feb 24 12:59:17 It's not a Yocto problem, it's a VS problem Feb 24 12:59:51 I've tried to help you out it the SO question, but don't really have any more idea Feb 24 13:00:40 People here will not be able to provide the answers either, since they have so little information. The SO question at least have details on what you're trying to do. Feb 24 13:00:40 erbo i see .. thank you anyway Feb 24 13:01:51 erbo =( Feb 24 13:03:38 Here's a link to the SO question, if anyone wants to read to get more context: https://stackoverflow.com/questions/60336326/cmake-project-using-external-sdk-toolchain-file-cross-compile-error Feb 24 13:04:15 I'm assuming that's your thread gaston53, seemed to close to be a coincident :) Feb 24 13:04:38 erbo haha it's me ;) Feb 24 13:04:43 :( Feb 24 13:05:17 the pseudo is an old one " Gonn " Feb 24 13:11:57 gaston53: did you watch the video on VS and Yocto SDK I mentioned last week? Feb 24 14:35:21 Hi guysss, what would be a good way to initialize a database? Using a self-deleting systemd oneshot service? Feb 24 14:35:41 I mean Initialize a mysql/mariadb schema Feb 24 14:35:57 Or are there better Yocto best practices? Feb 24 14:36:16 kriive: why can't you just deploy a readily initialized db? Feb 24 14:36:28 Ugh, can I do that? Feb 24 14:36:38 why not? Feb 24 14:36:49 i mean, its just some files in the end, or not? Feb 24 14:38:24 of course it depends a bit on your memory layout etc... but it certainly worth considering. Feb 24 14:39:12 Yes, it's surely worth considering, I am now wondering if I can do that and have a random password at first boot Feb 24 14:40:00 Gonna dig in mariadb docs brb Feb 24 15:24:14 having a recipe that builds the database and just ships the file seems like a sensible idea Feb 24 15:24:20 assuming that binary format is portable Feb 24 15:24:39 if its not then either run it in a qemu or do it on first boot Feb 24 15:25:47 rburton: it for sure depends a bit, but thats an option. Feb 24 15:26:38 i personally rather favor having the db creation bundled with the application that actually needs it in the end, but YMMV Feb 24 15:26:49 also, remember migration strategies etc. Feb 24 15:33:57 right bundling the database creation with the app makes absolute sense if there's just one recipe that touches it Feb 24 15:34:14 reason not to do that is if you want to do package upgrades Feb 24 15:34:21 don't want to delete the database when you upgrade Feb 24 15:34:36 so a postinst 'if database doesn't exist, create' makes sense Feb 24 15:34:43 but again, at rootfs time if possible Feb 24 15:56:26 i'm going to have some time to look into https://bugzilla.yoctoproject.org/show_bug.cgi?id=5305 Feb 24 15:56:28 Bug 5305: enhancement, Medium, Future, bruce.ashfield, IN PROGRESS IMPLEMENTATION , Make sanitized kernel headers available Feb 24 15:57:05 is the approach outlined in the bbclass posted by Peter Kjellerstedt still good? Feb 24 15:57:34 that is, do we want to add a class that puts the headers in the ${WORKDIR} for each recipe that wants to use them Feb 24 15:58:00 or do we want to stick them into the staging sysroot in /kernel-includes or similar? Feb 24 15:58:20 rburton: if. in my standard case for example the db storage is not available at rootfs time, and i have one middleware app thats reponsible. hence, this one ships the creation and migration schemes. Feb 24 16:07:21 milloni: there’s already something in progress for that, I need to udpate that bug. Feb 24 16:07:40 jsut install them to usr-alt and be done with it is the answer Feb 24 16:08:19 nothing can really go into the shared workspace, it’s just a set of nasty bugs waiting to happen, and the sizes are small, so they jsut need to be per-recipe in their sysroots Feb 24 16:08:53 I’ll put some updates in it shortly, I’ve just been distracted with wrestling 5.4 into master. Feb 24 16:09:25 * LetoThe2nd notes: "zeddii has been distracted with wresting." Feb 24 16:09:36 WWE! Feb 24 16:09:58 \m/ Feb 24 16:11:23 in fact, I need to go through and bodyslam all of my bugs, they are almost all out of date Feb 24 16:11:29 s/bodyslam/update/ Feb 24 16:12:01 * LetoThe2nd hands zeddii a cheap foldable plastic chair. Feb 24 16:12:15 now you are talking! Feb 24 16:13:06 want a cheap yellow shirt, too? Feb 24 16:13:29 yah. plus arm and head bands. Feb 24 16:13:36 awesome! Feb 24 16:14:01 * LetoThe2nd now imagines showing up like that at OEDEM. Feb 24 16:14:26 * zeddii makes a mental note to work that into dublin Feb 24 16:15:05 go go go! Feb 24 16:15:46 your presentation shall be named: "zeddii knows best!" Feb 24 16:18:17 JPEW: we have another of the corrupt hashequiv issues rearing its head again Feb 24 16:18:29 zeddii: having fought with kernel fragment issues across various BSPs while taking AGL to zeus, I'm wondering if getting fragment support hoisted into kernel.bbclass is moving any closer to feasible? Feb 24 16:20:47 hey Feb 24 16:21:39 what happened to git.freescale.com? Feb 24 16:22:13 zeddii: OK Feb 24 16:23:01 zeddii: one more question then, is /usr+alt already packaged in a package? Feb 24 16:23:10 if not, what package should it go to Feb 24 16:23:25 it doesn’t really need to be packaged at all. to be honest. Feb 24 16:23:48 wont the QA checks complain about files not being packaged? Feb 24 16:23:57 just a class that you inherit that installs the headers into your sysroot, since fundamentally it is something that can conflict very easily. Feb 24 16:24:07 I said installed into sysroot, not deployed. Feb 24 16:24:56 smurray: i have a patch that does just that, it just won’t make this release. I can point you to it, I just have to make sure it still works with the latest juggling we did. Feb 24 16:26:48 zeddii: no, that's fine, AGL won't want to carry a custom kernel.bbclass, just hoping it gets in at some point so I can remove/simplify various merge-config.sh hacks Feb 24 16:27:19 zeddii: when i did it for my build, i did it like this: oe_runmake INSTALL_HDR_PATH=${D}${HEADERS_PATH} headers_install Feb 24 16:27:30 what's the right path to install them? (i assume ${D} isn't) Feb 24 17:14:05 I've avahi-daemon installed in my image but I'm not installing it explicitly. Is there a way to find out which recipe is installing it? Feb 24 17:15:36 zeddii, I am seeing a 5.2.29 build failure on yocto-tiny on zeus. https://errors.yoctoproject.org/Errors/Details/392434/ Feb 24 17:16:10 I see 5.2 has been updated but no patches on list Feb 24 17:17:49 rcrudo: easy way is to remove it with rpm or whatever on the target and see what complains Feb 24 17:19:02 also on yocto-linux Feb 24 17:24:27 RP: Oh? Whats the symptom? Feb 24 17:37:37 JPEW: consider https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/955 , http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6c43f76248b5c37ce213667cb794ff81901cc3b1 , http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d578418f6076efc180793a8c925bf7ec143b1db4 and https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20200224-2dgphw45/packages/diff-html/ Feb 24 17:37:52 JPEW: i.e. bad maintainer data got in, now despite it being fixed, its still there Feb 24 17:38:20 JPEW: how do we get rid of it? Feb 24 18:01:47 JPEW: thinking we may just have to bump a version into the checksum and invalidate all the output hashes? :/ Feb 24 18:09:19 Is it still the case that a variable set in a .bbclass can't be changed in another layer? https://stackoverflow.com/questions/51002891/overwriting-yocto-classes-through-meta-layer Feb 24 18:19:23 xyzzy42: it's still the case that you can't bbappend a bbclass, but instead need to overlay it completely, if that's what you're asking Feb 24 18:20:47 smurray, It seems I can use _append and _remove in the machine configuration to modify variables set in a bbclass. Feb 24 18:21:09 xyzzy42: yes, that's always been the case Feb 24 18:21:52 xyzzy42: _append and _remove are processed at the end of parsing, so they'll pretty much always work Feb 24 18:23:12 smurray, but you can't have one recipe modify variables used by another recipe, right? I gather that's because processing one recipe does not include all other recipies. Feb 24 18:23:50 xyzzy42: which class are you trying to over-ride some variable from? And yes, recipe specific variables are local to that recipe Feb 24 18:25:28 smurray, mender-part-images.bbclass, https://github.com/mendersoftware/meta-mender/blob/master/meta-mender-core/classes/mender-part-images.bbclass#L267 Feb 24 18:26:42 I've used _remove in my machine config, which is also where the bootloader is chosen with preferred_provider virtual/bootloader, to fix this. It seems like this a good way to do it. Feb 24 18:27:37 for image bootloader dependency tinkering like that, that's probably reasonable Feb 24 18:28:00 the firmware I've inherited had a "do anything to make it work" design, no kludge was too much. I'm trying to actually do things right. Feb 24 18:28:51 I think the truth here is that the mender layer has a flaw and should have added the u-boot dependency in a different way Feb 24 18:28:56 xyzzy42: might be worth pinging the Mender folks to see if they can make it more easily configurable with e.g. a variable that has the bootloader dependency Feb 24 18:30:04 I think this isn't even the real bootloader dependency. They added a hack because using some kind of grub-efi boot on arm still needs u-boot. Feb 24 18:31:01 But I've never used grub and EFI on arm (why?) so I'm not totally sure Feb 24 19:01:22 RP: Is the maintainer a whitelisted variable? Feb 24 19:02:21 Oh, right I see, it was a bug that they weren't included in the taskhash Feb 24 19:14:24 RP: So is this an example of a "diverging hash", where the same taskhash (pre bug fix) produces two different output hashes? Feb 24 19:58:29 JPEW: RP: have you recently run into an issue with reproducible builds where oe-selftest passes .ipk tests, but subsequently complains about a nonexistent build-st/tmp-glibc/deploy/deb path? Feb 24 19:58:42 I saw it once and I'm trying to confirm whether or not it's just me Feb 24 20:04:51 zeddii, Ill give the 5.2 update a try on zeus. thanks Feb 24 20:11:51 LetoThe2nd: solved my networking problem from this morning... My build is based on warrior, and systemd-networkd couldn't find config files for wired interfaces Feb 24 20:11:57 following this helped https://hub.mender.io/t/how-to-configure-networking-using-systemd-in-yocto-project/1097 Feb 24 20:12:59 building on zeus didn't show the same issue.. but I'm adding the bbappends to my distro layer anyways Feb 24 20:21:27 tgamblin: I haven't see that Feb 24 20:23:14 JPEW: Hmm. Might just be me. Here's the output for the record, though https://pastebin.com/zkkbv5QP Feb 24 20:25:05 JPEW, would you by any chance know how to override SDE_FILE in a recipe ? (http://lists.openembedded.org/pipermail/openembedded-core/2020-February/293398.html) Feb 24 20:27:00 Hello, I have a question about the populate_sdk task. I am using the installer to install the generated SDK, and that works very well, but actually for my use case, I am only interested in the target directory "aarch64-poky-linux". This is because I am using a cross compilation toolchain that runs on macOS and so I only need the “target” Feb 24 20:27:01 sysroot. Is there a way that I can get the target directory in one go, instead of having to create and install the sdk first? Feb 24 20:27:59 kroon: Ya, I saw your email... let me take a look Feb 24 20:28:30 kroon: Out of curiosity, why do you want to override it? Feb 24 20:32:43 JPEW, its for a recipe that doesn't have any sources, it just creates an ext4 file-system using files it DEPENDS on. But I'd like to use ${SOURCE_DATE_EPOCH} in the recipe to set file timestamps to a reproducible date Feb 24 20:33:37 But the code in reproducible_build.bbclass falls back to fixed_source_date_epoch() = 0 Feb 24 20:33:52 kroon: Ya, I always though that was weird :) Feb 24 20:35:56 kroon: Ok, right. We change do_deploy_source_date_epoch() to fix a race condition, which makes that comment a partial lie Feb 24 20:36:09 It's a little more complicated that it indicates Feb 24 20:37:35 Hmm, I have an idea Feb 24 20:46:05 kroon: Try this: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=jpew/reproducible&id=d091d2aa53ea417f70c10f5ce89151820c3db9ce Feb 24 20:46:17 Maybe that should be the first check.... Feb 24 20:47:25 JPEW, ok, testing Feb 24 20:48:27 kroon: Ok... hopefully it works because I didn't really even make sure it parses :) Feb 24 20:52:01 Hi there, when I run bitbake , does this will build other recipes that will require or do I have to build them separetely? Feb 24 20:54:03 hmm I'm drawing blanks.. isn't it possible to set a bitbake variable to the output of some shell command ? is only embedded python supported ? Feb 24 20:55:53 JPEW, thanks for the proposed patch; at least it parses, but a lot of stuff needs to rebuild, so I wont have a results right away Feb 24 20:57:44 kroon: Hmm, I wouldn't think that would cause a lot of rebuilds... Feb 24 20:57:56 Unless you have SOURCE_DATE_EPOCH set somewhere Feb 24 20:58:15 kroon: No, I don't think you can set a variable to shell output Feb 24 21:05:11 JPEW, i'd expect if we change how SOURCE_DATE_EPOCH is calculated, it should lead to lots of rebuilding.. no ? Feb 24 21:05:53 JPEW, but maybe not for the -native ones.. Feb 24 21:06:24 assuming -native doesn't care about reproduibilty Feb 24 21:22:03 tgamblin: not seen that either Feb 24 21:22:10 JPEW: yes, it is another example Feb 24 21:28:38 is it possible to chain image/conversion types together with more than 2 levels? e.g. IMAGE_FSTYPES = "ext4.foo.bar.baz" ? Feb 24 21:34:14 kroon: Doesn't yet. I guess I would be suprised if that patch *actually* change the SDE value Feb 24 21:39:29 JPEW, first try and it does looks like I can set SOURCE_DATE_EPOCH directly in the recipe Feb 24 21:43:20 i guess another question.. im trying to figure out how to add something to my rootfs (e.g. via an image class) but only for a particular machine.. but it's not clear how i can avoid getting that applied to my initramfs image too. Feb 24 21:47:34 JPEW, time for sleep, will do some more testing tomorrow Feb 24 22:39:37 RP: Is there any info around on how to run the bitbake tests? Feb 24 22:41:21 paulbarker: "bitbake-selftest" Feb 24 22:41:45 bitbake-selftest --help has info Feb 24 22:42:45 RP: Ok I'll dig into the source of that command Feb 24 22:43:44 Ah I need `bitbake-selftest bb.tests.blah`, it's not quite the same as `oe-selftest` Feb 24 22:45:04 paulbarker: ah, yes. Sorry, wasn't sure what you were asking Feb 24 22:47:19 * JPEW wonders why bitbaker-layers doesn't seem to work well with multiconfig.... Feb 24 22:50:27 RP: Looks like we're missing a test for fetching git submodules from a mirror even without enabling git shallow tarballs Feb 24 22:54:40 paulbarker: that could well be true :( Feb 24 23:00:13 does somebody know if I run bitbake if this will build first other dependent recipes first ? Feb 24 23:00:25 kovalevsky: correct, it will Feb 24 23:02:13 @bluelightning, thanks Feb 24 23:02:36 If there is a way that I can take a closer look at what's inside a do_compile task for an specific recipe? Feb 24 23:04:21 Currently I am building a rust application and it looks to me that all the dependencies are build without any issue, however, when I try to build the recipe that contains my application, I think I got an issue with libloading v0.5.2 that I am not quite understand yet, and the issue happens at do_compile. Feb 24 23:05:09 kovalevsky: probably the best way is to let it fail like you have and then look at run.do_compile in temp under the workdir for the recipe Feb 24 23:06:28 kovalevsky: if needed you can find the recipe workdir using bitbake -e recipename | grep ^WORKDIR= Feb 24 23:07:30 bluelightning, got it. I can see now the run.do_compile Feb 24 23:08:22 However, I see several ones that the only difference is a number appending Feb 24 23:08:39 probably due the fact of compiling several times and having each record? Feb 24 23:09:06 kovalevsky: yep, every time the task runs it creates a new one... there's a run.do_* symlink to the most recent one Feb 24 23:10:17 bluelightning, roget that. Feb 24 23:12:12 bluelightning, thanks that helps a lot. Feb 24 23:12:19 no worries Feb 25 01:49:24 argh. does anyone know how to fix this? https://ghostbin.co/paste/pzapd/raw i am trying to write a recipe for https://github.com/ianlancetaylor/libbacktrace . **** ENDING LOGGING AT Tue Feb 25 02:59:57 2020