*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 00:12 | |
*** jatedev <jatedev!~jatedev@63.148.217.19> has quit IRC (Quit: Client closed) | 00:58 | |
*** jclsn <jclsn!~jclsn@149.233.195.74.dynamic-pppoe.dt.ipv4.wtnet.de> has quit IRC (Quit: Ping timeout (120 seconds)) | 01:11 | |
*** jclsn <jclsn!~jclsn@149.233.195.74.dynamic-pppoe.dt.ipv4.wtnet.de> has joined #yocto | 01:11 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 01:39 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has joined #yocto | 01:44 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 02:29 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Read error: Connection reset by peer) | 02:44 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto | 02:44 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 03:11 | |
*** jclsn4 <jclsn4!~jclsn@216.83.217.199.dynamic-pppoe.dt.ipv4.wtnet.de> has joined #yocto | 03:19 | |
*** jclsn <jclsn!~jclsn@149.233.195.74.dynamic-pppoe.dt.ipv4.wtnet.de> has quit IRC (Ping timeout: 240 seconds) | 03:21 | |
*** jclsn4 is now known as jclsn | 03:22 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 03:25 | |
khem | kanavin sounds good, I think we might want llvm 14 for Spring LTS, I am in process of upgrading meta-clang to 14.x | 03:41 |
---|---|---|
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has joined #yocto | 03:53 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has quit IRC (Client Quit) | 03:55 | |
*** amitk <amitk!~amit@103.208.71.118> has joined #yocto | 04:06 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC (Quit: Leaving.) | 04:40 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has joined #yocto | 04:52 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 05:39 | |
alejandrohs | 3~ | 06:25 |
alejandrohs | oops :) | 06:25 |
*** olani <olani!~olani@134.238.48.37> has joined #yocto | 06:35 | |
*** dev1990 <dev1990!~dev@dynamic-78-8-66-141.ssp.dialog.net.pl> has joined #yocto | 07:09 | |
LetoThe2nd | yo dudX | 07:23 |
jclsn | LetoThe2nd: How did you like the film btw? | 07:30 |
*** pgowda_ <pgowda_!uid516182@id-516182.ilkley.irccloud.com> has joined #yocto | 07:32 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 07:33 | |
LetoThe2nd | jclsn: new one? not seen yet. hopefully soon. | 07:34 |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 07:38 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 07:42 | |
jclsn | LetoThe2nd: Yeah, I really liked it | 07:43 |
*** mckoan|away is now known as mckoan | 07:45 | |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto | 07:46 | |
mckoan | good morning | 07:51 |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has joined #yocto | 07:54 | |
*** ex-bugsbunny <ex-bugsbunny!~Harry@p4fc2edaa.dip0.t-ipconnect.de> has joined #yocto | 07:55 | |
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Ping timeout: 256 seconds) | 07:58 | |
*** dacav <dacav!~dacav@h94-245-9-196.cust.a3fiber.se> has quit IRC (Quit: leaving) | 08:03 | |
*** dacav <dacav!~dacav@h94-245-9-206.cust.a3fiber.se> has joined #yocto | 08:03 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:4b12:b100:24d7:51ff:fed6:906d> has joined #yocto | 08:06 | |
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has joined #yocto | 08:08 | |
*** dacav <dacav!~dacav@h94-245-9-206.cust.a3fiber.se> has quit IRC (Quit: leaving) | 08:09 | |
*** dacav <dacav!~dacav@h94-245-9-196.cust.a3fiber.se> has joined #yocto | 08:09 | |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 08:18 | |
*** GillesM <GillesM!~gilles@4.63.132.77.rev.sfr.net> has joined #yocto | 08:33 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 08:38 | |
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has joined #yocto | 08:40 | |
*** likewise <likewise!~likewise@86-87-147-180.fixed.kpn.net> has joined #yocto | 08:41 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 08:54 | |
*** smsm <smsm!~smsm@eth1-fw1-nbg6.eb.noris.de> has joined #yocto | 09:11 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Read error: Connection reset by peer) | 09:12 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto | 09:12 | |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 09:23 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto | 09:26 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Remote host closed the connection) | 09:27 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto | 09:27 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 09:34 | |
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has quit IRC (Quit: Ping timeout (120 seconds)) | 09:37 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Ping timeout: 256 seconds) | 09:44 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 09:46 | |
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto | 09:46 | |
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has joined #yocto | 09:47 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 10:03 | |
*** dev1990 <dev1990!~dev@dynamic-78-8-66-141.ssp.dialog.net.pl> has quit IRC (Quit: Konversation terminated!) | 10:08 | |
*** dev1990 <dev1990!~dev@dynamic-78-8-66-141.ssp.dialog.net.pl> has joined #yocto | 10:10 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 10:14 | |
*** zyga-mbp <zyga-mbp!~zyga@31.0.173.147> has joined #yocto | 10:31 | |
kanavin | khem, llvm 14 isn't due until after feature freeze I think, and llvm deadlines can slip | 10:34 |
kanavin | but if they can get it at least to rc stage by march, maybe it's possible | 10:35 |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 10:43 | |
*** pgowda_ <pgowda_!uid516182@id-516182.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 10:59 | |
*** davidinux <davidinux!~davidinux@37.120.201.221> has quit IRC (Ping timeout: 240 seconds) | 11:25 | |
*** davidinux <davidinux!~davidinux@net-188-153-130-222.cust.vodafonedsl.it> has joined #yocto | 11:31 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 11:37 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Remote host closed the connection) | 11:45 | |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 250 seconds) | 11:55 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 12:07 | |
*** davidinux <davidinux!~davidinux@net-188-153-130-222.cust.vodafonedsl.it> has quit IRC (Ping timeout: 256 seconds) | 12:11 | |
*** davidinux <davidinux!~davidinux@37.120.201.220> has joined #yocto | 12:12 | |
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC (Remote host closed the connection) | 12:19 | |
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has quit IRC (Remote host closed the connection) | 12:22 | |
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #yocto | 12:23 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 12:33 | |
*** dagmcr <dagmcr!sid323878@id-323878.uxbridge.irccloud.com> has quit IRC (Ping timeout: 250 seconds) | 12:36 | |
*** dagmcr <dagmcr!sid323878@id-323878.uxbridge.irccloud.com> has joined #yocto | 12:36 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 12:36 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 12:37 | |
ad__ | question: i am in zeus, anm openssl bbappend is disabling a lot of openssl featurs, as md4 and others, but then, wpa-supplicant fails to build, claiming for md4 functions. How to manage this ? | 12:55 |
jclsn | Why do packages sometimes not get installed althoug I have added them via IMAGE_INSTALL:append ? | 13:30 |
jclsn | I really don't get this | 13:30 |
qschulz | jclsn: triple-check that they really are added to IMAGE_INSTALL | 13:32 |
qschulz | bitbake-getvar should be helpful | 13:33 |
jclsn | I checked that | 13:33 |
qschulz | also, some packages are empty | 13:33 |
qschulz | and finally.. how do you know theyr are not installed? | 13:33 |
jclsn | Might also have to do with the honister override syntax in this case | 13:33 |
jclsn | My colleague did install some sytemd units with IMAGE_INSTALL_append_mx8, which would be IMAGE_INSTALL:append:mx8 now right? | 13:34 |
jclsn | If yes, the syntax conversion script did miss this | 13:35 |
jclsn | I know that they are not installed, because the files are not in /etc/systemd/system | 13:35 |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has joined #yocto | 13:44 | |
agherzan | jclsn: that would be correct | 13:45 |
agherzan | The conversion script is not perfect. | 13:45 |
qschulz | jclsn: the conversion script requires some configuration IIRC, e.g. all the possible OVERRIDES | 13:51 |
qschulz | and since mx8 is not one that exists in poky/oe-core then it was probably just not added | 13:51 |
qschulz | so in fact, your packages were NOT in IMAGE_INSTALL and bitbake-getvar would have returned such info | 13:51 |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has quit IRC (Remote host closed the connection) | 13:58 | |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto | 13:58 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 13:59 | |
jclsn | They are in IMAGE_INSTALL. I checked that with bitbkake -e | 14:15 |
qschulz | jclsn: if the syntax was incorrect AND you didn't have the package installed, I'm pretty sure it was not :) | 14:16 |
qschulz | anyways, if it's fixed it's the most important :) | 14:17 |
jclsn | No it is still not there | 14:17 |
jclsn | It is seems like it isn't included in the image when rebuilding | 14:17 |
qschulz | jclsn: where is your IMAGE_INSTALL? | 14:17 |
qschulz | the append one, in which file | 14:17 |
jclsn | I realized this a few times. I always had to clean everything and rebuild, which is weird | 14:18 |
jclsn | In the image recipe | 14:18 |
qschulz | this is a huge red flag | 14:18 |
qschulz | you shouldn't need to rebuild | 14:18 |
qschulz | if it does fix it, you seriously need to investigate because it means you cannot trust that whatever you're building is actually what gets installed on your system | 14:19 |
qschulz | well except if you clean everything all the time, which is rather inefficient :) | 14:19 |
jclsn | Well I need to package the image at least | 14:19 |
jclsn | I also installed busybox and the printenv command is not available | 14:20 |
jclsn | Ah not busybox is there | 14:20 |
jclsn | Maybe recipe to install the sytsemd units is incorrect | 14:20 |
jclsn | *ah no | 14:21 |
qschulz | jclsn: check in the recipe if there isn't something that was missed during the migration to the new syntax | 14:22 |
qschulz | e.g. RDEPENDS_${PN} | 14:22 |
qschulz | or FILES_, etc... | 14:23 |
jclsn | There is just the do_install:append:mx8 () {..} | 14:23 |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 14:29 | |
RP | kanavin: There was a weird mesa symbol virgl issue with master-next: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3116/steps/14/logs/stdio | 14:31 |
RP | also, three of the syslog fails :/ | 14:32 |
kanavin | RP: let me check, possibly cross-host contamination via sstate | 14:35 |
kanavin | RP: I just started looking into adding avx/avx2 to qemu btw | 14:36 |
kanavin | a project I had in mind for a long while | 14:36 |
kanavin | this 'core2' thing we use starts to look ridiculous, and it won't be far until avx becomes a hard requirement in some base piece | 14:37 |
kanavin | for reference the key source file is qemu/target/i386/tcg/translate.c | 14:38 |
kanavin | it has interpretation of sse4, and stops at that | 14:38 |
RP | kanavin: it does look a bit like a cross host issue :/ | 14:41 |
RP | kanavin: I'm surprised nobody else has looked at avx yet | 14:41 |
kanavin | RP: the interested parties are intel and amd, and I guess them and their customers just run everything natively or via kvm these days? | 14:42 |
*** JaMa <JaMa!~martin@ip-109-238-218-228.aim-net.cz> has quit IRC (Quit: off) | 14:43 | |
kanavin | peculiar fact: alder lake doesn't have avx512 - I wonder if intel's giving up on it | 14:44 |
kanavin | (technically, it does on the big cores, but it's disabled because efficiency cores don't have it) | 14:44 |
RP | kanavin: could be, still seems a little odd | 14:47 |
RP | kanavin: I'll try and figure out the syslog issue... | 14:47 |
RP | I'm surprised it failed three times in one build | 14:47 |
kanavin | RP: can I see the syslog issue? | 14:50 |
fabatera[m] | Is it needed to pass CC, LD, AS to make file like this?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0a2a1d17d202354e0d005a01fc7246b7f376c323) | 14:50 |
fabatera[m] | * Is it needed to pass CC, LD, AS to make file like this? | 14:51 |
fabatera[m] | oe_runmake CC="${CC} LD="${LD}" AS="${AS}" make_target | 14:51 |
fabatera[m] | These variables are exported in do_compile so I expect the makefile already have them. | 14:51 |
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has joined #yocto | 14:51 | |
qschulz | fabatera[m]: you shouldn't have to do anything | 14:52 |
qschulz | fabatera[m]: no need to call oe_runmake even, the default do_compile should have this tackled | 14:53 |
moto-timo | kas users, is there any tooling to grab the commit hash for the layers and inject into the yaml? To pin the refs for a release or tag for instance. | 14:53 |
qschulz | fabatera[m]: however, there might be some changes required in the Makefile of the project is they hardcode some stuff (which is common for Makefile based projects) | 14:53 |
RP | kanavin: sure: https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/4690/steps/13/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/4712/steps/18/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/3084/steps/14/logs/stdio | 14:55 |
qschulz | moto-timo: some python script with yaml parsing and subprocess git and you should be good to go :p | 14:55 |
moto-timo | qschulz: sure, I was just thinking this should be a common enough workflow that someone might have already done it (could be a feature for kas) | 14:55 |
moto-timo | asking for a customer, not my own use ;) | 14:56 |
kanavin | RP: right, the syslog one is new to me | 14:56 |
kanavin | RP: [pokybuild@centos8-ty-1 ~]$ cd /home/pokybuild/yocto-worker/oe-selftest-centos | 15:01 |
kanavin | -bash: cd: /home/pokybuild/yocto-worker/oe-selftest-centos: No such file or directory | 15:01 |
kanavin | this doesn't help :-/ I have to replicate the failure separately then | 15:02 |
RP | kanavin: lots of people running builds so the broken ones age faster :( | 15:02 |
RP | kanavin: I have the no-x11 one saved if you want a look | 15:02 |
kanavin | RP: I'll take a look at virgl first | 15:03 |
RP | kanavin: ok. I'm going to probably tweak the testcase for the syslog one, get more info next time it fails | 15:03 |
shivamurthy | Hi All, I am having some issue in yocto dunfell build with ubuntu 20.04 host: https://gist.github.com/shivamurthyshastri/4e9e46c4122f979769a8034fb419bb47#file-libtool-native_2-4-6_fail-log | 15:05 |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has quit IRC (Ping timeout: 250 seconds) | 15:06 | |
*** mihai <mihai!~mihai@user/mihai> has joined #yocto | 15:06 | |
qschulz | moto-timo: I could see a kas freeze-layer command for example. But the issue I see is when you have layers spread over multiple yaml files | 15:06 |
qschulz | I don't remember but is it even possible to override a commit hash of a layer from one yaml in another? that would make it more or less impossible to figure out exactly what to do without human intervention? | 15:07 |
moto-timo | qschulz: good point. 'kas is not psychic' to paraphrase rburton | 15:08 |
moto-timo | and I already have layers in multiple yaml files (keep feature and repos together) | 15:10 |
moto-timo | it might get even worse if you use yaml from other layers and they included other layers... | 15:11 |
fabatera[m] | @qsYes, that's the case | 15:11 |
* moto-timo tosses that idea in the bin | 15:11 | |
fabatera[m] | s/@qsYes/qschulz: Yes/ | 15:11 |
moto-timo | project specific python script as you suggested it is qschulz | 15:12 |
fabatera[m] | qschulz: in my case I have to use oe_runmake. I'm not sure if CC LD etc should be passed | 15:12 |
qschulz | fabatera[m]: why do you "have to" ? | 15:13 |
qschulz | I mean, it's technically done for you already, so just wondering why you need to explicit it | 15:13 |
fabatera[m] | qschulz: But as I found here looks like it should: | 15:15 |
fabatera[m] | poky/meta/recipes-extended/lsof/lsof_4.91.bb | 15:15 |
fabatera[m] | oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}' | 15:15 |
qschulz | fabatera[m]: ok let's start from the beginning | 15:15 |
qschulz | what are you trying to do? and what is the error? | 15:16 |
qschulz | (before you even decided to go for an explicit oe_runmake) | 15:16 |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has quit IRC (Quit: Leaving) | 15:16 | |
fabatera[m] | qschulz: I'm building an out-of-tree module and some apps that come inside the same package.... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/fb3e09b886a992071d8be6c9e46e15c0ed9f8b59) | 15:23 |
*** akiCA <akiCA!~akiCA@user/akica> has joined #yocto | 15:24 | |
*** stephano <stephano!~stephano@73.240.0.134> has joined #yocto | 15:29 | |
qschulz | fabatera[m]: if I were you I'd have two recipes, one for the module and one for the app | 15:29 |
qschulz | one would `inherit module` to build an out-of-tree module and have most of the usual stuff setup | 15:30 |
qschulz | you might still need to have ti patch the makefile (I used to maintain an out-of-tree recipe for a wifi kernel driver ,a few patches for the build system were needed | 15:31 |
qschulz | and then a more common recipe for the app which is in the same git repo | 15:31 |
qschulz | at least it'll be easier to debug and get help | 15:31 |
*** vladest <vladest!~Thunderbi@2001:1715:9d9c:c530:e716:a550:5669:7548> has quit IRC (Remote host closed the connection) | 15:32 | |
*** vladest <vladest!~Thunderbi@2001:1715:9d9c:c530:a12a:78e5:5dea:30d> has joined #yocto | 15:32 | |
fabatera[m] | qschulz: Sure it is, but the package comes "as is". | 15:38 |
fabatera[m] | I would patch it every time a new one is available or use oe_runmake | 15:38 |
qschulz | fabatera[m]: we maintain plenty of patches in OE/YP which are used across multiple versions when we cannot upstream them :) | 15:39 |
fabatera[m] | qschulz: Alright! If I just let do_compile would not build the too modules inside the package: they are located in separete folders with separate make files | 15:40 |
fabatera[m] | s/too/two/ | 15:41 |
*** codavi <codavi!~akiCA@user/akica> has joined #yocto | 15:41 | |
fabatera[m] | and there are other apps to build in the same package, so I'm doing everything in one do_compile | 15:42 |
fabatera[m] | There is no error, I'm just asking if, in this case, I need to pass CC LD. | 15:43 |
*** akiCA <akiCA!~akiCA@user/akica> has quit IRC (Ping timeout: 256 seconds) | 15:45 | |
qschulz | fabatera[m]: what I;'d do is just cd into the directory with the makefile and call module_do_compile function directly | 15:47 |
qschulz | everything is done for you already | 15:47 |
qschulz | and since the module classes are actually pretty not straightforward, I'd saw it's better to reuse whatever was already done | 15:48 |
qschulz | at least we know it's properly tested | 15:48 |
qschulz | ah but you do that already | 15:48 |
qschulz | well, module_*do*_compile actually and not module_compile | 15:48 |
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto | 15:49 | |
qschulz | IIRC if the makefile is correctly written, the env variables CC, CFLAGS, LDFALGS, etc... should be used without doing anything | 15:50 |
qschulz | i.e. make will read from the environment first | 15:50 |
rfs613 | shivamurthy: not sure why you are seeing all those errors. I've updated my ubuntu-20.04 with all the latest patches, and I am able to rebuild both autoconf-native and libtool-native from dunfell | 16:15 |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 16:16 | |
shivamurthy | rfs613: is it because I am using ubuntu 20.04 container? | 16:16 |
rfs613 | shivamurthy: well, mine is native rather than container, but this shouldn't really make a difference. More likely something in the setup is different, like bash-vs-dash for example. | 16:17 |
shivamurthy | I am using dash as default | 16:19 |
rburton | that *shouldn't* be a problem | 16:19 |
rfs613 | I switched mine to bash a long time ago, but the Yocto manual doesn't mention it, I think it was done for other reasons (xilinx or altera tools) | 16:19 |
shivamurthy | like this /usr/bin/sh -> dash | 16:19 |
rburton | fwiw my sh is dash | 16:20 |
rfs613 | ok, so the shell is not it ;-) | 16:20 |
rfs613 | shivamurthy: I presume you have all the packages listed in https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ubuntu-packages | 16:21 |
shivamurthy | yes, i installed all of them | 16:21 |
shivamurthy | https://www.irccloud.com/pastebin/RyJz1bp2/ | 16:24 |
rburton | and that's just a poky clone, nothing else, and you're just checking out the dunfell branch? | 16:25 |
rfs613 | I believe you... I just can't think of what else might explain all the "command not found" errors | 16:25 |
rburton | ah | 16:26 |
rburton | what directory are you doing a build in? | 16:26 |
rburton | shivamurthy: ^ | 16:26 |
rburton | the full path to the build tree | 16:27 |
rfs613 | from his logs, looks like /home/ubuntu/workspace/yocto-build/poky/ | 16:28 |
shivamurthy | yes, it is dunfell default | 16:28 |
rburton | hunches are a) spaces in the path b) a mount which forbids executable files | 16:28 |
shivamurthy | path : /home/ubuntu/workspace/yocto-build/poky/build | 16:28 |
rburton | so not that then | 16:28 |
khem | JPEW: Any pointers for starting to create SBOMs with latest master ( some steps ) I find some docs/ppts describing the process etc at highlevel but I was looking for enabling it in builds | 16:29 |
rburton | shivamurthy: its quite possible its the container causing problems, if the filesystem on /home is unusual | 16:29 |
shivamurthy | https://www.irccloud.com/pastebin/Qf6T6Yg8/ | 16:29 |
shivamurthy | rburton: ^^ | 16:30 |
rburton | and whats the output of 'mount'? | 16:30 |
shivamurthy | https://www.irccloud.com/pastebin/IpYqF3zt/ | 16:31 |
JPEW | khem: Mostly, just INHERIT += "create-spdx" | 16:33 |
JPEW | khem: There are a set of 4 variables at the top of create-spdx.bbclass (all default to "0") that you can use to add additional things | 16:34 |
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has quit IRC (Quit: Client closed) | 16:34 | |
qschulz | shivamurthy: I guess another question would be what the exact command you use to start the container (also, rootless container?) | 16:34 |
shivamurthy | lxc exec <cont_name> -- su --login ubuntu | 16:35 |
rburton | i guess this could be lxc messing things up, never tried it. can you try a build outside the container? | 16:36 |
fabatera[m] | s/module_compile/module_do_compile/ | 16:37 |
rfs613 | the 'mount' output is a bit curious, it lists /dev/nvme0n1p2 both as root (/), as /home/ubuntu/workspace, and as /snap | 16:37 |
shivamurthy | rburton: i will give a try now | 16:39 |
rburton | rfs613: put that under 'lxc messing things up'? | 16:39 |
rburton | clearly that's not the truth | 16:39 |
rburton | so some 'magic' hiding the file system reality? | 16:39 |
* rfs613 wasn't clear if this 'mount' output was from the host, or from within lxc container | 16:39 | |
rburton | good point, we need the mount from inside, ie what bitbake will see | 16:40 |
shivamurthy | rfs613: from lxc container | 16:40 |
rburton | yeah lxc is doing something 'interesting' then | 16:40 |
rfs613 | yep seems like it | 16:40 |
rburton | my money is the workspace mount is some magic filesystem like docker has, where it pretends to be a proper FS but then you try and do some things and it silently does something else | 16:40 |
fabatera[m] | <qschulz> "fabatera: we maintain plenty..." <- qschulz: Thanks a lot for the patience! :) | 16:41 |
fabatera[m] | Yes, I totally understand and agree it's the best way. But in my case it's not convenient (or practical) to maintain the patches and one recipe for each app/module (6 in this package and there are 20 packages more). | 16:41 |
fabatera[m] | It's not standard way but works very well in the long term. | 16:41 |
shivamurthy | I am mounting workspace directory from host to container, i have some other things there which i use for different yocto build | 16:41 |
*** jsbronder <jsbronder!jsbronder@user/jbronder> has quit IRC (Quit: WeeChat 3.2) | 16:42 | |
*** jsbronder <jsbronder!jsbronder@user/jbronder> has joined #yocto | 16:42 | |
rburton | shivamurthy: so what's the mount on the host, as the container thinks that the same device is mounted in three places, which isn't right | 16:42 |
rburton | we will figure this out and get a sanity check added :). (we already check for the thing that breaks everyone using a linux docker on macos) | 16:43 |
kergoth | iirc bind mounts show up like that in /proc/mounts, looks like just multiple mounts of the same device rather than what it actually is | 16:43 |
kergoth | not 100% certain, though | 16:44 |
shivamurthy | https://www.irccloud.com/pastebin/qRF1UVgZ/mount_on_host | 16:45 |
qschulz | fabatera[m]: yeah sometime sthe best practices don't apply well to some obscure development workflow of some companies :) | 16:47 |
rburton | shivamurthy: and /home/ubuntu/workspace is just a normal directory on your host which you magic into the container somehow? | 16:47 |
shivamurthy | rburton: yes | 16:48 |
*** behanw <behanw!uid110099@id-110099.uxbridge.irccloud.com> has joined #yocto | 16:49 | |
rburton | super weird | 16:50 |
*** smsm <smsm!~smsm@eth1-fw1-nbg6.eb.noris.de> has quit IRC (Quit: Client closed) | 16:55 | |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has joined #yocto | 16:58 | |
khem | JPEW: thanks | 16:59 |
khem | JPEW: will it work in dunfell too ? or is it too much to ask 🙂 | 16:59 |
RP | smurray: thanks. I need to sort this syslog issue before I can merge more but sounds like we don't have any blockers which is great | 17:04 |
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has quit IRC (Quit: HERMOSAS CHELAS!!!!!!!!!!!!!) | 17:09 | |
JPEW | khem: there is interest in back porting it. I think the license changes sakoman is bringing in will help with that | 17:13 |
khem | JPEW: thanks | 17:20 |
*** mckoan is now known as mckoan|away | 17:38 | |
kanavin | RP: I reproduced the centos thing - qemu from sstate does not link with librt, while qemu on centos does | 17:40 |
kanavin | RP: looking into why | 17:40 |
shivamurthy | rburton: rfs613: you are right, the problem is with container, build works on normal system | 17:40 |
shivamurthy | thanks for the help and sorry to trouble you | 17:40 |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds) | 17:44 | |
RP | kanavin: this is probably the "merge everything into one libc" issue? | 17:46 |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 17:47 | |
RP | kanavin: oh, I remember what I was thinking of now. This was why I added those binary shims to pseudo :/ | 17:49 |
khem | kanavin: librt has been merged into libc in recent glibc so perhaps its being built on one of the newer distros where it wont have librt in DT_NEEDED but when built on centos it does | 17:49 |
RP | so pseudo native would work cross platforms | 17:49 |
khem | maybe we should use tools tarball | 17:49 |
RP | kanavin: although with uninative it should be using that and not need the separate librt :/ | 17:50 |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has joined #yocto | 17:51 | |
*** SpiderDroneX <SpiderDroneX!~SpiderDro@212.15.177.12> has joined #yocto | 17:53 | |
*** zyga-mbp <zyga-mbp!~zyga@31.0.173.147> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 17:53 | |
SpiderDroneX | Yo, any tips on the quickest way to add a temporary single file to the image? Can something hacky get into local.conf without having to create a recipe and then adding it to the image... | 17:54 |
kanavin | RP: I was just looking at libSDL from the two builds, and indeed: | 17:55 |
qschulz | SpiderDroneX: ROOTFS_POSTPROCESS_COMMAND I guess | 17:55 |
kanavin | Dynamic Section: | 17:55 |
kanavin | NEEDED libm.so.6 | 17:55 |
kanavin | NEEDED libdl.so.2 | 17:55 |
kanavin | NEEDED librt.so.1 | 17:55 |
kanavin | NEEDED libpthread.so.0 | 17:55 |
kanavin | NEEDED libc.so.6 | 17:55 |
kanavin | SONAME libSDL2-2.0.so.0 | 17:55 |
kanavin | and another: | 17:55 |
RP | sgw: I've sent a patch to try and aid debugging of the syslog issue FWIW and kanavin is looking at the qemu librt one | 17:55 |
kanavin | Dynamic Section: | 17:55 |
kanavin | NEEDED libm.so.6 | 17:55 |
kanavin | NEEDED libc.so.6 | 17:55 |
kanavin | SONAME libSDL2-2.0.so.0 | 17:55 |
SpiderDroneX | qschulz: Thanks | 17:56 |
sgw | RP: ok, is the Qemu one related to the libEGL failure on centos8 machine or a different one? | 17:56 |
RP | kanavin: there is a dummy librt in uninative which I think is supposed to cover this :/ | 17:57 |
RP | sgw: not sure. It is the one with the librt issue being reported | 17:57 |
kanavin | RP: the first is from direct build on centos 8, the second one from sstate | 17:58 |
kanavin | RP: so I would have to identify the distro the second one is from and see why it won't link with librt? | 17:58 |
RP | kanavin: I think more the question is why that second one won't find or use the librt from uninative correctly | 17:58 |
kanavin | RP: because librt is requested by a mesa driver opened with dlopen() :( | 17:59 |
kanavin | RP: so it ends up using one from the centos host | 17:59 |
kanavin | (the mesa driver is also from the host) | 17:59 |
RP | kanavin: so the issue is a mesa built on centos8 with a libsdl that wasn't? | 17:59 |
RP | ah, right, so it is a host mesa | 18:00 |
kanavin | RP: yes | 18:00 |
rfs613 | shivamurthy: glad you were able to get your build working - I've not used lxc myself so I have no idea what might be happening there. | 18:00 |
RP | kanavin: it should still be looking at the uninative librt first :/ | 18:00 |
RP | kanavin: we probably need an strace to see if it does look at it and rejects it or just doesnt look | 18:01 |
sgw | Ok, I will just add the other 2 syslog failures to the bugzilla for tracking then | 18:01 |
kanavin | RP: I have the straces | 18:01 |
SpiderDroneX | qschulz: But I can't define function outside a `bb` file to feed the `ROOTFS_POSTPROCESS_COMMAND`, right? ;) | 18:01 |
RP | kanavin: ok, so does it reject the librt or not look at it at all? | 18:02 |
kanavin | RP: let me check again | 18:02 |
rburton | shivamurthy: no problem. Really want to figure out what is causing problems so we can detect it… | 18:02 |
RP | kanavin: would be in sysroots-uninative | 18:03 |
kanavin | RP: first and only mention of librt: | 18:03 |
kanavin | openat(AT_FDCWD, "/lib64/../lib64/tls/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | 18:03 |
kanavin | openat(AT_FDCWD, "/lib64/../lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 10 | 18:03 |
ex-bugsbunny | question: is there a possibility to add files in a bbappend to be automatically taken into account by referred recipe's do_install() (in an accumulating way) or do I have to use a do_install_append() in the bbappend file for that purpose? | 18:04 |
kanavin | so not tries to look in uninative at all, seems like | 18:04 |
RP | kanavin: I wonder if LD_LIBRARY_PATH would help | 18:04 |
RP | sorry need to step away for food :/ | 18:05 |
kanavin | I'll keep poking | 18:05 |
qschulz | ex-bugsbunny: bbappends, bbclasses, included/required files, original recipe are all flattened and then "exectued" | 18:05 |
RP | kanavin: it is almost certainly because we're mixing libc bits, it needs all the uninative ones | 18:05 |
RP | libc is backwards compat but not forwards | 18:06 |
qschulz | ex-bugsbunny: so if your original do_install installs a whole directory or has a glob matching the file in the bbappend, that's probably ok yes | 18:06 |
ex-bugsbunny | just to get it right, qschulz: that means that I just need to replicate the file hierachy of the underlying recipe's output in my bbappend's files directory and this will get merged before do_install() kicks in, right? | 18:09 |
qschulz | ex-bugsbunny: didn't understand the question | 18:18 |
*** SpiderDroneX <SpiderDroneX!~SpiderDro@212.15.177.12> has quit IRC (Quit: Client closed) | 18:24 | |
kanavin | RP: librt is loaded by host's /lib64/libLLVM, via RPATH which seems to bypass uninative (not sure why) and is also immune to LD_LIBRARY_PATH. LD_PRELOAD works though. | 18:27 |
sgw | kanavin: are you looking at the recent qemuppc failure? Just to confirm from my swatting | 18:27 |
kanavin | sgw, no | 18:27 |
sgw | RP: it appears that the build dir for the qemuppc failure is already gone then, just have the buildbot logs | 18:29 |
kanavin | RP: ah, RPATH takes priority over everything else in loader's search order | 18:30 |
kanavin | with uninative it shouldn't though | 18:31 |
kanavin | (e.g. we should tweak uninative's loader to ensure it's not tricked into loading things from the host that are available in uninative) | 18:31 |
*** Minvera <Minvera!~Minvera@user/Minvera> has joined #yocto | 18:32 | |
kanavin | or just declare Centos 8 broken for having RPATH in its binaries | 18:34 |
ex-bugsbunny | qschulz: sorry for the complicated question, maybe I better describe an example: assume the recipe uses a git repo which contains dir1/file1 (source path in do_install() will have tp prepend "git/" for it to be installed in some place in rootfs); the bbappend wants to add dir1/file2 to be also installed; is it possible to simply use FILESEXTRAPATHS_prepend := "files:" and put file2 into files/dir1/files2 relative to bbappend file to have i | 18:37 |
ex-bugsbunny | hopefully this is clearer ... | 18:37 |
ex-bugsbunny | qschulz: do_install() uses a for loop over ${WORKDIR}/git/dir1/* when placing these files into appropriate location within target rootfs | 18:40 |
ad__ | trying to exclude a package from the image build, but maybe since part of a packagegroup, PACKAGE_EXCLUDE does not work, same for IMAGE_INSTALL_remove | 18:53 |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Quit: WeeChat 3.4) | 19:06 | |
*** jclsn <jclsn!~jclsn@216.83.217.199.dynamic-pppoe.dt.ipv4.wtnet.de> has quit IRC (Quit: The Lounge - https://thelounge.chat) | 19:36 | |
*** jclsn <jclsn!~jclsn@216.83.217.199.dynamic-pppoe.dt.ipv4.wtnet.de> has joined #yocto | 19:37 | |
*** jclsn <jclsn!~jclsn@216.83.217.199.dynamic-pppoe.dt.ipv4.wtnet.de> has quit IRC (Client Quit) | 19:41 | |
*** jclsn <jclsn!~jclsn@216.83.217.199.dynamic-pppoe.dt.ipv4.wtnet.de> has joined #yocto | 19:41 | |
*** lucaceresoli <lucaceresoli!~lucaceres@77.244.183.192> has quit IRC (Ping timeout: 240 seconds) | 19:51 | |
*** stephano is now known as stephano[away] | 20:02 | |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has joined #yocto | 20:06 | |
*** GillesM <GillesM!~gilles@4.63.132.77.rev.sfr.net> has quit IRC (Quit: Leaving) | 20:17 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC (Ping timeout: 240 seconds) | 20:21 | |
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #yocto | 20:38 | |
*** stephano[away] is now known as stephano | 21:05 | |
*** behanw <behanw!uid110099@id-110099.uxbridge.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 21:06 | |
landgraf | Documentation of PERSISTENT_DIR is confusing (or simply wrong). It says "Specifies the directory BitBake uses to store data that should be preserved between builds". In fact the data is is NOT preserved between build by default and controlled by BB_SRCREV_POLICY. Default value is "clear". This causes https://bugzilla.yoctoproject.org/show_bug.cgi?id=14707 | 21:08 |
ex-bugsbunny | qschulz: nevermind, it is as easy as you said, I only needed also to add an appropriate SRC_URI in bbappend and it worked :-) thanks for your help | 21:09 |
*** pabigot <pabigot!~pab@67-1-16-117.tcso.qwest.net> has quit IRC (Remote host closed the connection) | 21:14 | |
*** pabigot <pabigot!~pab@67-1-16-117.tcso.qwest.net> has joined #yocto | 21:18 | |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has quit IRC (Ping timeout: 250 seconds) | 21:19 | |
*** creich_ <creich_!~creich@p200300f6af2e311017ecd9651bb8e20d.dip0.t-ipconnect.de> has joined #yocto | 21:28 | |
*** creich <creich!~creich@p200300f6af0a74106718c347eeead41a.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 21:29 | |
*** likewise <likewise!~likewise@86-87-147-180.fixed.kpn.net> has quit IRC (Read error: Connection reset by peer) | 21:30 | |
kergoth | Should probably change that from 'uses' to 'may use' | 21:56 |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 21:59 | |
*** Minvera <Minvera!~Minvera@user/Minvera> has quit IRC (Quit: Leaving) | 22:03 | |
*** ex-bugsbunny <ex-bugsbunny!~Harry@p4fc2edaa.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 22:09 | |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has joined #yocto | 22:44 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:4b12:b100:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection) | 22:49 | |
*** florian <florian!~florian@dynamic-002-244-145-109.2.244.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 23:10 | |
*** codavi <codavi!~akiCA@user/akica> has quit IRC (Ping timeout: 256 seconds) | 23:18 | |
*** Tokamak <Tokamak!~Tokamak@172.58.188.214> has joined #yocto | 23:30 | |
*** stephano <stephano!~stephano@73.240.0.134> has quit IRC (Quit: Textual IRC Client: www.textualapp.com) | 23:44 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!