Friday, 2024-03-08

*** florian <florian!~florian@dynamic-093-132-014-046.93.132.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds)00:17
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe)00:38
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)01:11
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto01:50
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Read error: Connection reset by peer)01:51
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto01:51
*** davidinux <davidinux!~davidinux@194.34.233.245> has quit IRC (Ping timeout: 246 seconds)02:03
*** davidinux <davidinux!~davidinux@194.34.233.245> has joined #yocto02:04
*** starblue <starblue!~juergen@dslb-088-078-106-153.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 255 seconds)02:25
*** starblue <starblue!~juergen@dslb-178-006-088-128.178.006.pools.vodafone-ip.de> has joined #yocto02:27
*** jclsn <jclsn!~jclsn@2a04:4540:651f:4600:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 272 seconds)02:32
*** jclsn <jclsn!~jclsn@2a04:4540:651f:900:2ce:39ff:fecf:efcd> has joined #yocto02:33
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)02:39
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto02:40
*** mulk <mulk!~mulk@p5b112b94.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)02:57
*** mulk <mulk!~mulk@p5b2dcc16.dip0.t-ipconnect.de> has joined #yocto02:58
*** sotaoverride <sotaoverride!~aatir@ool-4578fe22.dyn.optonline.net> has quit IRC (Ping timeout: 252 seconds)03:01
*** sotaoverride <sotaoverride!~aatir@ool-4578fe22.dyn.optonline.net> has joined #yocto03:03
*** joekale <joekale!~quassel@140.177.191.39> has joined #yocto03:11
*** sakoman <sakoman!~sakoman@dhcp-72-234-108-41.hawaiiantel.net> has quit IRC (Ping timeout: 272 seconds)03:33
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Read error: Connection reset by peer)03:34
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto03:39
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 264 seconds)03:44
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has joined #yocto03:46
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)03:52
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto03:53
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto04:27
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has quit IRC (Ping timeout: 240 seconds)04:32
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 272 seconds)04:33
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@94.31.104.192> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)04:35
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@94.31.104.192> has joined #yocto04:35
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Ping timeout: 246 seconds)04:35
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has joined #yocto04:45
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has quit IRC (Ping timeout: 260 seconds)04:58
*** schtobia <schtobia!~quassel@schmidl.dev> has quit IRC (Quit: Bye!)05:02
*** schtobia <schtobia!~quassel@schmidl.dev> has joined #yocto05:03
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has joined #yocto05:14
*** benkard <benkard!~mulk@p5b11243f.dip0.t-ipconnect.de> has joined #yocto06:10
*** mulk <mulk!~mulk@p5b2dcc16.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 256 seconds)06:11
*** benkard is now known as mulk06:11
*** mbulut <mbulut!~mbulut@ip1f128e51.dynamic.kabel-deutschland.de> has joined #yocto06:12
*** mbulut <mbulut!~mbulut@ip1f128e51.dynamic.kabel-deutschland.de> has quit IRC (Client Quit)06:13
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto06:17
*** davidinux <davidinux!~davidinux@194.34.233.245> has quit IRC (Ping timeout: 268 seconds)06:20
*** davidinux <davidinux!~davidinux@194.34.233.242> has joined #yocto06:22
*** roussinm <roussinm!~mroussin@142.115.196.7> has quit IRC (Ping timeout: 255 seconds)06:36
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto07:00
*** nerdboy_ <nerdboy_!~nerdboy@47.143.129.205> has joined #yocto07:08
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 255 seconds)07:09
*** nerdboy_ is now known as nerdboy07:10
*** nerdboy <nerdboy!~nerdboy@47.143.129.205> has quit IRC (Client Quit)07:10
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has joined #yocto07:11
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto07:30
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Ping timeout: 272 seconds)07:46
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:9ed7:7657:a0e8:cc54> has joined #yocto07:47
*** deribaucourt <deribaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has joined #yocto07:52
*** ederibaucourt <ederibaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has quit IRC (Ping timeout: 256 seconds)07:53
*** Noor <Noor!~Noor@147.161.161.3> has quit IRC (Read error: Connection reset by peer)07:55
*** rfuentess <rfuentess!~rfuentess@adijon-159-1-11-151.w92-161.abo.wanadoo.fr> has joined #yocto08:08
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto08:11
*** florian <florian!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto08:13
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has quit IRC (Ping timeout: 272 seconds)08:33
*** sakoman <sakoman!~sakoman@dhcp-72-234-108-41.hawaiiantel.net> has joined #yocto08:47
*** florian <florian!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)09:13
*** rsalveti <rsalveti!uid117878@id-117878.uxbridge.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)09:19
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)09:31
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto09:32
*** Noor <Noor!~Noor@147.161.161.30> has joined #yocto09:32
*** merit <merit!~merit@c-24-6-254-165.hsd1.ca.comcast.net> has joined #yocto09:35
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has quit IRC (Read error: Connection reset by peer)09:40
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto09:40
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto09:42
*** luc4 <luc4!~luca@2a00:6d43:501:1201:602a:507d:643e:388a> has joined #yocto09:43
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has quit IRC (Read error: Connection reset by peer)09:51
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto09:52
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto09:54
*** ptsneves <ptsneves!~Thunderbi@031011128162.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto09:56
meritoh weird - the matrix and irc aren't linked10:00
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)10:21
*** Guest52 <Guest52!~Guest52@176.33.65.159> has joined #yocto10:29
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has joined #yocto10:32
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has quit IRC (Client Quit)10:33
merithi - sorry to crosspost from matrix10:33
merithow would I go about using source from inside a tarbal inside a zip inside a zip that's hosted on a remote server in a .bb recipe?10:34
meritadding it in "SRC_URI" seems straightforward enough, but I'm stumped on how I should unpack each successive layer - a custom "do_unpack"? "do_unpack_append"?10:35
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has joined #yocto10:36
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has quit IRC (Client Quit)10:36
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has joined #yocto10:37
rburtoni'd add a do_unpack postfunc that did the rest of the unpackging10:38
rburtonbitbake will fetch and undo one layer of compression, you'll have to do the rest10:38
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has quit IRC (Client Quit)10:39
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has joined #yocto10:39
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)10:41
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto10:42
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Remote host closed the connection)10:48
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto10:48
merithttps://ctxt.io/2/AACI9v1dFg10:52
merittried this, but it crashes claiming "Variable do_unpack_append contains an operation using the old override syntax."10:53
alperakPIP_INSTALL_PACKAGE is no longer used, but it is still present in some recipes. is there something i don't know or does it need to be cleaned?10:53
meritdo_unpack:append() ?10:55
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto10:58
*** Guest52 <Guest52!~Guest52@176.33.65.159> has quit IRC (Quit: Client closed)10:59
rburtondo_unpack is python, you can't just throw shell on it11:02
rburtonwhich is why i said use a postfunc11:03
rburtongrep for postfunc, you'll find examples in meta/11:03
rburtonalperak: obsolete, remove11:04
*** davidinux <davidinux!~davidinux@194.34.233.242> has quit IRC (Ping timeout: 252 seconds)11:04
*** davidinux <davidinux!~davidinux@host-79-45-159-2.retail.telecomitalia.it> has joined #yocto11:06
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto11:09
meritoh, this is kinda funny11:10
meritthe url is making the uri parser blow up in fetch because it's got a query that's not "k=v" but just a param11:11
meritlike "https://foo.bar?WOOOOOOOOOOOOOOOOOOOOOOOOO"11:11
meritso I guess I have to implement my own "do_fetch"?11:12
rburtonescape the ?11:12
rburtonyou _should_ be able to escape it enough11:12
meritlike, with backslashes?11:17
rburtonits a url so %11:19
merityou're talking urlencodings?11:19
rburtonyes11:19
rburton? is %3F11:20
rburtonits probably the ; that is breaking, escape that11:22
*** Noor <Noor!~Noor@147.161.161.30> has quit IRC (Quit: Leaving)11:22
*** ray-san <ray-san!~ray-san@195.50.168.194> has joined #yocto11:23
meritescaping the ? made new stuff break instead11:23
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto11:24
meritit never made it past looking for a = on the query parm11:24
rburtontry just escaping the ;11:24
meritnot sure why11:27
meritbut, changing it back to11:27
merithttps://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B%3Bdownloadfilename=EGPL-T101.zip11:27
merit(escaping only the semicolon)11:27
merithuh11:31
meritthat's fun11:31
meritit's the same error either way - invalid syntax11:31
merithttps://ctxt.io/2/AACIXj1cFg11:32
rburtonthats not where i expected it to fail, can you pastebin the entire recipe11:33
merithttps://ctxt.io/2/AACIhm4BFg11:34
rburtonas i said above you can't append shell to do_unpack11:35
rburtoninvalid syntax because you're putting shell on the end of a python function11:36
rburton:append is literally string concatenation.  do_unpack is python code.11:36
meritohhh, dang11:36
meritokay11:36
rburtonuse a postfunc instead11:36
rburton(see my messages at 11:02)11:36
meritso that's why you end up with a chimera of functions11:36
meritthanks for the patience11:37
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)11:37
meritI am _very_ new at this whole ecosystem11:37
meritdid not realize that an _append'd function is literally string appended into the function11:37
rburtonsomehow expressing a url with query strings in a format that takes urls and then having to triple-unpack a compressed file isn't the easiest thing to do11:37
meritthought it was merely some sort of abstract hook11:37
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto11:38
meritstarting to think that the answer, today, is to unpack it by hand11:38
meritdo the stupid build11:38
meritsend firmware to germany11:38
meritand go to sleep11:38
KanjiMonsterdownloadfilename is a parameter for the fetcher, not the webserver URI, so I don't think you need or should escape the semicolon. At least for me the url only works without it when I throw it at wget11:39
rburtonah true yeah11:39
rburtoni didn't pay complete attention and thought it was a parameter for the server11:40
rburtondownload urls that are all magic parameters for the server are the worst11:40
KanjiMonsteralso nice matroshka archive you get there, a tar.gz in a zip in a zip11:40
meritthe main part is that there's a server param that's making the uri parsing barf in the fetcher code in python11:40
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 264 seconds)11:41
meritor at least, that's the problem with the uri11:41
merithttps://ctxt.io/2/AACImk81Fg11:41
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto11:41
meritgiven the uri https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B;downloadfilename=EGPL-T101.zip11:42
rburtonif I were going to rewrite yocto i'd not use URIs like this, but hey that's where we are11:43
*** goliath <goliath!~goliath@user/goliath> has joined #yocto11:43
rburtonwhat if you escape the ? with %3F11:44
meritsame error11:45
rburtoncursed thing11:45
rburtoni hate URLs11:45
meritURI wakes up screaming11:45
meritwell, same error, slightly different11:46
meritlet me confirm11:46
KanjiMonsterpurely guessing from the output, it seems the code trips up about no seconds (or more) parameter via & if it's a query11:48
merityes11:48
meritthat's the primary issue11:48
KanjiMonsterand no amount of escaping will fix that11:48
meritI guess the uri doesn't cause crashing after that11:48
meritif I escape, it just makes everything wrong for varying reasons11:48
meritie - escape the semicolon, and it can't get the params11:48
rburtonright you need the ; to be literal as that's for bitbake11:49
meritescape the ? and it's no longer sending a query11:49
KanjiMonsteryou could try adding a & at the end, at least that does not break the url when throwing it at the webserver (but may trip up the fetcher at a later stage)11:49
meritya - assumed bitbake stripped the ; stuff at the very top of the *init*11:49
meritoo11:49
meritor11:49
meritI could add nonsense value and see if the server cares11:49
KanjiMonsterit does11:50
meritwellllll11:51
merithttps://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B=11:51
meritit cares if the value has a value11:52
meritbut bitbake survives when I add the trailing =11:52
meritblursed11:52
KanjiMonstermerit: there's a hidden __VIEWSTATEGENERATOR parameter where you can pass anything, e.g. "https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B&__VIEWSTATEGENERATOR=1234" works11:52
KanjiMonstermight trip up their statistics, but who cares ;D11:53
merithttps://ctxt.io/2/AACIIkhoFg11:54
meritnow, to actually add some unpacking11:54
rburtonthat feels like a bitbake fetcher bug trying to come out11:56
merithttps://ctxt.io/2/AACIqt8wEQ11:59
rburtonlooks good12:00
meritstill not seeing any .ko nuggets in my rootfs12:01
rburtonoe-pkgdata-util list-pkg-files -r [recipe name]12:03
rburtonverify it actually build stuff and put it in a package12:03
meritjust blew everything away in case bb doesn't know to do that12:04
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Quit: Leaving)12:05
rburtonso yeah the url parser assumes that a query string is a key-value mapping12:06
rburtonbut that's not actually required and typically URLs you fetch don't have them12:06
rburtonso congrats you found a bug, i have a test case12:07
meritlol yay12:08
rburtonhm interestingly enough the last change to this code was me, three years ago, fixing what sounds like the same issue12:09
rburtonhttps://git.yoctoproject.org/poky/commit/?id=5d81a9186185fdac6af98f088b8be39c42aeeac912:09
rburtonah no different issue12:10
merithm,12:16
meritthought it was working, then ran bb against the recipe standalone12:16
meritnow I'm running into stuff like license requirements12:16
meritwhew12:16
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto12:16
KanjiMonsterthere is one at the end of the README.txt12:18
KanjiMonsterI'm positively surprised, the driver files have SPDX tags12:19
KanjiMonstermerit: btw, the code here https://github.com/Aquantia/AQtion is identical to what's contained in the zip12:23
KanjiMonsterI checked out the repo, copied over all files, and git only showed an untracked file "release_notes.txt", but no file changes12:24
KanjiMonstermight be a bit less hassle12:24
*** Guest9743 <Guest9743!~Guest9743@109.176.155.130> has quit IRC (Quit: Connection closed)12:26
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe)12:30
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto12:30
meritwellll12:32
meritnot quite _everything_12:32
meritthe readme on the zip file has the license replaced with "uhh, we totally do GPL2"12:33
meritvs "this is not free software but it doesn't cost money" on the official12:33
meritlol12:33
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)12:34
*** chep <chep!chep@gateway/vpn/airvpn/chep> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)12:35
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto12:35
*** chep <chep!chep@gateway/vpn/airvpn/chep> has joined #yocto12:35
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit)12:35
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto12:36
meritlbeh12:37
merit"/bin/sh: 1: unzip: not found"12:37
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit)12:38
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto12:39
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit)12:39
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto12:40
*** Guest9743 <Guest9743!~Guest9743@109.176.155.130> has joined #yocto12:44
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)12:45
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto12:45
rburtonmerit: do_fetch[depends] += "unzip-native:do_populate_sysroot"12:49
rburtonbut i'd definitely be grabbing the git repo!12:50
KanjiMonstermerit: huh? both README.txt files in the zip file are identical to the one in the github repo12:55
KanjiMonsterand all (build relevant) files in the zip and repo have a GPL-2.0-only SPDX tag, so claiming GPL 2.0 seems to be correct12:59
KanjiMonstermerit: though I guess you mean this: https://github.com/Aquantia/AQtion/issues/713:03
*** creich <creich!~unknown@pd95c33ad.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 268 seconds)13:12
*** unknown1 <unknown1!~unknown@pd95c33ad.dip0.t-ipconnect.de> has joined #yocto13:14
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 246 seconds)13:22
meritok... finally got it running13:23
meritnot sure where this has my actual OS build, but the recipe cooks13:24
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto13:28
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto13:30
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)13:31
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto13:32
meritthanks for everything13:34
meritit's so far... building13:34
meritso at least it's not broken yet13:34
meritlol13:34
meritand I've still got like... a few hours I might even be able to sneak in for sleep13:34
*** unknown1 <unknown1!~unknown@pd95c33ad.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)13:36
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit)13:36
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto13:37
*** unknown1 <unknown1!~unknown@pd95c33ad.dip0.t-ipconnect.de> has joined #yocto13:38
*** luc4 <luc4!~luca@2a00:6d43:501:1201:602a:507d:643e:388a> has quit IRC (Ping timeout: 272 seconds)13:39
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has joined #yocto13:41
rburtonmerit: what's your email? I'd like to cc you on a patch if that's okay.13:47
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto13:54
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Ping timeout: 255 seconds)14:06
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto14:09
*** pedrowiski <pedrowiski!~pedrowisk@user/pedrowiski> has joined #yocto14:10
*** vladest1 <vladest1!~Thunderbi@217.192.139.41> has joined #yocto14:19
*** vladest1 <vladest1!~Thunderbi@217.192.139.41> has quit IRC (Client Quit)14:21
rburtonmerit: never mind. would be useful if you could test that https://lore.kernel.org/bitbake-devel/20240308141439.1119130-1-ross.burton@arm.com/T/#u solves your problem if you remove the url bits you added14:21
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Ping timeout: 264 seconds)14:23
meritcrap, just decided to give up and sleep for the "night"14:24
meritsystem image finished building with no sign of my ko14:24
rburtonmerit: did you add it to your image?14:24
rburtonbuilding a recipe != putting it into image14:25
meritI dropped it into the spot where the vendor said to drop the recipe14:25
rburtonyou add a package to an image by using IMAGE_INSTALL in the image recipe14:25
rburtonhaving a recipe available just means you can build that recipe. having built a recipe just means you _can_ put the packages into an image.14:26
vvnis there a best practice for DISTRO_VERSION? single word vs semantic numbers, etc.14:33
rburtonyour choice, it just gets written out in various places14:34
vvnis it ok to follow the yocto project version? e.g. mickledore/4.2 in order to give a clue on which yocto version you're based on witout needing to providing a compatibility table?14:35
rburtoni guess nobody can stop you :)14:36
vvnjust talking about conventions and best practices here rburton :)14:36
* vvn is wondering what the industry does regarding distro versioning14:38
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)14:38
rburton"it depends" i guess.  if you've got an actual product you might want to bump major version when you want to, not when yocto does.14:38
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto14:38
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Client Quit)14:39
vvngood point14:39
vvnone should refer to VERSION_ID= from os-release(5) then14:40
*** Chaser_ <Chaser_!~Chaser@user/chaser> has joined #yocto14:41
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Ping timeout: 264 seconds)14:41
*** paw <paw!~afong@198-84-204-38.cpe.teksavvy.com> has joined #yocto14:45
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto14:47
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection)14:48
*** johnro1987 <johnro1987!~johnro198@5.12.234.107> has joined #yocto15:01
*** davidinux <davidinux!~davidinux@host-79-45-159-2.retail.telecomitalia.it> has quit IRC (Ping timeout: 255 seconds)15:04
*** davidinux <davidinux!~davidinux@45.11.80.213> has joined #yocto15:05
johnro1987Hello guys, I have yocto enviroment(dunfell) with  external toolchains.For development I am building an SDK (to run in docker and do smaller projects compilation).In this generated SDK I am missing some files compared to that external toolchains install. I am mostly interested in ASAN suport.My compilation against the generated SDK  fail because15:07
johnro1987is missing libasanpre_init.o . Is there are any fix for this?15:07
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto15:10
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 260 seconds)15:10
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto15:12
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto15:17
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-37-142-115-196-7.dsl.bell.ca> has joined #yocto15:19
*** unknown1 <unknown1!~unknown@pd95c33ad.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)15:25
*** luc4 <luc4!~luca@2a00:6d43:501:1201:6af0:b172:ba9:335b> has joined #yocto15:25
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 272 seconds)15:29
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto15:30
*** Chaser_ <Chaser_!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)15:32
paulg"WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system"15:41
paulgsplitting hairs, but that is factually not true.15:41
paulgit may not be officially supported, but I guarantee you there are clowns like me still "validating" it works.15:42
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)15:43
roussinmIs it possible to have 2 target sdk from one shar? Or do we have to deploy 2 different sdk?15:47
*** Guest9743 <Guest9743!~Guest9743@109.176.155.130> has quit IRC (Quit: Connection closed)16:02
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Remote host closed the connection)16:05
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto16:06
RPpaulg: it isn't in our test matrix so it isn't officially tested16:11
paulgI know - I get it, and I'm largely being a jerk (imagine that?) - just sayin our message doesn't say what you just said - that release/distro XYZ isn't officially supported.16:15
*** luc4 <luc4!~luca@2a00:6d43:501:1201:6af0:b172:ba9:335b> has quit IRC (Ping timeout: 255 seconds)16:16
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds)16:19
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto16:22
*** Noor <Noor!~Noor@147.161.161.3> has quit IRC (Quit: Leaving)16:32
*** pedrowiski <pedrowiski!~pedrowisk@user/pedrowiski> has quit IRC (Ping timeout: 272 seconds)16:32
JaMapaulg: you don't test it often or deep enough as I haven't seen you reporting or fixing issues when patchelf got broken for 18.04 or when qemu-native stopped building16:34
JaMabeing able to finish some small build from time to time isn't validation (and that's me being a jerk :))16:38
RPpaulg: I'm open to patches to change it to something different16:44
paulgApparently I'm just a sponge/leech and I don't send patches.  :-P16:45
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)16:46
RPpaulg: sucker? :)16:46
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 260 seconds)16:50
*** rfuentess <rfuentess!~rfuentess@adijon-159-1-11-151.w92-161.abo.wanadoo.fr> has quit IRC (Remote host closed the connection)16:53
*** ptsneves <ptsneves!~Thunderbi@031011128162.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 272 seconds)17:12
*** amitk <amitk!~amit@58.84.62.171> has joined #yocto17:20
nerdboymoin17:41
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto17:52
*** simonew <simonew!~ile@2a02:810d:a940:35fc:e3:81d8:e6de:ba2f> has joined #yocto18:06
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Remote host closed the connection)18:34
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 272 seconds)18:35
*** paw <paw!~afong@198-84-204-38.cpe.teksavvy.com> has quit IRC (Ping timeout: 268 seconds)18:38
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto18:38
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)18:44
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)18:48
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto18:48
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Remote host closed the connection)18:50
*** amitk <amitk!~amit@58.84.62.171> has quit IRC (Ping timeout: 256 seconds)18:52
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto18:53
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.9.0 - https://znc.in)18:53
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto18:55
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto18:55
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 272 seconds)19:09
*** amitk <amitk!~amit@58.84.62.171> has joined #yocto19:12
mischiefis there a nice way to make perf use my unpacked source tree from `devtool modify` for the kernel? it seems STAGING_KERNEL_DIR isnt overridden..19:16
mischiefalso, why doesn't yocto build systemd-native for things like systemd-sysusers, systemctl?19:28
*** kpo <kpo!~kpo@87-206-161-246.dynamic.chello.pl> has joined #yocto19:33
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto19:39
rburtonmischief: because for the limited systemctl we need its easier to reimplement a small script than manage to build a minimal systemd.  last time i tried it wasn't possible to build _just_ the tools.19:52
mischiefq20:05
mischiefrburton: well, i think the 'sysusers' code is somewhat broken, in kirkstone at least20:06
rburtonfile a bug then :)20:07
rburtonpresumably that's the logic in meta/classes-recipe/rootfs-postcommands.bbclass20:07
rburtonthough the point of sysusers is that it doesn't actually do much at build time surely20:08
mischiefah, i guess that got fixed in 2023 for the main branch.20:08
mischieftho it still appears to be some python goo, instead of shell goo now :-)20:09
*** amitk <amitk!~amit@58.84.62.171> has quit IRC (Ping timeout: 252 seconds)20:41
merithttps://github.com/nxp-auto-linux/auto_yocto_bsp < this was my yocto20:55
vvnIs mediamtx packaged somewhere?21:02
*** johnro1987 <johnro1987!~johnro198@5.12.234.107> has quit IRC (Quit: Connection closed)21:09
meritok, rburton, I've tracked down where I think the image is being put together and appended onto the IMAGE_INSTALL21:20
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Remote host closed the connection)21:24
vvnI guess I'll have to write a recipe for mediamtx. Does someone recommend a go-based recipe I could use as a reference?21:54
mischiefprepare for sadness - with go modules, tracking down the dependencies is rather difficult, and you require network access at compile time unless you are careful21:56
*** simonew <simonew!~ile@2a02:810d:a940:35fc:e3:81d8:e6de:ba2f> has quit IRC (Remote host closed the connection)21:59
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:9ed7:7657:a0e8:cc54> has quit IRC (Remote host closed the connection)22:03
vvnmischief: luckily there are standalone precompiled releases to download22:07
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed)22:09
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto22:10
mischiefif that is acceptable to you, that might be easier.22:10
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)22:19
*** goliath <goliath!~goliath@user/goliath> has joined #yocto22:27
meritwell,s hoot23:06
meritI think I'm getting closer23:06
meritnow I've got the module building and failng because it's grabbing kernel headers from my system instead of the device root23:06
rburtonif your following the guide for building an out of tree module that should just work, so you might have makefiles which hardcode /usr or something in them23:13
merittried this: "arager@churchill:~/src/fsl-auto-yocto-bsp/build_s32r45evb$ bitbake -e fsl-image-auto  | grep -e '^KERNEL_.*='"23:13
meritit's giving me "bitbake -e fsl-image-auto  | grep -e '^KERNEL_.*='23:14
meritwhoops23:14
meritmight have overshared a little23:14
rburtonhttps://docs.yoctoproject.org/kernel-dev/common.html#incorporating-out-of-tree-modules23:14
rburtonfollow that if you're not already23:14
rburtonif you are then congratulation you've found broken makefiles, and you need to fix them23:14
* rburton -> bed23:14
meritI'm following that, but I get this in my build log as the makefile line called:23:15
meritmake -j4 -C /lib/modules/5.15.0-97-generic/build M="/home/arager/src/fsl-auto-yocto-bsp/build_s32r45evb/tmp/work/s32r45evb-fsl-linux/egpl-t101-mod/0.1-r0/git" modules23:15
meritvOv23:15
meritI'll figure it out23:15
merithttps://stackoverflow.com/questions/60923890/how-to-build-linux-kernel-module-using-yocto-sdk/67335209#67335209 < says I need to add kernel headers to sdk23:15
mischief/lib/modules/5.15.0-97-generic is your host kernel?23:16
meritthanks for all the pointers23:16
meritit's been invaluable23:16
merityeah23:16
merit"Linux LOCALHOST 5.15.0-97-generic #107~20.04.1-Ubuntu SMP Fri Feb 9 14:20:11 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux"23:16
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto23:17
mischiefi *think* its supposed to be pointing into .. build/tmp/work-shared/$MACHINE/kernel-source23:17
mischiefperhaps your module makefile hardcodes /lib/modules/$(uname -r), or you forgot to pass it in in your recipe..23:18
merithttps://ctxt.io/2/AACIoR8sFg23:22
meritnot much to the module recipe23:22
merithttps://github.com/Aquantia/AQtion/blob/master/Makefile23:23
meritnobody hardcoding against any headers in particular23:23
meritunless23:23
meritKDIR isn't being set23:24
merithttps://github.com/Aquantia/AQtion/blob/master/Makefile#L2623:24
meritofc23:25
mischiefperhaps you can stuff it in EXTRA_OEMAKE23:55
mischiefwe have a class in our layer that just replaces do_compile for out of tree modules, since most of ours have broken makefiles23:59

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!