[OE-core] [PATCH v4] elfutils: fix ptest failures

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 30 22:16:53 UTC 2019


On Thu, 2019-05-30 at 21:49 +0100, richard.purdie at linuxfoundation.org
wrote:
> On Thu, 2019-05-30 at 14:11 +0800, mingli.yu at windriver.com wrote:
> > From: Mingli Yu <Mingli.Yu at windriver.com>
> > 
> > * Add missing files which needed by ptest test
> >   to fix the ptest failures such as:
> >   | sh: ../src/elflint: No such file or directory
> >   | FAIL: asm-tst4
> > 
> > * Rework 0001-skip-the-test-when-gcc-not-deployed.patch
> >   to skip the tests which depend on gcc
> > 
> > * Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to
> >   avoid stripping some generated binaries otherwise
> >   some of the tests such as test-nlist, run-strip-reloc.sh,
> >   run-strip-strmerge.sh and so on will fail
> > 
> > Before:
> > --------------------------------------------
> > Recipe   | Passed    | Failed   | Skipped
> > --------------------------------------------
> > elfutils | 176       | 23       | 4
> > --------------------------------------------
> > 
> > After:
> > --------------------------------------------
> > Recipe   | Passed    | Failed   | Skipped
> > --------------------------------------------
> > elfutils | 199       | 0       | 4
> > --------------------------------------------
> 
> Thanks, this is better again. We do still have a musl issue:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/648
> 
> Error: 
>  Problem: package packagegroup-core-full-cmdline-extended-1.0-
> r6.0.noarch requires iproute2, but none of the providers can be
> installed
>   - package packagegroup-core-full-cmdline-1.0-r6.0.noarch requires
> packagegroup-core-full-cmdline-extended, but none of the providers
> can be installed
>   - package iproute2-5.1.0-r0.0.core2_32 requires elfutils-ptest >=
> 0.176, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides elfutils-binutils needed by elfutils-ptest-
> 0.176-r0.0.core2_32
> (try to add '--skip-broken' to skip uninstallable packages or '
> --nobest' to use not only best candidate packages)

I think this may also be causing:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/652

which is due to elfutils-ptest being pulled into normal images and then
causing an OOM problem, statd is killed and then systemd reports
errors.

This is probably as the ptest package is being registered as an shlib
proivider. There should be a variable we can set to stop that and allow
the main elfutils package to be the shlibs provider for the
package.bbclass code.

Cheers,

Richard





More information about the Openembedded-core mailing list