*** JaMa <JaMa!~martin@ip-109-238-218-228.aim-net.cz> has quit IRC (Ping timeout: 256 seconds) | 00:02 | |
*** JaMa <JaMa!~martin@ip-109-238-218-228.aim-net.cz> has joined #yocto | 00:02 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe) | 00:03 | |
*** florian_kc <florian_kc!~florian@dynamic-078-048-098-044.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds) | 00:12 | |
*** speeder <speeder!~speeder__@78.137.195.161> has quit IRC (Remote host closed the connection) | 00:15 | |
*** yannd <yannd!~yann@88-120-44-86.subs.proxad.net> has quit IRC (Remote host closed the connection) | 00:16 | |
*** mattsm8 <mattsm8!~mattsm@104-189-170-210.lightspeed.austtx.sbcglobal.net> has joined #yocto | 00:18 | |
*** mattsm <mattsm!~mattsm@104-189-170-210.lightspeed.austtx.sbcglobal.net> has quit IRC (Ping timeout: 252 seconds) | 00:20 | |
*** mattsm8 is now known as mattsm | 00:20 | |
*** tlhonmey <tlhonmey!~tlhonmey@174.31.43.243> has joined #yocto | 00:21 | |
*** tlhonmey <tlhonmey!~tlhonmey@174.31.43.243> has quit IRC (Client Quit) | 00:25 | |
*** zwelch <zwelch!~zwelch@192.173.156.26> has joined #yocto | 00:48 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has joined #yocto | 01:05 | |
*** mattsm <mattsm!~mattsm@104-189-170-210.lightspeed.austtx.sbcglobal.net> has quit IRC (Ping timeout: 255 seconds) | 01:07 | |
merit | say I've got some patches for the kernel that I need to apply - if I wanted to do that, I'd go find my kernel recipe and write a .bbappend that adds "SRC_URI" entries and "do_patch:append" definitions? | 01:22 |
---|---|---|
rbox | i haven't been doing anyting with do_patch | 01:23 |
xphn | yeah, you just need to add the patches to SRC_URI; the default do_patch will handle applying the patches (https://docs.yoctoproject.org/ref-manual/tasks.html#do-patch) | 01:24 |
merit | ohhh right - fetcher can patch | 01:25 |
merit | what if the patches are inside a git repo? | 01:25 |
merit | then I would have to "do_patch:append", right? | 01:25 |
*** mattsm <mattsm!~mattsm@209.36.98.250> has joined #yocto | 01:25 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 01:26 | |
xphn | the fetcher's not involved in the patching, iirc, so you should still just be able to append the patches to SRC_URI | 01:30 |
merit | or | 01:30 |
merit | hm | 01:30 |
merit | ohh | 01:30 |
merit | wait | 01:30 |
merit | so how do I reference the patches? | 01:30 |
merit | do I use another recipe to grab the archive and unpack it? | 01:30 |
merit | wait, I mean, checkout the repo | 01:30 |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Ping timeout: 256 seconds) | 01:40 | |
merit | that's where I'm getting lost - if I had patch files locally checked in, I'd just specify them in the patches | 01:43 |
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 272 seconds) | 01:48 | |
merit | https://stackoverflow.com/questions/50035143/in-yocto-how-to-include-header-files-from-another-recipes < Looks promising | 01:59 |
merit | so I guess I just "install" the patches to some place and add that recipe as a dependency in that same bbappend | 02:00 |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 02:10 | |
*** jatedev <jatedev!~jatedev@63.148.217.19> has quit IRC (Quit: Client closed) | 02:19 | |
*** starblue <starblue!~juergen@dslb-088-078-106-153.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 246 seconds) | 02:21 | |
*** mattsm <mattsm!~mattsm@209.36.98.250> has quit IRC (Quit: The Lounge - https://thelounge.chat) | 02:22 | |
*** mattsm <mattsm!~mattsm@209.36.98.250> has joined #yocto | 02:23 | |
*** starblue <starblue!~juergen@dslb-088-078-108-218.088.078.pools.vodafone-ip.de> has joined #yocto | 02:23 | |
*** jclsn <jclsn!~jclsn@2a04:4540:652b:7300:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 240 seconds) | 02:27 | |
*** tokamak <tokamak!~Tokamak@129.80.5.79> has quit IRC (Quit: ZNC 1.8.2+deb2build5 - https://znc.in) | 02:28 | |
*** jclsn <jclsn!~jclsn@2a04:4540:6512:fa00:2ce:39ff:fecf:efcd> has joined #yocto | 02:29 | |
*** tokamak <tokamak!~Tokamak@2603:c020:4004:f00:59d7:d5e1:201e:845f> has joined #yocto | 02:31 | |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto | 03:05 | |
*** pedrowiski__ <pedrowiski__!~pedrowisk@user/pedrowiski> has joined #yocto | 03:21 | |
*** pedrowiski_ <pedrowiski_!~pedrowisk@user/pedrowiski> has quit IRC (Ping timeout: 264 seconds) | 03:24 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 260 seconds) | 03:33 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 03:35 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 255 seconds) | 03:39 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto | 03:40 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has quit IRC (Read error: Connection reset by peer) | 03:41 | |
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto | 03:44 | |
*** mulk <mulk!~mulk@pd951476c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds) | 04:20 | |
*** mulk <mulk!~mulk@p5b2dc406.dip0.t-ipconnect.de> has joined #yocto | 04:21 | |
*** rsalveti <rsalveti!uid117878@id-117878.uxbridge.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 04:46 | |
*** mulk <mulk!~mulk@p5b2dc406.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds) | 04:48 | |
*** mulk <mulk!~mulk@p5b2dc4c2.dip0.t-ipconnect.de> has joined #yocto | 04:52 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 05:33 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…) | 05:56 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 05:58 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-37-142-115-196-7.dsl.bell.ca> has quit IRC (Ping timeout: 252 seconds) | 06:01 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has quit IRC (Ping timeout: 240 seconds) | 06:04 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has joined #yocto | 06:15 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…) | 06:16 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 06:17 | |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto | 06:18 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has joined #yocto | 06:21 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 06:28 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Remote host closed the connection) | 06:29 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 06:30 | |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 268 seconds) | 06:33 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto | 06:42 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Remote host closed the connection) | 06:43 | |
merit | so how does one make a recipe only install files to the sysroot for other recipes to use? | 06:45 |
merit | (and not to the system) | 06:45 |
thomas_34 | Hi, is it somehow possible to view a complete recipe or machine-configuration with all merged include/required files? | 06:49 |
thomas_34 | Is there a special command for bitbake, or some intermediate file which I can look at it? | 06:49 |
merit | "bitbake-layers show-recipes" should give you something of what you want | 06:50 |
merit | I'm not very good with this still, so I can't do better than that, soz | 06:50 |
*** rfuentess <rfuentess!~rfuentess@154.45.232.215> has joined #yocto | 06:51 | |
thomas_34 | merit, i think that doesnt do what I want to achieve. For example a machine configuration is scattered into 10 different files across 3-4 layers. I just want to see a complete version of it in a single file. | 06:53 |
*** zpfvo <zpfvo!~fvo@i59F5CF41.versanet.de> has joined #yocto | 06:59 | |
*** ray-san <ray-san!~ray-san@195.50.168.194> has joined #yocto | 07:10 | |
yocton | thomas_34: "bitbake -e <recipe>" will give you the final value of *all* variables/tasks (plus where does it come from) | 07:12 |
*** Daanct12 <Daanct12!~danct12@user/danct12> has quit IRC (Quit: WeeChat 4.2.1) | 07:13 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…) | 07:14 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has joined #yocto | 07:14 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 07:20 | |
thomas_34 | yocton okay. Thanks :) | 07:22 |
*** linfax <linfax!~linfax@eumail.topcon.com> has joined #yocto | 07:25 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 07:25 | |
*** davidinux <davidinux!~davidinux@194.34.233.166> has quit IRC (Read error: Connection reset by peer) | 07:37 | |
*** davidinux <davidinux!~davidinux@194.34.233.166> has joined #yocto | 07:42 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…) | 07:44 | |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto | 07:58 | |
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:d4d1:59a2:92e7:9066> has joined #yocto | 08:03 | |
*** frieder <frieder!~frieder@i577B91A0.versanet.de> has joined #yocto | 08:05 | |
*** mckoan|away is now known as mckoan | 08:25 | |
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto | 08:47 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 08:56 | |
LetoThe2nd | rburton: my kas builds are basically nodistro, and check out bitbake into open embedded-core like this: https://github.com/TheYoctoJester/meta-mender-community/blob/c6c049c8736778123378e79f64605ce3e07f7baf/kas/include/mender-base.yml#L13. Lately I see a lot of build failures, and I guess this is because kas tries to simultaneously fetch, and then git borks out because the openembedded-core directory already exists. | 08:57 |
LetoThe2nd | rburton: how do you handle this? or just test against poky? | 08:57 |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 08:57 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 09:06 | |
*** davidinux <davidinux!~davidinux@194.34.233.166> has quit IRC (Read error: Connection reset by peer) | 09:06 | |
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.85> has quit IRC (Remote host closed the connection) | 09:06 | |
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.85> has joined #yocto | 09:07 | |
*** olani <olani!~olani@wlan-gw.se.axis.com> has quit IRC (Remote host closed the connection) | 09:09 | |
*** olani- <olani-!~olani@wlan-gw.se.axis.com> has quit IRC (Remote host closed the connection) | 09:09 | |
*** davidinux <davidinux!~davidinux@194.34.233.166> has joined #yocto | 09:12 | |
*** olani <olani!~olani@wlan-gw.se.axis.com> has joined #yocto | 09:40 | |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 09:55 | |
rburton | LetoThe2nd: can you share the failed log? | 10:21 |
rburton | LetoThe2nd: its normally fine with reusing an existing git repo (we've added stuff for CI to cache repos locally so the initial fetch is faster) | 10:22 |
LetoThe2nd | rburton: yup, I've ripped that right out of meta-arm | 10:24 |
LetoThe2nd | rburton: example: https://hastebin.com/share/udacuqozin.bash | 10:27 |
rburton | i'd start by not using the cached repos thing because it adds more complication to the fetch | 10:27 |
LetoThe2nd | rburton: yeah technically right but it also speeds up the build nicely | 10:29 |
rburton | i'd look at /__w/meta-mender-community/meta-mender-community/gh/libretech-cc/openembedded-core and figure out why kas wanted to clone onto it: if its a git repo then it would fetch inside that, not re-clone | 10:30 |
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Quit: Client closed) | 10:33 | |
LetoThe2nd | rburton: not sure what you mean. the kas include is super straightforward: https://github.com/TheYoctoJester/meta-mender-community/blob/kirkstone/kas/include/mender-base.yml | 10:35 |
LetoThe2nd | rburton: by the ordering one would expect openembedded-core to be cloned first, then bitbake into a subdirectory. | 10:37 |
rburton | oh! kas fetches in parallel | 10:37 |
rburton | just put bitbake alongside oe-core | 10:37 |
LetoThe2nd | rburton: alongside? | 10:38 |
rburton | don't set path: in the bitbake clone | 10:38 |
LetoThe2nd | rburton: ok but then I need additional magic for it to work, right? | 10:38 |
rburton | not actually sure how to use oe-core+bitbake with kas. it might probe to find where bitbake actually is. | 10:40 |
LetoThe2nd | rburton: so you're in the poky camp too? | 10:41 |
rburton | for ease | 10:41 |
LetoThe2nd | rburton: might do the same then. | 10:41 |
*** starblue <starblue!~juergen@dslb-088-078-108-218.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 255 seconds) | 11:05 | |
*** olani <olani!~olani@wlan-gw.se.axis.com> has quit IRC (Remote host closed the connection) | 11:07 | |
*** starblue <starblue!~juergen@dslb-088-078-108-218.088.078.pools.vodafone-ip.de> has joined #yocto | 11:07 | |
*** olani <olani!~olani@wlan-gw.se.axis.com> has joined #yocto | 11:08 | |
*** speeder <speeder!~speeder__@213.205.68.220> has joined #yocto | 11:21 | |
*** aardo <aardo!~ardo@host-79-12-64-95.retail.telecomitalia.it> has joined #yocto | 11:28 | |
*** ardo <ardo!~ardo@host-79-19-42-185.retail.telecomitalia.it> has quit IRC (Ping timeout: 260 seconds) | 11:29 | |
*** zeddii <zeddii!~zeddii@174.112.62.108> has quit IRC (Ping timeout: 272 seconds) | 11:30 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 11:39 | |
*** zeddii <zeddii!~zeddii@174.112.62.108> has joined #yocto | 11:40 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 11:40 | |
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto | 11:46 | |
*** dkc <dkc!~dan@user/dkc> has quit IRC (Remote host closed the connection) | 11:57 | |
*** dkc <dkc!~dan@user/dkc> has joined #yocto | 11:59 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has quit IRC (Ping timeout: 260 seconds) | 12:12 | |
*** dgriego <dgriego!~dgriego@user/dgriego> has quit IRC (Ping timeout: 260 seconds) | 12:14 | |
*** Daanct12 <Daanct12!~danct12@user/danct12> has quit IRC (Quit: WeeChat 4.2.1) | 12:16 | |
*** luc4 <luc4!~luca@2a00:6d43:501:1201:efd5:1f1:db60:9aa3> has joined #yocto | 12:17 | |
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto | 12:23 | |
rburton | RP: so we don't actually do any ptest runs with poky-altcfg | 12:29 |
rburton | that could be 'interesting' | 12:29 |
ablu | rburton: I think it is the /var/tmp -> /var/volatile symlink that it does not like here? It gets further if I kill it, but it fails with something else later then... | 12:29 |
rburton | ablu: yeah that's about as far as i got, ripped out the link so its writing to a real disk not a tmpfs. | 12:31 |
ablu | rburton: So you are looking at the next failure then? Seems to be "exec-ioschedulingclass-none.service." failing here. | 12:32 |
rburton | hm i didn't see that. maybe you did get further than me! | 12:32 |
rburton | feel free to carry on :) | 12:33 |
rburton | ah hm the meson that installs the tests basically says the install may be broken if it can't use rsync, so maybe add rsync-native to DEPENDS and see if that helps | 12:35 |
rburton | (or change test/meson.build as it says in the comment) | 12:35 |
ablu | rburton: How did you link that to the test failure? | 12:38 |
rburton | i wondered where that service file comes from | 12:39 |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has joined #yocto | 12:41 | |
ablu | hm. The log looks like it exists but just fails (for whatever reason): https://pastebin.linaro.org/view/862ed561 | 12:41 |
rburton | I need to login for that link :) | 12:41 |
ablu | Uh what... | 12:42 |
ablu | https://paste.centos.org/view/de792422 | 12:42 |
rburton | ExecStart=sh -x -c 'c=$$(LC_ALL=C ionice); test "$${c%%:*}" = "none" -o "$${c%%:*}" = "best-effort"' | 12:43 |
rburton | ionice! | 12:43 |
ablu | heh, just came to the same result :P | 12:44 |
rburton | depend on util-linux-ionice | 12:44 |
rburton | (rdepend) | 12:44 |
RP | rburton: we don't, no. It was hard enough to manage ptest runs at all until fairly recently | 12:45 |
rburton | RP: i'll let my machine do a ptest of at least ptest-fast this afternoon to see if it actually passes | 12:45 |
*** dgriego <dgriego!~dgriego@user/dgriego> has joined #yocto | 12:51 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 12:58 | |
ablu | rburton: You can add "util-linux-unshare" to that list. | 12:59 |
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto | 12:59 | |
* ablu kicks off another build during lunch | 12:59 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 13:00 | |
rburton | ablu: for testing, install all of util-linux and see what fails then | 13:00 |
*** joekale <joekale!~quassel@2620:a2:6000:13:4e01:27b0:96b6:48d> has joined #yocto | 13:00 | |
RP | rburton: the question is how many different combinations do we want on the AB. Musl would be nice with ptest too | 13:07 |
rburton | indeed | 13:08 |
*** luc4 <luc4!~luca@2a00:6d43:501:1201:efd5:1f1:db60:9aa3> has quit IRC (Quit: Konversation terminated!) | 13:11 | |
ablu | rburton: seems to succeed with unshare + ionice (and the /var/tmp hack) | 13:31 |
rburton | yay | 13:32 |
rburton | so it doesn't like doing the ioctls on a tmpfs i guess? | 13:32 |
ablu | Not exactly sure what the problem there was. I think strace showed an ordinary mount syscall failing. So I think it failed while setting up the unpriviledged environment? | 13:33 |
*** paw <paw!~afong@198-84-204-38.cpe.teksavvy.com> has joined #yocto | 13:34 | |
ablu | yeah: | 13:35 |
ablu | [pid 247] openat(AT_FDCWD, "/var/tmp", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 3 | 13:35 |
ablu | [pid 247] mount("tmpfs", "/proc/self/fd/3", "tmpfs", MS_NOSUID|MS_NODEV, NULL) = -1 ENOTDIR (Not a directory) | 13:35 |
ablu | I guess the NO_FOLLOW breaks it here? | 13:36 |
rburton | ah yeah that sounds reasonable | 13:36 |
rburton | systemd will say that /var/tmp should be a real directory and definitely not a link to a tmpfs :) | 13:36 |
*** jatedev <jatedev!~jatedev@63.148.217.19> has joined #yocto | 13:47 | |
*** roussinm <roussinm!~mroussin@142.115.196.7> has joined #yocto | 14:04 | |
*** rsalveti <rsalveti!uid117878@id-117878.uxbridge.irccloud.com> has joined #yocto | 14:08 | |
Ad0 | mckoan, still having the keyboard issue . must have to do something with bash vs busybox sh and ssh | 14:11 |
*** linfax <linfax!~linfax@eumail.topcon.com> has quit IRC (Ping timeout: 272 seconds) | 14:18 | |
*** belsirk <belsirk!~rfuentess@154.45.232.215> has joined #yocto | 14:34 | |
*** rfuentess <rfuentess!~rfuentess@154.45.232.215> has quit IRC (Read error: Connection reset by peer) | 14:36 | |
*** belsirk <belsirk!~rfuentess@154.45.232.215> has quit IRC (Remote host closed the connection) | 14:36 | |
*** belsirk <belsirk!~rfuentess@154.45.232.215> has joined #yocto | 14:36 | |
*** belsirk is now known as rfuentess | 14:37 | |
*** Chach_Deenu <Chach_Deenu!~Noor@147.161.161.3> has joined #yocto | 14:37 | |
jdiez | I'm trying to compile a rust program that depends on a rust library. I have written recipes for both inheriting from `cargo`, and put the library as an `DEPENDS` of the app. The library seems to compile correctly, but I get a "error: no matching package named `jdiez-cargo-lib`" found. It seems it only searches the crates.io index | 14:41 |
*** Noor <Noor!~Noor@147.161.161.3> has quit IRC (Ping timeout: 264 seconds) | 14:41 | |
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto | 14:42 | |
*** Chach_Deenu <Chach_Deenu!~Noor@147.161.161.3> has quit IRC (Ping timeout: 260 seconds) | 14:42 | |
jdiez | also, the library does get deployed to tmp/work/<triple>/<recipe>/recipe-sysroot/usr/lib/rustlib correctly | 14:48 |
jdiez | perhaps I should specify the dependency in SRC_URI as a `crate://<host?>/ | 14:51 |
jdiez | <libname>/<version>`? | 14:51 |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has quit IRC (Ping timeout: 250 seconds) | 15:04 | |
ablu | jdiez: yes, add it to SRC_URI. Rust builds statically against the version specified in your .lock file. Note that there is cargo-update-recipe-crates.bbclass which helps you to generate the dependency references. | 15:11 |
*** gchamp <gchamp!~champagne@ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca> has quit IRC (Quit: WeeChat 3.8) | 15:13 | |
jdiez | ablu: not sure what I should specify for host, though. `crate://jdiez-cargo-lib/0.1.0` is an invalid reference | 15:13 |
jdiez | ERROR: jdiez-cargo-app-0.1.0-r0 do_fetch: Bitbake Fetcher Error: ParameterError('Invalid URL: Must be crate://HOST/NAME/VERSION', 'crate://jdiez-cargo-lib/0.1.0') | 15:13 |
jdiez | (my crate is not published on crates.io or other repository) | 15:14 |
ablu | jdiez: feel free to look at https://git.yoctoproject.org/meta-virtualization/tree/recipes-extended/vhost-device/vhost-device-rng_0.1.0.bb, https://git.yoctoproject.org/meta-virtualization/tree/recipes-extended/vhost-device/vhost-device-rng-crates.inc as example | 15:15 |
*** Chach_Deenu <Chach_Deenu!~Noor@136.226.251.31> has joined #yocto | 15:15 | |
*** Noor <Noor!~Noor@147.161.161.3> has quit IRC (Read error: Connection reset by peer) | 15:15 | |
jdiez | yeah, that looks similar to what `cargo-bitbake` generates | 15:15 |
ablu | If the crate is not on crates.io it becomes a bit more annoying. It should be doable, but you will likely have to read cargo.bbclass and friends to make sure everything ends up in the right places. | 15:15 |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has joined #yocto | 15:16 | |
jdiez | yeah, so if I understand cargo_common correctly, it redirects the crates.io source mirror with the bitbake mirror, which should use the crates in CARGO_HOME/bitbake. I guess the question is how to make sure my dependency ends up there. Not sure if I should modify the library recipe or the app. | 15:19 |
*** Noor <Noor!~Noor@147.161.161.3> has joined #yocto | 15:19 | |
*** Chach_Deenu <Chach_Deenu!~Noor@136.226.251.31> has quit IRC (Ping timeout: 264 seconds) | 15:20 | |
ablu | I think I had to add some [patch] configs to make this work when I tried this. But for me that was only temporarily since I was able to publish to crates.io later. | 15:22 |
ablu | It _may_ become easier if you just add your lib as submodule and reference it by path... Otherwise, one could probably extend cargo[-common].bbclass to cover more use-cases. | 15:23 |
jdiez | thing is that I am trying to build rust libs in the context of a ROS2 workspace, which are dynamically generated via bindgen and such based on many factors, so publishing to crates.io would be somewhat impractical | 15:23 |
*** justache is now known as fotastache | 15:24 | |
jdiez | I'm thinking that a good way would be to deploy the library source to somewhere like /usr/share/src/rs/<rust-library-name>/{Cargo.toml,src/lib.rs} and add /usr/share/src/rs as a mirror to the Cargo config. Not sure if that's an anti-pattern | 15:26 |
tlwoerner | jonmason: did you say the Pi Store in Cambridge had them in stock? then why ship? | 15:28 |
ablu | jdiez: The problem is that you still need to overwrite the paths from your Cargo.toml. You can also clone multiple gits as part of your app build. It is mostly a matter of telling cargo where things is. That is doable with generating [patch] configurations, but it is not particulary pretty. | 15:28 |
ablu | Currently the helper classes only support easy overwriting of crates.io packages. | 15:29 |
ablu | https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html may help | 15:30 |
jonmason | tlwoerner: I was in Cambridge, then did a month of travel in Italy (and didn't want to carry it around) | 15:30 |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 15:31 | |
jonmason | I was already shipping back the OE demo. So it wasn't too much extra | 15:31 |
jonmason | but it was fun trying to ship a package in Brussels, as their English was almost as bad as my French (in the post office) | 15:32 |
jdiez | ablu: thanks, I will give this a try | 15:32 |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has quit IRC (Quit: Client closed) | 15:32 | |
jonmason | intersting enough, the Cambridge Raspberry Pi store doesn't stock the CM4's | 15:33 |
ablu | jdiez: found some of my old attempts here: https://gitlab.com/ablu/trs/-/commit/24a0ea402c743a7f31838087d417dfda3269e1c3#a34f67b236269018c300ec1f28d1ecbeb9b333db. Of course these were just hacks since I was working towards a crates.io publish. But it may provide some hints. | 15:33 |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 15:35 | |
jonmason | tlwoerner: when is meta-rockchip freezing for release? | 15:35 |
jonmason | I have some half baked changes that I need to fix | 15:35 |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 15:35 | |
jdiez | ablu: thanks! | 15:36 |
tlwoerner | jonmason: meta-rockchip has never frozen for a release. i've updated layer.conf, but that's about it | 15:39 |
jonmason | cool, there was a kernel issue when I was trying to get the doom demo working, and I was trying to get orange pi 5 working too | 15:41 |
jonmason | mad rush, so lots of half working stuff on my end | 15:42 |
tlwoerner | jonmason: or get an orangepi-5-plus | 15:44 |
tlwoerner | is that your only rockchip board? | 15:45 |
jonmason | tlwoerner: I have both | 15:45 |
jonmason | and was trying to enable both | 15:45 |
tlwoerner | nice! | 15:45 |
jonmason | the kernel support should be there for both | 15:45 |
jonmason | and u-boot | 15:45 |
tlwoerner | i think, on master, it's linux-yocto-dev? | 15:45 |
jonmason | it wasn't booting and I didn't have time to debug. I think the layout might've been hosed | 15:45 |
tlwoerner | not linux-yocto yet | 15:45 |
jonmason | It was on dev iirc | 15:46 |
jonmason | it had just been merged back in early jan | 15:46 |
jonmason | of course, these are stale memories | 15:46 |
*** rfuentess <rfuentess!~rfuentess@154.45.232.215> has quit IRC (Remote host closed the connection) | 15:46 | |
jonmason | it _should_ jsut take a few days | 15:46 |
tlwoerner | work memories had to be moved aside for Italy memories! (lol) | 15:47 |
tlwoerner | we were in Italy last year (around this time) | 15:47 |
jonmason | of course, Italy is great. I'm betting it's better for Canadians, because they think 15 C is cold | 15:48 |
tlwoerner | my avatar pic (in zoom) is from our Italy trip last year | 15:48 |
jonmason | I was walking around without a jacket and they were like it was Winnipeg in winter | 15:48 |
tlwoerner | haha! lol | 15:49 |
tlwoerner | my avatar pic was taken here: https://maps.app.goo.gl/4T5dHyRzWK2sMNWv9 | 15:51 |
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Remote host closed the connection) | 15:52 | |
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #yocto | 15:54 | |
*** frieder <frieder!~frieder@i577B91A0.versanet.de> has quit IRC (Read error: Connection reset by peer) | 16:08 | |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has joined #yocto | 16:09 | |
*** ray-san <ray-san!~ray-san@195.50.168.194> has quit IRC (Ping timeout: 246 seconds) | 16:14 | |
khem | RP: please stage - https://lists.openembedded.org/g/openembedded-core/message/196748?p=%2C%2C%2C100%2C0%2C0%2C0%3A%3Acreated%2C0%2Ckhem%2C100%2C2%2C0%2C104770310 as well, its a glibc version bump with three bug fixes to improve gcc-14 and tests | 16:16 |
*** jatedev <jatedev!~jatedev@63.148.217.19> has quit IRC (Quit: Client closed) | 16:19 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 16:21 | |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has quit IRC (Quit: Client closed) | 16:23 | |
*** sev99 <sev99!~sev99@172-100-114-080.res.spectrum.com> has joined #yocto | 16:32 | |
*** paw <paw!~afong@198-84-204-38.cpe.teksavvy.com> has quit IRC (Ping timeout: 255 seconds) | 16:39 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has joined #yocto | 16:41 | |
marex | khem: I'll be sending LVGL 9 updates to meta-oe soon-ish | 17:01 |
marex | khem: I will be dropping most of the LVGL recipes, since the LVGL got reworked considerably, some parts got squashed in, some are incompatible | 17:01 |
RP | khem: queued | 17:05 |
*** mckoan is now known as mckoan|away | 17:06 | |
*** nerdboy_ <nerdboy_!~nerdboy@47.143.129.208> has joined #yocto | 17:07 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 17:08 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 17:08 | |
*** speeder <speeder!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 268 seconds) | 17:09 | |
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 264 seconds) | 17:09 | |
*** nerdboy_ <nerdboy_!~nerdboy@47.143.129.208> has quit IRC (Client Quit) | 17:09 | |
*** nerdboy <nerdboy!~nerdboy@47.143.129.208> has joined #yocto | 17:10 | |
*** dmoseley <dmoseley!~dmoseley@d4-50-177-189.evv.wideopenwest.com> has joined #yocto | 17:13 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat) | 17:16 | |
*** fotastache <fotastache!~justache@user/justache> has left #yocto (bye?) | 17:16 | |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 268 seconds) | 17:18 | |
*** Noor <Noor!~Noor@147.161.161.3> has quit IRC (Quit: Leaving) | 17:19 | |
rburton | michaelo: so I've written a silly tool (like paul's git-annotate-web or whatever it was called) to review every commit and decide whether it should be in the docs or not. For every commit in master since the last release I've got a list of 133 which should mentioned in the docs somewhere (most in release notes). I guess I should send you this list! How would you like it? Just a list of title/commit SHAs or something else? | 17:36 |
*** florian_kc <florian_kc!~florian@dynamic-093-135-070-252.93.135.pool.telefonica.de> has joined #yocto | 17:55 | |
*** florian_kc <florian_kc!~florian@dynamic-093-135-070-252.93.135.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds) | 18:22 | |
*** rfs613 <rfs613!~rfs613@bras-base-otwaon1102w-grc-09-184-147-116-200.dsl.bell.ca> has quit IRC (Ping timeout: 240 seconds) | 18:36 | |
*** rfs613 <rfs613!~rfs613@184.147.116.200> has joined #yocto | 18:40 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds) | 18:49 | |
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto | 18:51 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 18:59 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 19:00 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Quit: WeeChat 4.2.1) | 19:05 | |
*** florian_kc <florian_kc!~florian@dynamic-093-135-070-252.93.135.pool.telefonica.de> has joined #yocto | 19:07 | |
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has quit IRC (Quit: Haxxa flies away.) | 19:15 | |
*** mulk <mulk!~mulk@p5b2dc4c2.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds) | 19:16 | |
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has joined #yocto | 19:17 | |
*** mulk <mulk!~mulk@pd95142da.dip0.t-ipconnect.de> has joined #yocto | 19:19 | |
*** jmd <jmd!~user@2001:a61:2aa0:ea01:fcec:2373:8649:cf16> has quit IRC (Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)) | 19:31 | |
*** yannd <yannd!~yann@88-120-44-86.subs.proxad.net> has joined #yocto | 19:46 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:22e0:9331:ba0:68aa> has joined #yocto | 19:53 | |
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…) | 20:09 | |
*** enok71 <enok71!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 20:28 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection) | 20:31 | |
enok71 | Can someone help me understand how to add overlays to a fitimage and make u-boot actually apply them at boot? | 20:38 |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 20:43 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto | 20:43 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Read error: Connection reset by peer) | 20:43 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 20:43 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has joined #yocto | 20:45 | |
dvergatal | does overrides in OVERRIDES are being choosen by some priority? | 20:46 |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor) | 20:59 | |
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto | 21:03 | |
*** zpfvo <zpfvo!~fvo@i59F5CF41.versanet.de> has quit IRC (Remote host closed the connection) | 21:24 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has quit IRC (Quit: Client closed) | 21:37 | |
*** Saur75 <Saur75!~Saur75@195.60.68.152> has joined #yocto | 21:38 | |
*** joekale <joekale!~quassel@2620:a2:6000:13:4e01:27b0:96b6:48d> has quit IRC (Ping timeout: 246 seconds) | 21:40 | |
*** pedrowiski__ is now known as pedrowiski | 21:40 | |
*** nerdboy <nerdboy!~nerdboy@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 260 seconds) | 22:15 | |
*** simonew <simonew!~ile@2a02:810d:a940:35fc:22e0:9331:ba0:68aa> has quit IRC (Ping timeout: 260 seconds) | 22:24 | |
*** nerdboy <nerdboy!~nerdboy@47.143.129.209> has joined #yocto | 22:27 | |
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:d4d1:59a2:92e7:9066> has quit IRC (Remote host closed the connection) | 22:29 | |
*** johnmcnuggets <johnmcnuggets!~johnmcnug@user/johnmcnuggets> has quit IRC (Remote host closed the connection) | 22:31 | |
merit | still kinda stuck - how does one install only to the buildroot and not the final system image? | 22:44 |
merit | I mean, sysroot | 22:44 |
neverpanic | just don't install the package in your image? | 22:45 |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 22:45 | |
neverpanic | Anything you have in DEPENDS of some recipe that gets built will be in that recipe's sysroot. Only packages you add to your image and their dependent packages end up in the image. | 22:45 |
merit | ha | 22:46 |
merit | okay | 22:46 |
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Quit: Leaving.) | 22:56 | |
*** enok71 <enok71!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok71) | 23:08 | |
*** enok71 <enok71!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 23:09 | |
merit | and once something is in the SYSROOT, what do I do to use it as a patchfile - just add to "SRC_URI"? | 23:16 |
rburton | patches are usually alongside the recipe, you want to apply a patch that another recipe has dropped into the sysroot? | 23:23 |
rburton | that's unconventional, to say the least | 23:23 |
rburton | https://git.yoctoproject.org/meta-arm/tree/meta-arm/classes/apply_local_src_patches.bbclass is a class that applies patches manually from a source tree, that could be used to grab patches from the sysroot. But I wonder if you actually mean sysroot. | 23:27 |
merit | all I really mean is | 23:31 |
merit | I want to checkout a git repo full of patch files and apply a folder-full of patches to each of a number of recipes | 23:32 |
merit | I'm trying to do it with a recipe that grabs the patches and an append for each of those other recipes to patch them | 23:32 |
merit | so I was "installing" the patches in the recipe I wrote and then trying to add the patches in ".bbappend" for stuff like the kernel | 23:33 |
rburton | wow, that's special, I dread to think what you're packaging that involves a git repo of patches | 23:33 |
vmeson | +100% | 23:34 |
rburton | i'd probably have a class that added that patches repo to SRC_URI instead, and then does something similar to the class above to apply the right patches | 23:34 |
vmeson | merit: it might be better if you told us what all these patches are doing and why you can't just send them upstream | 23:35 |
merit | the vocabulary words all parsed, but I can't understand how the verbs work | 23:35 |
merit | they're support for NDA-only hardware | 23:35 |
merit | lol | 23:35 |
merit | kernel patches, etc | 23:35 |
* vmeson throws up a little. | 23:36 | |
merit | at least I know I'm not insane to feel insane after a week or so of this | 23:36 |
merit | rburton: what do you mean by a class that patches "SRC_URI" and how does that differ from patching it in the bbappend file directly? | 23:37 |
rburton | i left out the word 'adds' | 23:37 |
rburton | SRC_URI:append = "git://horriblegitrepo.com/foo" | 23:37 |
rburton | but if you have a recipe that drops the patches in the sysroot, use that i guess | 23:38 |
rburton | just steal the class i pointed you at above, inherit that in your bbappend, set the source location to the right point in the sysroot, done | 23:38 |
merit | thanks | 23:41 |
merit | that's probably going to be less silly than what I have so far - https://ctxt.io/2/AACIbuYrFg | 23:41 |
rburton | you might not have noticed that doesn't actually put anything in the sysroot | 23:42 |
merit | I'm still parsing it, honestly | 23:42 |
merit | I haven't got a good mental model of bitbake yet | 23:42 |
rburton | the sysroot is a pruned copy of what the recipe installs, so you'll want to extend SYSROOT_DIRS with /atf/ /linux /u-boot/ | 23:42 |
rburton | when you do WORKDIR/git/ in do_install, you can just use ${S}/ | 23:43 |
rburton | and LIC_FILES_CHKSUM can be just file://readme.md;md5= as a relative URL is taken from ${S} | 23:44 |
merit | did notice that it doesn't actually install anything | 23:44 |
merit | to sysroot | 23:44 |
rburton | also DESCRIPTION = "${SUMMARY}" is redundant as that's the default | 23:44 |
rburton | see https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc#n232 for sysroot manipulation | 23:45 |
rburton | but its almost midnight so i'm outta here | 23:46 |
merit | o/ | 23:46 |
merit | thanks for the pointers | 23:46 |
*** germ <germ!~quassel@user/mipsel3> has quit IRC (Ping timeout: 255 seconds) | 23:47 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!