*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 00:07 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 00:07 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 00:18 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 00:29 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 00:34 | |
*** tgamblin__ is now known as tgamblin | 00:37 | |
*** creich_ <creich_!~creich@p200300F6AF01191078A6C8ED5BD4C802.dip0.t-ipconnect.de> has joined #yocto | 00:40 | |
*** creich <creich!~creich@p200300F6AF2B67104C095E9C594523EF.dip0.t-ipconnect.de> has quit IRC | 00:41 | |
*** pbb <pbb!~quassel@pbb.lc> has quit IRC | 00:48 | |
*** pbb <pbb!~quassel@pbb.lc> has joined #yocto | 00:48 | |
*** gtristan_ <gtristan_!~tristanva@110.11.227.189> has quit IRC | 01:17 | |
*** dmoseley <dmoseley!~dmoseley@24.214.86.237> has quit IRC | 01:32 | |
*** vmeson <vmeson!~rmacleod@192-0-133-244.cpe.teksavvy.com> has joined #yocto | 01:41 | |
*** dmoseley <dmoseley!~dmoseley@24.214.86.237> has joined #yocto | 01:42 | |
dp | Is there a nice tool for examining why BB thinks something should be rebuilt rather than pulled from sstate cache? | 01:45 |
---|---|---|
dp | e.g. telling which input to the signature changed since last build | 01:46 |
dp | Scratch that, found bitbake-diffsigs | 01:47 |
*** fl0v01 <fl0v01!~fvo@89.244.123.236> has joined #yocto | 02:05 | |
*** fl0v0 <fl0v0!~fvo@i59F44EC0.versanet.de> has quit IRC | 02:07 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 02:12 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 02:30 | |
*** YoctoAutoBuilder <YoctoAutoBuilder!~YoctoAuto@198.145.29.62> has quit IRC | 02:43 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 02:51 | |
*** YoctoAutoBuilder <YoctoAutoBuilder!~YoctoAuto@198.145.29.62> has joined #yocto | 02:55 | |
*** comptroller <comptroller!~comptroll@47-213-225-103.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 03:01 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 03:03 | |
*** comptroller_ <comptroller_!~comptroll@47-213-225-103.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 03:04 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 03:39 | |
*** jobroe <jobroe!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has joined #yocto | 04:25 | |
*** jobroe <jobroe!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has quit IRC | 04:29 | |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has joined #yocto | 04:29 | |
*** nhartman <nhartman!~Nathan22@2605:8d80:561:761c:933:67bb:6667:d89d> has joined #yocto | 04:43 | |
*** nhartman <nhartman!~Nathan22@2605:8d80:561:761c:933:67bb:6667:d89d> has quit IRC | 04:51 | |
*** nslu2-log_ <nslu2-log_!~nslu2-log@milla.nas-admin.org> has joined #yocto | 05:12 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has quit IRC | 05:12 | |
*** nslu2-log_ is now known as nslu2-log | 05:13 | |
*** AndersD <AndersD!~AndersD@h83-209-96-136.cust.a3fiber.se> has joined #yocto | 05:22 | |
*** AndersD_ <AndersD_!~AndersD@h83-209-96-136.cust.a3fiber.se> has joined #yocto | 05:23 | |
*** ibinderwolf <ibinderwolf!~quassel@host232-105-dynamic.31-79-r.retail.telecomitalia.it> has joined #yocto | 05:25 | |
*** AndersD <AndersD!~AndersD@h83-209-96-136.cust.a3fiber.se> has quit IRC | 05:26 | |
*** dv_ <dv_!~dv@62-178-50-190.cable.dynamic.surfer.at> has quit IRC | 05:28 | |
*** pharaon2502 <pharaon2502!~manjaro-u@cpe-188-129-77-144.dynamic.amis.hr> has joined #yocto | 05:29 | |
*** ttlr <ttlr!~ttlr@p54835C35.dip0.t-ipconnect.de> has joined #yocto | 05:41 | |
*** ttlr <ttlr!~ttlr@p54835C35.dip0.t-ipconnect.de> has quit IRC | 05:43 | |
*** dv_ <dv_!~dv@62.178.50.190> has joined #yocto | 05:43 | |
*** dreyna_ <dreyna_!~dreyna@2601:646:4201:b1a0:8404:254d:5376:ca30> has joined #yocto | 05:55 | |
*** dreyna <dreyna!~dreyna@2601:646:4201:b1a0:ccc1:6f1e:92e6:a7a5> has quit IRC | 05:59 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 05:59 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 05:59 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:00 | |
*** guerinoni <guerinoni!~guerinoni@host9-78-dynamic.251-95-r.retail.telecomitalia.it> has joined #yocto | 06:04 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 06:08 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:09 | |
*** agust <agust!~agust@pD95F11D0.dip0.t-ipconnect.de> has joined #yocto | 06:13 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 06:22 | |
*** ttlr <ttlr!~ttlr@p54835C35.dip0.t-ipconnect.de> has joined #yocto | 06:32 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:7d68:34ad:8b95:cbfe> has joined #yocto | 06:38 | |
*** pohly <pohly!~pohly@p5B05600C.dip0.t-ipconnect.de> has joined #yocto | 06:42 | |
*** jobroe_ <jobroe_!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has joined #yocto | 06:46 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 06:49 | |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has quit IRC | 06:49 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:49 | |
*** fl0v0 <fl0v0!~fvo@2a01:c23:6472:3000:1d27:5ef2:9a7a:3d6> has joined #yocto | 06:53 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 06:55 | |
*** jobroe_ <jobroe_!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has quit IRC | 06:56 | |
*** jobroe <jobroe!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has joined #yocto | 06:56 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 06:59 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:59 | |
*** jobroe <jobroe!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has quit IRC | 07:01 | |
*** jobroe_ <jobroe_!~manjaro-u@193.158.0.154> has joined #yocto | 07:01 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.31> has joined #yocto | 07:08 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 07:08 | |
*** nerdboy <nerdboy!~sarnold@47.143.129.113> has joined #yocto | 07:18 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 07:18 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 07:19 | |
*** gtristan_ <gtristan_!~tristanva@59.29.70.66> has joined #yocto | 07:23 | |
*** guillaume <guillaume!gscigalama@gateway/shell/matrix.org/x-mpndrdzbtlymgsem> has joined #yocto | 07:26 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 07:34 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 07:39 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 07:39 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 07:49 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 08:00 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 08:06 | |
*** zbooth <zbooth!~zbooth@2600:1f16:181:f300:d350:982:b6f5:216c> has quit IRC | 08:11 | |
*** zbooth <zbooth!~zbooth@2600:1f16:181:f300:d350:982:b6f5:216c> has joined #yocto | 08:11 | |
*** dreyna_ <dreyna_!~dreyna@2601:646:4201:b1a0:8404:254d:5376:ca30> has quit IRC | 08:15 | |
*** mckoan|away is now known as mckoan | 08:23 | |
mckoan | good morning | 08:23 |
*** spiel <spiel!~pi@ti0005q162-1117.bb.online.no> has joined #yocto | 08:23 | |
*** creich_ <creich_!~creich@p200300F6AF01191078A6C8ED5BD4C802.dip0.t-ipconnect.de> has quit IRC | 08:29 | |
*** creich <creich!~creich@p200300F6AF011910000000000000039B.dip0.t-ipconnect.de> has joined #yocto | 08:31 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 08:34 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 08:39 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 08:39 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 08:41 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 08:45 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 08:53 | |
*** fl0v0 <fl0v0!~fvo@2a01:c23:6472:3000:1d27:5ef2:9a7a:3d6> has quit IRC | 08:59 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 09:04 | |
*** RobertBerger <RobertBerger!~rber@ppp-2-84-14-167.home.otenet.gr> has joined #yocto | 09:05 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 09:08 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 09:09 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 09:13 | |
*** didile <didile!3ecab4b6@182.180.202.62.dynamic.cgnat.res.cust.swisscom.ch> has joined #yocto | 09:18 | |
*** mrpelotazo <mrpelotazo!~mrpelotaz@HSI-KBW-078-042-006-202.hsi3.kabel-badenwuerttemberg.de> has quit IRC | 09:21 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 09:22 | |
*** gtristan_ <gtristan_!~tristanva@59.29.70.66> has quit IRC | 09:22 | |
didile | hi | 09:24 |
*** mrpelotazo <mrpelotazo!~mrpelotaz@HSI-KBW-078-042-006-202.hsi3.kabel-badenwuerttemberg.de> has joined #yocto | 09:25 | |
didile | is that possible to add an IMAGE_FEATURE as a RDEPEND of a recipe? | 09:26 |
didile | like `x11-base` | 09:26 |
*** rburton <rburton!~rburton@134.191.227.37> has joined #yocto | 09:27 | |
mckoan | didile: maybe you can create your own distro | 09:30 |
didile | I did, but I want to be able to upgrade my old one and I'd like OPKG to install all needed X11 dependencies | 09:31 |
qschulz | didile: the principle is that, recipe configuration is local to the recipe. Image recipe is a recipe. Package recipe is a recipe. | 09:31 |
qschulz | didile: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#usingpoky-extend-customimage-imagefeatures IMAGE_FEATURES is for customizing the image recipe | 09:32 |
didile | ok | 09:32 |
didile | I tried x11-base and it didn't work | 09:32 |
didile | packagegroup-core-x11-base as a recipe dependency build | 09:32 |
qschulz | didile: packagegroup is only for runtime AFAIK | 09:33 |
qschulz | (I mean, it's an empty package which is just pulling a bunch of packages at runtime, it does not make sense as a build dependency) | 09:34 |
qschulz | what are you trying to achieve (the initial issue) and what is not working as you expected? | 09:34 |
didile | as RDEPENDS | 09:34 |
didile | I want to upgrade my package with `opkg upgrade` and I want the upgrade to pass well | 09:35 |
didile | my package need X11 but it isn't installed on the old image | 09:35 |
didile | I use an .Xsession file to start my app with the system and I want all the X11 dependencies to be installed | 09:35 |
didile | my package uses Electronjs | 09:36 |
didile | for now my recipe contains only those dependencies: | 09:36 |
didile | REQUIRED_DISTRO_FEATURES = "x11"inherit distro_features_checkRDEPENDS_${PN} += " \ nss \ gtk+3 \ cups \ alsa-lib \ libxscrnsaver \" | 09:36 |
*** gtristan <gtristan!~tristanva@223.62.204.76> has joined #yocto | 09:37 | |
didile | and i added x11-base to my image | 09:40 |
rburton | adding a dep to the image won't change already installed images | 09:40 |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 09:41 | |
didile | yes | 09:41 |
rburton | install the packagegroup explicitly on the target, or make a new packagegroup that installs both your app and everything else it needs in the system (such as a working x server) | 09:41 |
didile | so how can I upgrade an old image to fit the new one | 09:41 |
rburton | (ps use wayland) | 09:41 |
didile | ok | 09:42 |
rburton | so you have a packagegroup which is 'my app, fully working' not just the hard dependencies (the client libs). | 09:42 |
rburton | and if you want feeds to work for upgrades, remember to turn on the PR service | 09:43 |
didile | I see | 09:43 |
didile | what's the "PR service"? | 09:44 |
rburton | top hit of googling 'yocto pr service' is a big wiki page explaining it all | 09:45 |
didile | ok sounds powerful | 09:48 |
*** stew-dw <stew-dw!~stew-dw@2607:fb90:a23f:ce2d:9140:3820:8787:2100> has quit IRC | 09:50 | |
didile | I add a .Xsession file manually to start to app with X11 | 09:52 |
didile | is there a better way to do it? | 09:52 |
didile | I also add postinstall scripts to restart the xserver | 09:52 |
*** stew-dw <stew-dw!~stew-dw@172.58.87.21> has joined #yocto | 09:55 | |
*** amaury_d <amaury_d!~amaury_@lfbn-idf1-1-361-18.w86-195.abo.wanadoo.fr> has quit IRC | 10:02 | |
*** bradfa <bradfa!uid297668@gateway/web/irccloud.com/x-loedjkrqsknbderi> has joined #yocto | 10:04 | |
didile | when I install packagegroup-core-x11-base, I get an error: | 10:08 |
didile | Collected errors: * pkg_run_script: package "adwaita-icon-theme-symbolic" postinst script returned status 127. * opkg_configure: adwaita-icon-theme-symbolic.postinst returned 127. | 10:09 |
rburton | the error should have been above somewhere, i guess a missing dependency that is usually satisfied some other way | 10:20 |
didile | //var/lib/opkg/info/adwaita-icon-theme-symbolic.postinst: line 14: gtk-update-icon-cache: command not found | 10:22 |
rburton | yeah missing dep | 10:23 |
rburton | easily fixed in the recipe, you should fix and send a patch :) | 10:23 |
*** gtristan <gtristan!~tristanva@223.62.204.76> has quit IRC | 10:36 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 10:48 | |
*** gtristan <gtristan!~tristanva@223.62.204.76> has joined #yocto | 10:54 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto | 11:04 | |
didile | I have no idea how to fix it | 11:09 |
qschulz | didile: find the package who provides gtk-update-icon-cache and add it to RDEPENDS of adwaita-icon-theme-symbolic package I'd say? | 11:12 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:17 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has quit IRC | 11:19 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 11:25 | |
*** berton <berton!~berton@181.220.114.167> has joined #yocto | 11:30 | |
*** rburton <rburton!~rburton@134.191.227.37> has quit IRC | 11:33 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has joined #yocto | 11:33 | |
*** berton <berton!~berton@181.220.114.167> has quit IRC | 11:34 | |
*** rburton <rburton!~rburton@134.191.227.37> has joined #yocto | 11:35 | |
*** berton <berton!~berton@181.220.114.167> has joined #yocto | 11:35 | |
*** locutus_ <locutus_!~LocutusOf@5.171.136.143> has joined #yocto | 11:46 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 11:48 | |
*** Guest5222 <Guest5222!a5e14925@gateway/web/cgi-irc/kiwiirc.com/ip.165.225.73.37> has joined #yocto | 11:54 | |
*** Guest5222 is now known as PatrickE | 11:54 | |
didile | the gtk-update-icon-cache is present | 11:54 |
didile | but it runs an update-alternative and do it after adwaita-icon-theme needs it | 11:55 |
didile | gtk-update-icon-cache-3.0 -> gtk-update-icon-cache | 11:55 |
rburton | ah, fun | 11:57 |
rburton | file a bug please | 11:58 |
rburton | at least you can re-run the install and it will work now | 11:58 |
didile | https://pastebin.com/0fSSAQDj | 11:58 |
didile | yes a re-run works | 11:58 |
didile | //var/lib/opkg/info/adwaita-icon-theme-symbolic.postinst: line 14: gtk-update-icon-cache: command not found | 11:59 |
didile | then | 11:59 |
didile | update-alternatives: Linking /usr/bin/gtk-update-icon-cache to /usr/bin/gtk-update-icon-cache-3.0 | 11:59 |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC | 12:03 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 12:07 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has quit IRC | 12:09 | |
*** tgamblin_ <tgamblin_!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 12:09 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:09 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 12:11 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:12 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has quit IRC | 12:17 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:17 | |
*** tgamblin_ <tgamblin_!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 12:18 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has quit IRC | 12:20 | |
*** gtristan <gtristan!~tristanva@223.62.204.76> has quit IRC | 12:20 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 12:22 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has quit IRC | 12:23 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:24 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:26 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 12:26 | |
yocti | New news from stackoverflow: Bitbake do_package_qa error: Wrong location <https://stackoverflow.com/questions/61059422/bitbake-do-package-qa-error-wrong-location> | 12:27 |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@5.171.136.143> has joined #yocto | 12:28 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 12:28 | |
*** locutus_ <locutus_!~LocutusOf@5.171.136.143> has quit IRC | 12:28 | |
*** amaury_d <amaury_d!~amaury_@lfbn-idf1-1-361-18.w86-195.abo.wanadoo.fr> has joined #yocto | 12:29 | |
*** gtristan <gtristan!~tristanva@223.62.204.76> has joined #yocto | 12:31 | |
*** JaMa <JaMa!~martin@109.238.218.228> has joined #yocto | 12:33 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has joined #yocto | 12:34 | |
clementp[m] | Hi Yocto members. Do you have good examples (well written and organised) of Yocto distro to share. Thanks! | 12:41 |
rburton | meta-yoe? | 12:42 |
rburton | though poky is a good example. takes oe-core and adds a tiny customisation on top in meta-poky | 12:43 |
*** andycooper_home is now known as andycooper | 12:44 | |
*** andycooper is now known as andycooper_home | 12:44 | |
*** maudat <maudat!~moda@107-190-37-226.cpe.teksavvy.com> has joined #yocto | 13:03 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 13:03 | |
*** caiortp <caiortp!d57f6fca@gateway/web/cgi-irc/kiwiirc.com/ip.213.127.111.202> has joined #yocto | 13:05 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has quit IRC | 13:05 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has quit IRC | 13:06 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 13:08 | |
*** jobroe_ <jobroe_!~manjaro-u@193.158.0.154> has quit IRC | 13:10 | |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has joined #yocto | 13:10 | |
*** locutus_ <locutus_!~LocutusOf@5.171.136.230> has joined #yocto | 13:10 | |
*** pi2 <pi2!~pi@ti0005q162-1505.bb.online.no> has joined #yocto | 13:11 | |
*** meow` <meow`!~sbourdeli@147.ip-167-114-97.net> has joined #yocto | 13:11 | |
*** gtristan <gtristan!~tristanva@223.62.204.76> has quit IRC | 13:12 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 13:13 | |
*** spiel <spiel!~pi@ti0005q162-1117.bb.online.no> has quit IRC | 13:14 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 13:18 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has joined #yocto | 13:20 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has joined #yocto | 13:21 | |
*** pi____ <pi____!~pi@ti0005q162-1951.bb.online.no> has joined #yocto | 13:35 | |
*** guyk <guyk!82b9bb0d@130.185.187.13> has joined #yocto | 13:37 | |
guyk | hi guys ! | 13:38 |
*** pi_____ <pi_____!~pi@ti0005q162-1987.bb.online.no> has joined #yocto | 13:38 | |
*** pi2 <pi2!~pi@ti0005q162-1505.bb.online.no> has quit IRC | 13:38 | |
tgamblin | Hello | 13:39 |
*** pi____ <pi____!~pi@ti0005q162-1951.bb.online.no> has quit IRC | 13:40 | |
*** jobroe_ <jobroe_!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has joined #yocto | 13:40 | |
goliath | hi | 13:41 |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has quit IRC | 13:42 | |
guyk | I have a quick dnf question if you don't mind : I installed it for the first time and my image size doubled right away, from 300 to 600MB. I cannot find where this comes from, the new packages in the buildhistory's installed-package-sizes.txt take 40MB all together. | 13:48 |
guyk | Or does dnf install things which are not visible in this list maybe ? | 13:48 |
*** ssajal <ssajal!~ssajal@otwaon1146w-lp140-01-64-229-138-221.dsl.bell.ca> has joined #yocto | 13:49 | |
*** locutus_ <locutus_!~LocutusOf@5.171.136.230> has quit IRC | 13:50 | |
*** locutus_ <locutus_!~LocutusOf@5.171.137.96> has joined #yocto | 13:52 | |
clementp[m] | rburton: Thank you ! | 13:55 |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has joined #yocto | 13:59 | |
*** jobroe_ <jobroe_!~manjaro-u@p579EBAA5.dip0.t-ipconnect.de> has quit IRC | 13:59 | |
*** locutus_ <locutus_!~LocutusOf@5.171.137.96> has quit IRC | 14:02 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 14:02 | |
problame | I have two variants of local.conf, one for development builds (local.conf.dev) and one for production builds (local.conf.prod). Currently I have advise developers to move the local.conf.dev to local.conf, and to make sure that they never commit that change. However, this practice seems fishy. Is there any clean way to accomplish having two slightly different local.confs? | 14:05 |
qschulz | problame: what do you have in your local.conf which warrants two different ones? | 14:06 |
problame | qschulz: dev-vs-prod ssh authorized_keys entries, different packages installed, etc | 14:07 |
problame | I found https://www.yoctoproject.org/pipermail/yocto/2018-June/041372.html | 14:07 |
problame | Is that what I'm supposed to do? Create different distros? | 14:08 |
problame | hm, the people on the thready seem to agree that this is bad practice | 14:13 |
problame | I _could_ have two variants of my image recipe, one for dev and one for prod. However, that doesn't necessarily cover all the options I set in `local.conf` | 14:14 |
problame | (like, e.g. DISTRO_FEATURES) | 14:14 |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has quit IRC | 14:15 | |
*** PatrickE <PatrickE!a5e14925@gateway/web/cgi-irc/kiwiirc.com/ip.165.225.73.37> has quit IRC | 14:20 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.31> has quit IRC | 14:21 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.30> has joined #yocto | 14:22 | |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:616c:cc93:e23f:3ba7> has quit IRC | 14:23 | |
qschulz | problame: DISTRO_FEATURES changed? new distro :) Otherwise, you give a script which does the local.conf.dev > local.conf and you add local.conf to .gitignore? | 14:23 |
problame | qschulz: I want to do things right, so if creating a new distro is the way to go, that's what I'll do | 14:25 |
*** preminux <preminux!3eb2ddbb@62.178.221.187> has joined #yocto | 14:27 | |
rburton | curious what distro features you're changing for dev vs prod | 14:29 |
rburton | basically local.conf should only be *local* tweaks | 14:33 |
*** AndersD_ <AndersD_!~AndersD@h83-209-96-136.cust.a3fiber.se> has quit IRC | 14:33 | |
*** fl0v01 <fl0v01!~fvo@89.244.123.236> has quit IRC | 14:34 | |
*** armpit <armpit!~armpit@c-67-181-203-136.hsd1.ca.comcast.net> has joined #yocto | 14:36 | |
*** didile <didile!3ecab4b6@182.180.202.62.dynamic.cgnat.res.cust.swisscom.ch> has quit IRC | 14:38 | |
problame | rburton: yeah, i "inherited" that project from a code-drop from some other company | 14:39 |
problame | got deep into yocto over the past two weeks, still a lot to learn though, it seems to me that best practices are not really encouraged, even in many books about Yocto | 14:40 |
problame | (and it seems like the devs I inherited the project from built the entire product based on `local.conf` /o\ ) | 14:40 |
rburton | boo | 14:42 |
qschulz | we should have a hall of shame I think :D | 14:43 |
rburton | a lot of the time the dev image is just the normal image included into the recipe but extra packages and ssh/password/etc changes | 14:43 |
rburton | all of which is image-wide | 14:43 |
rburton | maybe switch packages to pull in different configurations | 14:43 |
rburton | if you really do need to change distro features for dev then have two distros and makes sure that the dev one simply includes the main one then adds what it needs, to ensure that they're mostly identical | 14:44 |
*** armpit <armpit!~armpit@c-67-181-203-136.hsd1.ca.comcast.net> has quit IRC | 14:47 | |
problame | rburton: the DISTRO_FEATURES question was more or less theoretical, although I don't really get why we have the concept of distros in addition to image recipes | 14:49 |
problame | if you have the time to spare, I'd be interested in learning about that | 14:50 |
rburton | distro is a wider scope that images | 14:50 |
rburton | you may well want more than one image | 14:50 |
rburton | a production and a development one, for starters | 14:50 |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:7591:2594:2b0c:ad> has joined #yocto | 14:50 | |
rburton | or an initramfs and the full filesystem | 14:50 |
*** frsc <frsc!~frsc@2003:a:e7a:6200:7d68:34ad:8b95:cbfe> has quit IRC | 14:52 | |
problame | and the relationship between distro and image is 1:many? | 14:53 |
problame | (also one practical question: when creating my own distro in meta-mycompany/conf/distroy/mydistroy.conf, do I need to `require` or `inherit` from something? I basically want `poky` but with a few tweaks to `DISTRO_FEATURES`, encapsulated in the mycompany layer | 14:55 |
qschulz | problame: https://www.youtube.com/watch?v=o-8g0TPVVGg | 14:55 |
*** flihp <flihp!~flihp@76.243.124.129> has joined #yocto | 14:55 | |
qschulz | problame: i'm not sure you want to inherit poky, it can drastically change if the project want between two releases. The point of poky AFAIU is to provide a test distro for build servers and tests. So for example, one day it might change to systemd as init system | 14:56 |
qschulz | problame: with LetoThe2nd example IIRC, a distro is a "choice of materials": legos or mechanos? an image is what you create with it: boat? car? house? | 14:58 |
problame | qschulz: as I said, I'm refactoring an existing project that was entirely in local.conf into a structure that follows yocto best practices | 15:00 |
problame | since the local.conf used poky as distroy, but changed some DISTRO_FEATURES, I want to make a lateral move (no changes, just code / config structure) | 15:00 |
problame | so... under that premis, do I need to require or inherit something? | 15:01 |
qschulz | problame: well yes, poky distro file then :) | 15:04 |
qschulz | problame: (BTW, we use poky and local.conf here as well, I still haven't found the time to migrate all this to our own distro :) ) | 15:05 |
qschulz | problame: if you're starting with Yocto, I highly recommend the tutorials on YP Youtube channel. Also, always try to find some info from the mega-manual, if there's one thing we cannot say about YP is that it has just basic documentation :) | 15:07 |
*** pharaon2502 <pharaon2502!~manjaro-u@cpe-188-129-77-144.dynamic.amis.hr> has quit IRC | 15:11 | |
problame | qschulz: compared to other embedded linux distros, the docs are fairly good imho | 15:12 |
problame | i usually avoid youtube due to signal/noise ration, but the channel seems worthwhile (maybe should be promoted more aggressively in the manuals?) | 15:13 |
problame | anyways: so how do I inherit from poky? | 15:13 |
JPEW | I like to think of a distro as the "policy" of a system (e.g. when separating "policy" vs "mechanism") | 15:14 |
JPEW | recipes are the mechainsm for doing things, but as a general rule shouldn't specify policy (other than a sane default), where as the distro should be describe policy, but avoid trying to implement mechansims | 15:15 |
problame | i could just `require conf/distro/defaultsetup.conf` (the project is still on 2.5 /o\) | 15:16 |
problame | ? | 15:16 |
kergoth | defaultsetup.conf is included already by bitbake.conf, and isn't poky | 15:17 |
kergoth | poky.conf defines poky | 15:17 |
kergoth | but inheriting fro another distro isn't always just a matter of pulling in its config, if you're using recipes with any distro-specific conditionals, you also want to adjust DISTROOVERRIDES so both those and your own are applied | 15:17 |
kergoth | and you might be better off just copying than inheriting, otherwise future changes to the base distro could cause problems for you | 15:18 |
*** amaury_d <amaury_d!~amaury_@lfbn-idf1-1-361-18.w86-195.abo.wanadoo.fr> has quit IRC | 15:19 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.30> has quit IRC | 15:21 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has joined #yocto | 15:22 | |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:7591:2594:2b0c:ad> has quit IRC | 15:25 | |
rburton | what kergoth said. start by copying poky.conf and then deleting the bits you don't need | 15:25 |
*** mlzy <mlzy!~martin@183.15.182.53> has quit IRC | 15:26 | |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:3cba:c7aa:4649:f688> has joined #yocto | 15:26 | |
*** caiortp <caiortp!d57f6fca@gateway/web/cgi-irc/kiwiirc.com/ip.213.127.111.202> has quit IRC | 15:27 | |
problame | kergoth: huh, I can't find a poky.conf in my tree (2.5) | 15:29 |
kergoth | unless you have meta-poky/meta-yocto, you probably aren't using poky at all. what's DISTRO set to in local.conf? | 15:29 |
*** mlzy <mlzy!~martin@183.15.182.53> has joined #yocto | 15:32 | |
problame | sry, found `poky.conf` after all, apparently `fdfind` is a bit too smart | 15:33 |
problame | (DISTRO was defaulting to `poky`, so that matches) | 15:34 |
problame | so, do I understand correctly that `defaultsetup.conf` is much less of a moving target than `poky.conf`? | 15:34 |
*** locutus_ <locutus_!~LocutusOf@5.171.137.169> has joined #yocto | 15:40 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 15:41 | |
*** ttlr <ttlr!~ttlr@p548356AC.dip0.t-ipconnect.de> has joined #yocto | 15:42 | |
*** ttlr <ttlr!~ttlr@p548356AC.dip0.t-ipconnect.de> has quit IRC | 15:43 | |
*** locutus__ <locutus__!~LocutusOf@5.171.137.96> has joined #yocto | 15:44 | |
*** Spock_ncc1701 <Spock_ncc1701!~Spock_ncc@185.128.27.133> has joined #yocto | 15:44 | |
*** martin1 <martin1!~martin@113.116.140.236> has joined #yocto | 15:46 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has quit IRC | 15:47 | |
*** locutus_ <locutus_!~LocutusOf@5.171.137.169> has quit IRC | 15:47 | |
*** pbb_ <pbb_!~quassel@2a01:4f8:221:2b46::20> has joined #yocto | 15:47 | |
*** pbb <pbb!~quassel@pbb.lc> has quit IRC | 15:48 | |
*** mlzy <mlzy!~martin@183.15.182.53> has quit IRC | 15:49 | |
*** preminux <preminux!3eb2ddbb@62.178.221.187> has quit IRC | 15:51 | |
rburton | problame: correct | 15:52 |
*** mckoan is now known as mckoan|away | 15:54 | |
* RP triggers 3.1 rc1 build | 15:55 | |
rburton | \o/ | 15:55 |
*** moto-timo <moto-timo!~ttorling@fsf/member/moto-timo> has quit IRC | 15:57 | |
*** moto-timo <moto-timo!~ttorling@fsf/member/moto-timo> has joined #yocto | 15:59 | |
*** martin1 <martin1!~martin@113.116.140.236> has quit IRC | 16:03 | |
JPEW | Yay! | 16:09 |
kergoth | What's the easiest way to get detailed results of oe-selftest runs? detailed logs? specifically the .sum/.log files of the toolchain suites? Hmm, guess i'll grab ${B} and go frmo there | 16:10 |
*** fl0v0 <fl0v0!~fvo@2a01:c23:6472:3000:1892:79a0:2c06:c7c7> has joined #yocto | 16:14 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 16:17 | |
tgamblin | RP: should I go ahead and revert those coreutils patches? | 16:18 |
RP | tgamblin: no | 16:19 |
RP | tgamblin: its a pain and we need to come up with better ways of dealing with this but if we were reverting we should have done it weeks ago | 16:19 |
tgamblin | RP: alright | 16:20 |
RP | kergoth: there is a testresults.json file with them all in? | 16:20 |
*** gtristan <gtristan!~tristanva@211.109.240.247> has joined #yocto | 16:25 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has quit IRC | 16:27 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has joined #yocto | 16:28 | |
*** JaMa <JaMa!~martin@109.238.218.228> has quit IRC | 16:29 | |
*** martin1 <martin1!~martin@113.116.140.236> has joined #yocto | 16:32 | |
*** martin1 <martin1!~martin@113.116.140.236> has quit IRC | 16:36 | |
problame | curious: an empty meta-mycompany/conf/distroy/mydistro.conf with IMAGE_FEATURES=ssh-server-openssh gives me a shell with _no prompt_ at all | 16:36 |
*** guyk <guyk!82b9bb0d@130.185.187.13> has quit IRC | 16:37 | |
*** ibinderwolf <ibinderwolf!~quassel@host232-105-dynamic.31-79-r.retail.telecomitalia.it> has quit IRC | 16:49 | |
opello | can i write and call a python helper function for the do_compile task in a recipe? not just for a variable assignment | 16:49 |
qschulz | opello: you can even have a full python task if you want | 16:50 |
opello | can i mix and match? | 16:50 |
opello | like a nominal do_compile() with shell script and a `python do_compile_prepend()`? | 16:50 |
qschulz | opello: I don't think so, the full task has to be | 16:51 |
*** Spock_ncc1701 <Spock_ncc1701!~Spock_ncc@185.128.27.133> has quit IRC | 16:51 | |
qschulz | opello: but you can call python functions from shell tasks, let me get you the thing | 16:51 |
opello | oh ok, nice, thanks! | 16:51 |
qschulz | opello: ${@mypythonfunction()} | 16:52 |
opello | ah yeah, it said that was for variable assignment, just ignoring the result is reasonable? | 16:52 |
qschulz | but beware, it is impossible to pass variables between tasks (if that was in your mind) | 16:52 |
opello | hm, i hadn't thought of the need to do that, but i'll file that away too :) | 16:53 |
qschulz | opello: we use it in shell but mainly check the returned value | 16:54 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 16:55 | |
*** locutus_ <locutus_!~LocutusOf@5.171.137.169> has joined #yocto | 16:57 | |
*** yann <yann!~yann@91-170-159-152.subs.proxad.net> has quit IRC | 16:59 | |
opello | hm, seems like it needs to wait until after fetch but is happening at parse time | 16:59 |
*** locutus__ <locutus__!~LocutusOf@5.171.137.96> has quit IRC | 17:00 | |
qschulz | opello: what do you want to do? what's the issue :) | 17:01 |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 17:03 | |
opello | heh sorry, i wrote a python function to manipulate some files in a silly, but required, way; they are in the SRC_URI; it's in essence a "compile" step from my perspective, so my do_compile() has the @{$helper(d.expand('${WORKDIR}/filename'), d.expand('${B}/filename')} and then calls gzip on the ${B} version; but the complaint is that the input doesn't exist (which i'm just testing my recipe with `bitbake-layers show-recipes` to trigger the ... | 17:04 |
opello | ... parse, so no fetch yet) | 17:04 |
opello | i flipped the $/@ in my written form, but it's correct in the recipe | 17:06 |
qschulz | opello: but the complaint is that the input doesn't exist (which i'm just testing my recipe with `bitbake-layers show-recipes` to trigger the ... | 17:07 |
qschulz | ? | 17:07 |
qschulz | how did you define your python function? | 17:07 |
qschulz | the exact "header" of the function is? | 17:07 |
opello | def remove_layers(base_file, target_file, output_file): | 17:08 |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has quit IRC | 17:08 | |
qschulz | but why would a bitbake-layers show-recipes trigger a file not found? | 17:10 |
qschulz | it shouldn't be executed at parse time | 17:10 |
opello | that's what i thought :/ | 17:10 |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 17:11 | |
*** yann <yann!~yann@185.123.26.202> has joined #yocto | 17:11 | |
qschulz | opello: mmmm what's d.expand supposed to do? | 17:11 |
opello | ExpansionError during parsing <recipe>: Failure expanding variable do_compile: ExpansionError: Failure expanding variable do_compile, expression was ${@remove_layers...}\n gzip -9 ... (then says IOError: [Errno 2] No such file or directory: <one of the files in ${WORKDIR}/...> | 17:12 |
opello | pass variables from the recipe to the helper? should i have to pass 'd' and use d.getVar or d.expand for that? | 17:12 |
qschulz | opello: wait... what is the xact line you're writing? | 17:13 |
qschulz | you should have do_compile_prepend() { ${@mypythonfunction()} } | 17:13 |
qschulz | not do_compile = ${@mypythonfunction()} | 17:13 |
opello | i just put it in the body of the do_compile; so my do_compile (shell version) is two lines, ${@...}\ngzip -9... | 17:14 |
opello | in essence the former from your examples | 17:14 |
opello | https://gist.github.com/opello/7a1cadaf09d721431e392ad054b644e6 | 17:15 |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has joined #yocto | 17:21 | |
qschulz | opello: I think you're trying to do too many things in your compile | 17:21 |
qschulz | just pass d to your python function | 17:21 |
qschulz | then d.getVar() | 17:21 |
qschulz | might need an import os somewhere | 17:21 |
*** nerdboy <nerdboy!~sarnold@47.143.129.114> has joined #yocto | 17:23 | |
opello | i just made a shim that does that, changed the error a bit, but still fails with: which triggered exception IOError: [Errno 2] No such file or directory: <path from workdir> | 17:23 |
opello | i was trying to avoid making a -native helper tool recipe that i'd ultimately depend on | 17:24 |
*** nerdboy <nerdboy!~sarnold@47.143.129.114> has quit IRC | 17:25 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 17:25 | |
qschulz | do you really need to do your thing in python :)? | 17:25 |
qschulz | opello: remove one parameter after the other and try to find the one which is messing up. But it's very confusing it's failing at parsing time | 17:26 |
opello | it's _a lot_ easier than doing it in a shell script :( | 17:27 |
opello | i think the failure is that ${@...} is evaluated at parse time, which does things that rely on files existing (like opening and reading them) but that can't happen because they aren't there yet (parse is way before fetch)? | 17:28 |
*** falk0n <falk0n!~falk0n@a95-93-70-118.cpe.netcabo.pt> has quit IRC | 17:28 | |
opello | i was just thinking i could add a new, custom task, defined in python, that used my helper function, and chain to to happen before do_compile? | 17:28 |
*** locutus__ <locutus__!~LocutusOf@5.171.137.62> has joined #yocto | 17:29 | |
yocti | New news from stackoverflow: Yocto cross compile Qt5 'qtConfig' is not a recognized test function <https://stackoverflow.com/questions/61065311/yocto-cross-compile-qt5-qtconfig-is-not-a-recognized-test-function> | 17:29 |
qschulz | opello: you need to handle the sstate-cache somehow, I wouldn't really recommend | 17:29 |
*** falk0n <falk0n!~falk0n@a81-84-41-184.cpe.netcabo.pt> has joined #yocto | 17:30 | |
qschulz | opello: start small. def myfunc(d): return "test" do_compile_prepend() { ${@myfunc(d)} odes this work? | 17:30 |
*** locutus_ <locutus_!~LocutusOf@5.171.137.169> has quit IRC | 17:31 | |
qschulz | opello: start small. def myfunc(d): return "test" do_compile_prepend() { ${@myfunc(d)} odes this work? | 17:31 |
qschulz | oopsie :) | 17:31 |
opello | yeah, it works, i see my print('hello world') after parse | 17:32 |
opello | which is a problem, i need to defer the python execution until the actual do_compile is run | 17:32 |
qschulz | FOO="${@myfunc(d)" in do _compile? | 17:33 |
opello | sure, so with that (i added a return after my print) i expect i'd see FOO="hello world" in the run.do_compile.sh | 17:35 |
qschulz | mmm so now that I read my code, it seems that we have functions which aren't dependent of when they're run | 17:38 |
qschulz | opello: so mmmm... No clue, I'd say it's expected behavior (to execute ${@func()} at parse time) but I wasn't aware of that, so either I forgot, didn't read it yet or it's not documented or I'm wrong :) | 17:39 |
qschulz | opello: can you try with do_compile[prefuncs] += "remove_layers"? heopfully you have access to d in there | 17:40 |
*** JaMa <JaMa!~martin@109.238.218.228> has joined #yocto | 17:40 | |
qschulz | yup, looks like it's possible :) | 17:41 |
opello | WARNING: Function call_remove_layers doesn't exist | 17:41 |
opello | (that's the shim that takes d only and uses getVar) | 17:41 |
opello | isn't this just side-stepping the tasks sysetm though? | 17:42 |
qschulz | no parameters to the function | 17:42 |
qschulz | d will be available in the context of the function without passing it | 17:42 |
opello | testing :) | 17:42 |
qschulz | but I've to say, gzip only in a compile looks fishy :) | 17:43 |
opello | yeah :( i'm not ready to defend what i'm actually trying to do ... | 17:43 |
opello | i keep getting WARNING: Function <my helper function> doesn't exist; whether it's a def foo(): or a python foo() {} | 17:44 |
*** warpme_ <warpme_!uid391875@gateway/web/irccloud.com/x-jvdzofvyhesxiqfb> has quit IRC | 17:49 | |
*** locutus__ <locutus__!~LocutusOf@5.171.137.62> has quit IRC | 17:49 | |
opello | huh, but i'm defining it just like rootfs_deb.bbclass does :/ | 17:52 |
*** kspr <kspr!~kasper@212.237.178.180> has quit IRC | 17:54 | |
*** Net147 <Net147!~Net147@119-18-5-146.771205.syd.nbn.aussiebb.net> has quit IRC | 17:55 | |
RP | opello: it might also depend where you're trying to run that | 17:55 |
*** Net147 <Net147!~Net147@119-18-5-146.771205.syd.nbn.aussiebb.net> has joined #yocto | 17:56 | |
opello | bitbake -e shows the body in a comment block ($call\n_remove[layers] ast.py...) and a body of None later on for the actual function expansion | 17:58 |
opello | seems like that naming is special, because if i put gibberish in, it preserves it | 17:59 |
RP | opello: do not use remove in the name | 18:00 |
RP | its a bitbake operator | 18:00 |
opello | ah yeah, heh, oops | 18:00 |
RP | (append, prepend and remove are special) | 18:00 |
* RP wishes we could spot those and warn :/ | 18:01 | |
opello | "this function looks suspiciously like a variable manipulation!" | 18:01 |
qschulz | opello: wait.... so you could maybe actually call your python function from your shell without "remove" in it? | 18:01 |
opello | i don't envy the difficulty :) | 18:01 |
RP | opello: I tried once before to add such warnings and failed :( | 18:02 |
opello | qschulz: i don't think it changes the time of execution issue though | 18:02 |
* RP needs to try harder, clearly :/ | 18:02 | |
qschulz | opello: mmmm correct | 18:02 |
opello | RP: just would have saved a little time here, i'm trained to check -e too late for my own good a lot it seems | 18:02 |
armpit | zeddii, sorry about the multiple kernel-cache submissions. I thought my email client was not set up properly | 18:02 |
qschulz | RP: while you're here :) we went for postfuncs because calling ${@func()} would generate some errors *at parsing time* | 18:03 |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.136.153> has joined #yocto | 18:03 | |
qschulz | RP: 19:12 opello| ExpansionError during parsing <recipe>: Failure expanding variable do_compile: ExpansionError: Failure expanding variable do_compile, expression was ${@remove_layers...}\n gzip -9 ... (then says IOError: [Errno 2] No such file or directory: <one of the files in ${WORKDIR}/...> | 18:03 |
*** curlybracket <curlybracket!~quassel@ip-89-176-35-52.net.upcbroadband.cz> has joined #yocto | 18:04 | |
qschulz | RP: ${@remove_layers(d.expand('${WORKDIR}/${DOCKER_BASE_FILE}'), d.expand('${WORKDIR}/${DOCKER_IMAGE_FILE}'), os.path.splitext(d.expand('${B}/${DOCKER_IMAGE_FILE}'))[0])} in do_compile | 18:04 |
opello | in this instance the ${@pythonfunc()} was opening a file that didn't exist yet, because fetch hadn't happened | 18:04 |
opello | (thus EIO) | 18:05 |
qschulz | RP: I dont' remember reading in the docs that python functions called like this are executed at parsing time? Is this correct? | 18:06 |
qschulz | this = my understanding of how this works | 18:06 |
*** amaury_d <amaury_d!~amaury_@lfbn-idf1-1-361-18.w86-195.abo.wanadoo.fr> has joined #yocto | 18:06 | |
*** problame_ <problame_!~quassel@quassel.hetzner1.cschwarz.com> has joined #yocto | 18:07 | |
*** ric96_ <ric96_!sid234506@gateway/web/irccloud.com/x-rpxdublwfzadoiro> has joined #yocto | 18:07 | |
*** ukembedded_ <ukembedded_!sid304355@gateway/web/irccloud.com/x-xfvgcdnykajsdfvw> has joined #yocto | 18:07 | |
*** ric96 <ric96!sid234506@gateway/web/irccloud.com/x-saqruqfhqxdvshag> has quit IRC | 18:08 | |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-rxoyzcuqaovuuifw> has quit IRC | 18:08 | |
*** problame <problame!~quassel@quassel.hetzner1.cschwarz.com> has quit IRC | 18:08 | |
*** ukembedded_ is now known as ukembedded | 18:08 | |
*** ric96_ is now known as ric96 | 18:08 | |
RP | qschulz: bitbake has to expand variables/functions at parse time to compute their hashes | 18:12 |
RP | qschulz: so yes, anon python will execute during parsing in many cases | 18:13 |
*** pbb_ <pbb_!~quassel@2a01:4f8:221:2b46::20> has quit IRC | 18:13 | |
RP | qschulz: The recent fix for SOURCE_DATE_EPOCH that went into bitbake a few hours ago is an example of a case where we defer it (not deferring it was leading to a similar FileNotFound bug) | 18:14 |
*** pbb <pbb!~quassel@2a01:4f8:221:2b46::20> has joined #yocto | 18:20 | |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.136.153> has quit IRC | 18:26 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 18:29 | |
*** martin1 <martin1!~martin@113.116.140.236> has joined #yocto | 18:33 | |
*** martin1 <martin1!~martin@113.116.140.236> has quit IRC | 18:40 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@5.171.137.9> has joined #yocto | 18:44 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 18:44 | |
*** rcw <rcw!~rcw@45.72.195.246> has joined #yocto | 18:48 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 18:54 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@5.171.137.9> has joined #yocto | 18:54 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 18:54 | |
*** pbb <pbb!~quassel@2a01:4f8:221:2b46::20> has quit IRC | 18:54 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 18:54 | |
*** ebail <ebail!~ebail@2a01cb089000af00a7a4ea50b7eddc65.ipv6.abo.wanadoo.fr> has joined #yocto | 18:54 | |
*** pbb <pbb!~quassel@2a01:4f8:221:2b46::20> has joined #yocto | 18:55 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 18:55 | |
ebail | Hi guys, I want to add ovs/dpdk to my Yocto image (zeus) with my own kernel recipe (4.19) but ovs of Zeus is compatible until Kernel 4.17 only. So I had to take ovs and dpdk from meta-{virtualization,dpdk} master branch | 18:58 |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 18:58 | |
ebail | but I have this weird failure: build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/recipe-sysroot-native/usr/bin/python3-native/python3, but no providers found in RDEPENDS_openvswitch? [file-rdeps]" | 18:59 |
ebail | I see that python3 is already defined as RDEPENDS: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-networking/openvswitch/openvswitch.inc?h=master | 19:00 |
ebail | Do I miss something obvious ? (all my cache was cleaned) | 19:00 |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 19:02 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 19:05 | |
*** pbb <pbb!~quassel@2a01:4f8:221:2b46::20> has quit IRC | 19:06 | |
*** pbb <pbb!~quassel@2a01:4f8:221:2b46::20> has joined #yocto | 19:08 | |
*** bradfa <bradfa!uid297668@gateway/web/irccloud.com/x-loedjkrqsknbderi> has quit IRC | 19:09 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 19:10 | |
qschulz | ebail: weird that it's taking python3 from recipe-sysroot-native for file-rdeps | 19:10 |
qschulz | (it seems like a wrong auto-RDEPENDS, it seems like one of your file has defined it's using recipe-sysroot-native/usr/bin/python3-native/python3 at runtime somehow, which isn't possible) | 19:15 |
ebail | qschulz: Thanks I only copy the files from the master branch without modifying them: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-networking/openvswitch | 19:18 |
ebail | QA file-rdeps complains about ovs-vtep file | 19:19 |
ebail | Indeed I don't understand its first location: | 19:20 |
ebail | $ find build/ -name ovs-vtep | 19:21 |
ebail | build/tmp/sysroots-components/votp/openvswitch/usr/share/openvswitch/scripts/ovs-vtep | 19:21 |
ebail | build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/packages-split/openvswitch/usr/share/openvswitch/scripts/ovs-vtep | 19:21 |
ebail | build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/package/usr/share/openvswitch/scripts/ovs-vtep | 19:21 |
ebail | build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/image/usr/share/openvswitch/scripts/ovs-vtep | 19:21 |
ebail | build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/sysroot-destdir/usr/share/openvswitch/scripts/ovs-vtep | 19:21 |
ebail | build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/build/vtep/ovs-vtep | 19:21 |
ebail | and: cat build/tmp/sysroots-components/votp/openvswitch/usr/share/openvswitch/scripts/ovs-vtep | head | 19:22 |
ebail | #! <cut here> yocto-bsp/build/tmp/work/votp-poky-linux/openvswitch/2.13+AUTOINC+71d553b995-r0/recipe-sysroot-native/usr/bin/python3-native/python3 | 19:22 |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 19:22 | |
yocti | New news from stackoverflow: Yocto cross compile Qt5 cstddef: No such file or directory <https://stackoverflow.com/questions/61065311/yocto-cross-compile-qt5-cstddef-no-such-file-or-directory> | 19:29 |
ebail | qschulz: I looks like the file use #! @PYTHON3@ (src: https://github.com/openvswitch/ovs/blob/master/vtep/ovs-vtep.in) | 19:31 |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.136.153> has joined #yocto | 19:34 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 19:34 | |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.136.153> has quit IRC | 19:35 | |
[Sno] | otavio: wow | 19:42 |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 19:44 | |
*** warpme_ <warpme_!uid391875@gateway/web/irccloud.com/x-xevfqemvbkzvphtx> has joined #yocto | 19:46 | |
otavio | [Sno]: ? | 19:52 |
*** falk0n <falk0n!~falk0n@a81-84-41-184.cpe.netcabo.pt> has quit IRC | 19:52 | |
*** falk0n <falk0n!~falk0n@a95-93-70-118.cpe.netcabo.pt> has joined #yocto | 19:53 | |
[Sno] | otavio: merged PR in the second I submitted it :D | 19:58 |
*** khem <khem!~khem@unaffiliated/khem> has quit IRC | 20:02 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 20:08 | |
otavio | [Sno]: the changes were simple | 20:17 |
*** fl0v0 <fl0v0!~fvo@2a01:c23:6472:3000:1892:79a0:2c06:c7c7> has quit IRC | 20:19 | |
*** khem <khem!~khem@unaffiliated/khem> has joined #yocto | 20:20 | |
[Sno] | otavio: linux-qoriq update to lsdk 20.04 I can do hopefully tomorrow | 20:27 |
[Sno] | if there is something else required to be updated, drop me a line - as long I'm in update-mood ;) | 20:28 |
*** rburton <rburton!~rburton@134.191.227.37> has quit IRC | 20:30 | |
*** martin1 <martin1!~martin@113.116.140.236> has joined #yocto | 20:36 | |
*** guerinoni <guerinoni!~guerinoni@host9-78-dynamic.251-95-r.retail.telecomitalia.it> has quit IRC | 20:38 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 20:40 | |
*** mauz555 <mauz555!~mauz555@2a01:e0a:56d:9090:54f6:d7e8:72cd:f296> has joined #yocto | 20:41 | |
*** martin1 <martin1!~martin@113.116.140.236> has quit IRC | 20:41 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 20:45 | |
*** RobertBerger <RobertBerger!~rber@ppp-2-84-14-167.home.otenet.gr> has quit IRC | 20:45 | |
*** RobertBerger <RobertBerger!~rber@ppp-2-86-136-67.home.otenet.gr> has joined #yocto | 20:49 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 21:08 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has joined #yocto | 21:08 | |
*** mauz555 <mauz555!~mauz555@2a01:e0a:56d:9090:54f6:d7e8:72cd:f296> has quit IRC | 21:14 | |
*** berton <berton!~berton@181.220.114.167> has quit IRC | 21:18 | |
*** JaMa <JaMa!~martin@109.238.218.228> has quit IRC | 21:25 | |
*** pohly <pohly!~pohly@p5B05600C.dip0.t-ipconnect.de> has quit IRC | 21:28 | |
*** nhartman <nhartman!~Nathan22@198-84-238-134.cpe.teksavvy.com> has quit IRC | 21:29 | |
*** Jas50 <Jas50!33ab06ea@51-171-6-234-dynamic.agg9.chf.chf-qkr.eircom.net> has joined #yocto | 21:30 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 21:34 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 21:40 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 21:41 | |
*** Jas50 <Jas50!33ab06ea@51-171-6-234-dynamic.agg9.chf.chf-qkr.eircom.net> has quit IRC | 21:49 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 21:52 | |
*** ssajal <ssajal!~ssajal@otwaon1146w-lp140-01-64-229-138-221.dsl.bell.ca> has quit IRC | 21:54 | |
*** ssajal <ssajal!~ssajal@otwaon1146w-lp140-01-64-229-138-221.dsl.bell.ca> has joined #yocto | 21:54 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 22:00 | |
*** maudat <maudat!~moda@107-190-37-226.cpe.teksavvy.com> has quit IRC | 22:17 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 22:21 | |
*** martin1 <martin1!~martin@113.116.140.236> has joined #yocto | 22:37 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 22:41 | |
*** martin1 <martin1!~martin@113.116.140.236> has quit IRC | 22:43 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 22:53 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 22:57 | |
*** rcw <rcw!~rcw@45.72.195.246> has quit IRC | 23:12 | |
*** rcw <rcw!~rcw@45.72.195.246> has joined #yocto | 23:13 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has quit IRC | 23:24 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.32> has joined #yocto | 23:25 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 23:26 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 23:35 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has joined #yocto | 23:46 | |
*** agust <agust!~agust@pD95F11D0.dip0.t-ipconnect.de> has quit IRC | 23:47 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 23:49 | |
*** timemaster <timemaster!~timemaste@cpc108963-cmbg20-2-0-cust781.5-4.cable.virginm.net> has quit IRC | 23:51 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 23:54 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!