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
olani_ has joined #yocto
olani_ has quit [Remote host closed the connection]
olani- has quit [Ping timeout: 252 seconds]
florian has quit [Ping timeout: 246 seconds]
tlwoerner_ has joined #yocto
uglyoldbob has joined #yocto
tlwoerner has quit [Ping timeout: 252 seconds]
hnez has quit [Read error: Connection reset by peer]
shoragan has quit [Read error: Connection reset by peer]
chrissi^|lxa has quit [Read error: Connection reset by peer]
shoragan has joined #yocto
chrissi^|lxa has joined #yocto
chrissi^|lxa has quit [Client Quit]
shoragan has quit [Remote host closed the connection]
hnez has joined #yocto
chrissi^|lxa has joined #yocto
shoragan has joined #yocto
vvn has quit [Quit: WeeChat 4.5.1]
qschulz has quit [Remote host closed the connection]
qschulz has joined #yocto
uglyoldbob has quit [Quit: Client closed]
davidinux has quit [Ping timeout: 252 seconds]
davidinux has joined #yocto
starblue has quit [Ping timeout: 265 seconds]
starblue has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
tammranil has quit [Remote host closed the connection]
tammranil has joined #yocto
Guest24 has joined #yocto
<Guest24> I want to upgrade my yocto version from dunfell to scarthgap-5.0.5, can i do it directly or need to upgrade to each version in between  dunfell & scarthgap?
Guest24 has quit [Quit: Client closed]
ChristosG has joined #yocto
ChristosG has quit [Ping timeout: 240 seconds]
Chaser has joined #yocto
PhoenixMage has quit [Ping timeout: 252 seconds]
PhoenixMage has joined #yocto
ehussain has joined #yocto
g0hl1n has joined #yocto
jmd has joined #yocto
goliath has joined #yocto
tor has joined #yocto
ptsneves has joined #yocto
rob_w has joined #yocto
ptsneves has quit [Ping timeout: 276 seconds]
leon-anavi has joined #yocto
frgo_ has joined #yocto
frgo_ has quit [Read error: Connection reset by peer]
frgo has quit [Ping timeout: 244 seconds]
frgo has joined #yocto
<tor> Hi, i have a problem with a recipe that needs procps-dev from poky. I add procps-dev to DEPENDS in my recipe but bitbake then says "ERROR: Nothing PROVIDES 'procps-dev'" this even though rpms are built for procps-dev. What am i missing?
<tor> It do however say when trying to build: "Close matches: procps\n procps RPROVIDES procps-dev" but obviously the recepies doesnt build with procps in DEPENDS.
frieder has joined #yocto
dmoseley_ has quit [Ping timeout: 246 seconds]
dmoseley has joined #yocto
ykrons has joined #yocto
rfuentess has joined #yocto
<RP> tor: there is a difference between "recipe" namespace and generated packages namespace (aka runtime)
dmoseley has quit [Ping timeout: 252 seconds]
<RP> tor: DEPENDS are recipe names, RDEPENDS are packages
<RP> so you'd DEPEND on procps or RDEPENDS on procps-dev
dmoseley has joined #yocto
mbulut has joined #yocto
Kubu_work has joined #yocto
<tor> RP: thx but if i put procps-dev in RDEPENDS, bitbake does not complain anymore but the recipe/package still does not compile since it is missing development files during build. Isn't RDEPENDS dependencies during runtime on target? I need the pkg-config file and libraries during build.
<RP> tor: build time is DEPENDS so you'd put procps into DEPENDS
ablu has quit [Read error: Connection reset by peer]
<tor> RP: Sorry, maybe i have misunderstood something. But the procps package only provides the procps applications, top, kill etc not the development files. (Which are in procps-dev and libproc2) With procps in DEPENDS and procps-dev in RDEPENDS it still wont compile :/
ablu has joined #yocto
<ykrons> Hi all
<RP> tor: there are two different namespaces, build time and run time. At build time, the contents of the sysroot files are used, not packages. This means DEPENDS += procps is the right thing to do
<RP> the procps sysroot files will have any development headers and so on at build time. It is different to the generated packages
florian has joined #yocto
<LetoThe2nd> rburton: remind my aging brain, what's the correct way to tinker with fancy refi security boot yadayada through meta-arm?
<LetoThe2nd> *uefi, even.
<ykrons> I'm using an old Yocto version (2.6) and several recipes are now failing to fetch sources for two reasons: change in github that didn't allow unauthenticated git protocol and rename in some repository of the branch master into main. I know how to fix it, but it requires a lot of recipe modifications. Is there a script or a global way to fix such issue withtout creating a bbappend for every impacted recipes ?
<LetoThe2nd> ykrons: yup, its called upgrading.
<RP> ykrons: setting PREMIRRORS might help but 2.6 is rather old
<ykrons> :) yes but it is an old project with minimal maintenance and the cost to upgrade is too high unfortunately
<LetoThe2nd> ykrons: well then deprecate it and cut down maintenance to 0. :-)
Chaser_ has joined #yocto
Chaser has quit [Ping timeout: 252 seconds]
florian has quit [Ping timeout: 252 seconds]
<LetoThe2nd> rburton: MACHINE qemuarm64-secureboot it is?
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #yocto
frgo has joined #yocto
<ykrons> LetoThe2nd: thanks, I don't know I can replace the branch and protocol with PREMIRRORS. Not sure about the syntax but I will try.
frgo has quit [Remote host closed the connection]
frgo has joined #yocto
prabhakalad has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
<mischief> we are beginning our scarthgap upgrade soon.. wish me luck
frgo has joined #yocto
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #yocto
frgo_ has quit [Read error: Connection reset by peer]
frgo has joined #yocto
frgo has quit [Read error: Connection reset by peer]
frgo has joined #yocto
vthor has quit [Excess Flood]
vthor has joined #yocto
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #yocto
<RP> ykrons: I think in modern bitbake you can. In 2.6 maybe not, I don't remember
<tor> RP: But isn't the sysroot for the build of _my_ package made with the packages in DEPENDS. Is the sysroot made up from sysroots on all dependencies? I.e. from build/tmp/sysroot-components?
<RP> tor: it is made of the things in sysroot-components but those are not packages and not packaged based, there is one per recipe
<RP> ykrons: put some anonymous python in to remap SRC_URI as needed
<tor> RP: I see that thx then i learned something new today :) Ok, i might have found the problem. The procps used by the build is older than the one in Yocto. Thx for the patience!
rvignesh has joined #yocto
<rvignesh> Hi everyone,
<rvignesh> aarch64-poky-linux-musl-ld: /recipe-sysroot//usr/lib/libgbm.so: undefined reference to `calloc@GLIBC_2.17'
<rvignesh> aarch64-poky-linux-musl-ld: /recipe-sysroot//usr/lib/libgbm.so: undefined reference to `__stack_chk_guard@GLIBC_2.17'
<rvignesh> I am building a clang and musl-based Yocto project, but I'm encountering issues with prebuilt libraries that were built against glibc. Specifically, I am facing the following errors:
<rvignesh> aarch64-poky-linux-musl-ld: /recipe-sysroot//usr/lib/libgbm.so: undefined reference to `close@GLIBC_2.17'
<rvignesh> These errors seem to be related to missing glibc functions such as close, calloc, and others, which are required by the prebuilt libgbm.so library.
<rvignesh> What I've tried so far:
<rvignesh> I have added gcompat to the DT_NEEDED section of the prebuilt libraries using patchelf.
<rvignesh> I have ensured that gcompat is available in the recipe by adding it as a dependency.
<rvignesh> Despite these efforts, I am still getting the same errors.
<rvignesh> Can anyone suggest how I might resolve this? Should I explicitly link against gcompat, or is there something else I might be missing?
<rvignesh> Thanks in advance!
ederibaucourt has quit [Ping timeout: 244 seconds]
<RP> rvignesh: I doubt a library compiled against glibc is going to work with musl
arduo has joined #yocto
<rvignesh> Ah I see, then I might understand something wrong about gcompat library. It claims that it will make glibc compatible in musl system.
florian has joined #yocto
ardoc has joined #yocto
ardoc has quit [Remote host closed the connection]
arduo has quit [Remote host closed the connection]
<RP> rvignesh: looking at it, it does look like you're right and it can under some circumstances. If the symbols are missing I think that means support for that age/symbol set isn't there though
florian_kc has joined #yocto
Chaser_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
frgo_ has quit [Read error: Connection reset by peer]
frgo has joined #yocto
frgo has quit [Ping timeout: 260 seconds]
<rvignesh> RP, grep realloc * -r
<rvignesh> CHANGELOG.rst:* Adds __libc_malloc, __libc_calloc, __libc_realloc, and __libc_free which are
<rvignesh> CHANGELOG.rst: and malloc/calloc/realloc.
<rvignesh> libgcompat/malloc.c: return realloc(ptr, size);
<rvignesh> libgcompat/malloc.c:void *__libc_realloc(void *ptr, size_t size)
<rvignesh> libgcompat/malloc.c:alias(__libc_realloc, __realloc);
<rvignesh> I was trying to check the definition of some missing functions of gcompat. there is a definition present.
<RP> rvignesh: the error is for a versioned symbol though so the compat lib needs a matching versioned symbol
<RP> why the symbol is versioned I don't know, they normally have a reason
Chaser has joined #yocto
<rvignesh> RP: Okay, rings a bell in gcompat documentation regarding glibc version like GLIBC_FAKE_VERSION.
<rvignesh> I didnt exported the variables in my build. I will try them as well.
<mischief> that does not appear to help you with versioned symbols https://git.adelielinux.org/adelie/gcompat/-/blob/current/libgcompat/version.c?ref_type=heads#L21
<rvignesh> oops, okay. Then I dont see a way except recompiling the libraries against musl.
<rvignesh> which is not possible at the moment. gcompat was my big hope.
ederibaucourt has joined #yocto
Austriker has joined #yocto
<rburton> LetoThe2nd: the -secureboot machines yes. mcfrisk is more involved with that than i am.
Chaser has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
<mcfrisk> LetoThe2nd: see qemuarm64-secureboot machine and related kas build config in meta-arm for examples
Chaser has joined #yocto
Austriker has quit [Quit: Client closed]
Chaser has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
reatmon_ has quit [Remote host closed the connection]
reatmon_ has joined #yocto
Chaser has joined #yocto
Chaser has quit [Ping timeout: 252 seconds]
ctraven has joined #yocto
uglyoldbob has joined #yocto
othiman has joined #yocto
nbx100 has joined #yocto
<nbx100> Hi, does anyone worked on updating android-tools. The latest version in the repo is based on android-5.1.1.r37. Thanks!
ptsneves has joined #yocto
rob_w has quit [Remote host closed the connection]
PhoenixMage has quit [Ping timeout: 248 seconds]
PhoenixMage has joined #yocto
ptsneves has quit [Ping timeout: 252 seconds]
ptsneves has joined #yocto
sotaoverride has quit [Killed (iridium.libera.chat (Nickname regained by services))]
ctraven is now known as sotaoverride
sotaover1ide has joined #yocto
PhoenixMage has quit [Ping timeout: 265 seconds]
PhoenixMage has joined #yocto
cyxae has joined #yocto
PhoenixMage has quit [Ping timeout: 248 seconds]
PhoenixMage has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
rfuentess has quit [Remote host closed the connection]
<georgem> perf call graphs seem to be broken on qemuarm (as well as my 32 bit ARM SoC) with poky scarthgap even with dbg-pkgs and `perf record --call-graph dwarf`. Has anyone gotten working call graphs (backtraces) with perf recently on 32 bit ARM?
sanbeam9 has joined #yocto
rfuentess has joined #yocto
othiman has quit [Quit: Client closed]
frieder has quit [Remote host closed the connection]
pbergin has joined #yocto
sanbeam9 has quit [Ping timeout: 260 seconds]
ChristosG has joined #yocto
florian has quit [Ping timeout: 264 seconds]
florian_kc has quit [Quit: Ex-Chat]
nbx100 has quit [Quit: Client closed]
ptsneves has joined #yocto
olani- has joined #yocto
olani- has quit [Remote host closed the connection]
olani- has joined #yocto
g0hl1n has quit [Quit: Client closed]
druppy has joined #yocto
ChristosG has quit [Quit: Client closed]
leon-anavi has quit [Quit: Leaving]
druppy has quit [Remote host closed the connection]
druppy has joined #yocto
<RP> georgem: I wish we had automated testing for that
Kubu_work has quit [Quit: Leaving.]
<georgem> It might have been broken for a while. I'll have to check an earlier release. Just seems like something more people would have complained about.
<RP> georgem: I've not seen anyone mention it but it could have been broken for a while sadly
florian has joined #yocto
uglyoldbob has quit [Quit: Client closed]
paulg has quit [Quit: Leaving]
florian has quit [Ping timeout: 244 seconds]
<rburton> georgem: there is a patch on the list to save .debug_frame sections so it looks like there's definitely something going on here
<rburton> (though that patch appears to be specific to stripped binaries and using minidebuginfo)
<rburton> a silly test app that runs for a few seconds to profile would be useful
<georgem> indeed
rfuentess has quit [Remote host closed the connection]
<AdrianF> georgem: what is broken? One of my colleagues had it working on scartsgap but some symbols (not all) could not be found with dbg-pkgs installed. I did not look into more details.
Slawek has joined #yocto
druppy has quit [Ping timeout: 252 seconds]
tlwoerner_ has quit [Quit: Leaving]
tlwoerner has joined #yocto
jmiehe has joined #yocto
<georgem> AdrianF: I get different results with perf --callgraph and --callgraph dwarf but the back traces are wrong and/or incomplete. So you'll see a symbol and when you expand it with '+' after running `perf report -g` it'll show no caller. I suspect it's an ARM 32 bit specific issue.
<Slawek> I need to cross-compile my application which is called with make, but also uses cmake for some modules. How do you introduce cmake without doing "inherit cmake"?
<gmorell> w2
<georgem> I just found that forcing ARM_INSTRUCTION_SET = "arm" and setting TARGET_CFLAGS += " -fno-omit-frame-pointer -mapcs-frame" makes `perf record -g` work which is good enough for profiling on debug builds for me.
olani_ has joined #yocto
ChristosG has joined #yocto
<AdrianF> georgem: Thank you for sharing this. Sounds similar to what I heard about. It was also on ARM 32.
Kubu_work has joined #yocto
<rburton> Slawek: DEPEND on cmake-native, but then you need to write a toolchain file by hand. i'd use cmake for everything if its code you wrote.
goliath has quit [*.net *.split]
Danct12 has quit [*.net *.split]
rfs613 has quit [*.net *.split]
Xogium has quit [*.net *.split]
suihkulokki has quit [*.net *.split]
fray has quit [*.net *.split]
mdp has quit [*.net *.split]
sarahn has quit [*.net *.split]
Ram-Z_ has quit [*.net *.split]
demirok has quit [*.net *.split]
nsbdfl has quit [*.net *.split]
LDericher has quit [*.net *.split]
simond47222 has quit [*.net *.split]
landgraf has quit [*.net *.split]
rmmr has quit [*.net *.split]
goliath has joined #yocto
Ram-Z_ has joined #yocto
Danct12 has joined #yocto
rfs613 has joined #yocto
Xogium has joined #yocto
suihkulokki has joined #yocto
fray has joined #yocto
sarahn has joined #yocto
mdp has joined #yocto
nsbdfl has joined #yocto
demirok has joined #yocto
LDericher has joined #yocto
simond47222 has joined #yocto
landgraf has joined #yocto
rmmr has joined #yocto
florian has joined #yocto
jmiehe has quit [Quit: jmiehe]
florian_kc has joined #yocto
florian has quit [Ping timeout: 252 seconds]
Slawek has quit [Ping timeout: 240 seconds]
Slawek has joined #yocto
<Slawek> Thanks rburton. I did start to dissect poky/meta/classes-recipe/cmake.bbclass to find all the clues. Unfortunately, We are inching towards full cmake but it's just not the reality now.
<Slawek> Not exactly sure what a "toolchain file" is, but I guess I'll probably across it sooner or later.
<Slawek> Not exactly sure what a "toolchain file" is, but I guess I'll probably run across it sooner or later.
<gmorell> a/w 2
jmiehe has joined #yocto
alimon has quit [Ping timeout: 252 seconds]
Lihis has quit [Quit: Quitting]
Lihis has joined #yocto
pbergin_ has joined #yocto
pbergin has quit [Ping timeout: 252 seconds]
jmiehe has quit [Quit: jmiehe]
florian_kc has quit [Ping timeout: 248 seconds]
florian_kc has joined #yocto
jmd has quit [Remote host closed the connection]
mbulut has quit [Ping timeout: 244 seconds]
<rburton> Slawek: its the thing that tells cmake how to cross-compile
pbergin_ has quit [Quit: Leaving]
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
Net147 has quit [Remote host closed the connection]
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
florian_kc has quit [Ping timeout: 248 seconds]
Slawek has quit [Quit: Client closed]
fberton has joined #yocto
fberton has quit [Client Quit]
berton has joined #yocto
berton has quit [Client Quit]
berton has joined #yocto
berton has quit [Quit: berton]
olani- has quit [Remote host closed the connection]
cyxae has quit [Quit: cyxae]
ChristosG has quit [Ping timeout: 240 seconds]
olani- has joined #yocto
druppy has joined #yocto
pidge_ has joined #yocto
pidge has quit [Ping timeout: 244 seconds]
pidge_ has quit [Read error: Connection reset by peer]
pidge has joined #yocto
ptsneves has quit [Ping timeout: 252 seconds]
druppy has quit [Ping timeout: 252 seconds]
olani- has quit [Ping timeout: 244 seconds]
olani_ has quit [Ping timeout: 260 seconds]
chep has quit [Read error: Connection reset by peer]
chep has joined #yocto
Dracos-Carazza_ has joined #yocto
Dracos-Carazza has quit [Ping timeout: 260 seconds]
pidge_ has joined #yocto
pidge has quit [Ping timeout: 252 seconds]
jerrycash2 has joined #yocto
goliath has quit [Ping timeout: 260 seconds]