ndec changed the topic of #yocto to: "Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Join us or Speak at Yocto Project Summit (2022.11) Nov 29-Dec 1, more: https://yoctoproject.org/summit | Join the community: https://www.yoctoproject.org/community | IRC logs available at https://www.yoctoproject.org/irc/ | Having difficulty on the list or with someone on the list, contact YP community mgr ndec"
xmn has joined #yocto
agrue has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
agrue has joined #yocto
goliath has quit [Quit: SIGSEGV]
florian_kc has joined #yocto
sakoman has quit [Quit: Leaving.]
mrnuke has joined #yocto
florian_kc has quit [Ping timeout: 246 seconds]
Estrella has quit [Ping timeout: 252 seconds]
Estrella has joined #yocto
camus has joined #yocto
Estrella has quit [Ping timeout: 252 seconds]
davidinux has quit [Ping timeout: 246 seconds]
davidinux has joined #yocto
sakoman has joined #yocto
sakoman has quit [Client Quit]
sakoman has joined #yocto
tepperson has quit [Ping timeout: 252 seconds]
tepperson has joined #yocto
starblue has quit [Ping timeout: 252 seconds]
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
starblue has joined #yocto
amitk has joined #yocto
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #yocto
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #yocto
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
camus has quit [Remote host closed the connection]
camus has joined #yocto
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
tokamak has quit [Remote host closed the connection]
tokamak has joined #yocto
sakoman has quit [Quit: Leaving.]
seninha has quit [Remote host closed the connection]
Thorn has quit [Ping timeout: 252 seconds]
tepperson has quit [Ping timeout: 252 seconds]
tepperson has joined #yocto
jclsn has quit [Ping timeout: 252 seconds]
jclsn has joined #yocto
Guest13563 has joined #yocto
alessioigor has joined #yocto
davidinux has quit [Quit: WeeChat 3.5]
advi[1] has quit [Quit: Client closed]
rob_w has joined #yocto
Guest13563 has quit [Quit: Guest13563]
Guest13563 has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
AKN has joined #yocto
goliath has joined #yocto
mihai- has quit [Quit: Leaving]
Thorn has joined #yocto
goliath has quit [Quit: SIGSEGV]
agrue has quit [Ping timeout: 260 seconds]
agrue has joined #yocto
yann has joined #yocto
Schlumpf has joined #yocto
rfuentess has joined #yocto
nerdboy has quit [Ping timeout: 255 seconds]
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
zpfvo has joined #yocto
Jham has joined #yocto
xmn has quit [Quit: ZZZzzz…]
olani- has joined #yocto
vladest has quit [Ping timeout: 248 seconds]
manuel1985 has joined #yocto
goliath has joined #yocto
zpfvo has quit [Remote host closed the connection]
frieder has joined #yocto
davidinux has joined #yocto
<KareemZarka[m]> hi , is there a way to make oe-selftest faster ?
<KareemZarka[m]> a single wic.Wic test is taking more than 2 hours
<kanavin> KareemZarka[m], it can run several tests in parallel and reuse sstate from previous builds
<RP> KareemZarka[m]: reusing sstate should help it. The -j option can run classes separately but won't help an individual test
<KareemZarka[m]> kanavin: oh how can i reuse sstate rom previous builds ? , i just finished running one test from the wic class , if i try to run it again i get an error ``` build-st already exists, aborting```
<KareemZarka[m]> RP: ah yeah i was running a single test within a class
<kanavin> KareemZarka[m], you need to set up the build to use sstate from a place that is external to the build directory, then it'll be reused.
<kanavin> KareemZarka[m], build-st is kept if the test failed, so you can inspect it, otherwise you can erase it.
<KareemZarka[m]> kanavin: right , but I was wondering if we set sstate inside of build-st/conf/local/conf , then we if we remove it , each time a new build-st will be created and therefore a new conf is created with a default sstate .. right ?
<KareemZarka[m]> KareemZarka[m]: or its enough to set it inside of the build/conf/local.conf
<kanavin> KareemZarka[m], build-st gets a copy of local.conf from the build directory that is in use when you run oe-selftest
<KareemZarka[m]> kanavin: oh perfect ! thanks
vladest has joined #yocto
<kanavin> KareemZarka[m], in general, all your builds should point to one and same sstate location in your system, unless you are debugging sstate issues
mckoan|away is now known as mckoan
mvlad has joined #yocto
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #yocto
nucatus has quit [Remote host closed the connection]
nucatus has joined #yocto
beneth has joined #yocto
davidinux has quit [Ping timeout: 260 seconds]
davidinux has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
nucatus_ has joined #yocto
manuel__ has joined #yocto
nucatus has quit [Ping timeout: 252 seconds]
manuel1985 has quit [Ping timeout: 248 seconds]
azcraft has joined #yocto
azcraft has quit [Remote host closed the connection]
azcraft has joined #yocto
krissmaster has joined #yocto
florian has joined #yocto
_azcraft has joined #yocto
_azcraft has quit [Remote host closed the connection]
azcraft has quit [Remote host closed the connection]
davidinux has quit [Ping timeout: 260 seconds]
agrue has quit [Ping timeout: 260 seconds]
azcraft has joined #yocto
davidinux has joined #yocto
agrue has joined #yocto
starblue has quit [Ping timeout: 268 seconds]
davidinux has quit [Quit: WeeChat 3.5]
starblue has joined #yocto
tepperson has quit [Ping timeout: 252 seconds]
Thorn has quit [Ping timeout: 256 seconds]
ptsneves has joined #yocto
seninha has joined #yocto
Thorn has joined #yocto
amitk_ has joined #yocto
florian_kc has joined #yocto
<rburton> KareemZarka[m]: the build-st exists thing is a bug. just pass -j1 to oe-selftest and it will work. I've been meaning to file a bug about that...
davidinux has joined #yocto
<qschulz> RP: Naan Bill'd for the next release :) ? Maybe we should add the proper pronunciation to the Wikipedia page somewhere?
<rburton> haha naan bill'd is an amazing way of expressing it
Guest13563 has quit [Quit: Guest13563]
Guest13563 has joined #yocto
amitk_ has quit [Ping timeout: 252 seconds]
<rburton> KareemZarka[m]: and set QEMU_USE_KVM="1" so it uses kvm to speed up the qemu boots (iirc)
Guest13563 has quit [Quit: Guest13563]
<mcfrisk> sigh, changing :append to :ARCH/MACHINE:append changes order of appends and sstate invalidation and full recompilation
Guest13563 has joined #yocto
Guest13563 has quit [Client Quit]
Guest13563 has joined #yocto
<qschulz> mcfrisk: likely also a mistake, I believe you should have :append:ARCH/MACHINE (at least, that's what most people want in most cases)
<mcfrisk> qschulz: very good point, I hope it's my bad. But how did the :append then work at all...
Guest13563 has quit [Remote host closed the connection]
<JaMa> mcfrisk: it does work, but it also overrides whatever was in the variable (with ARCH/MACHINE override) instead of just appending to it (when building for right ARCH/MACHINE)
<JaMa> that's why it's almost always mistake
<mcfrisk> jeez
<mcfrisk> and that's why in this case KERNEL_FEATURES variable changed and triggered recompilation which got me wondering why, that should not have happened..
brazuca has joined #yocto
<qschulz> mcfrisk: https://summit.yoctoproject.org/yocto-project-summit-2022-05/talk/SCYYWD/ may I interest you in some slides :) ?
<qschulz> starting slide 67
<mcfrisk> how many years tinkering with bitbake and it still bites..
vladest has quit [Ping timeout: 265 seconds]
hcg has joined #yocto
tepperson has joined #yocto
<RP> qschulz: haha, perhaps :)
gsalazar has joined #yocto
zpfvo has joined #yocto
prabhakarlad has quit [Ping timeout: 260 seconds]
brazuca has quit [Quit: Client closed]
amitk_ has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
vladest has joined #yocto
yann has quit [Ping timeout: 260 seconds]
Estrella has joined #yocto
grub has joined #yocto
<grub> now!!! :)
yann has joined #yocto
yann is now known as yannd
grub is now known as beastie
<beastie> age, e.g. cmake is the exact case)
<beastie> oops
<beastie> Hi all, how do I specify in a .bb file a dependency that will be used only for building purposes (will not be installed in the final image, e.g. cmake is the exact case)
sakoman has joined #yocto
beastie has joined #yocto
beastie has quit [Changing host]
davidinux has quit [Ping timeout: 260 seconds]
<qschulz> beastie: DEPENDS
<qschulz> beastie: if you're looking for a build time dependency of something that needs to run on the host machine (e.g. cmake usually), then you want the -native version of the recipe in DEPENDS
<beastie> but how I control then it is not installed?
<qschulz> if it's about shared libraries, or headers, it's likely to be the target recipe (so not -native at the end)
<qschulz> beastie: it'll not be installed if it's not needed
<Saur[m]> beastie: Build dependencies are specified using the `DEPENDS` variable. And dependencies used during build are typically referred to as `native`. So to depend on `cmake` for the build you would use `DEPENDS = "cmake-native"`. However, in most cases, if you are building a recipe that uses `cmake`, then you typically want to inherit the `cmake` bbclass instead.
davidinux has joined #yocto
<beastie> I need cmake to build a library, but I don't want it installed in the final image.
<qschulz> beastie: bitbake knows if it's required or not in the final image
<qschulz> and -native recipe NEVER makes it to the final image
<beastie> ok
<beastie> now another, and the last... i need open62541 to be build as part of a package (this is the one that requires cmake) but that package creates a .a library (static) and I don't need it anymore, once the programs are installed....
amitk_ has quit [Ping timeout: 260 seconds]
<qschulz> beastie: modify the FILES variable to only include whatever you need in the package (or make your recipe not build the static library)
<qschulz> I also believe if your software build system installs the static lib in the correct location this shouldn't happen
davidinux has quit [Ping timeout: 260 seconds]
<beastie> aham... so as I don;t make any reference to any of the library files, they will not be included... thanks... thats all... thank you qschulz
AKN has quit [Ping timeout: 255 seconds]
brazuca has joined #yocto
davidinux has joined #yocto
<beastie> nope... I link the executable as part of the programs I build.
<qschulz> beastie: your .a file, if installed in /usr/lib will be installed in -staticdev package which is not installed in your image by default
<beastie> as the library is static, there's no need to name it in the FILES variable, the modules have been included in the binary executable.
<beastie> no.... a .a is required to link a program only... not at runtime.
<qschulz> beastie: any file installed in do_install needs to be matched by *a* FILES variable
<qschulz> because they need to be in a package
<qschulz> if you install the package or not is another story
<qschulz> but we have many packages by default in a recipe
<beastie> ok.... i understand then how it goes.... if you don't name it in FILES, then nothing is copied to the image.
<qschulz> the "nhormal" package, -dev, -staticdev, -dbg, -src, -bin, -doc...
kscherer has joined #yocto
nucatus_ has quit [Read error: Connection reset by peer]
nucatus has joined #yocto
amelius has joined #yocto
<amelius> Hey, I'm trying to fetch linux sources from eSDK and keep getting:
<amelius> ERROR: the recipe and set S to the proper extracted subdirectory
<amelius> I tried setting S to either WORKDIR or work_shared.../kernel-sources, but it won't work
<amelius> Does someone have encounterd this problem?
<amelius> ERROR: S is not set to the linux source directory. Check
<amelius> Does someone have an Idea?
<qschulz> amelius: what's the SRC_URI of your kernel recipe?
<qschulz> I assume you likely want S="${WORKDIR}/git"
<amelius> with ${WORKDIR}/git i'm getting fatal: not a git repository (or any of the parent directories): .git
nucatus has quit [Read error: Connection reset by peer]
nucatus_ has joined #yocto
Jham has quit [Quit: Leaving]
Schlumpf has quit [Quit: Client closed]
Schlumpf has joined #yocto
rob_w has quit [Quit: Leaving]
<qschulz> amelius: it shouldn't be https:// but git://
<qschulz> (the rest is fine)
<qschulz> you'll see that what you have in workdir is basically an HTML page at the moment, because it does a wget https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
alessioigor has quit [Quit: alessioigor]
nucatus_ has quit [Read error: Connection reset by peer]
nucatus has joined #yocto
Schlumpf has quit [Quit: Client closed]
prabhakarlad has joined #yocto
nucatus has quit [Read error: Connection reset by peer]
nucatus_ has joined #yocto
<amelius> qschulz ah, could have seen this, thanks
amelius has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #yocto
tepperson has quit [Remote host closed the connection]
tepperson has joined #yocto
tepperson has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
prabhakarlad has quit [Quit: Client closed]
tepperson has joined #yocto
amelius has joined #yocto
tepperson has quit [Ping timeout: 246 seconds]
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
tepperson has joined #yocto
nucatus_ has quit [Remote host closed the connection]
nucatus has joined #yocto
amelius has quit [Remote host closed the connection]
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
zpfvo has quit [Ping timeout: 252 seconds]
zpfvo has joined #yocto
prabhakarlad has joined #yocto
<moto-timo> rburton: setting `privileged=true` in `/etc/gitlab-runner/config.toml` does not help the problem
<moto-timo> rburton: and the way the container is defined, the other suggestion in this thread also is not workable https://gitlab.com/gitlab-org/gitlab-runner/-/issues/263#note_36967570
brazuca has quit [Quit: Client closed]
goliath has joined #yocto
invalidopcode1 has quit [Read error: Connection reset by peer]
invalidopcode1 has joined #yocto
ptsneves has quit [Ping timeout: 268 seconds]
frieder has quit [Remote host closed the connection]
<moto-timo> rburton: chaning uid:gid for gitlab-runner user also does not help...
zpfvo has quit [Quit: Leaving.]
brazuca has joined #yocto
brazuca has quit [Quit: Client closed]
florian_kc has quit [Ping timeout: 256 seconds]
florian has quit [Ping timeout: 260 seconds]
mckoan is now known as mckoan|away
brazuca has joined #yocto
manuel__ has quit [Ping timeout: 264 seconds]
prabhakarlad has quit [Quit: Client closed]
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
davidinux has quit [Ping timeout: 265 seconds]
Guest87 has joined #yocto
<Guest87> Does anyone have experience with SWUpdate and an IMX part?
rfuentess has quit [Remote host closed the connection]
prabhakarlad has joined #yocto
xmn has joined #yocto
hcg has quit [Quit: Client closed]
seninha has quit [Remote host closed the connection]
seninha has joined #yocto
Wouter01006704 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006704 has joined #yocto
nucatus has quit [Remote host closed the connection]
nucatus has joined #yocto
nucatus has quit [Remote host closed the connection]
florian_kc has joined #yocto
nucatus has joined #yocto
nucatus has quit [Remote host closed the connection]
nucatus has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
amitk has quit [Ping timeout: 260 seconds]
davidinux has joined #yocto
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
sakoman has quit [Quit: Leaving.]
tepperson has quit [Remote host closed the connection]
nucatus has quit [Remote host closed the connection]
nucatus has joined #yocto
tepperson has joined #yocto
nucatus has quit [Client Quit]
Guest87 has quit [Quit: Client closed]
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
brazuca has quit [Ping timeout: 260 seconds]
risca has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
grub has joined #yocto
alessioigor has joined #yocto
beastie has quit [Ping timeout: 248 seconds]
alessioigor has quit [Remote host closed the connection]
grub is now known as beastie
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
tokamak has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
tokamak has joined #yocto
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
ramok has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
flynn378_ has joined #yocto
woky- has joined #yocto
ak77_ has joined #yocto
svuorela_ has joined #yocto
jclsn_ has joined #yocto
yolo_ has joined #yocto
mvlad has quit [Remote host closed the connection]
jclsn has quit [*.net *.split]
berton[m] has quit [*.net *.split]
andrewzaza[m] has quit [*.net *.split]
p34nuts[m]1 has quit [*.net *.split]
ak77 has quit [*.net *.split]
falk0n[m] has quit [*.net *.split]
Chris[m]1234567 has quit [*.net *.split]
yolo has quit [*.net *.split]
agherzan has quit [*.net *.split]
KareemZarka[m] has quit [*.net *.split]
lrusak[m] has quit [*.net *.split]
flynn378 has quit [*.net *.split]
svuorela has quit [*.net *.split]
woky_ has quit [*.net *.split]
flynn378_ is now known as flynn378
sakoman has joined #yocto
berton[m] has joined #yocto
p34nuts[m]1 has joined #yocto
andrewzaza[m] has joined #yocto
KareemZarka[m] has joined #yocto
agherzan has joined #yocto
falk0n[m] has joined #yocto
lrusak[m] has joined #yocto
Chris[m]1234567 has joined #yocto
kevinrowland has joined #yocto
<kevinrowland> Hello everyone. I'm trying to understand how the `nostamp` flag interacts with the sstate-cache. If I have a cache entry whose signature matches my-recipe:do_package, but my-recipe:do_compile is marked `nostamp`, will my-recipe:do_compile run? Or will it be skipped in favor of using the artifacts from the cache?
brazuca has joined #yocto
<kevinrowland> I'm about to test this myself, but it'd be nice to know the theory of operations from the experts on IRC
<RP> kevinrowland: nostamp means the hash will change every time so it will never match
<kevinrowland> Thanks Richard, didn't realize the hash would actually change, I thought it just affected `stamps/`
<RP> kevinrowland: originally before we had hashes it did work like that :)
demirok has joined #yocto
kscherer has quit [Quit: Konversation terminated!]
Thorn has quit [Ping timeout: 252 seconds]
LocutusOfBorg has quit [Remote host closed the connection]
LocutusOfBorg has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]