[OE-core] [PATCH 1/2] lttng-tools ptest: add missing dependencies

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Fri Mar 15 14:40:58 UTC 2019


> Firstly, I wanted to say thanks for looking at this, there are some
> really great fixes in here.
> 
> It failed in automated testing as glibc-utils is glibc specific and
> musl builds couldn't cope with that.
> 
> We can certainly do:
> 
> RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"

Sure, since we mostly need getconf from glibc-utils, we can use musl-utils
to provide it when building with musl.

RDEPENDS_${PN}-ptest_append_libc-musl = " musl-utils"

Also, I saw that lttng-ust is removed from PACKAGECONFIG when using musl, not
sure why the commit history is not particularly verbose regarding why it was a
problem. Still, it seems to build fine but we are seeing issue regarding musl.
We checked with Alpine since they also use musl and see similar problem. I'm
investigating on that front. I'll let you know what I find.

Side note, gdb simply segfault (at start) for me on a core-image-minirmnal build using musl.
How would someone open the corefile generated on the build system with the
proper libs and all?

Thanks!

-- 
Jonathan Rajotte-Julien
EfficiOS


More information about the Openembedded-core mailing list