[OE-core] native sysroot race with rpmbuild

Richard Purdie richard.purdie at linuxfoundation.org
Mon Aug 14 10:38:18 UTC 2017


On Mon, 2017-08-14 at 11:33 +0300, Jussi Kukkonen wrote:
> I'm seeing lots of this failure in my last build:
> 
> | DEBUG: PKGWRITEDIR: /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-
> icon-theme/3.24.0-r0/deploy-rpms/noarch
> | DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux',
> 'common-glibc', 'allarch-linux', 'common']
> | DEBUG: Executing shell function BUILDSPEC
> | /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/recipe-sysroot-native/usr/bin/rpmbuild: error while loading shared
> libraries: libdw.so.1: cannot open shared object file: No such file
> or directory
> | WARNING: exit code 127 from a shell command.
> | DEBUG: Python function do_package_rpm finished
> | DEBUG: Python function do_package_write_rpm finished
> | ERROR: Function failed: BUILDSPEC (log file is located at
> /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/temp/log.do_package_write_rpm.21827)
> ERROR: Task (/home/jku/src/poky/meta/recipes-gnome/gnome/adwaita-
> icon-theme_3.24.0.bb:do_package_write_rpm) failed with exit code '1'
> 
> * libdw.so.1 isn't found when rpmbuild runs
> * seems to be a race as the library is there when I check (and
> building again works)
> * Seems to mostly happen with allarch recipes (maybe they're just
> fast enough): sysvinit-inittab, adwaita, xcursor-transparent-theme,
> iso-codes
> 
> Any ideas?

Could you tar up /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-
theme/3.24.0-r0/temp/log* and share somewhere please?

Not sure what is going on there, it seems odd :( What other tasks were
running when this happened?

I had a go at reproducing this locally but couldn't.

Cheers,

Richard



More information about the Openembedded-core mailing list