mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
elfutils: Fix ptest dependencies
The elfutils ptests require debug symbols for the libc to be available, else we see failures such as those on the autobuilder for the fast ptest image on arm (the dbg symbols are pulled in by other recipes in other images). Also fix various test skips/error messages due to missing gcc/ld and development headers. (From OE-Core rev: 41ecc76c7fab8f9805d3271255bcd027d87298bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -50,11 +50,12 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
|
||||
PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
|
||||
PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar"
|
||||
RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev"
|
||||
|
||||
EXTRA_OECONF:append:class-target = " --disable-tests-rpath"
|
||||
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils"
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-dbg glibc-dev"
|
||||
INSANE_SKIP:${PN}-ptest = "debug-deps dev-deps"
|
||||
|
||||
do_compile_ptest() {
|
||||
cd ${B}/tests
|
||||
|
||||
Reference in New Issue
Block a user