[OE-core] [PATCH] openssl: fix ptest case `test_symbol_presence' failed

Richard Purdie richard.purdie at linuxfoundation.org
Mon Oct 1 12:07:26 UTC 2018


On Sun, 2018-09-30 at 14:39 +0800, Hongxu Jia wrote:
> The case in ptest use `nm -Pg libcrypto.so.1.1' to check symbol
> presence,
> hence we need to inhibit package split and package debug split.
> 
> The binutils provides `nm', hence add it to ptest runtime depends.
> (Without `nm', the test_symbol_presence will be skipped, that's the
> reason why ptest passed on a small image, and failed on a full image)
> 
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  meta/recipes-connectivity/openssl/openssl_1.1.1.bb | 6 ++++++
>  1 file changed, 6 insertions(+)

Breaking packaging when enabling ptest is not a nice or desirable
behaviour. I'd actually much rather just disable this test, or tweak it
to work on the -dbg package. Does the test pass if the dbg package is
installed?

Cheers,

Richard




More information about the Openembedded-core mailing list