Thursday, 2023-10-05

*** florian_kc <florian_kc!~florian@dynamic-093-135-070-017.93.135.pool.telefonica.de> has quit IRC (Ping timeout: 255 seconds)00:01
*** fray <fray!~fray@70.99.78.136> has quit IRC (Ping timeout: 258 seconds)02:14
*** fray <fray!~fray@70.99.78.136> has joined #oe02:26
*** kanavin <kanavin!~Alexander@2a02:2454:29b:d900:f58f:7d32:a721:fcdd> has quit IRC (Ping timeout: 240 seconds)02:31
*** alimon <alimon!~alimon@189.172.164.204> has quit IRC (Read error: Connection reset by peer)02:33
*** kanavin <kanavin!~Alexander@2a02:2454:29b:d900:f58f:7d32:a721:fcdd> has joined #oe02:34
*** alimon <alimon!~alimon@fixed-189-203-87-137.totalplay.net> has joined #oe02:39
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe03:16
*** kanavin <kanavin!~Alexander@2a02:2454:29b:d900:f58f:7d32:a721:fcdd> has quit IRC (Remote host closed the connection)03:28
*** kanavin <kanavin!~Alexander@2a02:2454:29b:d900:f58f:7d32:a721:fcdd> has joined #oe03:28
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has quit IRC (Ping timeout: 272 seconds)04:15
*** chat89 <chat89!~chat89@49.205.248.105> has joined #oe04:20
*** kanavin <kanavin!~Alexander@2a02:2454:29b:d900:f58f:7d32:a721:fcdd> has quit IRC (Ping timeout: 240 seconds)04:38
*** brrm <brrm!~brrm@ip-078-043-203-234.um18.pools.vodafone-ip.de> has quit IRC (Ping timeout: 260 seconds)04:49
*** brrm <brrm!~brrm@ip-078-043-203-234.um18.pools.vodafone-ip.de> has joined #oe04:49
*** linfax <linfax!~linfax@eumail.topcon.com> has joined #oe06:13
*** mckoan|away is now known as mckoan06:33
mckoangood morning06:33
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe06:34
*** reichi <reichi!~reichi@user/reichi> has quit IRC (Quit: connection reset by beer)06:41
*** reichi <reichi!~reichi@2a03:4000:4f:f89:dead:beef:1337:4> has joined #oe06:42
*** kanavin <kanavin!~Alexander@89.16.135.203> has joined #oe06:46
*** kanavin <kanavin!~Alexander@89.16.135.203> has quit IRC (Ping timeout: 240 seconds)06:51
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #oe06:51
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has quit IRC (Ping timeout: 240 seconds)06:54
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe07:01
*** Kubu_work <Kubu_work!~kubu@2a01cb05945b7e009bdc688723a24f31.ipv6.abo.wanadoo.fr> has joined #oe07:05
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Ping timeout: 255 seconds)07:07
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has joined #oe07:07
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe07:47
mortOur yocto CI builds take a bit over 3 hours. We cache the downloads folder, are there any other clever tricks we could use to speed things up?07:54
mortI'm wary of caching the sstate/sstate-cache folders, it's easy to accidentally write recipes which don't get properly recompiled when they should07:54
JaMait's not that easy, you should share sstate-cache07:55
mortis it possible to do that in a way which guarantees that even incorrectly written recipes get recompiled?07:55
mortsomething like, "if the recipe file or any dependency or any relevant part of the environment changes, blow away the whole sstate cache and start from a fresh unpack"07:56
JaMait doesn't blow anything away, it just calculates new sstate signature and rebuilds correctly07:57
mortI know, that's the problem07:57
mortbecause the "correctly" part isn't always true07:57
JaMano it's not everybody shares sstate-cache07:57
mort?07:58
JaMayou can report bugs where the signature isn't changed when it should, but signatures are very strict and now it's usually other way around trying to increase the sstate reuse with e.g. Hash Equivalence08:00
*** radanter <radanter!~rad@host86-132-34-232.range86-132.btcentralplus.com> has joined #oe08:04
mortthe problem is, to my understanding, the way a rebuild happens when the SRC_URI hasn't changed is that bitbake first runs the clean step and then the compile step08:11
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe08:12
mortso if your recipe is buggy and a clean + compile doesn't actually compile from scratch (say you have a recipe around a makefile-based project and forgot 'do_clean() { make clean }'), then even if bitbake correctly recognizes that the recipe has changed, the build won't work08:12
JaMawhich is completely unrelated issue to sstate sharing, right?08:21
mortno08:22
mortif the sstate-cache is wiped between CI builds, that issue doesn't occur08:22
JaMaWORKDIR isn't in sstate, if your component cannot re-configure correctly in existing WORKDIR you should fix your component, because it's broken for incremental builds where WORKDIR is kept between rebuilds (independent on sstate reuse)08:41
mortJaMa: I see, what's WORKDIR in then? sstate-cache?08:44
mortand yeah the broken recipe is broken and should be fixed but even worse than a slow CI build is a CI build which turned out to be broken because something didn't get re-built properly because a broken recipe was cached08:52
*** dos <dos!~dos@dosowisko.net> has quit IRC (Ping timeout: 255 seconds)09:11
*** dos <dos!~dos@dosowisko.net> has joined #oe09:18
JaMaWORKDIR is the directory where recipe is being built09:23
JaMaagree, but you're complaining about slow builds and blaming sstate (without any proof) for something which isn't related to sstate09:24
rburtonmort: fwiw, a plain makefile recipe will likely have no do_configure and base_do_configure() will call make clean09:54
rburtonso if you're writing a do_configure yourself then you need to either clean or do out-of-tree yourself09:54
rburtonbitbake won't _ever_ run the clean _task_ itself09:56
*** kanavin <kanavin!~Alexander@89.16.135.203> has joined #oe10:12
*** chat89 <chat89!~chat89@49.205.248.105> has quit IRC (Quit: Client closed)10:21
*** chat89 <chat89!~chat89@49.205.248.105> has joined #oe10:39
*** mr_nice <mr_nice!~nice@178.115.67.203.wireless.dyn.drei.com> has joined #oe10:47
*** chat89 <chat89!~chat89@49.205.248.105> has quit IRC (Quit: Client closed)11:10
*** alimon <alimon!~alimon@fixed-189-203-87-137.totalplay.net> has quit IRC (Remote host closed the connection)12:43
*** alimon <alimon!~alimon@fixed-189-203-87-137.totalplay.net> has joined #oe12:47
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe13:05
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Ping timeout: 252 seconds)13:09
*** hrw <hrw!~hrw@redhat/hrw> has quit IRC (Ping timeout: 240 seconds)13:11
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe13:13
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe13:30
*** mvlad <mvlad!~mvlad@2a02:2f05:8414:c500:7656:3cff:fe3f:7ce9> has joined #oe13:44
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection)14:25
*** hrw <hrw!~hrw@redhat/hrw> has quit IRC (Quit: Lost terminal)14:47
*** linfax <linfax!~linfax@eumail.topcon.com> has quit IRC (Ping timeout: 255 seconds)15:11
*** alimon <alimon!~alimon@fixed-189-203-87-137.totalplay.net> has quit IRC (Remote host closed the connection)15:32
*** alimon <alimon!~alimon@fixed-189-203-87-137.totalplay.net> has joined #oe15:36
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)15:50
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 255 seconds)15:54
*** mckoan is now known as mckoan|away16:15
*** tnovotny <tnovotny!~tnovotny@147.163.65.81.rev.sfr.net> has joined #oe16:57
*** radanter <radanter!~rad@host86-132-34-232.range86-132.btcentralplus.com> has quit IRC (Remote host closed the connection)17:08
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has quit IRC (Remote host closed the connection)17:09
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has joined #oe17:11
*** silurian_invader <silurian_invader!~cambrian_@50.217.174.170> has quit IRC (Ping timeout: 255 seconds)17:19
*** silurian_invader <silurian_invader!~cambrian_@50.217.174.170> has joined #oe17:36
*** florian_kc <florian_kc!~florian@dynamic-078-049-191-180.78.49.pool.telefonica.de> has joined #oe17:57
*** tnovotny <tnovotny!~tnovotny@147.163.65.81.rev.sfr.net> has quit IRC (Quit: Leaving)18:27
*** Omax <Omax!~m-6qlehn@185-107-13-229.static.kviknet.net> has quit IRC (Remote host closed the connection)18:57
*** Omax <Omax!~m-6qlehn@185-107-13-229.static.kviknet.net> has joined #oe18:57
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)19:07
*** hrw <hrw!~hrw@redhat/hrw> has joined #oe19:33
*** vvmeson is now known as vmeson19:40
*** eltricos <eltricos!~eltricos@ip68-8-181-201.sd.sd.cox.net> has joined #oe19:43
*** mvlad <mvlad!~mvlad@2a02:2f05:8414:c500:7656:3cff:fe3f:7ce9> has quit IRC (Remote host closed the connection)19:44
*** mr_nice <mr_nice!~nice@178.115.67.203.wireless.dyn.drei.com> has quit IRC (Quit: Lost terminal)19:50
*** ptsneves <ptsneves!~Thunderbi@bl9-239-73.dsl.telepac.pt> has joined #oe20:11
*** olani- <olani-!~olani@31-208-215-44.cust.bredband2.com> has joined #oe20:21
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has quit IRC (Remote host closed the connection)20:28
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has joined #oe20:28
*** florian_kc is now known as florian20:38
*** RP <RP!~richard@dan.rpsys.net> has quit IRC (Remote host closed the connection)20:39
*** RP <RP!~richard@dan.rpsys.net> has joined #oe20:40
*** eltricos <eltricos!~eltricos@ip68-8-181-201.sd.sd.cox.net> has quit IRC (Ping timeout: 255 seconds)20:44
*** davidlt <davidlt!~davidlt@78-63-27-146.static.zebra.lt> has quit IRC (Ping timeout: 255 seconds)20:45
*** eltricos <eltricos!~eltricos@ip68-8-181-201.sd.sd.cox.net> has joined #oe20:45
*** RP <RP!~richard@dan.rpsys.net> has quit IRC (Remote host closed the connection)20:46
*** RP <RP!~richard@dan.rpsys.net> has joined #oe21:05
*** RP <RP!~richard@dan.rpsys.net> has quit IRC (Remote host closed the connection)21:12
*** RP <RP!~richard@dan.rpsys.net> has joined #oe21:13
*** ptsneves <ptsneves!~Thunderbi@bl9-239-73.dsl.telepac.pt> has quit IRC (Ping timeout: 258 seconds)21:30
*** Kubu_work <Kubu_work!~kubu@2a01cb05945b7e009bdc688723a24f31.ipv6.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)21:39
*** brrm <brrm!~brrm@ip-078-043-203-234.um18.pools.vodafone-ip.de> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)22:35
*** brrm <brrm!~brrm@ip-078-043-203-234.um18.pools.vodafone-ip.de> has joined #oe22:41
*** florian <florian!~florian@dynamic-078-049-191-180.78.49.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)22:50
*** tgamblin <tgamblin!~tgamblin@2001:1970:5b1f:ab00:d875:6297:4e81:e577> has quit IRC (Remote host closed the connection)23:19
*** florian <florian!~florian@dynamic-078-049-191-180.78.49.pool.telefonica.de> has joined #oe23:23
*** olani- <olani-!~olani@31-208-215-44.cust.bredband2.com> has quit IRC (Ping timeout: 272 seconds)23:38

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