Saturday, 2018-09-22

yoctiNew news from stackoverflow: Yocto update to Sumo with Multilib results in error in do_image_wic <>00:07
*** grumble <grumble!~grumble@freenode/staff/grumble> has quit IRC00:38
*** grumble <grumble!~grumble@freenode/staff/grumble> has joined #yocto00:39
*** Hoolootwo is now known as Hooloovo001:18
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto01:24
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has joined #yocto01:50
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has joined #yocto02:03
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC02:17
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has quit IRC04:02
*** armpit <armpit!~armpit@2601:202:4180:c33:b034:f66c:882b:644> has quit IRC05:14
*** georgem_home <georgem_home!uid210681@gateway/web/> has quit IRC05:23
*** armpit <armpit!~armpit@2601:202:4180:c33:c80d:9d99:c57:cbfe> has joined #yocto05:26
*** Saur <Saur!> has quit IRC05:32
*** jwessel <jwessel!~jwessel@> has quit IRC05:48
*** Saur <Saur!> has joined #yocto05:50
*** Bunio_FH <Bunio_FH!> has joined #yocto06:08
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto07:08
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC07:23
yoctiNew news from stackoverflow: Can bitbake include/require a file based on a variable? <>07:38
*** kanavin <kanavin!~kanavin@> has quit IRC08:26
*** pohly <pohly!> has joined #yocto08:28
*** kanavin <kanavin!~kanavin@> has joined #yocto08:33
*** pohly <pohly!> has quit IRC08:33
*** dv_ <dv_!~dv@> has quit IRC08:37
*** dv_ <dv_!~dv@> has joined #yocto08:51
*** sveinse <sveinse!> has left #yocto09:11
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto09:14
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto09:37
*** Bunio_FH <Bunio_FH!> has quit IRC10:51
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC11:25
*** armpit <armpit!~armpit@2601:202:4180:c33:c80d:9d99:c57:cbfe> has quit IRC11:28
*** armpit <armpit!~armpit@2601:202:4180:c33:c80d:9d99:c57:cbfe> has joined #yocto11:31
RPJPEW: I've thought we should do that by default for a while11:31
RPJPEW: -dbg and -dbgsrc11:32
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto11:39
*** webreformer <webreformer!~webreform@> has joined #yocto11:50
*** rburton <rburton!> has joined #yocto12:18
*** webreformer <webreformer!~webreform@> has quit IRC13:08
*** webreformer <webreformer!~webreform@> has joined #yocto13:14
mithronrossi: Oh, I see you have added migen to your meta-hdl layer! :-P13:23
*** webreformer <webreformer!~webreform@> has quit IRC13:25
*** diembed <diembed!> has joined #yocto13:28
nrossimithro: yep, python stuff is very easy to add :). I was also looking at vtr but hit some issues w.r.t. nativesdk building13:52
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC14:07
mithronrossi: Oh cool14:12
mithronrossi: Could we do litex and friends?14:12
nrossimithro: sure, but i'm learning about the tools as i go :) so it might take me a bit14:13
*** rburton <rburton!> has quit IRC14:30
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto14:38
*** webreformer <webreformer!~webreform@> has joined #yocto15:01
*** webreformer <webreformer!~webreform@> has quit IRC15:10
RPmithro: HI! Just fixed a warning from, was thinking of you :)15:13
mithroRP: Ha!15:14
mithroRP: I'm trying to not reinvent bitbake / yocto / openembedded....15:14
mithronrossi: Seems to be making progress in making that possible15:14
RPmithro: you're having difficulty using bitbake/OE for something?15:15
mithroRP: and
*** webreformer <webreformer!~webreform@> has joined #yocto15:17
mithroRP: I know what I /want/ and think that bitbake/OE can _probably_ do what I want - but trying to find the time to understand how to make bitbake/OE do what I want is hard to find15:19
*** yann <yann!> has joined #yocto15:19
*** mattsm <mattsm!~mattsm@> has quit IRC15:20
*** mattsm <mattsm!~mattsm@> has joined #yocto15:21
RPmithro: Looking at the requirements, I think it can do many of the things you mention. Some of the things are hard to get right like reproducibility and we've a lot of work on making it work right15:24
*** webreformer <webreformer!~webreform@> has quit IRC15:25
RPmithro: whilst I only have finite time, I am happy to give pointers on specific issues if it would help15:25
mithroRP: Yeah - one big question is requirement checking is a big thing15:26
mithroRP: IE Checking you have Xilinx toolchain and stuff installed15:26
RPmithro: that is basically what sanity.bbclass does for things like git being present and of the right version15:27
RPmithro: bitbake generates events at different parts of the build and you can do pretty much anything in an event handler15:27
mithroRP: This file?
RPmithro: yes15:30
RPmithro: its complicated by caching and compatibility porting code to upgrade old builds to new formats, it'd be possible to do something much simpler15:31
mithroRP: What would be an example to check for Xilinx?15:32
mithroRP: Our shell script does this ->
yannI can't seem to find why bitbake wants to rebuild a given package, while it takes it from shared-state on another machine (with the same sstate, and that's a pyro-based build) - how can I dig into that ?15:35
khemyann: such cases, usually mean there is some unwanted host dependency that crept into variable references used to calculate sstate hash, you can dump the signatures and compare them bitbake-diffsigs is handy this page might be helpful too
yannthx khem, digging that15:40
*** khem <khem!~khem@unaffiliated/khem> has quit IRC15:41
RPmithro: INHERIT += "sanity2" in distro config to enable. You'd call your script check-xlinx-toolchain, or you could put a shell function in that class15:43
RPmithro: its made ugly by having the sanity events mechanism to report back problems, really should just mkae that the default and simplfy the code but never got around to that15:44
*** khem <khem!~khem@unaffiliated/khem> has joined #yocto15:44
RPmithro: oh, that code probably needs to give the handler another name so it doesn't clash with sanity.bbclass15:45
yannkhem: I'm still not sure that the  particular package i'm looking at is not getting rebuilt because one of its deps has been - is there a quick way to check this ?15:49
khemyann: I would suggest to do build from exact metadata on the offending machine then ideally it should not rebuild anything and if it does runinto do_compile tasks then you take the first do_compile task appearing in logs and chase it15:52
RPkhem: safe trip back?15:52
RPkhem: still here and its still raining :)15:52
yannkhem: clearing tmp/work should be enough for such a test, right ?15:55
khemRP: my flight got cancelled and they let me in because when I was doing security it was not yet cancelled, apparantly I was first one to checkin for that flight, and luckily another flight to SF was delayed and I ran 200m dash to reach there and beg them to put me in that flight luckily I got in and was sitting on last row but yeah reached safely,16:00
khembtw. air canada send me a notice of cancellation and rebooking me to same flight on saturday, and just this morning I got notified that even the saturday flight is cancalled haha16:01
khemI wonder if that flight is just a scam16:02
RPkhem: sounds like a lucky set of circumstances! glad you made it :)16:03
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC16:03
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto16:05
mithroRP: Did  git:// disappear or never exist in the first place? "ERROR: Layer 'hdl' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration"16:07
khemmithro: this is layername which you should find in layer.conf of meta-oe16:08
yannoh, after moving tmp/work away bitbake thinks it can compile ncurses-native without even fetching it - a bit scary :)16:08
mithrokhem: But where do I clone the meta-oe layer from?16:09
mithroOh it's ?16:10
khemmithro: yes16:11
khemyann: ncurses did have some quirks in the past so you might want to check patches from master and see if something pops up to help16:12
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto16:14
khemRP: I havent built gcc based musl builds for a while and now I see :(. I wonder how it knows I am not watching16:14
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC16:16
*** Bunio_FH <Bunio_FH!> has joined #yocto16:18
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto16:19
RPkhem: ouch. All related or diferent issues? OE-Core should at least be clean, we test that. Thisis what autobuilders are good at...16:21
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC16:23
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto16:23
yannhm, strange - I could get past the ncurses-native issue when I realized I had recently added a do_install_append for ncurses and omitted to make it class-target.  But now (with a clean tmp/work or with my original) it's trying to rebuild gcc-cross-initial-aarch64 without running fetch first16:27
RPyann: gcc recipes are special in that they have a gcc-source recipe to handle the sourcecode16:29
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC16:31
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto16:33
yannRP: right, but it strikes me it gets the same problem I had with ncurses16:33
yanneven when creating a new build dir (same local.conf so same sstate), its first task ever is, tmp/work isn't even created16:35
yannI probably messed up something, can't see another reason why it would suddently break so badly16:36
khemit wont rebuilt anything except populating gcc-sources16:36
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto16:37
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC16:40
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC16:42
yannhm, apparently my immediate problem was that when switching from one build to another just re-sourced oe-init-build-env and some old values are apparently not rewritten16:48
yannso now a brand new build dir decides quilt-native must be compiled, so I now have sigdata for this host - however, the well-behaved one taking artifacts from sstate only has rm_work.sigdata as non-empty - I'm a bit at a loss about what to compare17:00
khemRP: I figured that its because this builders python = python3 but some recipes are expecting python = python217:21
khemRP: new build is on going lets see what comes out17:21
khemRP: Sstate summary: Wanted 14111 Found 13949 Missed 162 Current 0 (98% match, 0% complete)17:26
khemis there a way to dump the ones which did not match may be with bitbake -v ?17:26
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto17:30
*** pohly <pohly!> has joined #yocto17:37
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC17:45
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto17:46
RPkhem: I think -DDDv probably does say which ones didn't but its ixed in with a lot of other things17:52
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC18:04
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has quit IRC18:23
*** jdel <jdel!~jdel@> has quit IRC18:27
khemRP: probably its useful enough to be reported at a less verbose level maybe18:34
*** kaspter <kaspter!~Instantbi@> has quit IRC18:51
*** kaspter <kaspter!~Instantbi@> has joined #yocto18:53
*** pohly <pohly!> has quit IRC19:00
RPkhem: yes, log output needs work in general19:02
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has joined #yocto19:02
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto19:10
yannif I take the sigdata generated by a spurious glic rebuild today, and compare it to the siginfo stored in the sstate (generated on another machine)... bitbake-diffsigs does not see any difference (yet the files have different size)19:22
yannno new sstate was stored for this compile state, which seems to confirm the sstate was here and should have been used, no ?19:26
khemRP: I have been maintaining all gcc patches on upstream master as well here
khembut this assignment thing might not work at all or might take long19:26
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has quit IRC19:27
yannI'm a bit puzzled by the contents of this sstate - the oldest entry for that glibc package for this arch is a "package" one. That's not supposed to be possible, right ?19:35
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto19:42
khemRP: I am preparing a small musl update to address few regressions seen in 1.20 release19:48
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto19:51
RPkhem: I was also just looking at the patches, I think we should talk to upstream about a few of them. I'm hoping some of the one line fixes may not need the full assignment process19:59
RPyann: only some tasks are stored in sstate. do_package is, do_compile is not20:00
RPyann: if the hashes for an sstate task match they will be used, if not they will be built20:00
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC20:18
khemRP: yeah they said there is 15 line cumulative limit on one liners20:21
khemat MV we had blanket assignment20:22
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto20:22
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC20:29
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC20:46
*** ant_home <ant_home!> has joined #yocto21:14
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC21:17
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC21:39
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC22:04
*** diembed <diembed!> has quit IRC22:08
*** gattuso <gattuso!> has quit IRC22:17
*** Bunio_FH <Bunio_FH!> has quit IRC22:18
*** gattuso <gattuso!> has joined #yocto22:19
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has joined #yocto22:45

Generated by 2.11.0 by Marius Gedminas - find it at!