Created attachment 2446 [details] full error log Hello, do_populate_sdk is failing on OpenSUSE 13.2 Autobuilder machine while loading shared library librpmbuild-5.4.so while building buildtools-tarball. Issue does no replicate on other distros. See attached error log. Buildset affected: buildtools Tested on: 1.6.3_RC2: 6b8f7999c3e86d6e834af95ffe4c33d0d53db34a Autoconf content: > cat conf/auto.conf INHERIT += "report-error" DISTRO = "poky" PACKAGE_CLASSES = "package_rpm package_deb package_ipk" BB_NUMBER_THREADS = "10" PARALLEL_MAKE = "-j 10" SDKMACHINE ?= "x86_64" BB_TASK_NICE_LEVEL = "5" IMAGE_FSTYPES_append = " tar.gz" BB_TASK_NICE_LEVEL_task-testimage = "0" DL_DIR ?= "${TOPDIR}/downloads" INHERIT += "own-mirrors" SOURCE_MIRROR_URL = "file:////home/autobuilder/yocto-autobuilder/downloads" SRCREV_pn-build-appliance-image = "${AUTOREV}" SSTATE_DIR ?= "/home/autobuilder/sstate/" MACHINE = "qemux86-64" PREMIRRORS = "" ADTREPO = "http://adtrepo.yoctoproject.org//1.6.2" Error log: ERROR: Create rpm database failed. Command '/home/autobuilder/yocto-autobuilder/yocto-worker/buildtools/build/build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/autobuilder/yocto-autobuilder/yocto-worker/buildtools/build/build/tmp/work/core2-64-poky-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/1.6.2/sysroots/core2-64-poky-linux --dbpath /var/lib/rpm -qa > /dev/null' returned 127: /home/autobuilder/yocto-autobuilder/yocto-worker/buildtools/build/build/tmp/sysroots/x86_64-linux/usr/bin/rpm: error while loading shared libraries: librpmbuild-5.4.so: cannot open shared object file: No such file or directory ERROR: Function failed: do_populate_sdk ERROR: Logfile of failure stored in: /home/autobuilder/yocto-autobuilder/yocto-worker/buildtools/build/build/tmp/work/core2-64-poky-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.15401 NOTE: recipe buildtools-tarball-1.0-r0: task do_populate_sdk: Failed ERROR: Task 7 (/home/autobuilder/yocto-autobuilder/yocto-worker/buildtools/build/meta/recipes-core/meta/buildtools-tarball.bb, do_populate_sdk) failed with exit code '1'
I tried to reproduce this one and the other related RPM issue today on a Suse13.2 machine and was not able to get either of these failures. One thought from RP was there is some host contamination going on, if possible I would like to get access to the failing machine or if you can confirm is any rpm packages are installed besides the standard one. Specifically if there is a librpm installed in /usr/lib or /lib Also, please provide more specifics about what bitbake command you actually ran, I needed to guess at it based on directory names and the failure.
changed the regression field to unknown. This distro wasn't supported during 1.6 release development cycle, so the previous flag (regression, used to work) is invalid
.
Mihai, can you update this?
Saul was give access to the failing machine and as per his findings, marking this as "works for me" since the failure could not be reproduced. Will reopen if it should reappear.
Marking as verified.