[ 0s] Using BUILD_ROOT=/srv/build/root_3/.mount [ 0s] Using BUILD_ARCH=aarch64 [ 0s] Doing kvm build in /srv/build/root_3/root [ 0s] [ 0s] [ 0s] w07 started "build _service:gbs:dosfstools.spec" at Thu Jan 5 03:07:32 UTC 2017. [ 0s] [ 0s] Building dosfstools for project 'Tizen:3.0.M2:Mobile' repository 'arm64-wayland' arch 'aarch64' srcmd5 'a5e92487c333b3fe8fe6559510c510e8' [ 0s] [ 0s] processing specfile /srv/build/root_3/.build-srcdir/_service:gbs:dosfstools.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_3/.build-srcdir/_service:gbs:dosfstools.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: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 bash... [ 1s] [6/40] preinstalling diffutils... [ 1s] [7/40] preinstalling grep... [ 1s] [8/40] preinstalling libattr... [ 1s] [9/40] preinstalling libbz2... [ 1s] [10/40] preinstalling libcap... [ 1s] [11/40] preinstalling libelf... [ 1s] [12/40] preinstalling libfreebl3... [ 1s] [13/40] preinstalling libgcc... [ 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-aarch64... [ 4s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 5s] [26/40] preinstalling coreutils... [ 5s] [27/40] preinstalling libacl... [ 5s] [28/40] preinstalling libblkid... [ 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 tar... [ 5s] [36/40] preinstalling util-linux... [ 5s] [37/40] preinstalling util-linux-su... [ 5s] [38/40] preinstalling nss... [ 5s] [39/40] preinstalling libsoftokn3... [ 5s] [40/40] preinstalling rpm... [ 5s] [ 6s] [1/9] preinstalling libext2fs... [ 6s] [2/9] preinstalling libpcre... [ 6s] [3/9] preinstalling libsmartcols... [ 6s] [4/9] preinstalling libuuid... [ 6s] [5/9] preinstalling perl... [ 7s] [6/9] preinstalling grep... [ 7s] [7/9] preinstalling libblkid... [ 7s] [8/9] preinstalling libmount... [ 7s] [9/9] preinstalling util-linux... [ 7s] 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_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 8 [ 15s] doing fast boot [ 15s] 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, 4995/4194304 files, 376196/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 [ 15s] 2nd stage started in virtual machine [ 15s] machine type: aarch64 [ 16s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 16s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 16s] swapon /dev/vdb [ 16s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 16s] mount: none is already mounted or /proc busy [ 16s] mount: none is already mounted or /dev/pts busy [ 16s] logging output to //.build.log... [ 16s] processing specfile /.build-srcdir/_service:gbs:dosfstools.spec ... [ 16s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:dosfstools.spec build rpmlint-Factory ... [ 18s] running qemu-linux-user-x86_64-cross postinstall script [ 18s] running qemu-accel-x86_64-aarch64 postinstall script [ 18s] ln: creating symbolic link `/usr/lib64/gcc/aarch64-tizen-linux-gnu/4.9.2/liblto_plugin.so': No such file or directory [ 18s] running setup postinstall script [ 18s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 18s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 18s] initializing rpm db... [ 19s] [1/89] installing libmagic-data-5.28-2.1 [ 19s] [2/89] installing setup-0.9-1.3 [ 19s] [3/89] installing terminfo-base-5.9-1.1 [ 19s] [4/89] installing filesystem-3.1-8.1 [ 19s] [5/89] installing glibc-2.20-2.1 [ 19s] [6/89] installing bash-3.2.57-1.1 [ 20s] [7/89] installing cpio-2.11-1.1 [ 20s] [8/89] installing diffutils-3.3-1.1 [ 20s] [9/89] installing findutils-4.3.8-1.1 [ 20s] [10/89] installing hostname-3.12-1.1 [ 20s] [11/89] installing libatomic-4.9.2-2.2 [ 20s] [12/89] installing libattr-2.4.47-2.1 [ 20s] [13/89] installing libbz2-1.0.6-1.8 [ 20s] [14/89] installing libcap-2.24-1.1 [ 20s] [15/89] installing libelf-0.153-1.8 [ 21s] [16/89] installing libext2fs-1.42.13-2.1 [ 21s] [17/89] installing libfreebl3-3.23-1.8 [ 21s] [18/89] installing libgcc-4.9.2-2.2 [ 21s] [19/89] installing libgomp-4.9.2-2.2 [ 22s] [20/89] installing libitm-4.9.2-2.2 [ 22s] [21/89] installing libltdl-2.4.2-1.1 [ 23s] [22/89] installing liblua-5.1.4-1.1 [ 23s] [23/89] installing liblzma-5.1.3-1.1 [ 23s] [24/89] installing libpcre-8.39-1.1 [ 23s] [25/89] installing libpopt-1.16-1.1 [ 23s] [26/89] installing libsmack-1.3.0-2.1 [ 24s] [27/89] installing libsmartcols-2.28-1.1 [ 24s] [28/89] installing libsqlite-3.8.10.2-1.1 [ 24s] [29/89] installing libuuid-2.28-1.1 [ 24s] [30/89] installing m4-1.4.17-1.1 [ 26s] [31/89] installing net-tools-2.0_20121208git-1.1 [ 26s] [32/89] installing nspr-4.12-1.3 [ 26s] [33/89] installing patch-2.7-1.1 [ 26s] [34/89] installing pkg-config-0.28-1.1 [ 27s] [35/89] installing sed-4.1c-1.1 [ 27s] [36/89] installing update-alternatives-1.16.3-1.1 [ 27s] [37/89] installing which-2.20-1.1 [ 27s] [38/89] installing zlib-1.2.8-1.1 [ 27s] [39/89] installing libncurses-5.9-1.1 [ 28s] [40/89] installing build-compare-2015.04.28-2.5 [ 28s] [41/89] installing qemu-linux-user-x86_64-cross-2.7.0-1.2.1 [ 29s] [42/89] installing coreutils-6.9-1.1 [ 30s] [43/89] installing cpp-4.9.2-2.2 [ 30s] [44/89] installing gawk-3.1.5-1.1 [ 31s] [45/89] installing gcc-c++-4.9.2-2.2 [ 31s] [46/89] installing grep-2.5.2-1.1 [ 32s] [47/89] installing less-466-1.1 [ 32s] [48/89] installing libacl-2.2.52-1.1 [ 32s] [49/89] installing libasm-0.153-1.8 [ 32s] [50/89] installing libblkid-2.28-1.1 [ 32s] [51/89] installing libreadline-5.2-1.1 [ 33s] [52/89] installing libstdc++-4.9.2-2.2 [ 33s] [53/89] installing make-4.0-1.1 [ 34s] [54/89] installing nss-certs-3.23-1.8 [ 34s] [55/89] installing smack-1.3.0-2.1 [ 34s] [56/89] installing binutils-2.25-1.4 [ 35s] [57/89] installing bzip2-1.0.6-1.8 [ 35s] [58/89] installing libmagic-5.28-2.1 [ 35s] [59/89] installing libxml2-2.9.4-1.1 [ 35s] [60/89] installing xz-5.1.3-1.1 [ 35s] [61/89] installing libdw-0.153-1.8 [ 35s] [62/89] installing libstdc++-devel-4.9.2-2.2 [ 36s] [63/89] installing file-5.28-2.1 [ 36s] [64/89] installing libmount-2.28-1.1 [ 36s] [65/89] installing linux-glibc-devel-3.10-1.1 [ 36s] [66/89] installing tar-1.17-1.1 [ 36s] [67/89] installing db4-4.8.30.NC-1.1 [ 37s] [68/89] installing glibc-locale-2.20-2.1 [ 37s] [69/89] installing gzip-1.3.12-1.1 [ 37s] [70/89] installing libfdisk1-2.28-1.1 [ 37s] [71/89] installing libubsan-4.9.2-2.2 [ 37s] [72/89] installing pam-1.1.6-2.1 [ 38s] [73/89] installing tzdata-2016i-2.1 [ 38s] [74/89] installing elfutils-0.153-1.8 [ 38s] [75/89] installing glibc-devel-2.20-2.1 [ 38s] [76/89] installing perl-5.20.0-1.8 [ 42s] [77/89] installing gcc-4.9.2-2.2 [ 43s] [78/89] installing util-linux-2.28-1.1 [ 44s] [79/89] installing build-mkbaselibs-20120927-1.1 [ 44s] [80/89] installing qemu-accel-x86_64-aarch64-0.4-4.4 [ 49s] [81/89] installing autoconf-2.69-1.1 [ 50s] [82/89] installing util-linux-su-2.28-1.1 [ 50s] [83/89] installing automake-1.14.1-1.1 [ 50s] [84/89] installing build-20120927-1.1 [ 50s] [85/89] installing libtool-2.4.2-1.1 [ 50s] [86/89] installing nss-3.23-1.8 [ 50s] [87/89] installing libsoftokn3-3.23-1.8 [ 51s] [88/89] installing rpm-4.11.0.1-1.1 [ 51s] [89/89] installing rpm-build-4.11.0.1-1.1 [ 51s] removing nis flags from //etc/nsswitch.conf... [ 51s] now finalizing build dir... [ 58s] build target is aarch64-tizen-linux [ 58s] ----------------------------------------------------------------- [ 58s] I have the following modifications for dosfstools.spec: [ 58s] 4c4 [ 58s] < Release: 0 [ 58s] --- [ 58s] > Release: 1.1 [ 58s] 42a43 [ 58s] > %changelog [ 58s] ----------------------------------------------------------------- [ 58s] ----- building dosfstools.spec (user abuild) [ 58s] ----------------------------------------------------------------- [ 58s] ----------------------------------------------------------------- [ 58s] Running qemu build hang workaround... [ 59s] /bin/ps command not found [ 59s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0.M2:Mobile/arm64-wayland/a5e92487c333b3fe8fe6559510c510e8-dosfstools' /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 59s] Building target platforms: aarch64-tizen-linux [ 59s] Building for target aarch64-tizen-linux [ 59s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T3xXvb [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + rm -rf dosfstools-3.0.16 [ 59s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 59s] + /bin/tar -xf - [ 59s] + STATUS=0 [ 59s] + '[' 0 -ne 0 ']' [ 59s] + cd dosfstools-3.0.16 [ 59s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 59s] + exit 0 [ 59s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cjWCVt [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd dosfstools-3.0.16 [ 59s] ++ uname -m [ 59s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 59s] + ref=/usr/lib/rpm [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.guess [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.sub [ 59s] + LANG=C [ 59s] + export LANG [ 59s] + unset DISPLAY [ 59s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 59s] + export CFLAGS [ 59s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 59s] + export CXXFLAGS [ 59s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 59s] + export FFLAGS [ 59s] + LDFLAGS= [ 59s] + export LDFLAGS [ 59s] + LD_AS_NEEDED=1 [ 59s] + export LD_AS_NEEDED [ 59s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 59s] + make [ 59s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o dosfsck.o src/dosfsck.c [ 59s] src/dosfsck.c: In function 'main': [ 59s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 59s] unsigned n_files_check = 0, n_files_verify = 0; [ 59s] ^ [ 59s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 59s] unsigned n_files_check = 0, n_files_verify = 0; [ 59s] ^ [ 59s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 59s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 59s] ^ [ 59s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o boot.o src/boot.c [ 59s] src/boot.c: In function 'dump_boot': [ 59s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 59s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 59s] ^ [ 59s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 59s] sectors = GET_UNALIGNED_W(b->sectors); [ 59s] ^ [ 59s] In file included from src/boot.c:34:0: [ 59s] src/boot.c: In function 'check_backup_boot': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 59s] ^ [ 59s] src/boot.c: In function 'read_fsinfo': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 59s] offsetof(struct boot_sector, info_sector), [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 59s] (unsigned long long)offsetof(struct info_sector, magic), [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 59s] (unsigned long long)offsetof(struct info_sector, signature), [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 59s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 59s] ^ [ 59s] src/boot.c: In function 'read_boot': [ 59s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 59s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 59s] ^ [ 59s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 59s] sectors = GET_UNALIGNED_W(b.sectors); [ 59s] ^ [ 59s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 59s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 59s] ^ [ 59s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o check.o src/check.c [ 59s] In file included from src/check.c:34:0: [ 59s] src/check.c: In function 'drop_file': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, name[0], DELETED_FLAG); [ 59s] ^ [ 59s] src/check.c: In function 'truncate_file': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 59s] unsigned long walk, next, prev; [ 59s] ^ [ 59s] In file included from src/check.c:34:0: [ 59s] src/check.c: In function 'handle_dot': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, size, CT_LE_L(0)); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 59s] ^ [ 59s] src/check.c: In function 'check_file': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, size, CT_LE_L(0)); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, expect, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, name[0], DELETED_FLAG); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(owner, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(owner, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(owner, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(owner, size, [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(file, size, [ 59s] ^ [ 59s] src/check.c: In function 'check_dir': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(parent, name[0], DELETED_FLAG); [ 59s] ^ [ 59s] src/check.c: In function 'test_file': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 59s] ^ [ 59s] src/check.c: In function 'undelete': [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 59s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 59s] ^ [ 59s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 59s] ^ [ 59s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 59s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 59s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 59s] ^ [ 59s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 59s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 59s] ^ [ 59s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 59s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 59s] ^ [ 59s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 59s] MODIFY_START(file, 0, fs); [ 59s] ^ [ 60s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o common.o src/common.c [ 60s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o fat.o src/fat.c [ 60s] In file included from src/fat.c:33:0: [ 60s] src/fat.c: In function 'update_free': [ 60s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 60s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 60s] ^ [ 60s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 60s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 60s] ^ [ 60s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o file.o src/file.c [ 60s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o io.o src/io.c [ 61s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o lfn.o src/lfn.c [ 61s] src/lfn.c: In function 'cnv_unicode': [ 61s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 61s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 61s] ^ [ 61s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 61s] static size_t wctombs(char *dest, wchar_t x) [ 61s] ^ [ 61s] In file included from src/lfn.c:31:0: [ 61s] src/lfn.c: In function 'lfn_fix_checksum': [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 61s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 61s] ^ [ 61s] src/lfn.c: In function 'lfn_add_slot': [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 61s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 61s] ^ [ 61s] src/lfn.c: In function 'lfn_get': [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 61s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 61s] ^ [ 61s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 61s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 61s] ^ [ 61s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 61s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 61s] ^ [ 61s] src/lfn.c:466:59: warning: iteration 8u invokes undefined behavior [-Waggressive-loop-optimizations] [ 61s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 61s] ^ [ 61s] src/lfn.c:465:5: note: containing loop [ 61s] for (sum = 0, i = 0; i < 11; i++) [ 61s] ^ [ 61s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o charconv.o src/charconv.c [ 61s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 61s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o dosfslabel.o src/dosfslabel.c [ 61s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 61s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o mkdosfs.o src/mkdosfs.c [ 61s] src/mkdosfs.c: In function 'get_list_blocks': [ 61s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 61s] fscanf(listfile, "%ld\n", &blockno); [ 61s] ^ [ 62s] cc mkdosfs.o -o mkdosfs [ 62s] + exit 0 [ 62s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TL69fX [ 62s] + umask 022 [ 62s] + cd /home/abuild/rpmbuild/BUILD [ 62s] + cd dosfstools-3.0.16 [ 62s] + LANG=C [ 62s] + export LANG [ 62s] + unset DISPLAY [ 62s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 62s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 62s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 PREFIX=/usr [ 62s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin [ 63s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin [ 63s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/fsck.msdos [ 63s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/fsck.vfat [ 63s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/mkfs.msdos [ 63s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/mkfs.vfat [ 63s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/doc/dosfstools [ 63s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/doc/dosfstools [ 63s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8 [ 63s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8 [ 63s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/fsck.msdos.8 [ 63s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/fsck.vfat.8 [ 63s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 63s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 63s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/doc/dosfstools [ 63s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 63s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/dosfsck [ 64s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/dosfslabel [ 64s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/mkdosfs [ 64s] cpio: glibc-2.20/csu: Cannot stat: No such file or directory [ 64s] cpio: glibc-2.20/csu/init.c: Cannot stat: No such file or directory [ 64s] cpio: glibc-2.20/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 64s] cpio: glibc-2.20/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 64s] cpio: glibc-2.20/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 64s] 363 blocks [ 64s] + /usr/lib/rpm/check-buildroot [ 64s] + /usr/lib/rpm//brp-compress [ 65s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 65s] + /usr/lib/rpm/brp-python-hardlink [ 65s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 65s] Processing files: dosfstools-3.0.16-1.1.aarch64 [ 65s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 65s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 65s] [ 65s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 65s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 65s] [ 65s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wlSthx [ 65s] + umask 022 [ 65s] + cd /home/abuild/rpmbuild/BUILD [ 65s] + cd dosfstools-3.0.16 [ 65s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 65s] + export LICENSEDIR [ 65s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 65s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 65s] + exit 0 [ 65s] Provides: dosfstools = 3.0.16-1.1 dosfstools(aarch-64) = 3.0.16-1.1 [ 65s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 65s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) [ 65s] Processing files: dosfstools-debugsource-3.0.16-1.1.aarch64 [ 65s] Provides: dosfstools-debugsource = 3.0.16-1.1 dosfstools-debugsource(aarch-64) = 3.0.16-1.1 [ 65s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 65s] Processing files: dosfstools-docs-3.0.16-1.1.aarch64 [ 65s] Provides: dosfstools-docs = 3.0.16-1.1 dosfstools-docs(aarch-64) = 3.0.16-1.1 [ 65s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 65s] Processing files: dosfstools-debuginfo-3.0.16-1.1.aarch64 [ 65s] warning: File listed twice: /usr/lib/debug/.build-id [ 65s] warning: File listed twice: /usr/lib/debug/.build-id [ 65s] Provides: dosfstools-debuginfo = 3.0.16-1.1 dosfstools-debuginfo(aarch-64) = 3.0.16-1.1 [ 65s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 65s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 65s] warning: Could not canonicalize hostname: w07 [ 65s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-1.1.src.rpm [ 65s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-1.1.aarch64.rpm [ 65s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-1.1.aarch64.rpm [ 65s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-1.1.aarch64.rpm [ 65s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-1.1.aarch64.rpm [ 65s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gc1rX7 [ 65s] + umask 022 [ 65s] + cd /home/abuild/rpmbuild/BUILD [ 65s] + cd dosfstools-3.0.16 [ 65s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 65s] + exit 0 [ 66s] ... checking for files with abuild user/group [ 66s] ... creating baselibs [ 67s] ... saving built statistics [ 67s] ... saving built packages [ 67s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-1.1.aarch64.rpm [ 67s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-1.1.aarch64.rpm [ 67s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-1.1.aarch64.rpm [ 67s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-1.1.aarch64.rpm [ 67s] /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-1.1.src.rpm [ 67s] /home/abuild/rpmbuild/OTHER/_statistics [ 67s] [ 67s] w07 finished "build dosfstools.spec" at Thu Jan 5 03:08:39 UTC 2017. [ 67s] [ 70s] [ 56.692174] SysRq : Power Off [ 70s] [ 56.716636] Power down. [ 71s] build: extracting built packages... [ 71s] dosfstools-3.0.16-1.1.aarch64.rpm [ 71s] dosfstools-debuginfo-3.0.16-1.1.aarch64.rpm [ 71s] dosfstools-debugsource-3.0.16-1.1.aarch64.rpm [ 71s] dosfstools-docs-3.0.16-1.1.aarch64.rpm [ 71s] dosfstools-3.0.16-1.1.src.rpm [ 71s] _statistics Retried build at Wed Jan 4 19:10:00 2017 returned same result, skipped