[ 0s] Using BUILD_ROOT=/srv/build/root_1/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_1/root [ 0s] [ 0s] [ 0s] w12 started "build _service:gbs:jsontool.spec" at Mon Mar 13 05:36:48 UTC 2017. [ 0s] [ 0s] Building jsontool for project 'Tizen:IVI' repository 'arm' arch 'armv7l' srcmd5 '137973965073fabb95c3d01e55ae0183' [ 0s] [ 0s] processing specfile /srv/build/root_1/.build-srcdir/_service:gbs:jsontool.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_1/.build-srcdir/_service:gbs:jsontool.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_1/.build.rpmlist /srv/build/root_1/.build-srcdir/_service:gbs:jsontool.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] Copying qemu-fix-build-hang.sh [ 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 libgcc... [ 0s] [6/40] preinstalling bash... [ 0s] [7/40] preinstalling diffutils... [ 0s] [8/40] preinstalling grep... [ 0s] [9/40] preinstalling libattr... [ 0s] [10/40] preinstalling libbz2... [ 0s] [11/40] preinstalling libcap... [ 0s] [12/40] preinstalling libelf... [ 0s] [13/40] preinstalling libfreebl3... [ 0s] [14/40] preinstalling liblua... [ 0s] [15/40] preinstalling liblzma... [ 0s] [16/40] preinstalling libncurses... [ 0s] [17/40] preinstalling libpopt... [ 0s] [18/40] preinstalling libsmack... [ 0s] [19/40] preinstalling libsqlite... [ 1s] [20/40] preinstalling libuuid... [ 1s] [21/40] preinstalling nspr... [ 1s] [22/40] preinstalling sed... [ 1s] [23/40] preinstalling zlib... [ 1s] [24/40] preinstalling qemu-accel-x86_64-armv7l... [ 5s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 6s] [26/40] preinstalling coreutils... [ 6s] [27/40] preinstalling libacl... [ 6s] [28/40] preinstalling libblkid... [ 6s] [29/40] preinstalling libreadline... [ 6s] [30/40] preinstalling smack... [ 6s] [31/40] preinstalling bzip2... [ 6s] [32/40] preinstalling libmagic... [ 6s] [33/40] preinstalling libxml2... [ 6s] [34/40] preinstalling libmount... [ 6s] [35/40] preinstalling tar... [ 6s] [36/40] preinstalling util-linux... [ 6s] [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... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 10s] booting kvm ... [ 10s] /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 16000 -drive file=/srv/build/root_1/root,if=virtio,cache=none -drive file=/srv/build/root_1/root,if=ide,index=0,cache=none -drive file=/srv/build/root_1/swap,if=virtio,cache=none -smp 8 [ 14s] doing fast boot [ 14s] Creating device nodes with udev [ 15s] Waiting for device /dev/vda to appear: ok [ 15s] fsck from util-linux 2.21.2 [ 15s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 15s] /dev/vda: clean, 5096/4194304 files, 383312/16777216 blocks [ 15s] fsck succeeded. Mounting root device read-write. [ 15s] Mounting root /dev/vda [ 15s] mount -o rw -t ext4 /dev/vda /root [ 15s] replacing /etc/mtab with symlink to /proc/self/mounts [ 24s] 2nd stage started in virtual machine [ 24s] machine type: armv7l [ 28s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 28s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 28s] swapon /dev/vdb [ 28s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 31s] mount: none is already mounted or /proc busy [ 31s] mount: none is already mounted or /dev/pts busy [ 31s] logging output to //.build.log... [ 32s] processing specfile /.build-srcdir/_service:gbs:jsontool.spec ... [ 32s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:jsontool.spec build rpmlint-Factory ... [ 41s] running qemu-linux-user-x86_64-cross postinstall script [ 42s] running qemu-accel-x86_64-armv7l postinstall script [ 42s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 42s] running setup postinstall script [ 42s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 42s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 42s] initializing rpm db... [ 47s] [1/92] installing libmagic-data-5.28-5.2 [ 47s] [2/92] installing setup-0.9-4.3 [ 47s] [3/92] installing terminfo-base-5.9-2.2 [ 47s] [4/92] installing filesystem-3.2-12.1 [ 47s] [5/92] installing glibc-2.20-13.2 [ 47s] [6/92] installing libatomic-4.9.2-20.7 [ 47s] [7/92] installing libgcc-4.9.2-20.7 [ 48s] [8/92] installing libgomp-4.9.2-20.7 [ 48s] [9/92] installing bash-3.2.57-3.5 [ 48s] [10/92] installing cpio-2.11-3.1 [ 48s] [11/92] installing diffutils-3.3-1.14 [ 48s] [12/92] installing findutils-4.3.8-3.2 [ 48s] [13/92] installing hostname-3.12-1.9 [ 48s] [14/92] installing libattr-2.4.47-2.2 [ 48s] [15/92] installing libbz2-1.0.6-2.29 [ 48s] [16/92] installing libcap-2.24-1.92 [ 48s] [17/92] installing libelf-0.153-6.10 [ 48s] [18/92] installing libext2fs-1.42.13-2.10 [ 48s] [19/92] installing libfreebl3-3.23-5.24 [ 48s] [20/92] installing libitm-4.9.2-20.7 [ 48s] [21/92] installing libltdl-2.4.2-3.7 [ 48s] [22/92] installing liblua-5.1.4-1.19 [ 49s] [23/92] installing liblzma-5.2.2-5.1 [ 49s] [24/92] installing libpcre-8.39-3.2 [ 49s] [25/92] installing libpopt-1.16-2.8 [ 49s] [26/92] installing libsmack-1.3.0-5.2 [ 49s] [27/92] installing libsmartcols-2.28-8.2 [ 49s] [28/92] installing libsqlite-3.8.10.2-1.16 [ 50s] [29/92] installing libstdc++-4.9.2-20.7 [ 50s] [30/92] installing libuuid-2.28-8.2 [ 50s] [31/92] installing m4-1.4.17-2.2 [ 50s] [32/92] installing net-tools-2.0_20121208git-1.12 [ 50s] [33/92] installing nspr-4.12-5.9 [ 50s] [34/92] installing patch-2.7-1.11 [ 50s] [35/92] installing pkg-config-0.28-1.14 [ 50s] [36/92] installing sed-4.1c-2.7 [ 50s] [37/92] installing update-alternatives-1.18.15-2.1 [ 50s] [38/92] installing which-2.20-1.9 [ 50s] [39/92] installing zlib-1.2.8-2.1 [ 50s] [40/92] installing libncurses-5.9-2.2 [ 50s] [41/92] installing build-compare-2015.04.28-6.12 [ 50s] [42/92] installing libstdc++-devel-4.9.2-20.7 [ 51s] [43/92] installing qemu-linux-user-x86_64-cross-2.7.0-1.2.1 [ 52s] [44/92] installing cpp-4.9.2-20.7 [ 53s] [45/92] installing gcc-c++-4.9.2-20.7 [ 53s] [46/92] installing binutils-2.25-7.8 [ 54s] [47/92] installing coreutils-6.9-8.2 [ 54s] [48/92] installing db4-4.8.30.NC-2.2 [ 54s] [49/92] installing gawk-3.1.5-2.12 [ 54s] [50/92] installing grep-2.5.2-2.12 [ 54s] [51/92] installing less-466-1.12 [ 54s] [52/92] installing libacl-2.2.52-3.6 [ 54s] [53/92] installing libasm-0.153-6.10 [ 54s] [54/92] installing libblkid-2.28-8.2 [ 54s] [55/92] installing libopenssl-1.0.2j-12.2 [ 54s] [56/92] installing libreadline-5.2-2.7 [ 55s] [57/92] installing libubsan-4.9.2-20.7 [ 55s] [58/92] installing make-4.0-2.2 [ 55s] [59/92] installing nss-certs-3.23-5.24 [ 55s] [60/92] installing procps-ng-3.3.9-4.1 [ 55s] [61/92] installing smack-1.3.0-5.2 [ 55s] [62/92] installing bzip2-1.0.6-2.29 [ 55s] [63/92] installing libmagic-5.28-5.2 [ 55s] [64/92] installing libxml2-2.9.4-5.5 [ 55s] [65/92] installing xz-5.2.2-5.1 [ 55s] [66/92] installing libdw-0.153-6.10 [ 55s] [67/92] installing linux-glibc-devel-3.10-1.4 [ 55s] [68/92] installing file-5.28-5.2 [ 56s] [69/92] installing glibc-locale-2.20-13.2 [ 56s] [70/92] installing libmount-2.28-8.2 [ 56s] [71/92] installing tar-1.17-2.9 [ 56s] [72/92] installing gzip-1.3.12-2.15 [ 56s] [73/92] installing libfdisk1-2.28-8.2 [ 56s] [74/92] installing pam-1.1.6-4.6 [ 56s] [75/92] installing nodejs-4.4.3-5.7 [ 57s] [76/92] installing perl-5.20.0-3.82 [ 58s] [77/92] installing tzdata-2016f-2.3 [ 58s] [78/92] installing elfutils-0.153-6.10 [ 59s] [79/92] installing gcc-4.9.2-20.7 [ 60s] [80/92] installing build-mkbaselibs-20120927-1.4 [ 60s] [81/92] installing glibc-devel-2.20-13.2 [ 60s] [82/92] installing qemu-accel-x86_64-armv7l-0.4-15.3 [ 66s] warning: %post(qemu-accel-x86_64-armv7l-0.4-15.3.armv7l) scriptlet failed, exit status 1 [ 66s] [83/92] installing autoconf-2.69-1.7 [ 66s] [84/92] installing util-linux-2.28-8.2 [ 66s] [85/92] installing automake-1.14.1-1.5 [ 66s] [86/92] installing util-linux-su-2.28-8.2 [ 66s] [87/92] installing build-20120927-1.4 [ 66s] [88/92] installing libtool-2.4.2-3.7 [ 66s] [89/92] installing nss-3.23-5.24 [ 67s] [90/92] installing libsoftokn3-3.23-5.24 [ 67s] [91/92] installing rpm-4.11.0.1-13.1 [ 69s] [92/92] installing rpm-build-4.11.0.1-13.1 [ 69s] removing nis flags from //etc/nsswitch.conf... [ 69s] now finalizing build dir... [ 75s] build target is armv7l-tizen-linux [ 75s] ----------------------------------------------------------------- [ 75s] I have the following modifications for jsontool.spec: [ 75s] 5c5 [ 75s] < Release: 0 [ 75s] --- [ 75s] > Release: 1.5 [ 75s] ----------------------------------------------------------------- [ 75s] ----- building jsontool.spec (user abuild) [ 75s] ----------------------------------------------------------------- [ 75s] ----------------------------------------------------------------- [ 75s] Running qemu build hang workaround... [ 75s] /bin/ps command found [ 75s] QEMU_HANG_FIX_PID=1447 [ 76s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:IVI/arm/137973965073fabb95c3d01e55ae0183-jsontool' /home/abuild/rpmbuild/SOURCES/jsontool.spec [ 76s] Building target platforms: armv7l-tizen-linux [ 76s] Building for target armv7l-tizen-linux [ 76s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cVGSee [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + rm -rf jsontool-9.0.3 [ 76s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/jsontool-9.0.3.tar.gz [ 76s] + /bin/tar -xf - [ 76s] + STATUS=0 [ 76s] + '[' 0 -ne 0 ']' [ 76s] + cd jsontool-9.0.3 [ 76s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 76s] + exit 0 [ 76s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ffd2DT [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd jsontool-9.0.3 [ 76s] ++ uname -m [ 76s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 76s] + LANG=C [ 76s] + export LANG [ 76s] + unset DISPLAY [ 76s] + 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' [ 76s] + export CFLAGS [ 76s] + 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' [ 76s] + export CXXFLAGS [ 76s] + 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' [ 76s] + export FFLAGS [ 76s] + LDFLAGS= [ 76s] + export LDFLAGS [ 76s] + LD_AS_NEEDED=1 [ 76s] + export LD_AS_NEEDED [ 76s] + exit 0 [ 76s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A4Cf6y [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd jsontool-9.0.3 [ 76s] + LANG=C [ 76s] + export LANG [ 76s] + unset DISPLAY [ 76s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm [ 76s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm [ 76s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm//usr/bin [ 76s] + install json /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm//usr/bin [ 76s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/jsontool-9.0.3 [ 76s] + /usr/lib/rpm/check-buildroot [ 76s] + /usr/lib/rpm//brp-compress [ 76s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 76s] + /usr/lib/rpm/brp-python-hardlink [ 76s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm [ 76s] Processing files: jsontool-9.0.3-1.5.armv7l [ 76s] Provides: jsontool = 9.0.3-1.5 jsontool(armv7l-32) = 9.0.3-1.5 [ 76s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 76s] Requires: /usr/bin/env [ 76s] Processing files: jsontool-debugsource-9.0.3-1.5.armv7l [ 76s] Provides: jsontool-debugsource = 9.0.3-1.5 jsontool-debugsource(armv7l-32) = 9.0.3-1.5 [ 76s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 76s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm [ 76s] warning: Could not canonicalize hostname: w12 [ 76s] Wrote: /home/abuild/rpmbuild/SRPMS/jsontool-9.0.3-1.5.src.rpm [ 76s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/jsontool-9.0.3-1.5.armv7l.rpm [ 76s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/jsontool-debugsource-9.0.3-1.5.armv7l.rpm [ 76s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pk9HGh [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd jsontool-9.0.3 [ 76s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/jsontool-9.0.3-1.5.arm [ 76s] + exit 0 [ 76s] ... checking for files with abuild user/group [ 76s] Killing qemu-hang-fix PID=1447 [ 76s] ... creating baselibs [ 77s] ... saving built statistics [ 77s] ... saving built packages [ 77s] /home/abuild/rpmbuild/RPMS/armv7l/jsontool-9.0.3-1.5.armv7l.rpm [ 77s] /home/abuild/rpmbuild/RPMS/armv7l/jsontool-debugsource-9.0.3-1.5.armv7l.rpm [ 77s] /home/abuild/rpmbuild/SRPMS/jsontool-9.0.3-1.5.src.rpm [ 77s] /home/abuild/rpmbuild/OTHER/_statistics [ 77s] [ 77s] w12 finished "build jsontool.spec" at Mon Mar 13 05:38:04 UTC 2017. [ 77s] [ 78s] /.build/build: line 368: 252 Killed background_monitor_process [ 80s] [ 67.279674] SysRq : Power Off [ 80s] [ 67.596145] Power down. [ 81s] build: extracting built packages... [ 81s] jsontool-9.0.3-1.5.armv7l.rpm [ 81s] jsontool-debugsource-9.0.3-1.5.armv7l.rpm [ 81s] jsontool-9.0.3-1.5.src.rpm [ 81s] _statistics Retried build at Fri Mar 31 18:57:41 2017 returned same result, skipped