[ 0s] Using BUILD_ROOT=/srv/build/root_2/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_2/root [ 0s] [ 0s] [ 0s] w09 started "build _service:gbs:dosfstools.spec" at Mon Mar 13 05:19:22 UTC 2017. [ 0s] [ 0s] Building dosfstools for project 'Tizen:Wearable' repository 'target-circle' arch 'armv7l' srcmd5 '7b3498fd370d5e0ffcc827bba951f2c9' [ 0s] [ 0s] processing specfile /srv/build/root_2/.build-srcdir/_service:gbs:dosfstools.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_2/.build-srcdir/_service:gbs:dosfstools.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/2/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_2/.build.rpmlist /srv/build/root_2/.build-srcdir/_service:gbs:dosfstools.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... [ 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... [ 1s] [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... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [26/40] preinstalling coreutils... [ 7s] [27/40] preinstalling libacl... [ 7s] [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] [ 8s] [1/10] preinstalling libext2fs... [ 8s] [2/10] preinstalling libpcre... [ 8s] [3/10] preinstalling libsmartcols... [ 8s] [4/10] preinstalling libuuid... [ 8s] [5/10] preinstalling perl... [ 9s] [6/10] preinstalling procps-ng... [ 9s] [7/10] preinstalling grep... [ 9s] [8/10] preinstalling libblkid... [ 9s] [9/10] preinstalling libmount... [ 9s] [10/10] preinstalling util-linux... [ 9s] copying packages... [ 9s] reordering...cycle: libsoftokn3 -> nss [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] 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_2/root,if=virtio,cache=none -drive file=/srv/build/root_2/root,if=ide,index=0,cache=none -drive file=/srv/build/root_2/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, 5095/4194304 files, 382454/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 [ 21s] 2nd stage started in virtual machine [ 21s] machine type: armv7l [ 22s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 22s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 22s] swapon /dev/vdb [ 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... [ 23s] processing specfile /.build-srcdir/_service:gbs:dosfstools.spec ... [ 23s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:dosfstools.spec build rpmlint-Factory ... [ 24s] running qemu-linux-user-x86_64-cross postinstall script [ 25s] running qemu-accel-x86_64-armv7l postinstall script [ 25s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 25s] running setup postinstall script [ 25s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 25s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 25s] initializing rpm db... [ 28s] [1/90] installing libmagic-data-5.28-5.2 [ 29s] [2/90] installing setup-0.9-4.3 [ 29s] [3/90] installing terminfo-base-5.9-2.2 [ 29s] [4/90] installing filesystem-3.2-12.1 [ 29s] [5/90] installing glibc-2.20-13.2 [ 29s] [6/90] installing libatomic-4.9.2-20.7 [ 29s] [7/90] installing libgcc-4.9.2-20.7 [ 30s] [8/90] installing libgomp-4.9.2-20.7 [ 30s] [9/90] installing bash-3.2.57-3.5 [ 30s] [10/90] installing cpio-2.11-3.1 [ 30s] [11/90] installing diffutils-3.3-1.14 [ 30s] [12/90] installing findutils-4.3.8-3.2 [ 30s] [13/90] installing hostname-3.12-1.9 [ 30s] [14/90] installing libattr-2.4.47-2.2 [ 30s] [15/90] installing libbz2-1.0.6-2.29 [ 30s] [16/90] installing libcap-2.24-1.92 [ 30s] [17/90] installing libelf-0.153-6.10 [ 30s] [18/90] installing libext2fs-1.42.13-2.10 [ 31s] [19/90] installing libfreebl3-3.23-5.24 [ 31s] [20/90] installing libitm-4.9.2-20.7 [ 31s] [21/90] installing libltdl-2.4.2-3.7 [ 31s] [22/90] installing liblua-5.1.4-1.19 [ 31s] [23/90] installing liblzma-5.2.2-5.1 [ 31s] [24/90] installing libpcre-8.39-3.2 [ 31s] [25/90] installing libpopt-1.16-2.8 [ 31s] [26/90] installing libsmack-1.3.0-5.2 [ 31s] [27/90] installing libsmartcols-2.28-8.2 [ 31s] [28/90] installing libsqlite-3.8.10.2-1.16 [ 32s] [29/90] installing libstdc++-4.9.2-20.7 [ 32s] [30/90] installing libuuid-2.28-8.2 [ 32s] [31/90] installing m4-1.4.17-2.2 [ 32s] [32/90] installing net-tools-2.0_20121208git-1.12 [ 32s] [33/90] installing nspr-4.12-5.9 [ 32s] [34/90] installing patch-2.7-1.11 [ 32s] [35/90] installing pkg-config-0.28-1.14 [ 33s] [36/90] installing sed-4.1c-2.7 [ 33s] [37/90] installing update-alternatives-1.18.15-2.1 [ 33s] [38/90] installing which-2.20-1.9 [ 33s] [39/90] installing zlib-1.2.8-2.1 [ 33s] [40/90] installing libncurses-5.9-2.2 [ 33s] [41/90] installing build-compare-2015.04.28-6.12 [ 33s] [42/90] installing libstdc++-devel-4.9.2-20.7 [ 33s] [43/90] installing qemu-linux-user-x86_64-cross-2.7.0-1.2.1 [ 35s] [44/90] installing cpp-4.9.2-20.7 [ 35s] [45/90] installing gcc-c++-4.9.2-20.7 [ 36s] [46/90] installing binutils-2.25-7.8 [ 36s] [47/90] installing coreutils-6.9-8.2 [ 36s] [48/90] installing db4-4.8.30.NC-2.2 [ 37s] [49/90] installing gawk-3.1.5-2.12 [ 37s] [50/90] installing grep-2.5.2-2.12 [ 37s] [51/90] installing less-466-1.12 [ 37s] [52/90] installing libacl-2.2.52-3.6 [ 37s] [53/90] installing libasm-0.153-6.10 [ 37s] [54/90] installing libblkid-2.28-8.2 [ 37s] [55/90] installing libreadline-5.2-2.7 [ 37s] [56/90] installing libubsan-4.9.2-20.7 [ 37s] [57/90] installing make-4.0-2.2 [ 37s] [58/90] installing nss-certs-3.23-5.24 [ 37s] [59/90] installing procps-ng-3.3.9-4.1 [ 37s] [60/90] installing smack-1.3.0-5.2 [ 38s] [61/90] installing bzip2-1.0.6-2.29 [ 38s] [62/90] installing libmagic-5.28-5.2 [ 38s] [63/90] installing libxml2-2.9.4-5.5 [ 38s] [64/90] installing xz-5.2.2-5.1 [ 38s] [65/90] installing libdw-0.153-6.10 [ 38s] [66/90] installing linux-glibc-devel-3.10-1.4 [ 38s] [67/90] installing file-5.28-5.2 [ 38s] [68/90] installing glibc-locale-2.20-13.2 [ 39s] [69/90] installing libmount-2.28-8.2 [ 39s] [70/90] installing tar-1.17-2.9 [ 39s] [71/90] installing gzip-1.3.12-2.15 [ 39s] [72/90] installing libfdisk1-2.28-8.2 [ 39s] [73/90] installing pam-1.1.6-4.6 [ 39s] [74/90] installing perl-5.20.0-3.82 [ 42s] [75/90] installing tzdata-2016f-2.3 [ 42s] [76/90] installing elfutils-0.153-6.10 [ 42s] [77/90] installing gcc-4.9.2-20.7 [ 43s] [78/90] installing build-mkbaselibs-20120927-1.4 [ 43s] [79/90] installing glibc-devel-2.20-13.2 [ 43s] [80/90] installing qemu-accel-x86_64-armv7l-0.4-15.3 [ 49s] warning: %post(qemu-accel-x86_64-armv7l-0.4-15.3.armv7l) scriptlet failed, exit status 1 [ 49s] [81/90] installing autoconf-2.69-1.7 [ 49s] [82/90] installing util-linux-2.28-8.2 [ 50s] [83/90] installing automake-1.14.1-1.5 [ 50s] [84/90] installing util-linux-su-2.28-8.2 [ 50s] [85/90] installing build-20120927-1.4 [ 50s] [86/90] installing libtool-2.4.2-3.7 [ 50s] [87/90] installing nss-3.23-5.24 [ 51s] [88/90] installing libsoftokn3-3.23-5.24 [ 51s] [89/90] installing rpm-4.11.0.1-13.1 [ 52s] [90/90] installing rpm-build-4.11.0.1-13.1 [ 52s] removing nis flags from //etc/nsswitch.conf... [ 52s] now finalizing build dir... [ 57s] build target is armv7l-tizen-linux [ 57s] ----------------------------------------------------------------- [ 57s] I have the following modifications for dosfstools.spec: [ 57s] 4c4 [ 57s] < Release: 0 [ 57s] --- [ 57s] > Release: 9.11 [ 57s] 42a43 [ 57s] > %changelog [ 57s] ----------------------------------------------------------------- [ 57s] ----- building dosfstools.spec (user abuild) [ 57s] ----------------------------------------------------------------- [ 57s] ----------------------------------------------------------------- [ 57s] Running qemu build hang workaround... [ 57s] /bin/ps command found [ 57s] QEMU_HANG_FIX_PID=1418 [ 58s] + 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/7b3498fd370d5e0ffcc827bba951f2c9-dosfstools' /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 58s] Building target platforms: armv7l-tizen-linux [ 58s] Building for target armv7l-tizen-linux [ 58s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D8EkXj [ 58s] + umask 022 [ 58s] + cd /home/abuild/rpmbuild/BUILD [ 58s] + cd /home/abuild/rpmbuild/BUILD [ 58s] + rm -rf dosfstools-3.0.16 [ 58s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 58s] + /bin/tar -xf - [ 58s] + STATUS=0 [ 58s] + '[' 0 -ne 0 ']' [ 58s] + cd dosfstools-3.0.16 [ 58s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 58s] + exit 0 [ 58s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u8m2Lg [ 58s] + umask 022 [ 58s] + cd /home/abuild/rpmbuild/BUILD [ 58s] + cd dosfstools-3.0.16 [ 58s] ++ uname -m [ 58s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 58s] + LANG=C [ 58s] + export LANG [ 58s] + unset DISPLAY [ 58s] + 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' [ 58s] + export CFLAGS [ 58s] + 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' [ 58s] + export CXXFLAGS [ 58s] + 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' [ 58s] + export FFLAGS [ 58s] + LDFLAGS= [ 58s] + export LDFLAGS [ 58s] + LD_AS_NEEDED=1 [ 58s] + export LD_AS_NEEDED [ 58s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 58s] + make [ 58s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o dosfsck.o src/dosfsck.c [ 58s] src/dosfsck.c: In function 'main': [ 58s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 58s] unsigned n_files_check = 0, n_files_verify = 0; [ 58s] ^ [ 58s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 58s] unsigned n_files_check = 0, n_files_verify = 0; [ 58s] ^ [ 58s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 58s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 58s] ^ [ 58s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o boot.o src/boot.c [ 58s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o check.o src/check.c [ 58s] src/check.c: In function 'truncate_file': [ 58s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 58s] unsigned long walk, next, prev; [ 58s] ^ [ 59s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o common.o src/common.c [ 59s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o fat.o src/fat.c [ 59s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o file.o src/file.c [ 59s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o io.o src/io.c [ 59s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o lfn.o src/lfn.c [ 59s] src/lfn.c: In function 'cnv_unicode': [ 59s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 59s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 59s] ^ [ 59s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 59s] static size_t wctombs(char *dest, wchar_t x) [ 59s] ^ [ 59s] src/lfn.c: In function 'lfn_get': [ 59s] src/lfn.c:466:59: warning: iteration 8u invokes undefined behavior [-Waggressive-loop-optimizations] [ 59s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 59s] ^ [ 59s] src/lfn.c:465:5: note: containing loop [ 59s] for (sum = 0, i = 0; i < 11; i++) [ 59s] ^ [ 60s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o charconv.o src/charconv.c [ 60s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 60s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o dosfslabel.o src/dosfslabel.c [ 60s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 60s] cc -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 -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -c -o mkdosfs.o src/mkdosfs.c [ 60s] src/mkdosfs.c: In function 'get_list_blocks': [ 60s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 60s] fscanf(listfile, "%ld\n", &blockno); [ 60s] ^ [ 60s] cc mkdosfs.o -o mkdosfs [ 61s] + exit 0 [ 61s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L569Ck [ 61s] + umask 022 [ 61s] + cd /home/abuild/rpmbuild/BUILD [ 61s] + cd dosfstools-3.0.16 [ 61s] + LANG=C [ 61s] + export LANG [ 61s] + unset DISPLAY [ 61s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm [ 61s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm [ 61s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm PREFIX=/usr [ 61s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin [ 61s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin [ 61s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin/fsck.msdos [ 61s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin/fsck.vfat [ 61s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin/mkfs.msdos [ 61s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/sbin/mkfs.vfat [ 61s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/doc/dosfstools [ 61s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/doc/dosfstools [ 61s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8 [ 61s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8 [ 61s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8/fsck.msdos.8 [ 61s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8/fsck.vfat.8 [ 61s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8/mkfs.msdos.8 [ 61s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm//usr/share/man/man8/mkfs.vfat.8 [ 61s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/share/doc/dosfstools [ 61s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 61s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/sbin/dosfsck [ 61s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/sbin/dosfslabel [ 61s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/sbin/mkdosfs [ 61s] cpio: glibc-2.20/csu: Cannot stat: No such file or directory [ 61s] cpio: glibc-2.20/csu/init.c: Cannot stat: No such file or directory [ 61s] cpio: glibc-2.20/sysdeps/arm/crti.S: Cannot stat: No such file or directory [ 61s] cpio: glibc-2.20/sysdeps/arm/crtn.S: Cannot stat: No such file or directory [ 61s] cpio: glibc-2.20/sysdeps/arm/start.S: Cannot stat: No such file or directory [ 61s] 363 blocks [ 61s] + /usr/lib/rpm/check-buildroot [ 62s] + /usr/lib/rpm//brp-compress [ 62s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 62s] + /usr/lib/rpm/brp-python-hardlink [ 62s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm [ 62s] Processing files: dosfstools-3.0.16-9.11.armv7l [ 62s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 62s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 62s] [ 62s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 62s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 62s] [ 62s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JPLpwr [ 62s] + umask 022 [ 62s] + cd /home/abuild/rpmbuild/BUILD [ 62s] + cd dosfstools-3.0.16 [ 62s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/share/licenses/dosfstools [ 62s] + export LICENSEDIR [ 62s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/share/licenses/dosfstools [ 62s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm/usr/share/licenses/dosfstools [ 62s] + exit 0 [ 62s] Provides: dosfstools = 3.0.16-9.11 dosfstools(armv7l-32) = 3.0.16-9.11 [ 62s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 62s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) [ 62s] Processing files: dosfstools-debugsource-3.0.16-9.11.armv7l [ 62s] Provides: dosfstools-debugsource = 3.0.16-9.11 dosfstools-debugsource(armv7l-32) = 3.0.16-9.11 [ 62s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 62s] Processing files: dosfstools-docs-3.0.16-9.11.armv7l [ 62s] Provides: dosfstools-docs = 3.0.16-9.11 dosfstools-docs(armv7l-32) = 3.0.16-9.11 [ 62s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 62s] Processing files: dosfstools-debuginfo-3.0.16-9.11.armv7l [ 62s] warning: File listed twice: /usr/lib/debug/.build-id [ 62s] warning: File listed twice: /usr/lib/debug/.build-id [ 62s] Provides: dosfstools-debuginfo = 3.0.16-9.11 dosfstools-debuginfo(armv7l-32) = 3.0.16-9.11 [ 62s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 62s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm [ 62s] warning: Could not canonicalize hostname: w09 [ 62s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-9.11.src.rpm [ 62s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-3.0.16-9.11.armv7l.rpm [ 62s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-debugsource-3.0.16-9.11.armv7l.rpm [ 62s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-docs-3.0.16-9.11.armv7l.rpm [ 62s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-debuginfo-3.0.16-9.11.armv7l.rpm [ 62s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SvAyra [ 62s] + umask 022 [ 62s] + cd /home/abuild/rpmbuild/BUILD [ 62s] + cd dosfstools-3.0.16 [ 62s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-9.11.arm [ 62s] + exit 0 [ 62s] ... checking for files with abuild user/group [ 62s] Killing qemu-hang-fix PID=1418 [ 62s] ... creating baselibs [ 63s] ... saving built statistics [ 63s] ... saving built packages [ 63s] /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-3.0.16-9.11.armv7l.rpm [ 63s] /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-debuginfo-3.0.16-9.11.armv7l.rpm [ 63s] /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-debugsource-3.0.16-9.11.armv7l.rpm [ 63s] /home/abuild/rpmbuild/RPMS/armv7l/dosfstools-docs-3.0.16-9.11.armv7l.rpm [ 63s] /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-9.11.src.rpm [ 63s] /home/abuild/rpmbuild/OTHER/_statistics [ 63s] [ 63s] w09 finished "build dosfstools.spec" at Mon Mar 13 05:20:24 UTC 2017. [ 63s] [ 66s] [ 53.333715] SysRq : Power Off [ 67s] [ 53.448299] Power down. [ 67s] build: extracting built packages... [ 67s] dosfstools-3.0.16-9.11.armv7l.rpm [ 67s] dosfstools-debuginfo-3.0.16-9.11.armv7l.rpm [ 67s] dosfstools-debugsource-3.0.16-9.11.armv7l.rpm [ 67s] dosfstools-docs-3.0.16-9.11.armv7l.rpm [ 67s] dosfstools-3.0.16-9.11.src.rpm [ 67s] _statistics Retried build at Fri Mar 31 18:28:12 2017 returned same result, skipped