Friday, 2022-04-08

*** 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 #oe00:22
*** Leatherface <Leatherface!~leatherfa@helvetet.eu> has quit IRC (Ping timeout: 268 seconds)01:02
*** Leatherface <Leatherface!~leatherfa@helvetet.eu> has joined #oe01: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 #oe01:55
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe02: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 #oe04: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 #oe04:36
*** kroon <kroon!~kroon@89-253-118-72.customers.ownit.se> has joined #oe04: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 #oe06: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 #oe06:16
*** mvlad <mvlad!~mvlad@2a02:2f08:4114:c500:24d7:51ff:fed6:906d> has joined #oe06:19
*** darkapex <darkapex!~darkapex@user/darkapex> has joined #oe06:21
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #oe06:27
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe06:30
*** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has joined #oe06:51
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe06: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 mckoan07:15
*** dev1990 <dev1990!~dev@dynamic-78-8-240-254.ssp.dialog.net.pl> has joined #oe07:27
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #oe07:43
mortare you supposed to be able to include a directory from `files/` with `SRC_URI = "file://somedir/"`?08:40
mortit kinda seems to halfway work but sometimes fail08:41
JaMayes you need to list them all individually AFAIK08:46
JaMaas bonus it will include their signatures to know when the recipe needs to be rebuilt08:46
mortthat's a bit annoying08:49
mortso when you just have a ton of files, you actually do need to tar them up08:49
esben[m]Or you could put them in a separate git repository...08:50
mortwell, sure08:50
mortthat's not really doable in this particular situation but that'd usually be the right approach08:50
mortwell it's doable but not desirable08:51
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe09:06
mortdo_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 effect11: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 #oe11: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 #oe11:23
JaMaRDEPENDS:${PN}-dev = "" in rkwifibt-firmware.bb is usually better fix11:37
mortdoesn't it make sense that rkwifibt-firmware-dev depends on rkwifibt-firmware tho?11:37
JaMamort: 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 else11:38
mortso you can't just ask bitbake not to install it11:39
JaMaPN-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 package11:39
JaMayou need to find where this dependency is added and fix it there, TOOLCHAIN_TARGET_TASK isn't the right place11:39
mortin this case, it seems like PN is empty but it provides ${PN}-ap6398sv-wifi and ${PN}-ap6398sv-bt11:39
mortbut why does the -dev package exist if the non-dev package doesn't11:40
JaMabecause there is single -dev and -dbg package called PN-dev and PN-dbg11:40
mortbut why would it think that when PN itself doesn't exist11:42
mortanyways, I'll try out RDEPENDS:${PN}-dev = ""11:44
JaMait's just the default, see https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.conf#n35211:44
JaMamost 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 exists11:45
mortalright11:46
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe11:52
mortfor static libraries, does it make sense for ${PN}-dev to RDEPEND on ${PN}-staticdev?12:01
mortif I want the SDK to contain the static library12:02
JaMaPN-staticdev already depends on PN-dev, so you would create circular dependency12:17
mortbut the SDK doesn't by default include PN-staticdev12:18
*** codavi <codavi!~akiCA@user/akica> has joined #oe12:45
*** ar__ <ar__!~akiCA@user/akica> has joined #oe12: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 #oe14: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 #oe14: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 #oe14: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 #oe14:34
emriusGood 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-method14:35
emriusI 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 #oe14:44
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe14:45
emriusFound the solution14:46
emriusIt 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 #oe14:56
rburtonthat's also wrong :)14:58
rburtonDEPENDS sets the dependencies for do_configure, which is too early for unpack14:58
emriusahaa14:58
emriusgood to know14:58
rburtonif there is a .zip file in the SRC_URI then bitbake automatically adds a dependency on unzip-native14:59
emriusSurprisingly it works (if I prefix with `${bindir}/env unzip`14:59
*** Net147 <Net147!~Net147@user/net147> has quit IRC (Client Quit)14:59
rburtonyes, it run the host unzip then14:59
rburtonno14:59
rburtonhuh14:59
emriusalso good to know :)14:59
emriushmm15:00
rburtonmost likely just because the sysroot got populated15:00
rburtondoes your SRC_URI have a filename with .zip in?15:00
emriusWell, then the problem is rooted in this issue: https://stackoverflow.com/questions/71769720/add-specific-header-to-bitbake-wget-fetcher/71771071#7177107115:00
emriusdoes your SRC_URI have a filename with .zip in? -> No15:00
rburtonthat would be why it doesn't do it15:00
rburtondo_fetch[depends] += "unzip-native:do_populate_sysroot"15:00
rburtonoh, better15:01
rburtonset the downloadfilename parameter in the src-uri so it gets named something.zip15:01
rburtonthen you get the dependency automatically, and it unpacks for you15:01
emriusProblem 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 such15:02
emriusset the downloadfilename parameter in the src-uri so it gets named something.zip  -> NICE!15:02
emriusI didn't see that parameter15:02
emriusgive a minute...15:02
rburtonhardknott/honister/kirkstone all support looking in there for the file type15:04
*** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe15:07
*** Net147 <Net147!~Net147@user/net147> has quit IRC (Remote host closed the connection)15:07
emriusah mmm im on dunfell on this project. gromp15:09
emriusgrmpf15:09
rburtoneasily backported if you care enough15:11
rburtonpoky 99c49bae5a42e378688a831cc336970a6027275915:11
emriusah but this should be already there15:11
emriusah yeah thanks15:11
rburton(oe-core 2881875da12ac8db3db67e4a45e511169e0e2820)15:12
*** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #oe15: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 #oe15: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 #oe15:21
*** otavio <otavio!~otavio@201-3-135-79.paemt705.dsl.brasiltelecom.net.br> has joined #oe15:46
sotaoverride o15: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|away16:44
*** florian <florian!~florian@dynamic-078-048-045-094.78.48.pool.telefonica.de> has joined #oe17: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 #oe18: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 #oe19: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/!