Mailinglist Archive: opensuse-buildservice (220 mails)

< Previous Next >
[opensuse-buildservice] OBS2.3 arm cross-build missing "copying qemu" step
Hi,

I just did OBS upgrade on my private installation from OBS2.1 to OBS2.3.
Back in OBS2.1,
I could successfully build armv7el on x86_64 hosts.
After upgrade to OBS2.1,
all cross builds become failure with messages:
----------------------------------------------
running bzip2-x86-arm postinstall script
chroot: failed to run command `sh': No such file or directory
running tar-x86-arm postinstall script
chroot: failed to run command `sh': No such file or directory
running coreutils-x86-arm postinstall script
chroot: failed to run command `sh': No such file or directory
.........
-----------------------------------------------



I compared the old successful log with the failed one,
and found that OBS2.3 missed the step of "copying qemu":
--------------------------------------------------------
processing specfile
/local/ramdrive/obs/worker/root_2/.build-srcdir/autoconf.spec ...
running changelog2spec --target rpm --file
/local/ramdrive/obs/worker/root_2/.build-srcdir/autoconf.spec
init_buildsystem --cachedir /var/cache/build --clean --rpmlist
/local/ramdrive/obs/worker/root_2/.build.rpmlist
/local/ramdrive/obs/worker/root_2/.build-srcdir/autoconf.spec build
rpmlint-Factory ...

copying qemu
/usr/bin/qemu-arm /usr/bin/qemu-arm-binfmt /usr/bin/qemu-armeb
/usr/bin/qemu-armeb-binfmt /usr/bin/qemu-mips /usr/bin/qemu-mips-binfmt
/usr/bin/qemu-mipsel /usr/bin/qemu-mipsel-binfmt /usr/bin/qemu-mipsn32
/usr/bin/qemu-mipsn32-binfmt /usr/bin/qemu-mipsn32el
/usr/bin/qemu-mipsn32el-binfmt /usr/bin/qemu-ppc /usr/bin/qemu-ppc-binfmt
/usr/bin/qemu-ppc64 /usr/bin/qemu-ppc64-binfmt /usr/bin/qemu-ppc64abi32
/usr/bin/qemu-ppc64abi32-binfmt /usr/bin/qemu-sh4 /usr/bin/qemu-sh4-binfmt
/usr/bin/qemu-sh4eb /usr/bin/qemu-sh4eb-binfmt /usr/bin/qemu-sparc
/usr/bin/qemu-sparc-binfmt /usr/bin/qemu-sparc32plus
/usr/bin/qemu-sparc32plus-binfmt /usr/bin/qemu-sparc64
/usr/bin/qemu-sparc64-binfmt
/usr/sbin/qemu-binfmt-conf.sh
--------------------------------------------------------

How can I add this step back in OBS2.3?

OBS Server OS: OpenSUSE 11.4, OBS2.3
OBS Worker OS: OpenSUSE 12.1, obs-worker-2.3.0-1.8, qemu-1.0.1-99.1


Thanks,

Rick

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References