*** 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 #yocto | 01:50 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Read error: Connection reset by peer) | 01:51 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto | 01: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 #yocto | 02: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 #yocto | 02: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 #yocto | 02: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 #yocto | 02: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 #yocto | 02: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 #yocto | 03:03 | |
*** joekale <joekale!~quassel@140.177.191.39> has joined #yocto | 03: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 #yocto | 03: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 #yocto | 03: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 #yocto | 03:53 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 04: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 #yocto | 04: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 #yocto | 04: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 #yocto | 05:03 | |
*** sakoman <sakoman!~sakoman@066-091-142-162.biz.spectrum.com> has joined #yocto | 05:14 | |
*** benkard <benkard!~mulk@p5b11243f.dip0.t-ipconnect.de> has joined #yocto | 06:10 | |
*** mulk <mulk!~mulk@p5b2dcc16.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 256 seconds) | 06:11 | |
*** benkard is now known as mulk | 06:11 | |
*** mbulut <mbulut!~mbulut@ip1f128e51.dynamic.kabel-deutschland.de> has joined #yocto | 06: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 #yocto | 06: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 #yocto | 06: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 #yocto | 07:00 | |
*** nerdboy_ <nerdboy_!~nerdboy@47.143.129.205> has joined #yocto | 07:08 | |
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 255 seconds) | 07:09 | |
*** nerdboy_ is now known as nerdboy | 07:10 | |
*** nerdboy <nerdboy!~nerdboy@47.143.129.205> has quit IRC (Client Quit) | 07:10 | |
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has joined #yocto | 07:11 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto | 07: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 #yocto | 07:47 | |
*** deribaucourt <deribaucourt!~ederibauc@lmontsouris-657-1-69-118.w80-15.abo.wanadoo.fr> has joined #yocto | 07: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 #yocto | 08:08 | |
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto | 08:11 | |
*** florian <florian!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto | 08: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 #yocto | 08: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 #yocto | 09:32 | |
*** Noor <Noor!~Noor@147.161.161.30> has joined #yocto | 09:32 | |
*** merit <merit!~merit@c-24-6-254-165.hsd1.ca.comcast.net> has joined #yocto | 09: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 #yocto | 09:40 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto | 09:42 | |
*** luc4 <luc4!~luca@2a00:6d43:501:1201:602a:507d:643e:388a> has joined #yocto | 09: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 #yocto | 09:52 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto | 09:54 | |
*** ptsneves <ptsneves!~Thunderbi@031011128162.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto | 09:56 | |
merit | oh weird - the matrix and irc aren't linked | 10: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 #yocto | 10:29 | |
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has joined #yocto | 10:32 | |
*** KanjiMonster <KanjiMonster!~KanjiMons@dslb-002-205-020-122.002.205.pools.vodafone-ip.de> has quit IRC (Client Quit) | 10:33 | |
merit | hi - sorry to crosspost from matrix | 10:33 |
merit | how 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 |
merit | adding 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 #yocto | 10: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 #yocto | 10:37 | |
rburton | i'd add a do_unpack postfunc that did the rest of the unpackging | 10:38 |
rburton | bitbake will fetch and undo one layer of compression, you'll have to do the rest | 10: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 #yocto | 10: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 #yocto | 10: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 #yocto | 10:48 | |
merit | https://ctxt.io/2/AACI9v1dFg | 10:52 |
merit | tried this, but it crashes claiming "Variable do_unpack_append contains an operation using the old override syntax." | 10:53 |
alperak | PIP_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 |
merit | do_unpack:append() ? | 10:55 |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto | 10:58 | |
*** Guest52 <Guest52!~Guest52@176.33.65.159> has quit IRC (Quit: Client closed) | 10:59 | |
rburton | do_unpack is python, you can't just throw shell on it | 11:02 |
rburton | which is why i said use a postfunc | 11:03 |
rburton | grep for postfunc, you'll find examples in meta/ | 11:03 |
rburton | alperak: obsolete, remove | 11: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 #yocto | 11:06 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto | 11:09 | |
merit | oh, this is kinda funny | 11:10 |
merit | the url is making the uri parser blow up in fetch because it's got a query that's not "k=v" but just a param | 11:11 |
merit | like "https://foo.bar?WOOOOOOOOOOOOOOOOOOOOOOOOO" | 11:11 |
merit | so I guess I have to implement my own "do_fetch"? | 11:12 |
rburton | escape the ? | 11:12 |
rburton | you _should_ be able to escape it enough | 11:12 |
merit | like, with backslashes? | 11:17 |
rburton | its a url so % | 11:19 |
merit | you're talking urlencodings? | 11:19 |
rburton | yes | 11:19 |
rburton | ? is %3F | 11:20 |
rburton | its probably the ; that is breaking, escape that | 11: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 #yocto | 11:23 | |
merit | escaping the ? made new stuff break instead | 11:23 |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 11:24 | |
merit | it never made it past looking for a = on the query parm | 11:24 |
rburton | try just escaping the ; | 11:24 |
merit | not sure why | 11:27 |
merit | but, changing it back to | 11:27 |
merit | https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B%3Bdownloadfilename=EGPL-T101.zip | 11:27 |
merit | (escaping only the semicolon) | 11:27 |
merit | huh | 11:31 |
merit | that's fun | 11:31 |
merit | it's the same error either way - invalid syntax | 11:31 |
merit | https://ctxt.io/2/AACIXj1cFg | 11:32 |
rburton | thats not where i expected it to fail, can you pastebin the entire recipe | 11:33 |
merit | https://ctxt.io/2/AACIhm4BFg | 11:34 |
rburton | as i said above you can't append shell to do_unpack | 11:35 |
rburton | invalid syntax because you're putting shell on the end of a python function | 11:36 |
rburton | :append is literally string concatenation. do_unpack is python code. | 11:36 |
merit | ohhh, dang | 11:36 |
merit | okay | 11:36 |
rburton | use a postfunc instead | 11:36 |
rburton | (see my messages at 11:02) | 11:36 |
merit | so that's why you end up with a chimera of functions | 11:36 |
merit | thanks for the patience | 11:37 |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 11:37 | |
merit | I am _very_ new at this whole ecosystem | 11:37 |
merit | did not realize that an _append'd function is literally string appended into the function | 11:37 |
rburton | somehow 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 do | 11:37 |
merit | thought it was merely some sort of abstract hook | 11:37 |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 11:38 | |
merit | starting to think that the answer, today, is to unpack it by hand | 11:38 |
merit | do the stupid build | 11:38 |
merit | send firmware to germany | 11:38 |
merit | and go to sleep | 11:38 |
KanjiMonster | downloadfilename 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 wget | 11:39 |
rburton | ah true yeah | 11:39 |
rburton | i didn't pay complete attention and thought it was a parameter for the server | 11:40 |
rburton | download urls that are all magic parameters for the server are the worst | 11:40 |
KanjiMonster | also nice matroshka archive you get there, a tar.gz in a zip in a zip | 11:40 |
merit | the main part is that there's a server param that's making the uri parsing barf in the fetcher code in python | 11:40 |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 264 seconds) | 11:41 | |
merit | or at least, that's the problem with the uri | 11:41 |
merit | https://ctxt.io/2/AACImk81Fg | 11:41 |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 11:41 | |
merit | given the uri https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B;downloadfilename=EGPL-T101.zip | 11:42 |
rburton | if I were going to rewrite yocto i'd not use URIs like this, but hey that's where we are | 11:43 |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 11:43 | |
rburton | what if you escape the ? with %3F | 11:44 |
merit | same error | 11:45 |
rburton | cursed thing | 11:45 |
rburton | i hate URLs | 11:45 |
merit | URI wakes up screaming | 11:45 |
merit | well, same error, slightly different | 11:46 |
merit | let me confirm | 11:46 |
KanjiMonster | purely guessing from the output, it seems the code trips up about no seconds (or more) parameter via & if it's a query | 11:48 |
merit | yes | 11:48 |
merit | that's the primary issue | 11:48 |
KanjiMonster | and no amount of escaping will fix that | 11:48 |
merit | I guess the uri doesn't cause crashing after that | 11:48 |
merit | if I escape, it just makes everything wrong for varying reasons | 11:48 |
merit | ie - escape the semicolon, and it can't get the params | 11:48 |
rburton | right you need the ; to be literal as that's for bitbake | 11:49 |
merit | escape the ? and it's no longer sending a query | 11:49 |
KanjiMonster | you 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 |
merit | ya - assumed bitbake stripped the ; stuff at the very top of the *init* | 11:49 |
merit | oo | 11:49 |
merit | or | 11:49 |
merit | I could add nonsense value and see if the server cares | 11:49 |
KanjiMonster | it does | 11:50 |
merit | wellllll | 11:51 |
merit | https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B= | 11:51 |
merit | it cares if the value has a value | 11:52 |
merit | but bitbake survives when I add the trailing = | 11:52 |
merit | blursed | 11:52 |
KanjiMonster | merit: there's a hidden __VIEWSTATEGENERATOR parameter where you can pass anything, e.g. "https://www.innodisk.com/Download_file?9BE0BF665780CFE893C405F661E70CBC88F02D82AB51A7E7F4CB116A4E8E93ED248E24B7619D5507AA7CD7F5600F8460725D7B782B73F1E408E86E053BE4967FE256C24ACBA0881528AD2326425F97E607BD76D22FA6492E99B696EBC5455C9B&__VIEWSTATEGENERATOR=1234" works | 11:52 |
KanjiMonster | might trip up their statistics, but who cares ;D | 11:53 |
merit | https://ctxt.io/2/AACIIkhoFg | 11:54 |
merit | now, to actually add some unpacking | 11:54 |
rburton | that feels like a bitbake fetcher bug trying to come out | 11:56 |
merit | https://ctxt.io/2/AACIqt8wEQ | 11:59 |
rburton | looks good | 12:00 |
merit | still not seeing any .ko nuggets in my rootfs | 12:01 |
rburton | oe-pkgdata-util list-pkg-files -r [recipe name] | 12:03 |
rburton | verify it actually build stuff and put it in a package | 12:03 |
merit | just blew everything away in case bb doesn't know to do that | 12:04 |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Quit: Leaving) | 12:05 | |
rburton | so yeah the url parser assumes that a query string is a key-value mapping | 12:06 |
rburton | but that's not actually required and typically URLs you fetch don't have them | 12:06 |
rburton | so congrats you found a bug, i have a test case | 12:07 |
merit | lol yay | 12:08 |
rburton | hm interestingly enough the last change to this code was me, three years ago, fixing what sounds like the same issue | 12:09 |
rburton | https://git.yoctoproject.org/poky/commit/?id=5d81a9186185fdac6af98f088b8be39c42aeeac9 | 12:09 |
rburton | ah no different issue | 12:10 |
merit | hm, | 12:16 |
merit | thought it was working, then ran bb against the recipe standalone | 12:16 |
merit | now I'm running into stuff like license requirements | 12:16 |
merit | whew | 12:16 |
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto | 12:16 | |
KanjiMonster | there is one at the end of the README.txt | 12:18 |
KanjiMonster | I'm positively surprised, the driver files have SPDX tags | 12:19 |
KanjiMonster | merit: btw, the code here https://github.com/Aquantia/AQtion is identical to what's contained in the zip | 12:23 |
KanjiMonster | I checked out the repo, copied over all files, and git only showed an untracked file "release_notes.txt", but no file changes | 12:24 |
KanjiMonster | might be a bit less hassle | 12: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 #yocto | 12:30 | |
merit | wellll | 12:32 |
merit | not quite _everything_ | 12:32 |
merit | the readme on the zip file has the license replaced with "uhh, we totally do GPL2" | 12:33 |
merit | vs "this is not free software but it doesn't cost money" on the official | 12:33 |
merit | lol | 12: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 #yocto | 12:35 | |
*** chep <chep!chep@gateway/vpn/airvpn/chep> has joined #yocto | 12:35 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit) | 12:35 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 12:36 | |
merit | lbeh | 12: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 #yocto | 12:39 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Client Quit) | 12:39 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 12:40 | |
*** Guest9743 <Guest9743!~Guest9743@109.176.155.130> has joined #yocto | 12:44 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor) | 12:45 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 12:45 | |
rburton | merit: do_fetch[depends] += "unzip-native:do_populate_sysroot" | 12:49 |
rburton | but i'd definitely be grabbing the git repo! | 12:50 |
KanjiMonster | merit: huh? both README.txt files in the zip file are identical to the one in the github repo | 12:55 |
KanjiMonster | and 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 correct | 12:59 |
KanjiMonster | merit: though I guess you mean this: https://github.com/Aquantia/AQtion/issues/7 | 13: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 #yocto | 13:14 | |
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 246 seconds) | 13:22 | |
merit | ok... finally got it running | 13:23 |
merit | not sure where this has my actual OS build, but the recipe cooks | 13:24 |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto | 13:28 | |
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto | 13: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 #yocto | 13:32 | |
merit | thanks for everything | 13:34 |
merit | it's so far... building | 13:34 |
merit | so at least it's not broken yet | 13:34 |
merit | lol | 13:34 |
merit | and I've still got like... a few hours I might even be able to sneak in for sleep | 13: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 #yocto | 13:37 | |
*** unknown1 <unknown1!~unknown@pd95c33ad.dip0.t-ipconnect.de> has joined #yocto | 13: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 #yocto | 13:41 | |
rburton | merit: 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 #yocto | 13: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 #yocto | 14:09 | |
*** pedrowiski <pedrowiski!~pedrowisk@user/pedrowiski> has joined #yocto | 14:10 | |
*** vladest1 <vladest1!~Thunderbi@217.192.139.41> has joined #yocto | 14:19 | |
*** vladest1 <vladest1!~Thunderbi@217.192.139.41> has quit IRC (Client Quit) | 14:21 | |
rburton | merit: 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 added | 14:21 |
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Ping timeout: 264 seconds) | 14:23 | |
merit | crap, just decided to give up and sleep for the "night" | 14:24 |
merit | system image finished building with no sign of my ko | 14:24 |
rburton | merit: did you add it to your image? | 14:24 |
rburton | building a recipe != putting it into image | 14:25 |
merit | I dropped it into the spot where the vendor said to drop the recipe | 14:25 |
rburton | you add a package to an image by using IMAGE_INSTALL in the image recipe | 14:25 |
rburton | having 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 |
vvn | is there a best practice for DISTRO_VERSION? single word vs semantic numbers, etc. | 14:33 |
rburton | your choice, it just gets written out in various places | 14:34 |
vvn | is 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 |
rburton | i guess nobody can stop you :) | 14:36 |
vvn | just talking about conventions and best practices here rburton :) | 14:36 |
* vvn is wondering what the industry does regarding distro versioning | 14: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 #yocto | 14:38 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Client Quit) | 14:39 | |
vvn | good point | 14:39 |
vvn | one should refer to VERSION_ID= from os-release(5) then | 14:40 |
*** Chaser_ <Chaser_!~Chaser@user/chaser> has joined #yocto | 14: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 #yocto | 14:45 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto | 14: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 #yocto | 15: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 #yocto | 15:05 | |
johnro1987 | Hello 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 because | 15:07 |
johnro1987 | is 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 #yocto | 15: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 #yocto | 15:12 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 15:17 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-37-142-115-196-7.dsl.bell.ca> has joined #yocto | 15: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 #yocto | 15: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 #yocto | 15: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 |
paulg | splitting hairs, but that is factually not true. | 15:41 |
paulg | it 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 | |
roussinm | Is 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 #yocto | 16:06 | |
RP | paulg: it isn't in our test matrix so it isn't officially tested | 16:11 |
paulg | I 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 #yocto | 16: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 | |
JaMa | paulg: 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 building | 16:34 |
JaMa | being able to finish some small build from time to time isn't validation (and that's me being a jerk :)) | 16:38 |
RP | paulg: I'm open to patches to change it to something different | 16:44 |
paulg | Apparently I'm just a sponge/leech and I don't send patches. :-P | 16:45 |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat) | 16:46 | |
RP | paulg: 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 #yocto | 17:20 | |
nerdboy | moin | 17:41 |
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto | 17:52 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:e3:81d8:e6de:ba2f> has joined #yocto | 18: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 #yocto | 18: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 #yocto | 18: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 #yocto | 18: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 #yocto | 18:55 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 18: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 #yocto | 19:12 | |
mischief | is 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 |
mischief | also, 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 #yocto | 19:33 | |
*** florian_kc <florian_kc!~florian@dynamic-093-133-144-121.93.133.pool.telefonica.de> has joined #yocto | 19:39 | |
rburton | mischief: 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 |
mischief | q | 20:05 |
mischief | rburton: well, i think the 'sysusers' code is somewhat broken, in kirkstone at least | 20:06 |
rburton | file a bug then :) | 20:07 |
rburton | presumably that's the logic in meta/classes-recipe/rootfs-postcommands.bbclass | 20:07 |
rburton | though the point of sysusers is that it doesn't actually do much at build time surely | 20:08 |
mischief | ah, i guess that got fixed in 2023 for the main branch. | 20:08 |
mischief | tho 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 | |
merit | https://github.com/nxp-auto-linux/auto_yocto_bsp < this was my yocto | 20:55 |
vvn | Is mediamtx packaged somewhere? | 21:02 |
*** johnro1987 <johnro1987!~johnro198@5.12.234.107> has quit IRC (Quit: Connection closed) | 21:09 | |
merit | ok, rburton, I've tracked down where I think the image is being put together and appended onto the IMAGE_INSTALL | 21:20 |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Remote host closed the connection) | 21:24 | |
vvn | I 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 |
mischief | prepare for sadness - with go modules, tracking down the dependencies is rather difficult, and you require network access at compile time unless you are careful | 21: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 | |
vvn | mischief: luckily there are standalone precompiled releases to download | 22: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 #yocto | 22:10 | |
mischief | if 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 #yocto | 22:27 | |
merit | well,s hoot | 23:06 |
merit | I think I'm getting closer | 23:06 |
merit | now I've got the module building and failng because it's grabbing kernel headers from my system instead of the device root | 23:06 |
rburton | if 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 them | 23:13 |
merit | tried this: "arager@churchill:~/src/fsl-auto-yocto-bsp/build_s32r45evb$ bitbake -e fsl-image-auto | grep -e '^KERNEL_.*='" | 23:13 |
merit | it's giving me "bitbake -e fsl-image-auto | grep -e '^KERNEL_.*=' | 23:14 |
merit | whoops | 23:14 |
merit | might have overshared a little | 23:14 |
rburton | https://docs.yoctoproject.org/kernel-dev/common.html#incorporating-out-of-tree-modules | 23:14 |
rburton | follow that if you're not already | 23:14 |
rburton | if you are then congratulation you've found broken makefiles, and you need to fix them | 23:14 |
* rburton -> bed | 23:14 | |
merit | I'm following that, but I get this in my build log as the makefile line called: | 23:15 |
merit | make -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" modules | 23:15 |
merit | vOv | 23:15 |
merit | I'll figure it out | 23:15 |
merit | https://stackoverflow.com/questions/60923890/how-to-build-linux-kernel-module-using-yocto-sdk/67335209#67335209 < says I need to add kernel headers to sdk | 23:15 |
mischief | /lib/modules/5.15.0-97-generic is your host kernel? | 23:16 |
merit | thanks for all the pointers | 23:16 |
merit | it's been invaluable | 23:16 |
merit | yeah | 23: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 #yocto | 23:17 | |
mischief | i *think* its supposed to be pointing into .. build/tmp/work-shared/$MACHINE/kernel-source | 23:17 |
mischief | perhaps your module makefile hardcodes /lib/modules/$(uname -r), or you forgot to pass it in in your recipe.. | 23:18 |
merit | https://ctxt.io/2/AACIoR8sFg | 23:22 |
merit | not much to the module recipe | 23:22 |
merit | https://github.com/Aquantia/AQtion/blob/master/Makefile | 23:23 |
merit | nobody hardcoding against any headers in particular | 23:23 |
merit | unless | 23:23 |
merit | KDIR isn't being set | 23:24 |
merit | https://github.com/Aquantia/AQtion/blob/master/Makefile#L26 | 23:24 |
merit | ofc | 23:25 |
mischief | perhaps you can stuff it in EXTRA_OEMAKE | 23:55 |
mischief | we have a class in our layer that just replaces do_compile for out of tree modules, since most of ours have broken makefiles | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!