| *** KNERD <KNERD!~KNERD@user/knerd> has quit IRC (Remote host closed the connection) | 00:22 | |
| *** KNERD <KNERD!~KNERD@2602:ff16:2:0:1:2c:0:1> has joined #oe | 00:22 | |
| *** Leatherface <Leatherface!~leatherfa@helvetet.eu> has quit IRC (Ping timeout: 268 seconds) | 01:02 | |
| *** Leatherface <Leatherface!~leatherfa@helvetet.eu> has joined #oe | 01:03 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.) | 01:14 | |
| *** Leatherface <Leatherface!~leatherfa@helvetet.eu> has quit IRC (Ping timeout: 248 seconds) | 01:54 | |
| *** Leatherface <Leatherface!~leatherfa@helvetet.eu> has joined #oe | 01:55 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe | 02:30 | |
| *** troth <troth!~troth@c-24-8-35-226.hsd1.co.comcast.net> has quit IRC (Ping timeout: 248 seconds) | 04:23 | |
| *** troth <troth!~troth@c-24-8-35-226.hsd1.co.comcast.net> has joined #oe | 04:27 | |
| *** Net147_ <Net147_!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has quit IRC (Quit: Quit) | 04:34 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.) | 04:35 | |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 04:36 | |
| *** kroon <kroon!~kroon@89-253-118-72.customers.ownit.se> has joined #oe | 04:52 | |
| *** camus <camus!~Instantbi@2409:8a1e:911c:7f00:1c58:e994:83d7:4365> has quit IRC (Ping timeout: 268 seconds) | 05:56 | |
| *** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #oe | 06:10 | |
| *** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Ping timeout: 256 seconds) | 06:15 | |
| *** camus <camus!~Instantbi@183.192.142.69> has joined #oe | 06:16 | |
| *** mvlad <mvlad!~mvlad@2a02:2f08:4114:c500:24d7:51ff:fed6:906d> has joined #oe | 06:19 | |
| *** darkapex <darkapex!~darkapex@user/darkapex> has joined #oe | 06:21 | |
| *** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #oe | 06:27 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe | 06:30 | |
| *** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has joined #oe | 06:51 | |
| *** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe | 06:55 | |
| *** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds) | 07:08 | |
| *** mckoan|away is now known as mckoan | 07:15 | |
| *** dev1990 <dev1990!~dev@dynamic-78-8-240-254.ssp.dialog.net.pl> has joined #oe | 07:27 | |
| *** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #oe | 07:43 | |
| mort | are you supposed to be able to include a directory from `files/` with `SRC_URI = "file://somedir/"`? | 08:40 |
|---|---|---|
| mort | it kinda seems to halfway work but sometimes fail | 08:41 |
| JaMa | yes you need to list them all individually AFAIK | 08:46 |
| JaMa | as bonus it will include their signatures to know when the recipe needs to be rebuilt | 08:46 |
| mort | that's a bit annoying | 08:49 |
| mort | so when you just have a ton of files, you actually do need to tar them up | 08:49 |
| esben[m] | Or you could put them in a separate git repository... | 08:50 |
| mort | well, sure | 08:50 |
| mort | that's not really doable in this particular situation but that'd usually be the right approach | 08:50 |
| mort | well it's doable but not desirable | 08:51 |
| *** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe | 09:06 | |
| mort | do_populate_sdk fails because opkg tries to install a package "rkwifibt-firwmare-dev" which requires "rkwifibt-firmware" which apparently doesn't have any providers. I don't need firmware in the SDK image. How can I ask bitbake to not install rkwifibt-firmware-dev to the SDK? | 11:02 |
| mort | `TOOLCHAIN_TARGET_TASK_remove = "rkwifibt-firmware"` or `TOOLCHAIN_TARGET_TASK_remove = "rkwifibt-firmware-dev"` in the image recipe has no effect | 11:02 |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Ping timeout: 246 seconds) | 11:08 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe | 11:14 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Client Quit) | 11:16 | |
| *** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 11:22 | |
| *** maelcum <maelcum!~horst@2001:9e8:264:3700:34b7:a969:4110:71f1> has joined #oe | 11:23 | |
| JaMa | RDEPENDS:${PN}-dev = "" in rkwifibt-firmware.bb is usually better fix | 11:37 |
| mort | doesn't it make sense that rkwifibt-firmware-dev depends on rkwifibt-firmware tho? | 11:37 |
| JaMa | mort: the remove on TOOLCHAIN_TARGET_TASK won't work as rkwifibt-firmware-dev nor rkwifibt-firmware probably aren't in TOOLCHAIN_TARGET_TASK just transitive dependency of something else | 11:38 |
| mort | so you can't just ask bitbake not to install it | 11:39 |
| JaMa | PN-dev depends on PN by default, but some recipes have empty PN (which isn't created) and then changing the default RDEPENDS:${PN}-dev to empty makes more sense than creating useless empty PN package | 11:39 |
| JaMa | you need to find where this dependency is added and fix it there, TOOLCHAIN_TARGET_TASK isn't the right place | 11:39 |
| mort | in this case, it seems like PN is empty but it provides ${PN}-ap6398sv-wifi and ${PN}-ap6398sv-bt | 11:39 |
| mort | but why does the -dev package exist if the non-dev package doesn't | 11:40 |
| JaMa | because there is single -dev and -dbg package called PN-dev and PN-dbg | 11:40 |
| mort | but why would it think that when PN itself doesn't exist | 11:42 |
| mort | anyways, I'll try out RDEPENDS:${PN}-dev = "" | 11:44 |
| JaMa | it's just the default, see https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.conf#n352 | 11:44 |
| JaMa | most recipes have PN package and this default makes sense, recipes which don't create PN should set it to empty, there is no magic to set RDEPENDS only if the target package actually exists | 11:45 |
| mort | alright | 11:46 |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe | 11:52 | |
| mort | for static libraries, does it make sense for ${PN}-dev to RDEPEND on ${PN}-staticdev? | 12:01 |
| mort | if I want the SDK to contain the static library | 12:02 |
| JaMa | PN-staticdev already depends on PN-dev, so you would create circular dependency | 12:17 |
| mort | but the SDK doesn't by default include PN-staticdev | 12:18 |
| *** codavi <codavi!~akiCA@user/akica> has joined #oe | 12:45 | |
| *** ar__ <ar__!~akiCA@user/akica> has joined #oe | 12:46 | |
| *** codavi <codavi!~akiCA@user/akica> has quit IRC (Ping timeout: 248 seconds) | 12:50 | |
| *** otavio <otavio!~otavio@201-3-135-79.user3p.brasiltelecom.net.br> has quit IRC (Remote host closed the connection) | 12:55 | |
| *** ar__ <ar__!~akiCA@user/akica> has quit IRC (Ping timeout: 256 seconds) | 13:09 | |
| *** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has quit IRC (Ping timeout: 256 seconds) | 13:39 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe | 14:02 | |
| *** kroon <kroon!~kroon@89-253-118-72.customers.ownit.se> has quit IRC (Quit: Leaving) | 14:04 | |
| *** pbergin <pbergin!~pbergin@83.218.73.98> has joined #oe | 14:07 | |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Quit: Quit) | 14:25 | |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 14:28 | |
| *** troth <troth!~troth@c-24-8-35-226.hsd1.co.comcast.net> has quit IRC (Ping timeout: 272 seconds) | 14:30 | |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Client Quit) | 14:30 | |
| *** emrius <emrius!~emrius@dslb-178-003-195-224.178.003.pools.vodafone-ip.de> has joined #oe | 14:34 | |
| emrius | Good afternoon, I was wondering if somebody could give me a hand here: https://stackoverflow.com/questions/71788272/how-to-unpack-a-zip-file-in-bitbakes-do-unpack-method | 14:35 |
| emrius | I fetched a source and need to run `unzip` on it in the `do_unpack` job but `unzip` cant be found. | 14:35 |
| emrius | (the root of the problem might be that I'm doing something wrong when cusotmizing the fetcher in the `do_fetch` job, though, as described here: https://stackoverflow.com/questions/71769720/add-specific-header-to-bitbake-wget-fetcher/71771071#71771071 but I'm not sure) | 14:37 |
| *** troth <troth!~troth@c-24-8-35-226.hsd1.co.comcast.net> has joined #oe | 14:44 | |
| *** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe | 14:45 | |
| emrius | Found the solution | 14:46 |
| emrius | It has to be DEPENDS += "unzip-native", not DEPENDS = "unzip-native" (which leaves me a bit puzzled, but it works now...) | 14:46 |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 14:56 | |
| rburton | that's also wrong :) | 14:58 |
| rburton | DEPENDS sets the dependencies for do_configure, which is too early for unpack | 14:58 |
| emrius | ahaa | 14:58 |
| emrius | good to know | 14:58 |
| rburton | if there is a .zip file in the SRC_URI then bitbake automatically adds a dependency on unzip-native | 14:59 |
| emrius | Surprisingly it works (if I prefix with `${bindir}/env unzip` | 14:59 |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Client Quit) | 14:59 | |
| rburton | yes, it run the host unzip then | 14:59 |
| rburton | no | 14:59 |
| rburton | huh | 14:59 |
| emrius | also good to know :) | 14:59 |
| emrius | hmm | 15:00 |
| rburton | most likely just because the sysroot got populated | 15:00 |
| rburton | does your SRC_URI have a filename with .zip in? | 15:00 |
| emrius | Well, then the problem is rooted in this issue: https://stackoverflow.com/questions/71769720/add-specific-header-to-bitbake-wget-fetcher/71771071#71771071 | 15:00 |
| emrius | does your SRC_URI have a filename with .zip in? -> No | 15:00 |
| rburton | that would be why it doesn't do it | 15:00 |
| rburton | do_fetch[depends] += "unzip-native:do_populate_sysroot" | 15:00 |
| rburton | oh, better | 15:01 |
| rburton | set the downloadfilename parameter in the src-uri so it gets named something.zip | 15:01 |
| rburton | then you get the dependency automatically, and it unpacks for you | 15:01 |
| emrius | Problem is with the SRC_URI that I'm pulling an artifact from a git repos CI pipeline via an API that doesn't define the artifact name as such | 15:02 |
| emrius | set the downloadfilename parameter in the src-uri so it gets named something.zip -> NICE! | 15:02 |
| emrius | I didn't see that parameter | 15:02 |
| emrius | give a minute... | 15:02 |
| rburton | hardknott/honister/kirkstone all support looking in there for the file type | 15:04 |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 15:07 | |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Remote host closed the connection) | 15:07 | |
| emrius | ah mmm im on dunfell on this project. gromp | 15:09 |
| emrius | grmpf | 15:09 |
| rburton | easily backported if you care enough | 15:11 |
| rburton | poky 99c49bae5a42e378688a831cc336970a60272759 | 15:11 |
| emrius | ah but this should be already there | 15:11 |
| emrius | ah yeah thanks | 15:11 |
| rburton | (oe-core 2881875da12ac8db3db67e4a45e511169e0e2820) | 15:12 |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 15:12 | |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Remote host closed the connection) | 15:13 | |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 15:16 | |
| *** Net147 <Net147!~Net147@user/net147> has quit IRC (Client Quit) | 15:18 | |
| *** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe | 15:21 | |
| *** otavio <otavio!~otavio@201-3-135-79.paemt705.dsl.brasiltelecom.net.br> has joined #oe | 15:46 | |
| sotaoverride | o | 15:54 |
| *** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat) | 16:32 | |
| *** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 248 seconds) | 16:37 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 16:38 | |
| *** emrius <emrius!~emrius@dslb-178-003-195-224.178.003.pools.vodafone-ip.de> has quit IRC (Quit: Leaving...) | 16:39 | |
| *** mckoan is now known as mckoan|away | 16:44 | |
| *** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has joined #oe | 17:44 | |
| *** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds) | 18:11 | |
| *** mvlad <mvlad!~mvlad@2a02:2f08:4114:c500:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection) | 18:47 | |
| *** florian <florian!~florian@78.48.45.94> has joined #oe | 18:51 | |
| *** florian <florian!~florian@78.48.45.94> has quit IRC (Ping timeout: 246 seconds) | 18:56 | |
| *** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has quit IRC (Ping timeout: 256 seconds) | 19:27 | |
| *** florian <florian!~florian@78.48.45.94> has joined #oe | 19:43 | |
| *** pbergin <pbergin!~pbergin@83.218.73.98> has quit IRC (Quit: Leaving) | 20:39 | |
| *** florian <florian!~florian@78.48.45.94> has quit IRC (Ping timeout: 268 seconds) | 21:29 | |
| *** dev1990 <dev1990!~dev@dynamic-78-8-240-254.ssp.dialog.net.pl> has quit IRC (Quit: Konversation terminated!) | 23:31 | |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!