LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
ello_ has quit [Ping timeout: 252 seconds]
ello has quit [Ping timeout: 252 seconds]
ello has joined #yocto
ello_ has joined #yocto
vthor has joined #yocto
vthor has joined #yocto
merit has quit [Read error: Connection reset by peer]
merit has joined #yocto
paulg has quit [Ping timeout: 276 seconds]
jmd has joined #yocto
Guest82 has joined #yocto
goliath has joined #yocto
jmd has quit [Remote host closed the connection]
Guest82 has quit [Ping timeout: 272 seconds]
rob_w has joined #yocto
<khem> RP: I think that looks good, it will also work for compiler-rt's case
<khem> this bypasses clang's internal detection logic and lets gcc handle it
<khem> which is perhaps better for native case
<khem> are you going to cook a patch for this ?
ptsneves has quit [Ping timeout: 276 seconds]
mckoan|away is now known as mckoan
<mckoan> good morning
prabhakalad has joined #yocto
rfuentess has joined #yocto
Kubu_work has joined #yocto
savolla has joined #yocto
ptsneves has joined #yocto
Jones42 has joined #yocto
frgo_ has quit [Read error: Connection reset by peer]
frgo has joined #yocto
wmills__ has joined #yocto
wmills_ has quit [Ping timeout: 244 seconds]
ptsneves has quit [Ping timeout: 248 seconds]
zeemate has joined #yocto
frieder has joined #yocto
Vonter has quit [Ping timeout: 245 seconds]
leon-anavi has joined #yocto
ptsneves has joined #yocto
Vonter has joined #yocto
grma has joined #yocto
Kbo has joined #yocto
florian has joined #yocto
ptsneves1 has joined #yocto
florian_kc has joined #yocto
ptsneves has quit [Ping timeout: 272 seconds]
ptsneves1 is now known as ptsneves
Kbo has quit [Quit: Client closed]
Kbo has joined #yocto
alperak has joined #yocto
druppy has joined #yocto
prabhakarlad has joined #yocto
prabhakalad has quit [Ping timeout: 245 seconds]
<Jones42> is there an elegant way to entirely remove " -X ${foo} " from a list of commandline agruments in a bash task if ${foo} is empty?
prabhakalad has joined #yocto
Kubu_work has quit [Read error: Connection reset by peer]
prabhakarlad has quit [Ping timeout: 276 seconds]
<rburton> Jones42: maybe use more advanced shell expansion
<rburton> like ${foo:+-W $foo}
<Jones42> rburton: oh, that's great. didn't know such a thing exists. thanks!
<rburton> it might interact badly with bitbake's expansion but worth a go
<Jones42> oh... thanks for the heads-up :D
<rburton> see 2.6.2 in https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html for what posix says, so you don't accidentally use a bashism
mckoan is now known as mckoan|away
ablu has quit [Ping timeout: 276 seconds]
Guest82 has joined #yocto
ablu has joined #yocto
<Jones42> seems to work fine, thanks! (also works in bash --posix :-) )
<JaMa> does it work in dash?
<rburton> if its in the opengroup docs then yes
Kbo has quit [Ping timeout: 272 seconds]
Marmottus110 has quit [Quit: The Lounge - https://thelounge.chat]
Marmottus110 has joined #yocto
Kubu_work has joined #yocto
frieder has quit [Ping timeout: 244 seconds]
Guest86 has joined #yocto
<Guest86> I want to use a change/patch made in oe-core as a template in a meta-layer, what can I do to give credit to the person who made it in oe-core? I will not make the exactly the same change but I will use the same commit message and subject for example.
<rburton> just reference them in the commit message, git has no markup for 'originally by but altered'
<Guest86> thanks
Guest86 has quit [Quit: Client closed]
Kbo has joined #yocto
<CrazyGecko> we're updating to scarthgap and we put the licences together while building the image and put it into the rootfs. with the commit 75ac1f529a22e56988bda53b58d2cc34fb7baea4 in poky, the path of the licences change and is now put under the `SSTATE_PKGARCH` / `PACKAGE_ARCH` folder.
<CrazyGecko> Currently we rely on the packagedata to get the used license, and did put together the license path with "os.path.join(d.getVar('LICENSE_DIRECTORY'),pkg_data["PN"])". Now we should add in between the PACKAGE_ARCH. Would it make sense to store the PACKAGE_ARCH also in the packagedata or does someone know another way to get now the path to the
<CrazyGecko> licence file? Our workaround would be to search in the LICENSE_DIRECTORY
tgamblin has quit [Quit: WeeChat 3.8]
tgamblin has joined #yocto
GNUmoon has quit [Ping timeout: 244 seconds]
GNUmoon has joined #yocto
druppy has quit [Read error: Connection reset by peer]
dmoseley has quit [Quit: ZNC 1.9.1 - https://znc.in]
cyxae has joined #yocto
frieder has joined #yocto
Guest82 has quit [Quit: Client closed]
rob_w has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
Guest35 has joined #yocto
<Guest35> A recipe uses FetchContent.cmake in the configure step and tries to download something. But, I get an error in Yocto, how can I handle this?
<rburton> Guest35: fetch the content with entries in SRC_URI and put it in the right place so the cmake doesn't need to run fetchcontent
<JaMa> Guest35: fetch the additional content with bitbake fetcher by including it in SRC_URI and instructing CMake to use that already fetched
<Guest35> rburton JaMa Thanks, I will try. If you have an example, it would be nice if you could share it.
<Guest35> thanks!
<rburton> TF-M has eight modules that it does FetchContent on, so we have an epic SRC_URI that grabs them all
<rburton> the "telling cmake to do the right thing" bit depends on the project, as everyone does fetchcontent differently.
<Jones42> JaMa: yes, also works in dash!
<JaMa> Jones42: thanks :)
Guest35 has quit [Quit: Client closed]
Kbo has quit [Quit: Client closed]
ptsneves has quit [Ping timeout: 244 seconds]
frieder has quit [Remote host closed the connection]
Kubu_work has quit [Quit: Leaving.]
ptsneves has joined #yocto
mdb has joined #yocto
Guest46 has joined #yocto
<Guest46> rburton JaMa Successfully fetch the package and set the destsuffix in SRC_URI. But, CMake wants it in ${B}/${destsuffix}.
<rburton> see if you can tell cmake where it is instead, worse case patch the cmakelists (and complain upstream)
<Guest46> Should I copy the source ${S} to ${B} in do_configure:prepend()?
<fray> lots of cmake stuff I've seen is broken (S vs B), often the easiest way to deal with this is to set B = "${S}" in your recipe
<Guest46> fray thanks for the trick.
<Guest46> rburton I will, thank you.
<gmorell> /w 2
Guest46 has quit [Quit: Client closed]
mdb has quit [Quit: WeeChat 3.8]
mdb has joined #yocto
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #yocto
florian has quit [Killed (NickServ (GHOST command used by florian_kc))]
florian_kc is now known as florian
florian_kc has joined #yocto
florian_kc has quit [Ping timeout: 276 seconds]
goliath has joined #yocto
rfuentess has quit [Remote host closed the connection]
florian has quit [Ping timeout: 248 seconds]
florian has joined #yocto
paulg has joined #yocto
prabhakalad has quit [Ping timeout: 260 seconds]
prabhakalad has joined #yocto
<rburton> RP: what do you think of poky-contrib:ross/cpucount
<rburton> the bulk of it is The Right Thing imho, the only compromise is capping parse threads at 64 instead of unlimited.
<rburton> vmeson: do you have details about parse time on your 192 core monster? you said you manually lower the number of threads?
<rburton> vmeson: times for the parse duration with 192 threads and 64 threads would be great if you can get them :)
jmd has joined #yocto
savolla has quit [Quit: WeeChat 4.6.3]
druppy has joined #yocto
florian_kc has joined #yocto
leon-anavi has quit [Quit: Leaving]
khem has quit [Quit: WeeChat 4.6.3]
florian has quit [Remote host closed the connection]
khem has joined #yocto
<vmeson> rburton: the system isn't idle so I'll try again later: poky/master, bitbake -p world , min of 10 trials -> 192 = 2.24 128 = 2.34 64 = 2.34 32 = 2.32 16 = 2.42
<vmeson> are you looking for the initial parse time, perhaps?
<vmeson> https://paste.debian.net/1384731/ -- noisey data...
<rburton> yeah very noisy
<rburton> can't you just tell everyone to stop using it ;)
Pinta has joined #yocto
druppy has quit [Read error: Connection reset by peer]
<vmeson> rburton: system moslty idle. Added meta-openembedded/meta-* layers, My test improved: 192 = 30s, 128= 30s, 96= 30s, 64 = 31s, 48= 34s, 32 = 36s, 16 = 47s, 8 = 70s, 4= too long! Running: -- rm -rf cache/ sstate-cache/ tmp/; time bitbake -p
Guest70 has joined #yocto
<Guest70> Some of the recipes using  PV .= "+1.0+git" something like that. Is that necessary?
<Guest70> It seems unnecessary.  There is already a version in recipe name.
<Guest70> Am I wrong?
florian_kc is now known as florian
<rburton> Guest70: in core, walnascar has mostly dropped those apart from a few recipes where the +git means its literally a snapshot from git and not a release
<rburton> historically that was how a git recipe was versioned but yes, if the sha is a tag then its redundant information, which is why its been removed
<Guest70> rburton thanks
Guest70 has quit [Quit: Client closed]
cyxae has quit [Quit: cyxae]
<tgamblin> rburton: have you ever considered putting python-unittest-automake-output on PyPI?
* tgamblin just ran into a scenario where it would've been useful to install with pip
<rburton> tgamblin: yeah it was on my todo list
<rburton> it needs a better name first ;)
<RP> rburton: hmm. Most of it is fine, I'm just not sure about the 64 limit by default for parsing
<RP> rburton: I'm curious of the bottleneck on your parsing with 128 too
<rburton> remind me tomorrow, i'll add more layers and script getting times
<tgamblin> rburton: pyaso for 'python automake style output' maybe?
goliath has quit [Quit: SIGSEGV]
<RP> rburton: ok, will do
jmd has quit [Remote host closed the connection]
Guest12 has joined #yocto
<Guest12> I'm trying to fetch a project in SRC_URI but project trying to init submodule in do_configure step. How can I deal with this?
zeddii has quit [Ping timeout: 260 seconds]
<RP> Guest12: change it to use the gitsm fetcher?
<RP> Guest12: prefetch the submodules in SRC_URI so it doesn't have to do that?
<RP> sometimes you can disable the submodules too
<Guest12> RP Tried with gitsm and still error occurs. I think it's related to the project.
<Guest12> RP I think it can't fetch because of the SSH url in .gitmodules. Since the submodule in .gitmodules is defined as git@github.com:... (SSH), it gives error again when trying to fetch with HTTPS.
zeddii has joined #yocto
<RP> Guest12: we disable network access in do_configure which probably doesn't help too
<Guest12> What should I do in this situation? Do you have any suggestion?
jmiehe has joined #yocto
<RP> Well, I already suggested 3 different options
<RP> you could enable network access for do_configure but understand why its a really really bad idea
dmoseley has joined #yocto
<RP> JPEW: I've put a tweaked version of the parser patch in master-next, basically dropping one of the safety nets for jobs in favour of the other ones we have
<JPEW> I think I had a bit of an epipinany in a better way to do it also; hang on and I'll push what I have
<RP> JPEW: I just removed the "havejobs" variable entirely and relied on the self.exit and self.quit functioning being enough
<JPEW> RP: https://git.yoctoproject.org/poky-contrib/commit/?h=jpew/cooker-parsing-processes&id=97c52d8750615590ff269aac5f39d6a09507ffe7
<JPEW> TL; DR instead of using a queue to feed the parser processes, use a shared counter
<RP> JPEW: That is a neat idea but you do remove most of the sanity protections that have been added in there for various reasons over time :/
<RP> JPEW: the code does look a bit paranoid about shutdown in particular but there is good reason for it :(
Guest12 has quit [Quit: Client closed]
<JPEW> Ya, you can keep that if you want; it should still work
<RP> JPEW: I'll see how the current testing goes and if that doesn't work I'll see how this looks
<RP> I just remember how painful some of this was to debug and work out in the first place :/
ablu has quit [Remote host closed the connection]
ablu has joined #yocto
<JPEW> RP: I split it into 2 patches; one does the shared counter, the other has just the process cleanup rework
<RP> JPEW: it still blocks on the push to the results queue though :/
<RP> That can be changed too but we did find that was a problem :/
<JPEW> Ya... If my code archaeology is correct that was 2013 (or possibly earlier); the code didn't even bother to try and drain the result_queue to unstick the workers back then
<RP> JPEW: right, I'm probably just nervous about breaking this again
<RP> was it really that long ago? :/
<JPEW> Time is fake
zeemate has quit [Ping timeout: 276 seconds]
jmiehe has quit [Quit: jmiehe]
florian has quit [Ping timeout: 265 seconds]