[ 0s] Using BUILD_ROOT=/srv/build/root_8/.mount [ 0s] Using BUILD_ARCH=aarch64 [ 0s] Doing kvm build in /srv/build/root_8/root [ 0s] [ 0s] [ 0s] w16 started "build _service:gbs:patchelf.spec" at Wed Apr 22 11:33:29 UTC 2015. [ 0s] [ 0s] Building patchelf for project 'Tizen:Common' repository 'arm64-x11' arch 'aarch64' srcmd5 'f1bed9396b7c16c9e5155ffde520e007' [ 0s] [ 0s] processing specfile /srv/build/root_8/.build-srcdir/_service:gbs:patchelf.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_8/.build-srcdir/_service:gbs:patchelf.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/8/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_8/.build.rpmlist /srv/build/root_8/.build-srcdir/_service:gbs:patchelf.spec build rpmlint-Factory ... [ 0s] registering binfmt handlers for VM [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-binfmt:P [ 0s] [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/40] preinstalling libmagic-data... [ 0s] [2/40] preinstalling setup... [ 0s] [3/40] preinstalling filesystem... [ 0s] [4/40] preinstalling glibc... [ 0s] [5/40] preinstalling bash... [ 0s] [6/40] preinstalling diffutils... [ 0s] [7/40] preinstalling libattr... [ 0s] [8/40] preinstalling libbz2... [ 1s] [9/40] preinstalling libelf... [ 1s] [10/40] preinstalling libfreebl3... [ 1s] [11/40] preinstalling libgcc_s1... [ 1s] [12/40] preinstalling liblua... [ 1s] [13/40] preinstalling liblzma... [ 1s] [14/40] preinstalling libncurses... [ 1s] [15/40] preinstalling libpopt... [ 1s] [16/40] preinstalling libsmack... [ 1s] [17/40] preinstalling libsqlite... [ 1s] [18/40] preinstalling libuuid... [ 1s] [19/40] preinstalling nspr... [ 1s] [20/40] preinstalling sed... [ 1s] [21/40] preinstalling tar... [ 1s] [22/40] preinstalling zlib... [ 1s] [23/40] preinstalling qemu-accel-aarch64-cross-aarch64... [ 4s] [24/40] preinstalling qemu-linux-user-cross-arm... [ 5s] [25/40] preinstalling grep... [ 5s] [26/40] preinstalling libacl... [ 5s] [27/40] preinstalling libblkid... [ 5s] [28/40] preinstalling libcap... [ 5s] [29/40] preinstalling libreadline... [ 5s] [30/40] preinstalling smack... [ 5s] [31/40] preinstalling bzip2... [ 5s] [32/40] preinstalling libmagic... [ 5s] [33/40] preinstalling libxml2... [ 5s] [34/40] preinstalling libmount... [ 5s] [35/40] preinstalling coreutils... [ 5s] [36/40] preinstalling util-linux... [ 6s] [37/40] preinstalling nss... [ 6s] [38/40] preinstalling libsoftokn3... [ 6s] [39/40] preinstalling rpm... [ 6s] [40/40] preinstalling rpm-security-plugin... [ 6s] [ 6s] [1/8] preinstalling libext2fs... [ 6s] [2/8] preinstalling libpcre... [ 6s] [3/8] preinstalling libuuid... [ 6s] [4/8] preinstalling perl... [ 7s] [5/8] preinstalling grep... [ 7s] [6/8] preinstalling libblkid... [ 7s] [7/8] preinstalling libmount... [ 7s] [8/8] preinstalling util-linux... [ 7s] copying packages... [ 7s] reordering...cycle: gcc49-locale -> gcc49 [ 7s] breaking dependency gcc49 -> gcc49-locale [ 7s] cycle: coreutils -> pam [ 7s] breaking dependency pam -> coreutils [ 7s] cycle: nss -> libsoftokn3 [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 15s] booting kvm ... [ 15s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -kernel /srv/obsw/vmlinuz -initrd /srv/obsw/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/initvm.x86_64 -m 8000 -drive file=/srv/build/root_8/root,if=virtio,cache=none -drive file=/srv/build/root_8/root,if=ide,index=0,cache=none -drive file=/srv/build/root_8/swap,if=virtio,cache=none -smp 4 [ 19s] doing fast boot [ 20s] Creating device nodes with udev [ 21s] Waiting for device /dev/vda to appear: ok [ 21s] fsck from util-linux 2.21.2 [ 21s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 21s] /dev/vda: clean, 4700/2392064 files, 266199/9568256 blocks [ 21s] fsck succeeded. Mounting root device read-write. [ 21s] Mounting root /dev/vda [ 21s] mount -o rw -t ext4 /dev/vda /root [ 21s] replacing /etc/mtab with symlink to /proc/self/mounts [ 21s] [ 2.460997] qemu-arm64[1]: segfault at 4000800500 ip 000000006066bf50 sp 00007fff06708340 error 7 [ 22s] 2nd stage started in virtual machine [ 22s] machine type: aarch64 [ 22s] swapon /dev/vdb [ 22s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 22s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 22s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 22s] mount: none is already mounted or /proc busy [ 22s] mount: none is already mounted or /dev/pts busy [ 22s] logging output to //.build.log... [ 22s] processing specfile /.build-srcdir/_service:gbs:patchelf.spec ... [ 23s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:patchelf.spec build rpmlint-Factory ... [ 23s] running qemu-accel-aarch64-cross-aarch64 postinstall script [ 23s] + builtin echo 'Starting qemu post script' [ 23s] Starting qemu post script [ 23s] ++ uname -m [ 23s] + '[' aarch64 = aarch64 ']' [ 23s] + builtin echo aarch64 arch [ 23s] aarch64 arch [ 23s] + ln -sf '%{our_path}/lib/libnsl.so.1' /lib/libnsl.so.1 [ 23s] + '[' '!' -d /proc/sys/fs/binfmt_misc ']' [ 23s] + did_mount_it= [ 23s] + '[' '!' -f /proc/sys/fs/binfmt_misc/register ']' [ 23s] + '[' -e /proc/sys/fs/binfmt_misc/aarch64 ']' [ 23s] + builtin echo Unregistering accelerated handler [ 23s] Unregistering accelerated handler [ 23s] + builtin echo -1 [ 23s] + '[' '!' -e /proc/sys/fs/binfmt_misc/aarch64 ']' [ 23s] + builtin echo Registering right binfmt handler [ 23s] Registering right binfmt handler [ 23s] + builtin echo ':aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/qemu/qemu-aarch64-binfmt:P' [ 23s] + cat /proc/sys/fs/binfmt_misc/aarch64 [ 23s] + sed -e 's/mask/mask /' [ 23s] enabled [ 23s] interpreter /qemu/qemu-aarch64-binfmt [ 23s] flags: P [ 23s] offset 0 [ 23s] magic 7f454c460201010000000000000000000200b7 [ 23s] mask ffffffffffffff00fffffffffffffffffeffff [ 23s] + '[' -n ']' [ 23s] + builtin echo 'Unmounting again.' [ 23s] Unmounting again. [ 23s] + umount /proc/sys/fs/binfmt_misc [ 23s] + ls /qemu [ 23s] + read f [ 23s] + '[' -f /usr/bin/qemu-aarch64 ']' [ 23s] + builtin echo /usr/bin/qemu-aarch64 already 'presents!' [ 23s] /usr/bin/qemu-aarch64 already presents! [ 23s] + read f [ 23s] + '[' -f /usr/bin/qemu-aarch64-binfmt ']' [ 23s] + builtin echo /usr/bin/qemu-aarch64-binfmt already 'presents!' [ 23s] /usr/bin/qemu-aarch64-binfmt already presents! [ 23s] + read f [ 23s] + '[' -f /usr/bin/qemu-arm64 ']' [ 23s] + builtin echo /usr/bin/qemu-arm64 already 'presents!' [ 23s] /usr/bin/qemu-arm64 already presents! [ 23s] + read f [ 23s] + '[' -f /usr/bin/qemu-arm64-binfmt ']' [ 23s] + builtin echo /usr/bin/qemu-arm64-binfmt already 'presents!' [ 23s] /usr/bin/qemu-arm64-binfmt already presents! [ 23s] + read f [ 23s] + echo All done [ 23s] All done [ 23s] + echo 0 [ 23s] + '[' -f /usr/bin/gcc ']' [ 23s] running setup postinstall script [ 23s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 23s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 23s] initializing rpm db... [ 25s] [1/99] installing libmagic-data-5.18-6.3 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [2/99] installing libstdc++-locale-4.9.2-7.11 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [3/99] installing setup-0.9-8.3 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [4/99] installing terminfo-base-5.9-4.11 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [5/99] installing filesystem-3.1-9.2 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [6/99] installing glibc-2.21-7.1 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [7/99] installing bash-4.3.30-14.4 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [8/99] installing cpio-2.11-5.7 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [9/99] installing diffutils-3.3-5.6 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [10/99] installing findutils-4.5.14-5.2 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 25s] [11/99] installing gawk-4.1.1-5.6 [ 25s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [12/99] installing hostname-3.12-4.6 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [13/99] installing libatomic-4.9.2-7.11 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [14/99] installing libattr-2.4.47-6.7 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [15/99] installing libbz2-1.0.6-5.39 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [16/99] installing libelf-0.160-5.18 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [17/99] installing libext2fs-1.42.11-7.8 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [18/99] installing libfreebl3-3.17.2-10.9 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [19/99] installing libgcc_s1-4.9.2-7.11 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [20/99] installing libgdbm-1.11-6.2 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [21/99] installing libgmp-6.0.0-5.7 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [22/99] installing libgomp-4.9.2-7.11 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [23/99] installing libitm-4.9.2-7.11 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [24/99] installing libltdl-2.4.2-4.8 [ 26s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 26s] [25/99] installing liblua-5.1.4-6.5 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [26/99] installing liblzma-5.1.3-5.3 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [27/99] installing libpcre-8.31-4.7 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [28/99] installing libpopt-1.16-4.5 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [29/99] installing libsmack-1.1.0-9.2 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [30/99] installing libsqlite-3.7.14-8.3 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [31/99] installing libuuid-2.24.2-7.14 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [32/99] installing m4-1.4.17-5.2 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [33/99] installing net-tools-2.0_20121208git-4.7 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [34/99] installing nspr-4.10.7-6.21 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 27s] [35/99] installing patch-2.7-4.6 [ 27s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [36/99] installing pkg-config-0.28-4.7 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [37/99] installing sed-4.2.2-5.3 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [38/99] installing tar-1.27-4.7 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [39/99] installing update-alternatives-1.16.3-5.6 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [40/99] installing which-2.20-4.7 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [41/99] installing zlib-1.2.8-5.2 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [42/99] installing libncurses-5.9-4.11 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [43/99] installing build-compare-2014.11.25-7.5 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [44/99] installing gcc49-info-4.9.2-7.11 [ 28s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 28s] [45/99] installing qemu-linux-user-cross-arm-2.2.0-8.3 [ 31s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 32s] [46/99] installing less-466-5.3 [ 32s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 32s] [47/99] installing libacl-2.2.52-6.3 [ 32s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 32s] [48/99] installing libasm-0.160-5.18 [ 32s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 33s] [49/99] installing libblkid-2.24.2-7.14 [ 33s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 33s] [50/99] installing libcap-2.24-5.39 [ 33s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 33s] [51/99] installing libmpfr-3.1.2-5.3 [ 33s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 33s] [52/99] installing libreadline-5.2-4.6 [ 34s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 34s] [53/99] installing make-4.0-6.2 [ 34s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 34s] [54/99] installing nss-certs-3.17.2-10.9 [ 34s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 34s] [55/99] installing smack-1.1.0-9.2 [ 34s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 34s] [56/99] installing bzip2-1.0.6-5.39 [ 34s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 34s] [57/99] installing grep-2.19-5.2 [ 35s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 35s] [58/99] installing libmagic-5.18-6.3 [ 35s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 35s] [59/99] installing libstdc++-4.9.2-7.11 [ 35s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 35s] [60/99] installing libxml2-2.8.0-6.2 [ 35s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 35s] [61/99] installing xz-5.1.3-5.3 [ 35s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 35s] [62/99] installing binutils-2.25-11.6 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode. [ 36s] [63/99] installing libdw-0.160-5.18 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] [64/99] installing db4-4.8.30.NC-5.9 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] [65/99] installing file-5.18-6.3 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] [66/99] installing libmount-2.24.2-7.14 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] [67/99] installing libmpc-1.0-4.7 [ 36s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 36s] [68/99] installing binutils-gold-2.25-11.6 [ 37s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 37s] update-alternatives: using /usr/bin/ld.gold to provide /usr/bin/ld (ld) in auto mode. [ 37s] [69/99] installing elfutils-0.160-5.18 [ 37s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 37s] [70/99] installing cpp49-4.9.2-7.11 [ 37s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 38s] [71/99] installing perl-5.20.0-5.8 [ 53s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 53s] [72/99] installing build-mkbaselibs-20120927-6.2 [ 53s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 53s] [73/99] installing cpp-4.9-6.2 [ 53s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 53s] [74/99] installing autoconf-2.69-5.3 [ 54s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 54s] [75/99] installing build-20120927-6.2 [ 54s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 54s] [76/99] installing pam-1.1.6-7.10 [ 54s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 54s] [77/99] installing nss-3.17.2-10.9 [ 54s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 54s] [78/99] installing libsoftokn3-3.17.2-10.9 [ 54s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 54s] [79/99] installing coreutils-8.21-7.2 [ 55s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 55s] [80/99] installing util-linux-2.24.2-7.14 [ 55s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 55s] [81/99] installing rpm-4.11.0.1-26.3 [ 56s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 56s] [82/99] installing linux-glibc-devel-3.10-5.2 [ 56s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 56s] [83/99] installing glibc-locale-2.21-7.1 [ 57s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 58s] [84/99] installing gzip-1.6-4.7 [ 58s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 58s] [85/99] installing automake-1.14.1-6.1 [ 58s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 58s] [86/99] installing tzdata-2014h-5.3 [ 58s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 58s] [87/99] installing rpmlint-mini-1.5-8.21 [ 59s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 59s] [88/99] installing rpm-security-plugin-4.11.0.1-26.3 [ 59s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 59s] [89/99] installing rpmlint-tizen-1.0-4.2 [ 59s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 59s] [90/99] installing glibc-devel-2.21-7.1 [ 59s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 59s] [91/99] installing libtool-2.4.2-4.8 [ 59s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 59s] [92/99] installing libstdc++49-devel-4.9.2-7.11 [ 60s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 60s] [93/99] installing gcc49-4.9.2-7.11 [ 60s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 60s] [94/99] installing gcc49-locale-4.9.2-7.11 [ 61s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 61s] [95/99] installing gcc-4.9-6.2 [ 61s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 61s] [96/99] installing gcc49-c++-4.9.2-7.11 [ 61s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 61s] [97/99] installing gcc-c++-4.9-6.2 [ 61s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 61s] [98/99] installing qemu-accel-aarch64-cross-aarch64-0.4-13.10 [ 68s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 68s] + builtin echo 'Starting qemu post script' [ 68s] Starting qemu post script [ 68s] ++ uname -m [ 68s] + '[' aarch64 = aarch64 ']' [ 68s] + builtin echo aarch64 arch [ 68s] aarch64 arch [ 68s] + ln -sf '%{our_path}/lib/libnsl.so.1' /lib/libnsl.so.1 [ 68s] + '[' '!' -d /proc/sys/fs/binfmt_misc ']' [ 68s] + did_mount_it= [ 68s] + '[' '!' -f /proc/sys/fs/binfmt_misc/register ']' [ 68s] + builtin echo mounting binfmt_misc [ 68s] mounting binfmt_misc [ 68s] + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc [ 68s] + did_mount_it=1 [ 68s] + '[' -e /proc/sys/fs/binfmt_misc/aarch64 ']' [ 68s] + builtin echo Unregistering accelerated handler [ 68s] Unregistering accelerated handler [ 68s] + builtin echo -1 [ 68s] + '[' '!' -e /proc/sys/fs/binfmt_misc/aarch64 ']' [ 68s] + builtin echo Registering right binfmt handler [ 68s] Registering right binfmt handler [ 68s] + builtin echo ':aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/qemu/qemu-aarch64-binfmt:P' [ 68s] + cat /proc/sys/fs/binfmt_misc/aarch64 [ 68s] + sed -e 's/mask/mask /' [ 68s] enabled [ 68s] interpreter /qemu/qemu-aarch64-binfmt [ 68s] flags: P [ 68s] offset 0 [ 68s] magic 7f454c460201010000000000000000000200b7 [ 68s] mask ffffffffffffff00fffffffffffffffffeffff [ 68s] + '[' -n 1 ']' [ 68s] + builtin echo 'Unmounting again.' [ 68s] Unmounting again. [ 68s] + umount /proc/sys/fs/binfmt_misc [ 68s] + ls /qemu [ 68s] + read f [ 68s] + '[' -f /usr/bin/qemu-aarch64 ']' [ 68s] + builtin echo /usr/bin/qemu-aarch64 already 'presents!' [ 68s] /usr/bin/qemu-aarch64 already presents! [ 68s] + read f [ 68s] + '[' -f /usr/bin/qemu-aarch64-binfmt ']' [ 68s] + builtin echo /usr/bin/qemu-aarch64-binfmt already 'presents!' [ 68s] /usr/bin/qemu-aarch64-binfmt already presents! [ 68s] + read f [ 68s] + '[' -f /usr/bin/qemu-arm64 ']' [ 68s] + builtin echo /usr/bin/qemu-arm64 already 'presents!' [ 68s] /usr/bin/qemu-arm64 already presents! [ 68s] + read f [ 68s] + '[' -f /usr/bin/qemu-arm64-binfmt ']' [ 68s] + builtin echo /usr/bin/qemu-arm64-binfmt already 'presents!' [ 68s] /usr/bin/qemu-arm64-binfmt already presents! [ 68s] + read f [ 68s] + echo All done [ 68s] All done [ 68s] + echo 0 [ 68s] + '[' -f /usr/bin/gcc ']' [ 68s] ++ LANG=C [ 68s] ++ gcc --version [ 68s] ++ head -1 [ 68s] ++ sed -e 's/^.*gcc[^0-9]*\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$/\1.\2/' [ 68s] + export GCCVER=4.9 [ 68s] + GCCVER=4.9 [ 68s] + for f in crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o [ 68s] + ln -s /usr/lib64/gcc/aarch64-tizen-linux/4.9/crtbegin.o /usr/lib/crtbegin.o [ 68s] + for f in crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o [ 68s] + ln -s /usr/lib64/gcc/aarch64-tizen-linux/4.9/crtbeginS.o /usr/lib/crtbeginS.o [ 68s] + for f in crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o [ 68s] + ln -s /usr/lib64/gcc/aarch64-tizen-linux/4.9/crtbeginT.o /usr/lib/crtbeginT.o [ 68s] + for f in crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o [ 68s] + ln -s /usr/lib64/gcc/aarch64-tizen-linux/4.9/crtend.o /usr/lib/crtend.o [ 68s] + for f in crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o [ 68s] + ln -s /usr/lib64/gcc/aarch64-tizen-linux/4.9/crtendS.o /usr/lib/crtendS.o [ 68s] [99/99] installing rpm-build-4.11.0.1-26.3 [ 68s] error: Failed to dlopen /usr/lib64/rpm-plugins/msm.so /usr/lib64/rpm-plugins/msm.so: cannot open shared object file: No such file or directory [ 68s] removing nis flags from //etc/nsswitch.conf... [ 68s] now finalizing build dir... [ 69s] qemu: Unsupported syscall: 219 [ 75s] build target is aarch64-tizen-linux [ 75s] ----------------------------------------------------------------- [ 75s] I have the following modifications for patchelf.spec: [ 75s] 4c4 [ 75s] < Release: 0 [ 75s] --- [ 75s] > Release: 4.7 [ 75s] ----------------------------------------------------------------- [ 75s] ----- building patchelf.spec (user abuild) [ 75s] ----------------------------------------------------------------- [ 75s] ----------------------------------------------------------------- [ 76s] qemu: Unsupported syscall: 219 [ 76s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Common/arm64-x11/f1bed9396b7c16c9e5155ffde520e007-patchelf' /home/abuild/rpmbuild/SOURCES/patchelf.spec [ 76s] Building target platforms: aarch64-tizen-linux [ 76s] Building for target aarch64-tizen-linux [ 76s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mOjuLJ [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + rm -rf patchelf-0.6 [ 76s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/patchelf-0.6.tar.bz2 [ 76s] + /bin/tar -xf - [ 76s] + STATUS=0 [ 76s] + '[' 0 -ne 0 ']' [ 76s] + cd patchelf-0.6 [ 76s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 76s] + cp /home/abuild/rpmbuild/SOURCES/patchelf.manifest . [ 76s] + exit 0 [ 76s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KAKvUp [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd patchelf-0.6 [ 76s] ++ uname -m [ 76s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 76s] + ref=/usr/lib/rpm [ 76s] + for s in guess sub [ 76s] ++ find -maxdepth 8 -name config.guess [ 76s] + for s in guess sub [ 76s] ++ find -maxdepth 8 -name config.sub [ 76s] + LANG=C [ 76s] + export LANG [ 76s] + unset DISPLAY [ 76s] + CFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g' [ 76s] + export CFLAGS [ 76s] + CXXFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g' [ 76s] + export CXXFLAGS [ 76s] + FFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g -I%_fmoddir' [ 76s] + export FFLAGS [ 76s] + LD_AS_NEEDED=1 [ 76s] + export LD_AS_NEEDED [ 76s] + CFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g' [ 76s] + export CFLAGS [ 76s] + CXXFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g' [ 76s] + export CXXFLAGS [ 76s] + FFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g -I%_fmoddir' [ 76s] + export FFLAGS [ 76s] + ./configure --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info [ 76s] checking for a BSD-compatible install... /bin/install -c [ 77s] checking whether build environment is sane... yes [ 77s] checking for a thread-safe mkdir -p... /bin/mkdir -p [ 77s] checking for gawk... gawk [ 77s] checking whether make sets $(MAKE)... yes [ 77s] checking for aarch64-unknown-linux-gnu-gcc... no [ 77s] checking for gcc... gcc [ 77s] checking whether the C compiler works... yes [ 77s] checking for C compiler default output file name... a.out [ 77s] checking for suffix of executables... [ 78s] checking whether we are cross compiling... no [ 78s] checking for suffix of object files... o [ 78s] checking whether we are using the GNU C compiler... yes [ 78s] checking whether gcc accepts -g... yes [ 78s] checking for gcc option to accept ISO C89... none needed [ 78s] checking for style of include used by make... GNU [ 78s] checking dependency style of gcc... gcc3 [ 78s] checking for aarch64-unknown-linux-gnu-g++... no [ 78s] checking for aarch64-unknown-linux-gnu-c++... no [ 78s] checking for aarch64-unknown-linux-gnu-gpp... no [ 78s] checking for aarch64-unknown-linux-gnu-aCC... no [ 78s] checking for aarch64-unknown-linux-gnu-CC... no [ 78s] checking for aarch64-unknown-linux-gnu-cxx... no [ 78s] checking for aarch64-unknown-linux-gnu-cc++... no [ 78s] checking for aarch64-unknown-linux-gnu-cl.exe... no [ 78s] checking for aarch64-unknown-linux-gnu-FCC... no [ 78s] checking for aarch64-unknown-linux-gnu-KCC... no [ 78s] checking for aarch64-unknown-linux-gnu-RCC... no [ 78s] checking for aarch64-unknown-linux-gnu-xlC_r... no [ 78s] checking for aarch64-unknown-linux-gnu-xlC... no [ 78s] checking for g++... g++ [ 78s] checking whether we are using the GNU C++ compiler... yes [ 78s] checking whether g++ accepts -g... yes [ 78s] checking dependency style of g++... gcc3 [ 78s] configure: creating ./config.status [ 78s] config.status: creating Makefile [ 78s] config.status: creating src/Makefile [ 79s] config.status: creating tests/Makefile [ 79s] config.status: executing depfiles commands [ 79s] + make [ 79s] Making all in src [ 79s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 79s] g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"patchelf\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.6\" -I. -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc [ 79s] In file included from patchelf.cc:9:0: [ 79s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsLibrary() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn]': [ 79s] patchelf.cc:744:32: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn]' [ 79s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 79s] patchelf.cc:1089:36: required from here [ 79s] patchelf.cc:611:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 79s] assert((off_t) curOff == startOffset + neededSpace); [ 79s] ^ [ 79s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsExecutable() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn]': [ 79s] patchelf.cc:747:35: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn]' [ 79s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 79s] patchelf.cc:1089:36: required from here [ 79s] patchelf.cc:684:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 79s] assert((off_t) rdi(hdr->e_shoff) >= startOffset); [ 79s] ^ [ 79s] patchelf.cc:725:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 79s] assert((off_t) curOff == neededSpace); [ 79s] ^ [ 83s] mv -f .deps/patchelf.Tpo .deps/patchelf.Po [ 83s] g++ -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -finline-functions -fdiagnostics-color=never -march=armv8-a+fp+simd+crc+crypto -g -o patchelf patchelf.o [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 83s] Making all in tests [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[1]: Nothing to be done for 'all'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] make[1]: Nothing to be done for 'all-am'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] + exit 0 [ 83s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uOSErw [ 83s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd patchelf-0.6 [ 83s] + LANG=C [ 83s] + export LANG [ 83s] + unset DISPLAY [ 83s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 [ 83s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 install [ 83s] Making install in src [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 83s] test -z "/usr/bin" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/bin" [ 83s] /bin/install -c patchelf '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/bin' [ 83s] make[2]: Nothing to be done for 'install-data-am'. [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 83s] Making install in tests [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[2]: Nothing to be done for 'install-exec-am'. [ 83s] make[2]: Nothing to be done for 'install-data-am'. [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] make[2]: Nothing to be done for 'install-exec-am'. [ 83s] /bin/install -c -d /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/patchelf [ 83s] /bin/install -c -m 644 README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/patchelf/ [ 83s] test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/man/man1" [ 83s] /bin/install -c -m 644 patchelf.1 '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/man/man1' [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 83s] + rm -f /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/info/dir [ 83s] + xargs rm -f -- [ 83s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 -regex '.*\.la$' [ 83s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 -regex '.*\.a$' [ 83s] + xargs rm -f -- [ 83s] + rm /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/patchelf/README [ 83s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/patchelf-0.6 [ 83s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/bin/patchelf [ 83s] cpio: glibc-2.21/csu: Cannot stat: No such file or directory [ 83s] cpio: glibc-2.21/csu/elf-init.c: Cannot stat: No such file or directory [ 83s] cpio: glibc-2.21/csu/init.c: Cannot stat: No such file or directory [ 83s] cpio: glibc-2.21/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 83s] cpio: glibc-2.21/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 83s] cpio: glibc-2.21/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 83s] 294 blocks [ 83s] + /usr/lib/rpm/brp-compress [ 83s] + /usr/lib/rpm/brp-tizen [ 83s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 [ 83s] Processing files: patchelf-0.6-4.7.aarch64 [ 83s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 83s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 83s] [ 83s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FsQuNF [ 83s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd patchelf-0.6 [ 83s] + DOCDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/packages/patchelf [ 83s] + export DOCDIR [ 83s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/packages/patchelf [ 83s] + cp -pr README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/doc/packages/patchelf [ 83s] + exit 0 [ 83s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kqI3fP [ 83s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd patchelf-0.6 [ 83s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/licenses/patchelf [ 83s] + export LICENSEDIR [ 83s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/licenses/patchelf [ 83s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64/usr/share/licenses/patchelf [ 83s] + exit 0 [ 84s] Provides: patchelf = 0.6-4.7 patchelf(aarch-64) = 0.6-4.7 [ 84s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 84s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) [ 84s] Processing files: patchelf-debugsource-0.6-4.7.aarch64 [ 84s] Provides: patchelf-debugsource = 0.6-4.7 patchelf-debugsource(aarch-64) = 0.6-4.7 [ 84s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 84s] Processing files: patchelf-debuginfo-0.6-4.7.aarch64 [ 84s] Provides: debuginfo(build-id) = 030898da6b4719c217942f8db8681464e44528b8 [ 84s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 84s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 [ 84s] warning: Could not canonicalize hostname: w16 [ 84s] Wrote: /home/abuild/rpmbuild/SRPMS/patchelf-0.6-4.7.src.rpm [ 84s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/patchelf-0.6-4.7.aarch64.rpm [ 84s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debugsource-0.6-4.7.aarch64.rpm [ 84s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debuginfo-0.6-4.7.aarch64.rpm [ 84s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kF08HG [ 84s] + umask 022 [ 84s] + cd /home/abuild/rpmbuild/BUILD [ 84s] + cd patchelf-0.6 [ 84s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-4.7.aarch64 [ 84s] + exit 0 [ 84s] ... checking for files with abuild user/group [ 84s] [ 84s] RPMLINT report: [ 84s] =============== [ 84s] qemu: Unsupported syscall: 219 [ 90s] patchelf.aarch64: E: non-standard-group (Badness: 200) Development/Libraries/C and C++ [ 90s] patchelf.src: E: non-standard-group (Badness: 200) Development/Libraries/C and C++ [ 90s] The value of the Group tag in the package is not valid. Valid groups are [ 90s] listed here: https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag [ 90s] [ 90s] 2 packages and 0 specfiles checked; 2 errors, 0 warnings. [ 90s] [ 90s] ... creating baselibs [ 90s] qemu: Unsupported syscall: 219 [ 91s] ... comparing built packages with the former built [ 91s] /usr/lib/build/rpm-check.sh [ 91s] compare /.build.oldpackages/patchelf-0.6-4.6.src.rpm /home/abuild/rpmbuild/SRPMS/patchelf-0.6-4.7.src.rpm [ 91s] comparing rpmtags [ 91s] comparing RELEASE [ 91s] comparing PROVIDES [ 91s] comparing scripts [ 91s] comparing filelist [ 91s] comparing file checksum [ 92s] compare /.build.oldpackages/patchelf-0.6-4.6.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/patchelf-0.6-4.7.aarch64.rpm [ 92s] comparing rpmtags [ 92s] comparing RELEASE [ 92s] comparing PROVIDES [ 92s] --- /tmp/tmp.lh0Y7OYTsR 2015-04-22 11:35:00.000000000 +0000 [ 92s] +++ /tmp/tmp.SpzkOHM1B8 2015-04-22 11:35:00.000000000 +0000 [ 92s] @@ -6,6 +6,7 @@ [ 92s] libc.so.6(GLIBC_2.17)(64bit) 16384 [ 92s] libgcc_s.so.1()(64bit) 16384 [ 92s] libgcc_s.so.1(GCC_3.0)(64bit) 16384 [ 92s] +libm.so.6()(64bit) 16384 [ 92s] libstdc++.so.6()(64bit) 16384 [ 92s] libstdc++.so.6(CXXABI_1.3)(64bit) 16384 [ 92s] libstdc++.so.6(GLIBCXX_3.4)(64bit) 16384 [ 92s] RPM meta information is different [ 92s] compare /.build.oldpackages/patchelf-debuginfo-0.6-4.6.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debuginfo-0.6-4.7.aarch64.rpm [ 92s] skipping -debuginfo package [ 92s] compare /.build.oldpackages/patchelf-debugsource-0.6-4.6.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debugsource-0.6-4.7.aarch64.rpm [ 92s] comparing rpmtags [ 92s] comparing RELEASE [ 92s] comparing PROVIDES [ 92s] comparing scripts [ 92s] comparing filelist [ 92s] comparing file checksum [ 92s] creating rename script [ 92s] RPM meta information is identical [ 92s] comparing /.build.oldpackages/rpmlint.log and /home/abuild/rpmbuild/OTHER/rpmlint.log [ 94s] ... saving built statistics [ 94s] ... saving built packages [ 94s] /home/abuild/rpmbuild/RPMS/aarch64/patchelf-0.6-4.7.aarch64.rpm [ 94s] /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debuginfo-0.6-4.7.aarch64.rpm [ 94s] /home/abuild/rpmbuild/RPMS/aarch64/patchelf-debugsource-0.6-4.7.aarch64.rpm [ 94s] /home/abuild/rpmbuild/SRPMS/patchelf-0.6-4.7.src.rpm [ 94s] /home/abuild/rpmbuild/OTHER/_statistics [ 94s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 94s] [ 94s] w16 finished "build patchelf.spec" at Wed Apr 22 11:35:03 UTC 2015. [ 94s] [ 97s] [ 78.471296] SysRq : Power Off [ 97s] [ 78.479526] Power down. [ 98s] build: extracting built packages... [ 98s] patchelf-0.6-4.7.aarch64.rpm [ 98s] patchelf-debuginfo-0.6-4.7.aarch64.rpm [ 98s] patchelf-debugsource-0.6-4.7.aarch64.rpm [ 98s] patchelf-0.6-4.7.src.rpm [ 98s] _statistics [ 98s] rpmlint.log