Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
[opensuse-buildservice] Local cross compile/build ... does not work
Hi,

on a Leap 42.2 x86_64 I see for

osc build --root <my root for ARM> openSUSE_Factory armv7l

the following

[ 5s] running aaa_base preinstall script
[ 5s] chroot: failed to run command 'sh': No such file or directory
[ 5s] running aaa_base postinstall script
[ 5s] chroot: failed to run command 'sh': No such file or directory
[ 5s] initializing rpm db...
[ 5s] chroot: failed to run command '/usr/bin/rpmdb': No such file or
directory
[ 5s]
[ 5s] noether failed "build clisp.spec" at Fri Dec 2 14:19:18 UTC 2016.

after doing

sudo cp /usr/bin/qemu-*-binfmt /abuild/oscbuild/openSUSE_Factory.ARM/usr/bin/

this change to

[ 5s] running aaa_base preinstall script
[ 5s] running aaa_base postinstall script
[ 5s] initializing rpm db...
[ 5s]
[ 5s] noether failed "build clisp.spec" at Fri Dec 2 14:19:42 UTC 2016.

qemu is installed and the architectures had been registered at the first
run of osc (btw: it is enough to do this only once):

ll /proc/sys/fs/binfmt_misc/
total 0
-rw-r--r-- 1 root root 0 Dec 2 15:18 aarch64
-rw-r--r-- 1 root root 0 Dec 2 15:18 alpha
-rw-r--r-- 1 root root 0 Dec 2 15:18 arm
-rw-r--r-- 1 root root 0 Dec 2 15:18 armeb
-rw-r--r-- 1 root root 0 Dec 2 15:18 m68k
-rw-r--r-- 1 root root 0 Dec 2 15:18 mips
-rw-r--r-- 1 root root 0 Dec 2 15:18 mipsel
-rw-r--r-- 1 root root 0 Dec 2 15:18 ppc
-rw-r--r-- 1 root root 0 Dec 2 15:18 ppc64
-rw-r--r-- 1 root root 0 Dec 2 15:18 ppc64le
--w------- 1 root root 0 Dec 2 15:18 register
-rw-r--r-- 1 root root 0 Dec 2 15:18 s390x
-rw-r--r-- 1 root root 0 Dec 2 15:18 sh4
-rw-r--r-- 1 root root 0 Dec 2 15:18 sh4eb
-rw-r--r-- 1 root root 0 Dec 2 15:18 sparc
-rw-r--r-- 1 root root 0 Dec 2 15:18 status
cat /proc/sys/fs/binfmt_misc/arm
enabled
interpreter /usr/bin/qemu-arm-binfmt
flags: P
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00fffffffffffffffffeffffff

What does go wrong here?

Werner

--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
< Previous Next >