Hey guys, can anybody help me with cross build.
I’m trying to build my project for openSUSE:Factory:ARM:standard repository in chroot.
But every time i got an error.
Building qbs.spec for openSUSE_Factory_ARM/armv7l
Getting buildinfo from server and store to /mnt/storage/documents/qbs/qbs/.osc/_buildinfo-openSUSE_Factory_ARM-armv7l.xml
Getting buildconfig from server and store to /mnt/storage/documents/qbs/qbs/.osc/_buildconfig-openSUSE_Factory_ARM-armv7l
Updating cache of required packages
0.0% cache miss. 312/312 dependencies cached.
Verifying integrity of cached packages
using keys from openSUSE.org:openSUSE:Factory
Writing build configuration
Running build
VM_IMAGE: , VM_SWAP:
logging output to /home/build/openSUSE_Factory_ARM-armv7l/.build.log…
0s] Memory limit set to 10973788KB
0s] Using BUILD_ROOT=/home/build/openSUSE_Factory_ARM-armv7l
0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel
0s]
0s]
0s] bruteforce started “build qbs.spec” at Mon Feb 24 23:35:55 UTC 2014.
0s]
0s]
0s] processing specfile /mnt/storage/documents/qbs/qbs/qbs.spec …
0s] running changelog2spec --target rpm --file /mnt/storage/documents/qbs/qbs/qbs.spec
0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --clean --rpmlist /tmp/rpmlist.2mfgLJ /mnt/storage/documents/qbs/qbs/qbs.spec …
8s] registering binfmt handlers for VM
9s] /srv/obs/run/worker/2/build/qemu-reg: line 7: interpreter ‘/usr/bin/qemu-aarch64-binfmt’ not found, ignoring
9s] /srv/obs/run/worker/2/build/qemu-reg: line 8: interpreter ‘/usr/bin/qemu-arm64-binfmt’ not found, ignoring
11s] [1/30] preinstalling filesystem…
13s] [2/30] preinstalling glibc…
13s] [3/30] preinstalling libgcc_s1…
13s] [4/30] preinstalling fillup…
13s] [5/30] preinstalling libattr1…
14s] [6/30] preinstalling libbz2-1…
14s] [7/30] preinstalling libcap2…
14s] [8/30] preinstalling libelf1…
14s] [9/30] preinstalling liblua5_1…
14s] [10/30] preinstalling liblzma5…
14s] [11/30] preinstalling libncurses5…
14s] [12/30] preinstalling libpcre1…
15s] [13/30] preinstalling libpopt0…
15s] [14/30] preinstalling libz1…
15s] [15/30] preinstalling attr…
15s] [16/30] preinstalling libacl1…
15s] [17/30] preinstalling libreadline6…
15s] [18/30] preinstalling libselinux1…
15s] [19/30] preinstalling bash…
15s] [20/30] preinstalling qemu-linux-user…
17s] [21/30] preinstalling diffutils…
17s] [22/30] preinstalling m4…
17s] [23/30] preinstalling sed…
17s] [24/30] preinstalling tar…
17s] [25/30] preinstalling grep…
18s] [26/30] preinstalling coreutils…
19s] [27/30] preinstalling permissions…
19s] [28/30] preinstalling aaa_base…
19s] [29/30] preinstalling rpm…
20s] [30/30] preinstalling pam…
20s]
20s] running aaa_base preinstall script
20s] chroot: failed to run command ‘sh’: Too many levels of symbolic links
20s] running aaa_base postinstall script
20s] chroot: failed to run command ‘sh’: Too many levels of symbolic links
20s] initializing rpm db…
20s] chroot: failed to run command ‘/usr/bin/rpmdb’: Too many levels of symbolic links
openSUSE:Factory:ARM/standard repo is for building native on armv7l hardware. You need to build against openSUSE:Factory:ARM/qemu repo instead to be able to build arm on x86_64.
It’s works in build.opensuse.org, but doesn’t work in private installation.
When I tried to build for openSUSE:Factory:ARM/standard, I got a problem, which I described above.
But when I changed the repo name to “qemu”, the task remains in scheduled state forever.