<NishanthMenon>
dl9pf, halstead__ logger is online on yocto -> could you update the topic to include https://libera.irclog.whitequark.org/yocto/ to indicate to folks that this channel is being logged?
<paulg>
no yocti bot as of yet?
<fullstop>
Is it possible to do "devtool update-recipe" *without* updating SRCREV?
<fullstop>
My SRCREV is using ${PV} and I needed to make a minor change to the Makefile
<fullstop>
I really wanted ${PV} to remain and add a patch to the recipe.
<JPEW>
Hmm it would be nice if the buildhistory task could remove the "base path" from the task signatures so that they were more comparable
tnovotny has quit [Quit: Leaving]
<JPEW>
In particular, our CI doesn't build with fixed paths, so every line ends up different
<fray>
there are other places removing the base path would be useful.. even in bitbake-diffsigs
<fray>
(I always recommend to people to NOT use fixed paths, primarily because it hides problems)
<qschulz>
fullstop: just create the patch and add it to the original recipe manually?
<fullstop>
qschulz: I mean, technically yes
<fullstop>
I was wondering if there was any way to do it with devtool but I guess that doesn't exist yet.
<qschulz>
maybe? I'm not using devtool to modify my recipes so I cannot say
<fullstop>
Any good suggestions on using yocto's cross compilers and such a development environment for making new recipes?
<fullstop>
Kind of like bitbake -c devshell but without locking up bitbake. I'd like to use the sysroot and the cross compilers to build and eventually make a recipe using that code.
<rburton>
devtool?
<fray>
what I see people doing is using cross compilers to build new applications.. then use either devtool (or just doing it in a layer) for the integration. often different teams, different knowledge bases..
<fullstop>
rburton: it's close
<qschulz>
then SDK
<fullstop>
Let's say that I have code which is used in two platforms, and there are a few changes to the Makefile
<fray>
The cross compilers/SDK is produced by an "OS" person.. given to the app devs.. they dev, and work back and forth with OS folks.. then when the app is done their either integrate (create the recipe) or hand off the app to an integration / OS team..
<fullstop>
I'd like to get changes merged into the same branch, but the patch generated by devtool will get merged as well since it's applied to the git tree.
<fullstop>
I feel like I'm not quite explaining myself well, but devtool is 90% of what I want.
<fullstop>
Maybe I should look at extracting the toolchain and sysroot for a package and using it outside of yocto.
<fray>
Most of the developers in here "know too much" to use devtool, it would slow down our work. For people who aren't YP experts, then devtool can be very useful
armpit_ has joined #yocto
<fray>
already implemented.. bitbake core-image-minimal -c populate_sdk -- (adjust as needed) but this is what we give to our app developers..
<qschulz>
fullstop: what about having a patch specific to your platform? e.g. adding your patch in a subdir named after your machine, or use SRC_URI_append_machine for the patch
<fullstop>
fray: that looks very promising
<jsbronder>
fullstop: I build meta-ide-support (with some extra packages appened to the list and writing a cmake toolchain file like cmake.bbclass) and then source the environment file it produces.
<fullstop>
jsbronder: I'll look at that next if populate_sdk doesn't do what I think it does.
<fray>
populate_sdk builds an installable SDK that matches the libraries available in an image 1:1
<fray>
it does NOT include a copy of the YP build environment (devtool) like the 'eSDK' will.. (populate_sdk_ext)
<fray>
so the app developer has to deploy (for test) their own way with an SDK.. while the eSDK has devtool and can help them generate new images, etc -- but it's much larger
_whitelogger has joined #yocto
gsalazar has quit [Ping timeout: 272 seconds]
hcg has joined #yocto
armpit_ is now known as armpit
frieder has quit [Remote host closed the connection]
hcg has quit [Quit: Client closed]
rcw has joined #yocto
sakoman has joined #yocto
manuel_ has joined #yocto
manuel_ is now known as manuel1985
halstead__ has quit [Ping timeout: 264 seconds]
Dracos-Carazza has joined #yocto
<ecdhe>
How can I override oe_runmake running more jobs than BB_NUMBER_THREADS?
<zeddii>
add -j <whatever you want> ?
<zeddii>
assuming Make that is :D
<ecdhe>
Was hoping to override it globally
_whitelogger has joined #yocto
<RP>
ecdhe: set PARALLEL_MAKE
_whitelogger has joined #yocto
JaMa has joined #yocto
<paulg>
that reminds me ; we probably should move the || options from the largely ignored sample file to be commented out options in the autocreated default so they are easily tweaked/enabled
<paulg>
I always have to go looking for them in a new build/machine-deploy to ensure I don't fark up the spealing.
signal11 has quit [Ping timeout: 264 seconds]
<manuel1985>
I'm setting up CI for yocto. Do you people keep the TMPDIR between builds?
signal11 has joined #yocto
colin-pm has joined #yocto
colin-pm has quit [Quit: Connection closed]
<JPEW>
manuel1985: TMPDIR no. Share you sstate though
<manuel1985>
JPEW: Alright, thought so. Thanks.
dev1990 has joined #yocto
<JaMa>
manuel1985: depends on the build, for some faster incremental CI builds I'm sharing TMPDIR as well (so that the build of big image doesn't spend most of the time unpacking the same sstate during every run)
<JaMa>
JPEW: I have a question about your last bitbake fix https://lists.openembedded.org/g/bitbake-devel/message/12343 does this happen always or only rarely? I'm seeing bitbake hanging after early parsing errors (typically b.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'foo' in
<JaMa>
upstream git repository in git ls-remote output for ...
<JaMa>
but it's quite rare and I haven't found a reliable way to trigger this yet
<JPEW>
It seems like it's always
<JPEW>
It came up a lot in the YP summit when the students would mistype something
<JaMa>
rm -rf tmp-glibc cache/ __pycache__/; bitbake --runall=write_bom_data lib32-some-big-image; in for loop was able to eventually reproduce it, but when I try to replicate it on something smaller with less layers it doesn't happen (or I wasn't patient enough)
<tlwoerner>
fullstop: maybe you want "devtool modify …"
<JPEW>
JaMa: Interesting. It could be related... Its caused by the client not sending an message to the server, perhaps there is something else that could cause it
<JPEW>
Something more likely with a lot of layers
<tlwoerner>
fullstop: it unpacks the sources in workspace, edit the sources, make a commit, then "devtool finish …" and the recipe gets updated automatically with the patch(es)
<JaMa>
it left 3 processes behind, strace -p shows:
<JPEW>
JaMa: The defining characteristic was that bitbake-server didn't exit and you had to kill it...I didn't look for other processes
<JaMa>
ok, possibly different path then, here bitbake-server is already gone
<JPEW>
Probably then
<JPEW>
Sorry :)
<JaMa>
will continue to debug this, it's also worth noting that I see it on dunfell, but that's just because most our developers produce those parsing errors on dunfell based builds :)