[ 0s] Using BUILD_ROOT=/srv/build/root_3/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_3/root [ 0s] [ 0s] [ 0s] w19 started "build _service:gbs:system-rw-update.spec" at Mon Mar 13 05:25:46 UTC 2017. [ 0s] [ 0s] Building system-rw-update for project 'Tizen:Wearable' repository 'target-circle' arch 'armv7l' srcmd5 '8488ab373c5ab842a6d91af42b1f6529' [ 0s] [ 0s] processing specfile /srv/build/root_3/.build-srcdir/_service:gbs:system-rw-update.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_3/.build-srcdir/_service:gbs:system-rw-update.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/3/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_3/.build.rpmlist /srv/build/root_3/.build-srcdir/_service:gbs:system-rw-update.spec build rpmlint-Factory ... [ 1s] registering binfmt handlers for VM [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /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 [ 1s] [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] Copying qemu-fix-build-hang.sh [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling setup... [ 1s] [3/40] preinstalling filesystem... [ 1s] [4/40] preinstalling glibc... [ 1s] [5/40] preinstalling libgcc... [ 1s] [6/40] preinstalling bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libbz2... [ 1s] [11/40] preinstalling libcap... [ 1s] [12/40] preinstalling libelf... [ 1s] [13/40] preinstalling libfreebl3... [ 1s] [14/40] preinstalling liblua... [ 1s] [15/40] preinstalling liblzma... [ 1s] [16/40] preinstalling libncurses... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libsmack... [ 2s] [19/40] preinstalling libsqlite... [ 2s] [20/40] preinstalling libuuid... [ 2s] [21/40] preinstalling nspr... [ 2s] [22/40] preinstalling sed... [ 2s] [23/40] preinstalling zlib... [ 2s] [24/40] preinstalling qemu-accel-x86_64-armv7l... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 6s] [26/40] preinstalling coreutils... [ 6s] [27/40] preinstalling libacl... [ 6s] [28/40] preinstalling libblkid... [ 7s] [29/40] preinstalling libreadline... [ 7s] [30/40] preinstalling smack... [ 7s] [31/40] preinstalling bzip2... [ 7s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling libmount... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] [1/10] preinstalling libext2fs... [ 7s] [2/10] preinstalling libpcre... [ 7s] [3/10] preinstalling libsmartcols... [ 7s] [4/10] preinstalling libuuid... [ 7s] [5/10] preinstalling perl... [ 8s] [6/10] preinstalling procps-ng... [ 8s] [7/10] preinstalling grep... [ 8s] [8/10] preinstalling libblkid... [ 8s] [9/10] preinstalling libmount... [ 8s] [10/10] preinstalling util-linux... [ 8s] copying packages... [ 9s] reordering...cycle: libsoftokn3 -> nss [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] done [ 34s] booting kvm ... [ 34s] /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 6000 -drive file=/srv/build/root_3/root,if=virtio,cache=none -drive file=/srv/build/root_3/root,if=ide,index=0,cache=none -drive file=/srv/build/root_3/swap,if=virtio,cache=none -smp 4 [ 37s] doing fast boot [ 37s] Creating device nodes with udev [ 37s] Waiting for device /dev/vda to appear: ok [ 37s] fsck from util-linux 2.21.2 [ 37s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 37s] /dev/vda: clean, 5093/2392064 files, 269339/9568256 blocks [ 37s] fsck succeeded. Mounting root device read-write. [ 37s] Mounting root /dev/vda [ 37s] mount -o rw -t ext4 /dev/vda /root [ 38s] replacing /etc/mtab with symlink to /proc/self/mounts [ 39s] 2nd stage started in virtual machine [ 40s] machine type: armv7l [ 40s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 40s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 40s] swapon /dev/vdb [ 40s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 42s] mount: none is already mounted or /proc busy [ 42s] mount: none is already mounted or /dev/pts busy [ 42s] logging output to //.build.log... [ 43s] processing specfile /.build-srcdir/_service:gbs:system-rw-update.spec ... [ 43s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:system-rw-update.spec build rpmlint-Factory ... [ 55s] running qemu-linux-user-x86_64-cross postinstall script [ 56s] running qemu-accel-x86_64-armv7l postinstall script [ 57s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 57s] running setup postinstall script [ 57s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 57s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 57s] initializing rpm db... [ 88s] [1/90] installing libmagic-data-5.28-5.2 [ 91s] [2/90] installing setup-0.9-4.3 [ 93s] [3/90] installing terminfo-base-5.9-2.2 [ 93s] [4/90] installing filesystem-3.2-12.1 [ 99s] [5/90] installing glibc-2.20-13.2 [ 100s] [6/90] installing libatomic-4.9.2-20.7 [ 101s] [7/90] installing libgcc-4.9.2-20.7 [ 101s] [8/90] installing libgomp-4.9.2-20.7 [ 101s] [9/90] installing bash-3.2.57-3.5 [ 101s] [10/90] installing cpio-2.11-3.1 [ 102s] [11/90] installing diffutils-3.3-1.14 [ 102s] [12/90] installing findutils-4.3.8-3.2 [ 102s] [13/90] installing hostname-3.12-1.9 [ 102s] [14/90] installing libattr-2.4.47-2.2 [ 103s] [15/90] installing libbz2-1.0.6-2.29 [ 103s] [16/90] installing libcap-2.24-1.92 [ 103s] [17/90] installing libelf-0.153-6.10 [ 103s] [18/90] installing libext2fs-1.42.13-2.10 [ 104s] [19/90] installing libfreebl3-3.23-5.24 [ 104s] [20/90] installing libitm-4.9.2-20.7 [ 104s] [21/90] installing libltdl-2.4.2-3.7 [ 104s] [22/90] installing liblua-5.1.4-1.19 [ 105s] [23/90] installing liblzma-5.2.2-5.1 [ 105s] [24/90] installing libpcre-8.39-3.2 [ 105s] [25/90] installing libpopt-1.16-2.8 [ 105s] [26/90] installing libsmack-1.3.0-5.2 [ 105s] [27/90] installing libsmartcols-2.28-8.2 [ 106s] [28/90] installing libsqlite-3.8.10.2-1.16 [ 106s] [29/90] installing libstdc++-4.9.2-20.7 [ 106s] [30/90] installing libuuid-2.28-8.2 [ 106s] [31/90] installing m4-1.4.17-2.2 [ 106s] [32/90] installing net-tools-2.0_20121208git-1.12 [ 106s] [33/90] installing nspr-4.12-5.9 [ 107s] [34/90] installing patch-2.7-1.11 [ 107s] [35/90] installing pkg-config-0.28-1.14 [ 107s] [36/90] installing sed-4.1c-2.7 [ 107s] [37/90] installing update-alternatives-1.18.15-2.1 [ 107s] [38/90] installing which-2.20-1.9 [ 107s] [39/90] installing zlib-1.2.8-2.1 [ 107s] [40/90] installing libncurses-5.9-2.2 [ 107s] [41/90] installing build-compare-2015.04.28-6.12 [ 108s] [42/90] installing libstdc++-devel-4.9.2-20.7 [ 108s] [43/90] installing qemu-linux-user-x86_64-cross-2.7.0-1.2.1 [ 110s] [44/90] installing cpp-4.9.2-20.7 [ 111s] [45/90] installing gcc-c++-4.9.2-20.7 [ 112s] [46/90] installing binutils-2.25-7.8 [ 112s] [47/90] installing coreutils-6.9-8.2 [ 112s] [48/90] installing db4-4.8.30.NC-2.2 [ 112s] [49/90] installing gawk-3.1.5-2.12 [ 112s] [50/90] installing grep-2.5.2-2.12 [ 113s] [51/90] installing less-466-1.12 [ 113s] [52/90] installing libacl-2.2.52-3.6 [ 113s] [53/90] installing libasm-0.153-6.10 [ 113s] [54/90] installing libblkid-2.28-8.2 [ 113s] [55/90] installing libreadline-5.2-2.7 [ 114s] [56/90] installing libubsan-4.9.2-20.7 [ 115s] [57/90] installing make-4.0-2.2 [ 115s] [58/90] installing nss-certs-3.23-5.24 [ 115s] [59/90] installing procps-ng-3.3.9-4.1 [ 116s] [60/90] installing smack-1.3.0-5.2 [ 116s] [61/90] installing bzip2-1.0.6-2.29 [ 116s] [62/90] installing libmagic-5.28-5.2 [ 116s] [63/90] installing libxml2-2.9.4-5.5 [ 117s] [64/90] installing xz-5.2.2-5.1 [ 117s] [65/90] installing libdw-0.153-6.10 [ 118s] [66/90] installing linux-glibc-devel-3.10-1.4 [ 119s] [67/90] installing file-5.28-5.2 [ 119s] [68/90] installing glibc-locale-2.20-13.2 [ 120s] [69/90] installing libmount-2.28-8.2 [ 120s] [70/90] installing tar-1.17-2.9 [ 120s] [71/90] installing gzip-1.3.12-2.15 [ 120s] [72/90] installing libfdisk1-2.28-8.2 [ 120s] [73/90] installing pam-1.1.6-4.6 [ 121s] [74/90] installing perl-5.20.0-3.82 [ 128s] [75/90] installing tzdata-2016f-2.3 [ 128s] [76/90] installing elfutils-0.153-6.10 [ 128s] [77/90] installing gcc-4.9.2-20.7 [ 129s] [78/90] installing build-mkbaselibs-20120927-1.4 [ 130s] [79/90] installing glibc-devel-2.20-13.2 [ 130s] [80/90] installing qemu-accel-x86_64-armv7l-0.4-15.3 [ 139s] warning: %post(qemu-accel-x86_64-armv7l-0.4-15.3.armv7l) scriptlet failed, exit status 1 [ 139s] [81/90] installing autoconf-2.69-1.7 [ 140s] [82/90] installing util-linux-2.28-8.2 [ 143s] [83/90] installing automake-1.14.1-1.5 [ 144s] [84/90] installing util-linux-su-2.28-8.2 [ 144s] [85/90] installing build-20120927-1.4 [ 145s] [86/90] installing libtool-2.4.2-3.7 [ 145s] [87/90] installing nss-3.23-5.24 [ 146s] [88/90] installing libsoftokn3-3.23-5.24 [ 146s] [89/90] installing rpm-4.11.0.1-13.1 [ 147s] [90/90] installing rpm-build-4.11.0.1-13.1 [ 147s] removing nis flags from //etc/nsswitch.conf... [ 147s] now finalizing build dir... [ 155s] build target is armv7l-tizen-linux [ 155s] ----------------------------------------------------------------- [ 155s] I have the following modifications for system-rw-update.spec: [ 155s] 7c7 [ 155s] < Release: 0 [ 155s] --- [ 155s] > Release: 1.2 [ 155s] ----------------------------------------------------------------- [ 155s] ----- building system-rw-update.spec (user abuild) [ 155s] ----------------------------------------------------------------- [ 155s] ----------------------------------------------------------------- [ 155s] Running qemu build hang workaround... [ 155s] /bin/ps command found [ 155s] QEMU_HANG_FIX_PID=1504 [ 155s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Wearable/target-circle/8488ab373c5ab842a6d91af42b1f6529-system-rw-update' /home/abuild/rpmbuild/SOURCES/system-rw-update.spec [ 155s] Building target platforms: armv7l-tizen-linux [ 155s] Building for target armv7l-tizen-linux [ 155s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mjPyFC [ 155s] + umask 022 [ 155s] + cd /home/abuild/rpmbuild/BUILD [ 155s] + cd /home/abuild/rpmbuild/BUILD [ 155s] + rm -rf system-rw-update-0.1 [ 155s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/system-rw-update-0.1.tar.bz2 [ 155s] + /bin/tar -xf - [ 155s] + STATUS=0 [ 155s] + '[' 0 -ne 0 ']' [ 155s] + cd system-rw-update-0.1 [ 155s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 155s] + exit 0 [ 155s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.flATQ1 [ 155s] + umask 022 [ 155s] + cd /home/abuild/rpmbuild/BUILD [ 155s] + cd system-rw-update-0.1 [ 155s] ++ uname -m [ 155s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 155s] + LANG=C [ 155s] + export LANG [ 155s] + unset DISPLAY [ 155s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 155s] + export CFLAGS [ 155s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 155s] + export CXXFLAGS [ 155s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 155s] + export FFLAGS [ 155s] + LDFLAGS= [ 155s] + export LDFLAGS [ 155s] + LD_AS_NEEDED=1 [ 155s] + export LD_AS_NEEDED [ 155s] + cp /home/abuild/rpmbuild/SOURCES/system-rw-update.manifest . [ 155s] + exit 0 [ 155s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c6j0cr [ 155s] + umask 022 [ 155s] + cd /home/abuild/rpmbuild/BUILD [ 155s] + cd system-rw-update-0.1 [ 155s] + LANG=C [ 155s] + export LANG [ 155s] + unset DISPLAY [ 155s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 155s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 155s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/share [ 155s] + cp -r upgrade /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/share [ 155s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system/system-update.target.wants [ 155s] + install -m 644 units/init-update.service /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system [ 155s] + install -m 644 units/offline-update.service /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system [ 155s] + ln -s ../init-update.service /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system/system-update.target.wants/init-update.service [ 155s] + ln -s ../getty.target /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system/system-update.target.wants [ 155s] + ln -s ../cynara.socket /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/lib/systemd/system/system-update.target.wants [ 155s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/system-rw-update-0.1 [ 156s] + /usr/lib/rpm/check-buildroot [ 156s] + /usr/lib/rpm//brp-compress [ 156s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 156s] + /usr/lib/rpm/brp-python-hardlink [ 156s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 156s] Processing files: system-rw-update-0.1-1.2.armv7l [ 156s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 156s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 156s] [ 156s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.d7d7PR [ 156s] + umask 022 [ 156s] + cd /home/abuild/rpmbuild/BUILD [ 156s] + cd system-rw-update-0.1 [ 156s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/share/licenses/system-rw-update [ 156s] + export LICENSEDIR [ 156s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/share/licenses/system-rw-update [ 156s] + cp -pr LICENSE.Apache-2.0 /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm/usr/share/licenses/system-rw-update [ 156s] + exit 0 [ 156s] Provides: system-rw-update = 0.1-1.2 system-rw-update(armv7l-32) = 0.1-1.2 [ 156s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 156s] Requires: /bin/sh [ 156s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 156s] warning: Could not canonicalize hostname: w19 [ 156s] Wrote: /home/abuild/rpmbuild/SRPMS/system-rw-update-0.1-1.2.src.rpm [ 156s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/system-rw-update-0.1-1.2.armv7l.rpm [ 156s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4vsvHb [ 156s] + umask 022 [ 156s] + cd /home/abuild/rpmbuild/BUILD [ 156s] + cd system-rw-update-0.1 [ 156s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 156s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/system-rw-update-0.1-1.2.arm [ 156s] + exit 0 [ 156s] ... checking for files with abuild user/group [ 156s] Killing qemu-hang-fix PID=1504 [ 156s] ... creating baselibs [ 157s] ... saving built statistics [ 157s] ... saving built packages [ 158s] /home/abuild/rpmbuild/RPMS/armv7l/system-rw-update-0.1-1.2.armv7l.rpm [ 158s] /home/abuild/rpmbuild/SRPMS/system-rw-update-0.1-1.2.src.rpm [ 158s] /home/abuild/rpmbuild/OTHER/_statistics [ 158s] [ 158s] w19 finished "build system-rw-update.spec" at Mon Mar 13 05:28:23 UTC 2017. [ 158s] [ 161s] [ 124.970228] SysRq : Power Off [ 161s] [ 125.180271] Power down. [ 163s] build: extracting built packages... [ 164s] system-rw-update-0.1-1.2.armv7l.rpm [ 164s] system-rw-update-0.1-1.2.src.rpm [ 164s] _statistics Retried build at Fri Mar 31 18:32:25 2017 returned same result, skipped