Wednesday, 2022-11-23

RPJPEW: I mailed a table of performance metrics to bitbake-devel and cc'd you. That frozenset patch works well, shame it makes the other change look so much worse!00:07
*** florian_kc <florian_kc!~florian@dynamic-093-131-150-254.93.131.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds)00:11
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has joined #yocto00:21
*** dlan_ is now known as dlan00:22
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has left #yocto00:22
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has joined #yocto00:23
DvorkinDmitryis it possible to add dependancy do_image_MYTYPE[depends] = "mc:otherarch:somerecipe:do_populate_sysroot" ?00:23
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has left #yocto00:24
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has joined #yocto00:26
psjthis might be a trivial thing, but I'm still learning a lot of the nuances in Yocto -- I'm looking to grab a patch and apply it. Specifically, this patch seems to be addressing the problem I'm experiencing:00:27
psjhttps://www.yoctoproject.org/pipermail/yocto/2018-July/041841.html00:27
psjhow do I go about actually snagging this patch and applying it locally?00:27
vmesonpsj: I don't think it was ever merged so  you'd have to git clone meta-mingw, checkout sumo and snag the patch from your link if you want to use it yourself.00:41
vmesonsee https://git.yoctoproject.org/meta-mingw00:41
*** jlf` <jlf`!~jlf`@user/jlf> has joined #yocto00:51
jlf`hi #yocto - hoping someone can point the way toward installing a set of packages to an alternate location in the rootfs - for example rooted at ${D}/opt instead of ${D}, with those binaries showing up in /opt/usr/bin on the target instead of /usr/bin, etc.00:59
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-21-184-147-79-201.dsl.bell.ca> has quit IRC (Quit: Konversation terminated!)01:00
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 268 seconds)01:03
*** nemik <nemik!~nemik@162-245-20-117.PUBLIC.monkeybrains.net> has joined #yocto01:04
*** nemik <nemik!~nemik@162-245-20-117.PUBLIC.monkeybrains.net> has quit IRC (Ping timeout: 268 seconds)01:08
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto01:09
*** Tokamak <Tokamak!~Tokamak@166.205.152.130> has joined #yocto01:21
*** Tokamak_ <Tokamak_!~Tokamak@172.58.227.181> has quit IRC (Ping timeout: 256 seconds)01:23
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.)01:31
*** qschulz <qschulz!~weechat@ns326003.ip-37-187-106.eu> has quit IRC (Quit: qschulz)01:32
*** qschulz <qschulz!~weechat@ns326003.ip-37-187-106.eu> has joined #yocto01:35
*** davidinux <davidinux!~davidinux@95.251.15.59> has quit IRC (Ping timeout: 256 seconds)02:04
*** davidinux <davidinux!~davidinux@host-95-232-116-195.retail.telecomitalia.it> has joined #yocto02:05
*** starblue <starblue!~juergen@dslb-094-221-177-142.094.221.pools.vodafone-ip.de> has quit IRC (Ping timeout: 252 seconds)02:33
*** starblue <starblue!~juergen@dslb-178-006-091-196.178.006.pools.vodafone-ip.de> has joined #yocto02:35
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #yocto02:44
*** Tokamak_ <Tokamak_!~Tokamak@172.58.227.113> has joined #yocto03:13
*** Tokamak__ <Tokamak__!~Tokamak@166.205.152.179> has joined #yocto03:16
*** Tokamak <Tokamak!~Tokamak@166.205.152.130> has quit IRC (Ping timeout: 248 seconds)03:17
*** Tokamak_ <Tokamak_!~Tokamak@172.58.227.113> has quit IRC (Ping timeout: 256 seconds)03:19
*** Tokamak <Tokamak!~Tokamak@172.58.227.113> has joined #yocto03:29
*** Tokamak__ <Tokamak__!~Tokamak@166.205.152.179> has quit IRC (Ping timeout: 248 seconds)03:31
*** Tokamak_ <Tokamak_!~Tokamak@166.205.152.179> has joined #yocto03:32
psjvmeson: it only clicked when you sent your suggestion that sumo is literally the branch that particular patch exists in. That makes sense and I feel like a dope. THANK YOU!03:33
*** amitk <amitk!~amit@103.208.71.104> has joined #yocto03:34
*** Tokamak <Tokamak!~Tokamak@172.58.227.113> has quit IRC (Ping timeout: 256 seconds)03:34
*** jclsn <jclsn!~jclsn@2a04:4540:6507:d900:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 252 seconds)03:38
*** Tokamak_ <Tokamak_!~Tokamak@166.205.152.179> has quit IRC (Ping timeout: 248 seconds)03:39
*** jclsn <jclsn!~jclsn@2a04:4540:652c:e900:2ce:39ff:fecf:efcd> has joined #yocto03:39
*** Tokamak_ <Tokamak_!~Tokamak@166.205.152.179> has joined #yocto03:41
*** hcg <hcg!~hcg@213.55.241.64> has joined #yocto04:36
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.)05:23
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)05:31
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto05:32
*** chep` <chep`!~chep@82-65-36-115.subs.proxad.net> has joined #yocto05:58
*** chep <chep!~chep@82-65-36-115.subs.proxad.net> has quit IRC (Read error: Connection reset by peer)05:58
*** chep` is now known as chep05:58
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto05:59
*** tor <tor!~tor@user/tor> has joined #yocto06:00
*** camus <camus!~Instantbi@117.143.3.97> has joined #yocto06:33
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto06:37
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Quit: ZZZzzz…)06:45
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto06:46
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)06:48
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto06:48
*** camus <camus!~Instantbi@117.143.3.97> has quit IRC (Quit: camus)06:51
*** payam <payam!~payam@c83-250-236-236.bredband.tele2.se> has quit IRC (Quit: Leaving)06:52
*** camus <camus!~Instantbi@2409:8a1e:9122:21b0:6c68:409b:2837:d8eb> has joined #yocto06:53
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto07:23
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto07:23
*** mckoan|away is now known as mckoan07:48
mckoangood morning07:49
*** manuel1985 <manuel1985!~manuel198@185.144.162.58> has joined #yocto07:53
*** smooge <smooge!~Smooge@centos/qa/smooge> has quit IRC (Ping timeout: 260 seconds)07:54
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Ping timeout: 256 seconds)07:56
*** gho <gho!~gho@i59F5CEC2.versanet.de> has joined #yocto07:57
*** manuel1985 <manuel1985!~manuel198@185.144.162.58> has quit IRC (Ping timeout: 248 seconds)08:00
*** smooge <smooge!~Smooge@centos/qa/smooge> has joined #yocto08:02
*** payam <payam!~payam@c83-250-236-236.bredband.tele2.se> has joined #yocto08:04
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)08:13
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto08:14
*** manuel1985 <manuel1985!~manuel198@185.144.162.58> has joined #yocto08:17
*** goliath <goliath!~goliath@user/goliath> has joined #yocto08:17
*** Herrie <Herrie!~Herrie@110-31-146-85.ftth.glasoperator.nl> has quit IRC (Ping timeout: 248 seconds)08:20
*** amelius <amelius!~quassel@147.161.165.34> has joined #yocto08:24
*** smooge <smooge!~Smooge@centos/qa/smooge> has quit IRC (Ping timeout: 260 seconds)08:26
*** smooge <smooge!~Smooge@centos/qa/smooge> has joined #yocto08:33
*** d-fens <d-fens!~d-fens@5.10.7.173> has joined #yocto08:35
*** mvlad <mvlad!~mvlad@2a02:2f08:4503:c400:24d7:51ff:fed6:906d> has joined #yocto08:41
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto08:43
*** grma <grma!~gruberm@80.93.38.128> has quit IRC (Remote host closed the connection)08:44
*** Herrie <Herrie!~Herrie@110-31-146-85.ftth.glasoperator.nl> has joined #yocto08:47
*** phako[m] <phako[m]!~phakognom@2001:470:69fc:105::2:48a5> has joined #yocto08:50
phako[m]Hello! So I won the task of providing our software stack for a yocto-based product. Are there any best practices documents for setting up and maintaining software layers?08:57
landgrafphako[m]: was it tough competition? :D08:59
*** tomzy_0 <tomzy_0!~tomzy_0@84-10-27-202.static.chello.pl> has joined #yocto08:59
phako[m]" I need a volounteer - you!"08:59
*** janvermaete[m] <janvermaete[m]!~vermaetem@2001:470:69fc:105::ee7> has quit IRC (Quit: You have been kicked for being idle)09:00
jclsnWhy is Bitbake not accurately distributing the load?09:00
jclsnWe have a load average: 28,27, 22,60, 13,38 with 12 cores09:00
jclsnI would assume that without any settings Bitbake would try to make use of the cores as best as possible and not overload them09:02
mcfriskjclsn: kernel does that, not bitbake. bitbake just fires as many parallel processes as configure (by default number of threads etc on the system).09:04
mcfriskthose load numbers are normal, sometimes bitbake saturates the CPU and scheduler with tasks which can also be waiting for IO09:05
landgrafjclsn: bitbake does nothing about underlying compilation in the recipes09:06
landgrafjclsn: bitbake (well, it's not even bitbake but underlying app depending on package manager/configuration) distributes buiding of the recipes depending of the number of cores and the builder itself may spawn its own processes and so on and so far09:07
*** d-s-e <d-s-e!~d.s.e@muedsl-82-207-226-224.citykom.de> has joined #yocto09:08
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto09:10
*** rokm_ <rokm_!~rokm@freeshell.de> has quit IRC (Read error: Software caused connection abort)09:11
*** rokm_ <rokm_!~rokm@freeshell.de> has joined #yocto09:12
jclsnmcfrisk: Yeah but it seems to fire n process times n parellel build processes09:13
jclsnSo with 12 cores it has like 14409:13
jclsnI would have assumed that it does more for optimally making use of the hardware, but I guess you have to set it manually on your buildserver09:15
d-fensyocto doesn't have that rolling release style like my gentoo  install or rather portage  has - so how do you guys decide when switch to a new LTS release and how does one handle packages that need to be sticky  on their versions?09:15
*** grma <grma!~gruberm@80.93.38.128> has quit IRC (Remote host closed the connection)09:17
*** amelius <amelius!~quassel@147.161.165.34> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:17
mcfriskjclsn: yes, bitbake does that. 12 bitbake tasks, 12 parallel compile threads within each bitbake task (or even as many as needed as with ninja). This isn't too bad unless build system runs out of RAM.09:17
*** amelius <amelius!~quassel@147.161.165.34> has joined #yocto09:17
*** amelius is now known as aduda09:19
*** aduda is now known as amelius09:20
*** amelius <amelius!~quassel@147.161.165.34> has quit IRC (Client Quit)09:21
jclsnmcfrisk: Our devops colleague sees that differently09:22
*** amelius <amelius!~quassel@147.161.165.34> has joined #yocto09:22
*** camus <camus!~Instantbi@2409:8a1e:9122:21b0:6c68:409b:2837:d8eb> has quit IRC (Remote host closed the connection)09:29
JaMajclsn: adjusting at least BB_NUMBER_THREADS is often useful, also look at the BB_PRESSURE_MAX_CPU09:29
*** vm1 <vm1!~vm1@192.157.9.227> has joined #yocto09:29
JaMamost of my builds on various HW use BB_NUMBER_THREADS lowered to 8, while PARALLEL_MAKE is set based on available cores, e.g. PARALLEL_MAKE = "-j 70 -l 140" on 64t 3970x (with PARALLEL_MAKE:pn-webruntime = "-j 40" to avoid OOMKs)09:30
mcfriskjclsn: all those tasks need to run anyway for a build to pass. If linux kernel and its resources are fully loaded up, then in theory kernel knows best how to handle the situation. Reality is different but heavily depends what you are building and what the CPU, IO etc needs are.09:31
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto09:33
*** Saur <Saur!~pkj@nebula.axis.com> has quit IRC (Ping timeout: 260 seconds)09:34
*** jclsn[m] <jclsn[m]!~coldspar_@2001:470:69fc:105::db09> has joined #yocto09:35
jclsnWell, I will do some testing now and see09:40
mcfriskthe plain CPU load is usually not a problem, running out of RAM is a show stopper, doing too much IO to disk is bad especially if there is RAM available and rm_work would delete the files anyway..09:43
*** Herrie|2 <Herrie|2!~Herrie@110-31-146-85.ftth.glasoperator.nl> has joined #yocto09:45
*** Herrie <Herrie!~Herrie@110-31-146-85.ftth.glasoperator.nl> has quit IRC (Read error: Connection reset by peer)09:46
*** Herrie|2 is now known as Herrie09:46
*** arielmrmx <arielmrmx!~quassel@189.161.100.170> has quit IRC (Remote host closed the connection)09:46
jclsnI am reading "Understanding the Linux Kernel" atm. Hopefully I will be able to make my own opinion about this soon :)09:47
*** arielmrmx <arielmrmx!~quassel@189.161.100.170> has joined #yocto09:48
*** Saur <Saur!~pkj@nebula.axis.com> has joined #yocto09:49
*** rber|res <rber|res!~rber|res@62-46-95-169.adsl.highway.telekom.at> has joined #yocto09:58
rber|resit looks like images contain LICENSE="MIT", which does not make sense to me, since it depends on the packages installed and image.bbclass contains LICENSE ?= "MIT" anyways.10:01
rburtond-fens: new release every six months, ~april and ~october.  every two years the april release is a LTS.10:03
rburtond-fens: https://wiki.yoctoproject.org/wiki/Releases and https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS10:03
d-fensrburton thanks, is it best to stay on the LTS branch and  do a weekly git pull or only run the cve check and react to specific alerts?10:15
rburtond-fens: if I was releasing products i'd use the LTS point releases, picking commits from the branch early as needed but they'll merge out every release.10:16
rburtonthe point releases are fairly frequent10:16
d-fensrburton  i think i'll go for a stable build and just catch CVE as needed and do the big bump to the next LTS when available10:18
rburtoni'd definitely keep up with the LTS point releases10:19
rburtonthey pull in a pile of cve fixes and other improvements10:19
rburtonbut they'll be safe: no unexpected upgrades or big changes, it's all bug fixes and security work10:19
d-fensok , that means just git pull on the same branch (e.g. kirkstone)10:21
rburtonyes, there are tags and proper releases too10:22
hmw[m]hi, my do_ configure is not working10:30
hmw[m]it try to do a  cp **//.config instead of **/.config  ( but i can´t find where the do_configure is declared )10:30
*** Guest82 <Guest82!~Guest82@2a02-a45d-cdb3-1-8da-9ba8-422c-749c.fixed6.kpn.net> has joined #yocto10:36
*** alinucs <alinucs!~abo@215.ip-51-38-235.eu> has quit IRC (Read error: Software caused connection abort)10:37
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto10:38
*** alinucs <alinucs!~abo@215.ip-51-38-235.eu> has joined #yocto10:39
rburtonwhat recipe?10:40
hmw[m]trying to get old bitbake recipes working to get a uboot 2017 version working on dunfell10:45
Guest82Hi All, I'm trying to figure out what it takes and what is best practice to isolate a cpu for a particular process at boot time. It seems either isolcpus/affinity or cgroups/cpuset are candidates for this. What would your reccomendations be regarding Yocto setup to take care of this for me?10:47
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 248 seconds)10:47
*** starblue <starblue!~juergen@dslb-178-006-091-196.178.006.pools.vodafone-ip.de> has quit IRC (Ping timeout: 268 seconds)10:53
*** starblue <starblue!~juergen@dslb-178-006-091-196.178.006.pools.vodafone-ip.de> has joined #yocto10:55
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto11:03
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 260 seconds)11:04
*** nemik <nemik!~nemik@162-245-20-117.PUBLIC.monkeybrains.net> has joined #yocto11:04
rburtonGuest82: if its a daemon, then use systemd and just setup the affinity in the service file11:09
*** Guest13 <Guest13!~Guest13@46.221.0.162> has joined #yocto11:09
*** nemik <nemik!~nemik@162-245-20-117.PUBLIC.monkeybrains.net> has quit IRC (Ping timeout: 268 seconds)11:09
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto11:09
Guest13hi, everyone.11:10
Guest13i have a custom meta-layer(meta-mymeta) and fsl-community-bsp-platform(kirkstone). i have a custom machine config for an imx som(coral-dev.conf) which is not included in meta-freescales/conf/machine. also im using fslc-xwayland.conf distro.11:10
Guest13im trying to specify opencv version in like that: "PREFERRED_VERSION_opencv = "4.5.2.imx"11:10
Guest13but im getting this warning :11:10
Guest13"WARNING: preferred version 4.5.2.imx of opencv not available (for item opencv)11:10
Guest13WARNING: versions of opencv available: 4.5.511:10
Guest13NOTE: Resolving any missing task queue dependencies11:10
Guest13WARNING: preferred version 4.5.2.imx of opencv not available (for item opencv)11:10
Guest13WARNING: versions of opencv available: 4.5.511:10
Guest13WARNING: preferred version 4.5.2.imx of opencv not available (for item opencv-dev)11:10
Guest13WARNING: versions of opencv available: 4.5.5"11:10
rburtonso it doesn't see the 4.5.2.imx release11:11
rburtonwhere is that in the layers, and did you actually add that layer to bblayers.conf?11:11
rburtonthe lines above will tell you if the version got skipped for some reason11:11
Guest13it's in "meta-freescale/recipes-support/opencv" and i added "${BSPDIR}/sources/meta-freescale" to bblayers.conf.11:13
rburtoncustom machine? that opencv recipe does COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"11:14
rburtonso unless your machine matches that regex, then it won't work11:14
Guest13yep, custom machine.11:14
rburtonmeta-freescale has some really rough edges, like this...11:15
rburtonthe policy appears to be use their machine or don't use their layer11:15
rburtonyou can't pick and chose bits, it's not written generically11:15
rburtonan easy hack would be to just delete that COMPATIBLE_MACHINE line from the recipe11:16
Guest13rburton thank you so much for help.11:16
rburtonif you're a paying customer i'd complain to them11:16
Guest13im a student and trying to improve my yocto knowledge :D11:18
rburtonlesson learnt: why hardcoding machines isn't great11:18
rburtoni wonder if a bbappend would work11:18
rburtonyou might be able to create opencv_4.5.2.imx.bbappend and add a new COMPATIBLE_MACHINE line in there for your machine11:19
rburtonyou'll still have the rest of the machine overrides in that file to sort out, but that's probably the right thing to do anyway11:19
*** mvlad <mvlad!~mvlad@2a02:2f08:4503:c400:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection)11:20
Guest13rburton thank uuuu11:21
*** mvlad <mvlad!~mvlad@2a02:2f08:4503:c400:24d7:51ff:fed6:906d> has joined #yocto11:24
*** manuel_ <manuel_!~manuel198@185.144.162.58> has joined #yocto11:26
*** manuel1985 <manuel1985!~manuel198@185.144.162.58> has quit IRC (Ping timeout: 256 seconds)11:28
Guest13rburton as you said , i created "opencv_4.5.2.imx.bbappend" in my layer and just added "COMPATIBLE_MACHINE = "coral-dev"" problem gone, thank you again.11:29
phako[m]is there a deadline for the summit registration?11:30
*** Tyaku <Tyaku!~Tyaku@lfbn-orl-1-342-50.w90-35.abo.wanadoo.fr> has joined #yocto11:30
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)11:31
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto11:32
*** manuel_ <manuel_!~manuel198@185.144.162.58> has quit IRC (Ping timeout: 260 seconds)11:33
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto11:53
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe)11:59
*** jlf` <jlf`!~jlf`@user/jlf> has quit IRC (Ping timeout: 260 seconds)12:05
*** d-s-e <d-s-e!~d.s.e@muedsl-82-207-226-224.citykom.de> has quit IRC (Ping timeout: 246 seconds)12:20
ameliusphako[m]: i havn't seen any deadline, only CFP closes 28th12:21
LetoThe2ndphako[m]: you can literally still register when the event is already running, AFAIK12:22
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Ping timeout: 256 seconds)12:27
*** davidinux <davidinux!~davidinux@host-95-232-116-195.retail.telecomitalia.it> has quit IRC (Ping timeout: 256 seconds)12:28
*** davidinux <davidinux!~davidinux@92.118.62.172> has joined #yocto12:28
*** Guest13 <Guest13!~Guest13@46.221.0.162> has quit IRC (Quit: Client closed)12:34
jclsnI am experiencing issues with devool modify since kirkstone when AUTOREV is set in the recipe12:37
jclsnException: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).12:37
jclsnNothing in the kikrstone changelog about it. Is this a bug?12:38
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto12:40
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds)12:48
*** BobPungartnik <BobPungartnik!~Pung@177.41.201.5> has joined #yocto12:58
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto13:01
*** BobPungartnik <BobPungartnik!~Pung@177.41.201.5> has quit IRC (Client Quit)13:02
*** Guest13 <Guest13!~Guest13@46.221.0.162> has joined #yocto13:06
Guest13lets say i have the test.bb recipe. In do_install:append(){} there is a line like this:13:14
Guest13"cp -f bin/example ${D}${datadir}/samples/bin/"13:14
Guest13and this line is wrong. im getting an error in build because of this line. can i fix this line somehow by creating test.bbappend or do i need to fix test.bb?13:14
rburtonthe bbappend would need to :remove the broken bits, which may be tricky13:16
jclsnSo I can confirm: When I check the source out with a fixed commit hash, building from the devtool workspace works. When I check out from a recipe set to AUTOREV, the build fails with the above mentioned failure13:19
Guest13rburton i dont know how to use it. can you show an example or what can i find by searching? i mean how to use ":remove" for my situation13:22
rburtonGuest13: hard to give a concrete example without knowing what you actually want to do13:22
rburtonGuest13: fixing the recipe is the best thing to do13:23
Guest13i want to change "cp -f bin/example ${D}${datadir}/samples/bin/" which is in "do_install:append(){}" to "cp -f ${S}/example ${D}${datadir}/samples/bin/" in bbappend somehow.13:25
Guest13i dont want to change .bb recipe for just one line13:26
*** vm1 <vm1!~vm1@192.157.9.227> has quit IRC (Quit: Client closed)13:27
LetoThe2ndGuest13: i don't think that this is possible.13:28
jclsnHere is the full error btw http://ix.io/4gEK13:28
LetoThe2ndGuest13: if the line is buggy (probably), then fix it.13:28
Guest13rburton LetoThe2nd thank you, best thing fix to main recipe as u said.13:29
rburtonGuest13: agree with LetoThe2nd: you're describing a buggy recipe. fix the recipe.13:29
*** d-fens <d-fens!~d-fens@5.10.7.173> has quit IRC (Quit: Client closed)13:32
Guest13https://github.com/Freescale/meta-freescale/blob/kirkstone/recipes-support/opencv/opencv_4.5.2.imx.bb13:34
Guest13line 291 causing problems13:34
Guest13Log : "| cp: cannot stat 'bin/example_*': No such file or directory"13:34
Guest13when i comment line 291, it's working perfectly.13:34
qschulzjclsn: check if we haven't already a bug entry for this in our Bugzilla otherwise please open a ticket (also check it still happens in master)13:34
qschulzjclsn: patches welcome also :)13:34
jclsnqschulz: Yep https://bugzilla.yoctoproject.org/show_bug.cgi?id=1491813:36
*** aduda <aduda!~quassel@147.161.165.34> has joined #yocto13:37
*** amelius <amelius!~quassel@147.161.165.34> has quit IRC (Read error: Connection reset by peer)13:40
*** d-s-e <d-s-e!~d.s.e@muedsl-82-207-226-224.citykom.de> has joined #yocto13:40
*** Guest13 <Guest13!~Guest13@46.221.0.162> has quit IRC (Quit: Client closed)13:41
*** Guest82 <Guest82!~Guest82@2a02-a45d-cdb3-1-8da-9ba8-422c-749c.fixed6.kpn.net> has quit IRC (Quit: Client closed)13:43
phako[m]amelius: LetoThe2nd thanks. Had to wait for permission because its complicated...13:43
LetoThe2ndphako[m]: np13:45
*** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #yocto13:53
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed)14:01
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto14:03
mcfriskshould kernel module signing work in kirkstone by default?14:17
* LetoThe2nd mentally misread that as "kernel module singing"14:18
mcfriskin kernel config things are correctly enabled but .ko files on target are missing signature data14:20
mcfriskand kernel complains at runtime14:20
*** Amynka <Amynka!~amy@gentoo/developer/amynka> has joined #yocto14:24
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)14:26
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto14:27
*** Tokamak <Tokamak!~Tokamak@172.58.231.120> has joined #yocto14:38
*** Tokamak_ <Tokamak_!~Tokamak@166.205.152.179> has quit IRC (Ping timeout: 260 seconds)14:41
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-21-184-147-79-201.dsl.bell.ca> has joined #yocto14:42
RPmcfrisk: I think there are patches around which change the stripping options which may be related to that?14:46
adudahey, i'm trying to build u-boot with my sdk and getting the error '...libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory ', enviroment is sourced from the sdk14:49
*** aduda is now known as amelius14:50
mcfriskRP: I was checking that, kirkstone has same patches as master. digging deeper..14:52
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto14:59
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Ping timeout: 260 seconds)15:09
*** tomzy_0 <tomzy_0!~tomzy_0@84-10-27-202.static.chello.pl> has quit IRC (Quit: Client closed)15:11
*** Lumpi <Lumpi!~Lumpi@62-46-95-169.adsl.highway.telekom.at> has joined #yocto15:13
*** Lumpi <Lumpi!~Lumpi@62-46-95-169.adsl.highway.telekom.at> has quit IRC (Client Quit)15:13
*** hcg <hcg!~hcg@213.55.241.64> has quit IRC (Quit: Client closed)15:13
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed)15:14
*** manuel_ <manuel_!~manuel198@185.144.162.58> has joined #yocto15:16
phako[m]does it make sense to have a branch per yocto version if the only thing that ties me to that version is the patch I have to provide for that specific boost version?15:20
phako[m]*in my layer I mean15:20
LetoThe2ndprobably yes.15:21
*** manuel_ <manuel_!~manuel198@185.144.162.58> has quit IRC (Ping timeout: 260 seconds)15:25
*** vm1 <vm1!~vm1@192.157.9.227> has joined #yocto15:27
*** d-fens <d-fens!~d-fens@5.10.7.173> has joined #yocto15:27
*** d-s-e <d-s-e!~d.s.e@muedsl-82-207-226-224.citykom.de> has quit IRC (Quit: Konversation terminated!)15:30
RPJPEW: the neatest/fastest version I've managed so far: https://git.yoctoproject.org/poky-contrib/commit/?h=rpurdie/t222&id=0fe56c9a03592d1639e2d8515dbbd03a4f24241f15:39
*** Tyaku <Tyaku!~Tyaku@lfbn-orl-1-342-50.w90-35.abo.wanadoo.fr> has quit IRC (Quit: Lost terminal)15:40
JPEWYa, that's close to what I had. I used d.items() to prevent the extra lookup, and also start the function with 'store= self.store' to prevent the self lookup every loop15:45
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto15:46
JPEWAlso no need to return the array when it's modified in place15:47
JPEWSorry, no need to return the deps *dict*15:49
RPJPEW: right, it just makes it more convenient in the calling code15:49
RPby using __setstate__ it reduces the separate add() call that was there a lot15:49
*** manuel_ <manuel_!~manuel198@185.144.162.58> has joined #yocto15:50
JPEWAlso, I didn't see any performance different using a single dict for the cache as opposed to split string/set, which simplifies it even more15:50
JPEWCool15:50
*** amelius <amelius!~quassel@147.161.165.34> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)15:50
JPEWEspecially since you eliminated the frozenset conversion15:50
*** amitk_ <amitk_!~amit@103.208.71.104> has joined #yocto15:52
*** manuel_ <manuel_!~manuel198@185.144.162.58> has quit IRC (Ping timeout: 256 seconds)15:57
JPEWMy last takeaway yesterday was that any deduplication in the server process will be slow and single threaded, and there's not much we can do about that16:01
*** amitk_ <amitk_!~amit@103.208.71.104> has quit IRC (Ping timeout: 260 seconds)16:08
JPEWBut.... We might be able to help with that. If we can make the parsing threads send all the recipe data at once in one big pickle, then the dedupliction on that side will transfer across to the server, which wouldn't need to deduplicte (probably).16:08
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has quit IRC (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)16:09
JPEWIt means there still would be duplicates in the final cache, but only up to the number of parser processes16:09
JPEWIt would mean completely reworking the way progress is reported though, since we wouldn't be getting one recipe at a time from the workers anymore16:10
*** amitk_ <amitk_!~amit@103.208.71.104> has joined #yocto16:12
* JPEW was completely nerd-sniped by RP yesterday. Hopefully I can still finish my dev day talk in time :)16:18
vmesonConsider an infinite N-dimensional grid of 1 ohm resistors, plot  the resistance between adjacent points as a function of increasing dimensionality ?16:23
*** d-fens <d-fens!~d-fens@5.10.7.173> has quit IRC (Ping timeout: 260 seconds)16:24
JPEWAs an engineer, 1 ohm is too little for me to worry about, so "0"16:26
vmesonJPEW: lol16:27
LetoThe2ndvmeson: "radio guy to power guy: your 50/60Hz, thats basically DC anyways. power guy to radio guy: now please I touch your wires, then you touch mine"16:34
LetoThe2ndJPEW: my mood: https://fosstodon.org/@theyoctojester/10939323026079699916:36
JPEWLetoThe2nd: Going to take the kids to Legoland instead. Option 3 will be later :)16:38
RPJPEW: sorry :D16:40
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Ping timeout: 260 seconds)16:41
*** gho <gho!~gho@i59F5CEC2.versanet.de> has quit IRC (Quit: Leaving.)16:58
*** mckoan is now known as mckoan|away17:12
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has quit IRC (Remote host closed the connection)17:24
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has joined #yocto17:25
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto17:25
*** vm1 <vm1!~vm1@192.157.9.227> has quit IRC (Quit: Client closed)17:33
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)17:37
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 260 seconds)17:46
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)17:56
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has quit IRC (Read error: Connection reset by peer)18:38
*** Tokamak_ <Tokamak_!~Tokamak@107.116.82.131> has joined #yocto18:41
*** Tokamak <Tokamak!~Tokamak@172.58.231.120> has quit IRC (Ping timeout: 248 seconds)18:44
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Ping timeout: 260 seconds)18:47
*** amitk_ <amitk_!~amit@103.208.71.104> has quit IRC (Ping timeout: 252 seconds)18:48
*** paulg <paulg!~paulg@24-212-160-219.cable.teksavvy.com> has joined #yocto18:54
*** amitk <amitk!~amit@103.208.71.104> has quit IRC (Ping timeout: 268 seconds)18:56
*** Tokamak <Tokamak!~Tokamak@107.116.82.131> has joined #yocto18:58
*** Tokamak_ <Tokamak_!~Tokamak@107.116.82.131> has quit IRC (Ping timeout: 255 seconds)19:02
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)19:04
*** Haxxa <Haxxa!~Haxxa@89nnjg0xckz9ggn6r5xm.ip6.superloop.com> has quit IRC (Quit: Haxxa flies away.)19:15
*** florian_kc <florian_kc!~florian@dynamic-078-048-160-009.78.48.pool.telefonica.de> has joined #yocto19:16
*** Haxxa <Haxxa!~Haxxa@89nnjg0xckz9ggn6r5xm.ip6.superloop.com> has joined #yocto19:17
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has quit IRC (Remote host closed the connection)19:17
*** gsalazar <gsalazar!~gsalazar@139.0.166.178.rev.vodafone.pt> has joined #yocto19:18
*** behanw <behanw!uid110099@id-110099.uxbridge.irccloud.com> has joined #yocto19:18
*** rber|res <rber|res!~rber|res@62-46-95-169.adsl.highway.telekom.at> has quit IRC (Quit: Leaving)19:40
*** Tokamak_ <Tokamak_!~Tokamak@172.58.231.120> has joined #yocto19:52
*** Tokamak <Tokamak!~Tokamak@107.116.82.131> has quit IRC (Ping timeout: 256 seconds)19:54
*** Net147_ <Net147_!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has quit IRC (Ping timeout: 256 seconds)20:08
*** Circuitsoft <Circuitsoft!uid393878@id-393878.lymington.irccloud.com> has joined #yocto20:19
*** Tokamak <Tokamak!~Tokamak@107.116.82.35> has joined #yocto20:28
*** Tokamak_ <Tokamak_!~Tokamak@172.58.231.120> has quit IRC (Ping timeout: 260 seconds)20:29
*** FredericOuellet[ <FredericOuellet[!~tazura562@2001:470:69fc:105::1:3c31> has left #yocto20:53
*** FredericOuellet[ <FredericOuellet[!~tazura562@2001:470:69fc:105::1:3c31> has joined #yocto20:53
*** tor <tor!~tor@user/tor> has quit IRC (Quit: Leaving)21:17
*** florian_kc is now known as florian21:18
*** mark_ <mark_!~mark@bras-base-stsvon1507w-grc-17-184-146-53-57.dsl.bell.ca> has joined #yocto21:26
mark_I have this do_package error but the message is puzzling:21:31
mark_ERROR: hal-1.0.0+gitAUTOINC+02d78b2bee-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/*/tmp/work/corei7-64-en-linux/hal/1.0.0+gitAUTOINC+02d78b2bee-r0/package/usr/lib/libhal_disp_impl_dnx2.a']):           dwarfsrcfiles:/*/tmp/work/corei7-64-en-linux/hal/1.0.0+gitAUTOINC+02d78b2bee-r0/package/usr/lib/libhal_disp_impl_dnx2.a: no error21:31
*** mvlad <mvlad!~mvlad@2a02:2f08:4503:c400:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection)21:31
mark_I looked into dwarfsrcfiles source file at https://github.com/openembedded/openembedded-core/blob/kirkstone/meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c It doesn't print "no error" anywhere, but the returen code was 1 so something's wrong somewhere, I just couldn't figure it out21:33
*** manuel_ <manuel_!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has joined #yocto21:46
*** psj <psj!~psj@h184-60-26-81.mdtnwi.broadband.dynamic.tds.net> has quit IRC (Remote host closed the connection)21:47
RPmark_: it uses elfutils heavily so perhaps look there?21:52
*** Net147 <Net147!~Net147@167-179-157-192.a7b39d.syd.nbn.aussiebb.net> has joined #yocto22:02
mark_RP: thanks for the pointer, I will check22:07
*** manuel_ <manuel_!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has quit IRC (Ping timeout: 256 seconds)22:36
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)22:46
*** Wouter0100 <Wouter0100!~Wouter010@entry.nbg.netvos.nl> has joined #yocto22:47
*** Tokamak_ <Tokamak_!~Tokamak@172.58.236.139> has joined #yocto22:54
*** Tokamak <Tokamak!~Tokamak@107.116.82.35> has quit IRC (Ping timeout: 248 seconds)22:56
RPJPEW: I'm wondering if we could/should create a caching pickler. Subclass pickle to keep a cache of frozenset/strings at each end such that it would send a reference on later references rather than the object23:14
JPEWI think each pickled object it sends back has to be self contained, and I'm not sure how you would work around that23:16
RPJPEW: you can hook pickle so you'd just put your own reference in?23:17
JPEWRight, python 3.8 added out of band data transfer, so we could use that23:17
JPEWMaybe23:18
RPJPEW: I don't think you would even need that. First reference to set, you store in a dict and give it a number. Next time you send the number. Receiving end keeps a similar dict pointing where the object ends up23:19
RPyou persist the dict on both ends and as long as you don't change the objects, it should work23:19
JPEWYa, I don't know how much you can subclass pickle though. I think it's mostly in C23:21
JPEWBut what your are talking about is the out of band buffer thing, it just doesn't do the actual transmit on first occurrence23:22
RPJPEW: well, you can control the __getstate__ on the class23:22
JPEWAh, ya maybe that would work23:23
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 252 seconds)23:23
PhoenixMagetlwoerner: Looks like someone from Radxa is working on a mainline u-boot for Rock3a, already has it working on CM3 SODIMM and E25 (they are rk3566 though)23:24
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto23:35
JPEWRP: ya I think that might work since we have a limited set of pickleable things. You'd need a cache per worker process though otherwise the indices would get crossed?23:40
RPJPEW: right, there would be a some juggling needed but in principle it could work23:44
RPJPEW: the cache would only need to be a lookup against the main cache too23:53
* RP might have a look tomorrow23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!