[OE-core] [PATCH v4] elfutils: fix ptest failures
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Fri May 31 08:48:10 UTC 2019
On Fri, 2019-05-31 at 14:40 +0800, Yu, Mingli wrote:
>
> On 2019年05月31日 04:49, 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 didn't encounter the failure during do_rootfs when "bitbake
> core-image-sato-sdk" with musl on qemux86.
>
> Could you help to provide your local.conf?
Its an autobuilder run and you can see the configuration here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/648/steps/7/logs/stdio
====================================================================================================
Writing /home/pokybuild/yocto-worker/musl-qemux86/build/build/conf/auto.conf with contents: (1559222710.4)
====================================================================================================
MACHINE = "qemux86"
DISTRO = "poky"
SDKMACHINE = "x86_64"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
DL_DIR = '/srv/autobuilder/autobuilder.yoctoproject.org/current_sources'
PRSERV_HOST = 'localhost:0'
SSTATE_DIR ?= '/srv/autobuilder/autobuilder.yoctoproject.org/pub/sstate'
TCLIBC = 'musl'
QEMU_USE_KVM = 'True'
INHERIT += 'report-error'
PREMIRRORS = ''
BB_GENERATE_MIRROR_TARBALLS = '1'
BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 16'
BB_TASK_NICE_LEVEL = '5'
BB_TASK_NICE_LEVEL_task-testimage = '0'
BB_TASK_IONICE_LEVEL = '2.7'
BB_TASK_IONICE_LEVEL_task-testimage = '2.1'
INHERIT += 'testimage'
TEST_QEMUBOOT_TIMEOUT = '1500'
SANITY_TESTED_DISTROS = ''
SDK_EXT_TYPE = 'minimal'
SDK_INCLUDE_TOOLCHAIN = '1'
BB_DISKMON_DIRS = 'STOPTASKS,${TMPDIR},1G,100K STOPTASKS,${DL_DIR},1G STOPTASKS,${SSTATE_DIR},1G STOPTASKS,/tmp,100M,100K ABORT,${TMPDIR},100M,1K ABORT,${DL_DIR},100M ABORT,${SSTATE_DIR},100M ABORT,/tmp,10M,1K'
then it tells you what it ran:
Running '. ./oe-init-build-env; bitbake core-image-minimal core-image-full-cmdline core-image-sato-sdk world -k' with output to /home/pokybuild/yocto-worker/musl-qemux86/build/build/command.log.1b
with "bitbake core-image-full-cmdline" likely being the thing which
breaks.
Cheers,
Richard
More information about the Openembedded-core
mailing list