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
jmiehe has joined #yocto
<JPEW> khem: That will spin up a local one
Starfoxxes has quit [Ping timeout: 264 seconds]
lexano has quit [Ping timeout: 264 seconds]
florian_kc has quit [Ping timeout: 276 seconds]
jmiehe has quit [Quit: jmiehe]
goliath has quit [Quit: SIGSEGV]
sakman has joined #yocto
<khem> RP: figured the mips issue, its actually a problem in clone3 wrapper for mips, now sharpening my asm tooth to fix it
<gmorell> hmm what's the correct way to include libclang.so in a recipe
Daanct12 has joined #yocto
<khem> gmorell: you need meta-clang and then in the recipe you need to link with it add DEPENDS += "clang"
<gmorell> hmm, I've done that already and added an hour to my build ;) but it still doesn't seem to find libclang.so sadly and I was wondering if there was some environment var that needed to be set there
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
khazakar has quit [Quit: Connection closed for inactivity]
<khem> RP: I have fixed the mips issue potentially see https://git.yoctoproject.org/poky-contrib/log/?h=yoe/mut ( 3 glibc patches on top of tree ), started some qemumips and qemumips-alt jobs on AB lets see how it goes
<khem> gmorell: yes clang is big and OE is built from source so I am not surprised about added build time. Can you look inside your build tree of your recipe ( recipe-sysroot ) for libclang.so
<khem> see if its staged
<gmorell> yeah ill check on that
<gmorell> yeah I do have that for that recipe pkg/git-r0/recipe-sysroot/usr/lib/libclang.so
<khem> ok then show me how your app is specifying it on linker cmdline
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<gmorell> it's a dependency that pulls it in, I'm just trying to get it to actually build lemme redact/pastebin the traceback
<gmorell> which decides to invoke clang (:
<gmorell> alright going to go figure that out
sakman has quit [Ping timeout: 252 seconds]
<gmorell> I'll just find a different iface to lm-sensors that doesnt drop clang in my lap
sakman has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
jclsn has quit [Ping timeout: 240 seconds]
jclsn has joined #yocto
Daanct12 has quit [Ping timeout: 264 seconds]
otavio has quit [Ping timeout: 264 seconds]
Daanct12 has joined #yocto
ablu has quit [Read error: Connection reset by peer]
ablu has joined #yocto
paulg has quit [Ping timeout: 264 seconds]
GNUmoon has quit [Ping timeout: 255 seconds]
paulg has joined #yocto
Minvera has quit [Ping timeout: 246 seconds]
sakman has quit [Ping timeout: 255 seconds]
GNUmoon has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.2.1]
Daanct12 has joined #yocto
sakman has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #yocto
Starfoxxes has joined #yocto
khazakar has joined #yocto
amitk has quit [Ping timeout: 268 seconds]
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
Danct12 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Danct12 has joined #yocto
asriel has joined #yocto
jmd has joined #yocto
Marmottus11 has quit [Quit: The Lounge - https://thelounge.chat]
zpfvo has joined #yocto
sakman has quit [Ping timeout: 252 seconds]
rob_w has joined #yocto
alessioigor has joined #yocto
linfax has joined #yocto
frieder has joined #yocto
Vonter has quit [Ping timeout: 276 seconds]
<khem> gmorell: hmm so you need a cross-compiler here i guess
Vonter has joined #yocto
<khem> can you set TOOLCHAIN = "clang" in your recipe
Kubu_work has joined #yocto
jclsn has quit [Ping timeout: 240 seconds]
rfuentess has joined #yocto
jclsn has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
ptsneves has joined #yocto
ptsneves has quit [Ping timeout: 264 seconds]
mvlad has joined #yocto
DvorkinDmitry has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
zkrx has quit []
zkrx has joined #yocto
leon-anavi has joined #yocto
florian has joined #yocto
prabhakarlad has joined #yocto
florian_kc has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<jclsn> Not really a Yocto question, but does someone know if it is possible to set a default audio volume for a sink in the device tree and not asound.state?
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
manuel1985 has joined #yocto
Saur_Home has quit [Client Quit]
davidinux has quit [Ping timeout: 268 seconds]
Saur_Home has joined #yocto
davidinux has joined #yocto
prabhakarlad has quit [Quit: Client closed]
<alessioigor> FWIW: https://accelconf.web.cern.ch/icalepcs2023/papers/thpdp026.pdf (Yocto used in a particle accelerator)
<rber|res> The YP is also used in another particle accelerator in Switzerland ;)
<Xogium> rber|res: ah, howdy there. Just wanted to thank you again for trying to investigate my weird build failure the other day. Whatever it was, I can't reproduce it anymore, at all. I nuked the build directory and it never happened again
<alessioigor> rber|res: Great!
<rburton> alessioigor: nice
rfuentess has quit [Remote host closed the connection]
<rber|res> @Xogium: You're welcome. I saw the diffs and it looked to me like more changes were necessary, but - well. I also have some interesting issues with kernel modules and a recent master branch at the moment ;)
rfuentess has joined #yocto
<Xogium> rber|res: nah, we did the exact same thing in the end ;p that's the craziest thing. I atomized the build dir, recreated it again, set machine to stompduck2 (I hadn't changed the layer at all since), and it just worked
<rber|res> @Xogium: so much to reproducible builds ;)
<Xogium> but to make it work the very first time I had to force bitbake to run a particular task, wks_template or something. I don't remember the name of
<Xogium> yep :p
<Xogium> I guess nothing for it now but to keep an eye on it and see if it ever happens again (I very much doubt it)
<rber|res> @Xogium: Aha - so it might be reproducible after all. Sounds to me like for some magic reason some dependency is not run - the task you are talking about, which creates the wks file.
<Xogium> if it is reproducible, I have not found how to reproduce it yet, and neither did the two people who did the exact same build as me for a test
<Xogium> it might be reproducible but *very* intermitantly
<rber|res> maybe a race condition
<Xogium> yeah, that's what I think
<Xogium> that kind of reminds me of the issue I dug up in the kernel a few years ago ;)
luc4 has joined #yocto
<rber|res> I experienced something where the build sometimes worked and sometimes it did not and the solution was a [depends]
<Xogium> basically I found out the hard way (testing a watchdog with a kernel panic to see if it would work properly), that sometimes, somehow, under very specific conditions, the kernel could escape it's very own infinite loop after a panic due to preemption and keep running whatever remained on cpu0
<Xogium> took us about 3 weeks to dig that one up, and the whole time I thought I was going insane
<Xogium> I was stunned speechless when I kept being able to ping my panicked test board on the network, ssh in, and do all sorts of things
<Xogium> but only sometimes
<Xogium> unless I used nosmp ;p
<rber|res> Hehe - sounds spooky
<Xogium> yes, very much so
<Xogium> I was like, how the hell is it still running ? Oh, watchdog is being fed on cpu0...
<Xogium> and now on cpu1 so it got stopped and the system reboots normally
Daanct12 has quit [Quit: WeeChat 4.2.1]
<manuel1985> How does yocto implement the readonly-rootfs feature? I know it creates a /var/volatile, but where does it mount /var/volatile/etc on /etc? On my system `systemctl list-units --type=mount` lists 'etc.mount', but 'systemctl cat' doesn't find it and it's not in '/run/systemd/transient' either. I'm pretty puzzled.
Daanct12 has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
otavio has joined #yocto
yannd has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.2.1]
<ablu> manuel1985: /etc is kept (mostly) readonly with Yocto's readonly-rootfs. Some individual files are bind mounted to make them writable. Overall systemd has it's own understanding of stateful and stateless systems.
<ablu> There are a bunch of options here... Personally I am not a huge fan of the Yocto "readonly-rootfs" feature and prefer the systemd configurations. But it all really depends on what you want and need :)
<frosteyes> FYI - just sent at pach for the kernel-devsrc issue I mentioned the other day. It was missing some RDEPENDS.
rob_w_ has joined #yocto
rob_w has quit [Ping timeout: 264 seconds]
lexano has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
prabhakar has quit [Ping timeout: 252 seconds]
prabhakarlad has joined #yocto
prabhakar has joined #yocto
Minvera has joined #yocto
olani has quit [Remote host closed the connection]
zhmylove has joined #yocto
olani has joined #yocto
<zhmylove> Hey everyone! I have multiple recipes that using a single git monorepo. Sometimes my do_fetch fails due race condition trying to lock git refs that are already exist, thanks to parallel do_fetch execution for those recipes. Is there any way to mitigate this?
<rburton> if the url is the same then it shouldn't be racing, the first should lock and clone and the others wait
<rburton> (unless your DL_DIR is on a filesystem with broken locking...)
prabhakarlad has quit [Ping timeout: 250 seconds]
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<LetoThe2nd> How to get into the right mood for the upcoming FOSDEM weekend:
<LetoThe2nd> - buy a sixpack of Belgian beers
<LetoThe2nd> - stock up on fries (double friture!)
<LetoThe2nd> - binge watch the recordings from last years OE Workshop
<zhmylove> The FS is ext4, mount options are "rw,relataime". I've also made a simple test using flock(1) and advisory locking works properly. Would you suggest to debug git-ssh fetcher or something else?
zpfvo has quit [Ping timeout: 260 seconds]
zpfvo has joined #yocto
wmills_ has joined #yocto
rob_w_ has quit [Quit: Leaving]
mlaz has joined #yocto
mlaz has quit [Quit: mlaz]
mlaz_ has joined #yocto
sakman has joined #yocto
mlaz_ is now known as mlaz
sakman1 has joined #yocto
KorG has joined #yocto
sakman has quit [Ping timeout: 276 seconds]
sakman1 is now known as sakman
zhmylove has quit [Ping timeout: 260 seconds]
linfax has quit [Ping timeout: 276 seconds]
Xagen has joined #yocto
Guest41 has joined #yocto
leon-anavi has quit [Remote host closed the connection]
leon-anavi has joined #yocto
sakman has quit [Ping timeout: 276 seconds]
<Guest41> Hello Team
<Guest41> I'm facing a issue while running bitbake
<Guest41> ERROR: grip-hybrid-image-1.0-r0 do_rootfs: Unable to install packages. Command '/pancake-combo/build/tmp/work/hon_grip_generic-poky-linux-gnueabi/grip-hybrid-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /pancake-combo/build/tmp/work/hon_grip_generic-poky-linux-gnueabi/grip-hybrid-image/1.0-r0/opkg.conf -t
<Guest41> /pancake-combo/build/tmp/work/hon_grip_generic-poky-linux-gnueabi/grip-hybrid-image/1.0-r0/temp/ipktemp/ -o /pancake-combo/build/tmp/work/hon_grip_generic-poky-linux-gnueabi/grip-hybrid-image/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version --no-install-recommends install base-passwd board-config bridge-utils ca-certificates
<Guest41> caam-sm-key-blob codesigning coredump cpuid create-ipv6-macaddress-for-rf6 createmfg cryptoauthlib-pkcs11 curl e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs ecc508-tools ethtool evtest facparam firmware-pcie8997 flatpak flushiptables frag fscryptctl gstreamer1.0 gstreamer1.0-plugins-good-jpeg mmc-utils ncdu
<Guest41> nxp-wlan-sdk oom-score-live opensc openssl openssl-bin opkg optee-client optee-os optee-test os-release ostree ostree-bootloader-upgrader packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-openssh packagegroup-hybrid-app packagegroup-hybrid-debug packagegroup-hybrid-misc pciutils polkit polkit-group-rule-datetime
<Guest41> polkit-group-rule-rezi process-memory-profiler procps qemuwrapper-cross run-postinsts self-test shadow store-factory-data-in-bootpartition strace stress sudo systemd-analyze systemd-extra-utils systemd-serialgetty systemd-settings tmux tzdata tzdata-americas u-boot-rezi useradd-rezi-jailbird util-linux util-linux-agetty util-linux-mkfs
<Guest41> util-linux-sfdisk v4l-utils vim vim-syntax vim-vimrc wts-dut-agent zsh zutils' returned 255:
<Guest41> and one of the error is configuration error - unknown item 'SYSLOG_SU_ENAB' (notify administrator)
<Guest41> i need your suggestion, to resolve it.
<Guest41> I tried by clean all build and tried adding systemd distro features, but stiil issue was repeating.
sakman has joined #yocto
sotaoverride has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
sotaover1ide is now known as sotaoverride
Guest41 has quit [Quit: Client closed]
ctraven has joined #yocto
florian has quit [Quit: Ex-Chat]
zpfvo has quit [Remote host closed the connection]
florian_kc has quit [Ping timeout: 268 seconds]
KorG has quit [Quit: Leaving]
Marmottus11 has joined #yocto
luc4 has quit [Ping timeout: 268 seconds]
nsbdfl_ has joined #yocto
rfuentess has quit [Remote host closed the connection]
simonew has joined #yocto
xmn has joined #yocto
Vonter has quit [Ping timeout: 264 seconds]
Vonter has joined #yocto
arielmrmx has joined #yocto
<arielmrmx> Im struggling with something strange related to how RDEPENDS and PACKAGES are generated
<arielmrmx> for an old image I'm using dunfell, but got the recipe for opencv 3.4 from warrior
<arielmrmx> it builds cleanly and generates a bunch of packages
<arielmrmx> however when i try to install opkg install opencv
<arielmrmx> i get
<arielmrmx> * Problem 1/1:
<arielmrmx> * - nothing provides requested libopencv-core3.4
<arielmrmx> by inspecting i understand that opencv has a bunch of libs with PACKAGES libopencv-core but not libopencv-core3.4
<arielmrmx> so opencv does provide a sub ipk Filename: libopencv-core_3.4.5-r0_corei7-64.ipk
mlaz has quit [Ping timeout: 268 seconds]
<arielmrmx> but it RPROVIDES libopencv-core, not libopencv-core3.4
<arielmrmx> the version tag was not appended to RPROVIDES but it was appended to RDEPENDS
<arielmrmx> futher inspecting, i found DEBIAN_NOAUTONAME
<arielmrmx> that's why my package is named libopencv-core_3.4.5-r0_corei7-64.ipk
<arielmrmx> either adding or not adding DEBIAN_NOAUTONAME_* inside the recipe, has no effect
<arielmrmx> the result is that I can build opencv but I cannot install it anywhere because RDEPENDS is wrong
<simonew> Stupid question: warrior is since long EOL why use opencv from there#
<arielmrmx> there is an app requiring opencv 3.x
<arielmrmx> we just fetched the recipe from warrior
<arielmrmx> easier to do than re-generating a recipe from zero
<arielmrmx> in fact we tested this also against kirkstone, same thing
<arielmrmx> also recipes are very similar, for opencv4 and opencv3.4, so how can it be that one appends a wrong RDEPENDS ?
<arielmrmx> this is one
<arielmrmx> this is 4.x on dunfell
<arielmrmx> on both recipes i can see a: python populate_packages_prepend ()
<arielmrmx> those are in fact, identical
<arielmrmx> also, by reading into the DEBIAN_NOAUTONAME_{pn} documentation I understand that making it "1" I would avoid renaming the package, So I did
<arielmrmx> however I had to add: d.appendVar('DEBIAN_NOAUTONAME_' + pkg, '1') for each d.getVar('PACKAGES').split()
frieder has quit [Remote host closed the connection]
<arielmrmx> and that removed some verbosity about
<arielmrmx> NOTE: package name mapping done: libopencv-core -> libopencv-core3.4
<arielmrmx> dozens of opencv were not renamed anymore as seen in log_do_package_write_ipk
<simonew> Maybe it is not in the recipe (have not checked them now), but due to automatically added runtime dependencies
<arielmrmx> i had imagined that by adding DEBIAN_NOAUTONAME_{libopencv-blabla}="1" then no renaming would occur (i was right) but
<arielmrmx> the RPROVIDES seems still wrong
<arielmrmx> further strangely, the header of the IPK
<arielmrmx> of opencv
<arielmrmx> opencv_3.4.5-r0_corei7-64.ipk:
<arielmrmx> Depends: libopencv-aruco, libopencv-bgsegm, libopencv-bioinspired, libopencv-calib3d, libopencv-ccalib, libopencv-core, libopencv-datasets, libopencv-dpm, libopencv-face, libopencv-features2d, libopencv-flann, libopencv-fuzzy, libopencv-hfs, libopencv-highgui, libopencv-img-hash, libopencv-imgcodecs, libopencv-imgproc, libopencv-line-descriptor, libopencv-ml, libopencv-objdetect, libopencv-optflow, libopencv-phase-unwrapping, libopencv-photo, libopencv
<arielmrmx> Source: opencv_3.4.5.bb
<arielmrmx> -plot, libopencv-reg, libopencv-rgbd, libopencv-saliency, libopencv-sfm, libopencv-shape, libopencv-stereo, libopencv-stitching, libopencv-structured-light, libopencv-superres, libopencv-surface-matching, libopencv-tracking, libopencv-video, libopencv-videoio, libopencv-videostab, libopencv-xfeatures2d, libopencv-ximgproc, libopencv-xobjdetect, libopencv-xphoto, opencv-apps, opencv-samples
manuel1985 has quit [Quit: Leaving]
<arielmrmx> does not mention dependency on libopencv-core3.4 but, correctly, to a bare libopencv-core
florian_kc has joined #yocto
Marmottus11 has quit [Quit: The Lounge - https://thelounge.chat]
Marmottus11 has joined #yocto
<arielmrmx> by publishing the bitbake package-index
<arielmrmx> how can it Be this https://pastebin.com/QmSna4PB ??
<arielmrmx> opkg info opencv
<arielmrmx> Depends: ... , libopencv-core, ...
<arielmrmx> But:
<arielmrmx> opkg install opencv
<arielmrmx> - nothing provides requested libopencv-core3.4
simonew has quit [Ping timeout: 268 seconds]
<landgraf> arielmrmx: versioned providers in opkg is a pain...
<arielmrmx> but, i do not have installed opencv4
mlaz has joined #yocto
<arielmrmx> I have added d.appendVar('RPROVIDES_' + pkg, "testextra3")
<arielmrmx> and i can see in Packages and also on ipk info
<arielmrmx> Provides: testextra3
ptsneves has joined #yocto
<arielmrmx> Well mistery solved
<arielmrmx> I had to add a dummy "appendVar"
<arielmrmx> d.appendVar('RPROVIDES_' + pkg, " testextra3")
<arielmrmx> d.appendVar('RPROVIDES_' + pkg, " " + pkg+"3.4")
<arielmrmx> by adding that dummy RPROVIDES now it works
nerdboy has quit [Ping timeout: 260 seconds]
sakman has quit [Ping timeout: 260 seconds]
prabhakarlad has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
simonew has joined #yocto
prabhakarlad has quit [Quit: Client closed]
goliath has joined #yocto
mlaz has quit [Ping timeout: 276 seconds]
jmd` has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
ptsneves has quit [Ping timeout: 256 seconds]
prabhakarlad has joined #yocto
prabhakarlad has quit [Client Quit]
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
nerdboy has quit [Ping timeout: 252 seconds]
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
leon-anavi has quit [Quit: Leaving]
<khem> RP: the code to change order of search for native libs for ld.so.cache and rpaths - https://git.yoctoproject.org/poky/tree/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
<jmd> I have been trying to generate a SPDX-SBOM as described here: https://docs.yoctoproject.org/dev/dev-manual/sbom.html
<jmd> However so far as I can tell, adding INHERIT += "create-spdx" has no effect whatsoever. What am I missing?
<khem> RP: so now that this stub is gone, I guess we dont need to carry the re-ordering patch
nerdboy has quit [Read error: Connection reset by peer]
<mischief> are there any tricks to get the final SRCREV for AUTOREVs without using buildhistory?
nerdboy has joined #yocto
<khem> not from with-in the build system
<khem> why do you need to bridge between AUTOREVs and hardcoded SHA1's if I may ask
sakman has joined #yocto
<mischief> i'm annoyed at how long parsing takes (git ls-remotes) because of how many autorevs we have
<mischief> just wondering if there's a simple way for me to get them all pinned locally without needing to go through buildhistory (which we do have)
<khem> right, so answer is, dont use them
jmd` has quit [Remote host closed the connection]
<khem> and version bumps should be an intentional activity meaning someone bless'es it
<mischief> unfortunately other people in my organization disagree with that
<khem> if you let an autobuilder bump it, you will take away the agency from development teams and they wont care
<mischief> is there any documentation on how to do that?
<khem> so basically they want to throw all ingredients in together and roll the dice that something good comes out from other end :)
<khem> monolithic dev is not a scalable model
<khem> I am not aware if any templates, since its not a best practice we recommend
<khem> maybe use buildhistory-collect-srcrevs
<khem> After the build
simonew has quit [Quit: Konversation terminated!]
JaMa has quit [Ping timeout: 276 seconds]
vladest has quit [Quit: vladest]
jmd has quit [Remote host closed the connection]
Kubu_work has quit [Quit: Leaving.]
alessioigor has quit [Quit: alessioigor]
vladest has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<RP> khem: that doesn't look like the right bit was removed for that to obsolete that patch unfortunately
Xagen has quit [Ping timeout: 264 seconds]
<khem> yeah, this was infact a crutch we were using and upstream has removed it completely
JaMa has joined #yocto
Minvera has quit [Ping timeout: 240 seconds]
mvlad has quit [Remote host closed the connection]
gvmeson has joined #yocto
vmeson has quit [Ping timeout: 260 seconds]
gvmeson is now known as vmeson
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
florian_kc has quit [Ping timeout: 276 seconds]
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
khazakar has quit [Quit: Connection closed for inactivity]