diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-18 17:33:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-20 08:53:03 +0100 |
commit | ec1894938b127c1d8472b805b34d1776748df290 (patch) | |
tree | a2e650e430812752b6bc8448a0aa7cde26e88304 /meta/recipes-devtools | |
parent | 319a4bb1d03c0a94c7a524fd354972619d268b69 (diff) | |
download | poky-ec1894938b127c1d8472b805b34d1776748df290.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.185.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.185.bb b/meta/recipes-devtools/elfutils/elfutils_0.185.bb index 3d103c7c48..9ea4de8e40 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.185.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.185.bb | |||
@@ -50,11 +50,12 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" | |||
50 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" | 50 | PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" |
51 | PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" | 51 | PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" |
52 | 52 | ||
53 | RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar" | 53 | RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev" |
54 | 54 | ||
55 | EXTRA_OECONF:append:class-target = " --disable-tests-rpath" | 55 | EXTRA_OECONF:append:class-target = " --disable-tests-rpath" |
56 | 56 | ||
57 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils" | 57 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-dbg glibc-dev" |
58 | INSANE_SKIP:${PN}-ptest = "debug-deps dev-deps" | ||
58 | 59 | ||
59 | do_compile_ptest() { | 60 | do_compile_ptest() { |
60 | cd ${B}/tests | 61 | cd ${B}/tests |