Saturday, 2018-09-22

yoctiNew news from stackoverflow: Yocto update to Sumo with Multilib results in error in do_image_wic <https://stackoverflow.com/questions/50470148/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@24.13.72.71> has joined #yocto02:03
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC02:17
*** NU-Slacker <NU-Slacker!~NU-Slacke@24.13.72.71> 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/irccloud.com/x-tulfhlmzwmntsryz> has quit IRC05:23
*** armpit <armpit!~armpit@2601:202:4180:c33:c80d:9d99:c57:cbfe> has joined #yocto05:26
*** Saur <Saur!~pkj@proxy02.se.axis.com> has quit IRC05:32
*** jwessel <jwessel!~jwessel@128.224.252.2> has quit IRC05:48
*** Saur <Saur!~pkj@proxy02.se.axis.com> has joined #yocto05:50
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> 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? <https://stackoverflow.com/questions/52454555/can-bitbake-include-require-a-file-based-on-a-variable>07:38
*** kanavin <kanavin!~kanavin@62.96.135.139> has quit IRC08:26
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has joined #yocto08:28
*** kanavin <kanavin!~kanavin@62.96.135.139> has joined #yocto08:33
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has quit IRC08:33
*** dv_ <dv_!~dv@62.178.50.190> has quit IRC08:37
*** dv_ <dv_!~dv@62.178.50.190> has joined #yocto08:51
*** sveinse <sveinse!~sveinse@156.92-221-160.customer.lyse.net> 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!~bunio@84.red-213-0-2.staticip.rima-tde.net> 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@106.51.26.143> has joined #yocto11:50
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has joined #yocto12:18
*** webreformer <webreformer!~webreform@106.51.26.143> has quit IRC13:08
*** webreformer <webreformer!~webreform@106.51.26.143> has joined #yocto13:14
mithronrossi: Oh, I see you have added migen to your meta-hdl layer! :-P13:23
*** webreformer <webreformer!~webreform@106.51.26.143> has quit IRC13:25
*** diembed <diembed!~diembed@ip-213-49-111-27.dsl.scarlet.be> 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
mithronrossi: https://github.com/timvideos/litex-buildenv/blob/master/scripts/download-env.sh#L406-L42714:13
nrossimithro: sure, but i'm learning about the tools as i go :) so it might take me a bit14:13
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC14:30
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto14:38
*** webreformer <webreformer!~webreform@106.51.26.143> has joined #yocto15:01
*** webreformer <webreformer!~webreform@106.51.26.143> has quit IRC15:10
RPmithro: HI! Just fixed a warning from COW.py, 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: https://docs.google.com/document/d/1V47Zc0eyjUUGBNsJuYORdb4TqH4C1WjzrX9odX0YdZE/edit and https://docs.google.com/document/d/1hBvcE83vDRn5EVzcv4Qv_dcGlDuXp5pNI-_yzrEOwxs/edit15:17
*** webreformer <webreformer!~webreform@106.51.17.206> 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!~yann@LFbn-1-515-227.w86-245.abo.wanadoo.fr> has joined #yocto15:19
*** mattsm <mattsm!~mattsm@76.205.175.243> has quit IRC15:20
*** mattsm <mattsm!~mattsm@76.205.175.243> 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@106.51.17.206> 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? https://github.com/openembedded/openembedded/blob/master/classes/sanity.bbclass15:29
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 -> https://github.com/timvideos/litex-buildenv/blob/master/scripts/download-env.sh#L165-L26615:32
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 https://wiki.yoctoproject.org/wiki/TipsAndTricks/Understanding_what_changed_(diffsigs_etc)15:39
yannthx khem, digging that15:40
*** khem <khem!~khem@unaffiliated/khem> has quit IRC15:41
RPmithro: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/mithro&id=9edc54e29e6f8778ab34d5b90e37fac1894042ed15:42
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
yannthx15:53
yannkhem: clearing tmp/work should be enough for such a test, right ?15:55
khemyes15:58
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://git.yoctoproject.org/openembedded-layer 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
khemyeah,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 http://git.openembedded.org/meta-openembedded/ ?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 http://errors.yoctoproject.org/Errors/Build/68730/ :(. 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!~bunio@84.red-213-0-2.staticip.rima-tde.net> 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 gcc-cross-initial_6.4.bb:do_compile, 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!~pohly@p54BD55A3.dip0.t-ipconnect.de> 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@136.24.99.70> has quit IRC18:27
khemRP: probably its useful enough to be reported at a less verbose level maybe18:34
*** kaspter <kaspter!~Instantbi@183.128.236.168> has quit IRC18:51
*** kaspter <kaspter!~Instantbi@183.156.71.232> has joined #yocto18:53
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has quit IRC19:00
RPkhem: yes, log output needs work in general19:02
*** NU-Slacker <NU-Slacker!~NU-Slacke@24.13.72.71> 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 https://github.com/kraj/gcc/commits/oe/master19:26
khembut this assignment thing might not work at all or might take long19:26
*** NU-Slacker <NU-Slacker!~NU-Slacke@24.13.72.71> 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!~ant__@host184-43-dynamic.54-79-r.retail.telecomitalia.it> 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!~diembed@ip-213-49-111-27.dsl.scarlet.be> has quit IRC22:08
*** gattuso <gattuso!~gattuso@pompel.me> has quit IRC22:17
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has quit IRC22:18
*** gattuso <gattuso!~gattuso@pompel.me> has joined #yocto22:19
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has joined #yocto22:45

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!