[ 0s] Using BUILD_ROOT=/srv/build/root_2/.mount [ 0s] Using BUILD_ARCH=aarch64 [ 0s] Doing kvm build in /srv/build/root_2/root [ 0s] [ 0s] [ 0s] w26 started "build _service:gbs:dosfstools.spec" at Mon Oct 17 14:20:23 UTC 2016. [ 0s] [ 0s] Building dosfstools for project 'Tizen:Mobile' repository 'arm64-wayland' arch 'aarch64' srcmd5 '9adc37f93e54cc629e8b7193614f6af1' [ 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 [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling setup... [ 1s] [3/40] preinstalling filesystem... [ 1s] [4/40] preinstalling glibc... [ 1s] [5/40] preinstalling 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... [ 2s] [23/40] preinstalling zlib... [ 2s] [24/40] preinstalling qemu-accel-aarch64... [ 4s] [25/40] preinstalling qemu-linux-user-cross... [ 4s] [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] [ 5s] [1/9] preinstalling libext2fs... [ 5s] [2/9] preinstalling libpcre... [ 5s] [3/9] preinstalling libsmartcols... [ 5s] [4/9] preinstalling libuuid... [ 5s] [5/9] preinstalling perl... [ 6s] [6/9] preinstalling grep... [ 6s] [7/9] preinstalling libblkid... [ 6s] [8/9] preinstalling libmount... [ 6s] [9/9] preinstalling util-linux... [ 6s] copying packages... [ 6s] reordering...cycle: nss -> libsoftokn3 [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] done [ 31s] booting kvm ... [ 31s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -kernel /srv/obsw/vmlinuz -initrd /srv/obsw/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/initvm.x86_64 -m 6000 -drive file=/srv/build/root_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 4 [ 33s] doing fast boot [ 34s] Creating device nodes with udev [ 43s] Waiting for device /dev/vda to appear: ok [ 43s] fsck from util-linux 2.21.2 [ 43s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 43s] /dev/vda: clean, 4995/2392064 files, 263392/9568256 blocks [ 43s] fsck succeeded. Mounting root device read-write. [ 43s] Mounting root /dev/vda [ 43s] mount -o rw -t ext4 /dev/vda /root [ 48s] replacing /etc/mtab with symlink to /proc/self/mounts [ 66s] 2nd stage started in virtual machine [ 67s] machine type: aarch64 [ 79s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 79s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 79s] swapon /dev/vdb [ 80s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 82s] mount: none is already mounted or /proc busy [ 82s] mount: none is already mounted or /dev/pts busy [ 82s] logging output to //.build.log... [ 83s] processing specfile /.build-srcdir/_service:gbs:dosfstools.spec ... [ 83s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:dosfstools.spec build rpmlint-Factory ... [ 89s] running qemu-linux-user-cross postinstall script [ 89s] running qemu-accel-aarch64 postinstall script [ 89s] ln: creating symbolic link `/usr/lib64/gcc/aarch64-tizen-linux-gnu/4.9.2/liblto_plugin.so': No such file or directory [ 89s] running setup postinstall script [ 89s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 89s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 89s] initializing rpm db... [ 95s] [1/91] installing libmagic-data-5.28-4.1 [ 95s] [2/91] installing setup-0.9-3.8 [ 95s] [3/91] installing terminfo-base-5.9-1.14 [ 96s] [4/91] installing filesystem-3.1-10.1 [ 97s] [5/91] installing glibc-2.20-12.1 [ 97s] [6/91] installing bash-3.2.57-3.6 [ 97s] [7/91] installing cpio-2.11-2.1 [ 97s] [8/91] installing diffutils-3.3-1.8 [ 98s] [9/91] installing findutils-4.3.8-3.1 [ 98s] [10/91] installing hostname-3.12-1.7 [ 98s] [11/91] installing libatomic-4.9.2-15.1 [ 98s] [12/91] installing libattr-2.4.47-1.13 [ 98s] [13/91] installing libbz2-1.0.6-2.7 [ 98s] [14/91] installing libcap-2.24-1.86 [ 98s] [15/91] installing libelf-0.153-5.28 [ 99s] [16/91] installing libext2fs-1.42.13-2.9 [ 99s] [17/91] installing libfreebl3-3.23-4.46 [ 99s] [18/91] installing libgcc-4.9.2-15.1 [ 99s] [19/91] installing libgomp-4.9.2-15.1 [ 99s] [20/91] installing libitm-4.9.2-15.1 [ 99s] [21/91] installing libltdl-2.4.2-3.6 [ 100s] [22/91] installing liblua-5.1.4-1.11 [ 100s] [23/91] installing liblzma-5.1.3-3.1 [ 100s] [24/91] installing libpcre-8.39-3.1 [ 100s] [25/91] installing libpopt-1.16-2.4 [ 100s] [26/91] installing libsmack-1.2.0-4.8 [ 100s] [27/91] installing libsmartcols-2.28-8.1 [ 100s] [28/91] installing libsqlite-3.8.10.2-1.8 [ 101s] [29/91] installing libuuid-2.28-8.1 [ 101s] [30/91] installing m4-1.4.17-1.5 [ 102s] [31/91] installing net-tools-2.0_20121208git-1.7 [ 102s] [32/91] installing nspr-4.12-4.17 [ 102s] [33/91] installing patch-2.7-1.6 [ 103s] [34/91] installing pkg-config-0.28-1.9 [ 103s] [35/91] installing sed-4.1c-2.5 [ 103s] [36/91] installing update-alternatives-1.16.3-1.5 [ 103s] [37/91] installing which-2.20-1.5 [ 103s] [38/91] installing zlib-1.2.8-1.11 [ 104s] [39/91] installing libncurses-5.9-1.14 [ 104s] [40/91] installing build-compare-2015.04.28-4.10 [ 104s] [41/91] installing qemu-linux-user-cross-2.7.0-1.1 [ 106s] [42/91] installing coreutils-6.9-8.1 [ 106s] [43/91] installing cpp-4.9.2-15.1 [ 107s] [44/91] installing gawk-3.1.5-2.9 [ 107s] [45/91] installing gcc-c++-4.9.2-15.1 [ 111s] [46/91] installing grep-2.5.2-2.9 [ 111s] [47/91] installing less-466-1.7 [ 112s] [48/91] installing libacl-2.2.52-3.8 [ 112s] [49/91] installing libasm-0.153-5.28 [ 112s] [50/91] installing libblkid-2.28-8.1 [ 114s] [51/91] installing libreadline-5.2-2.6 [ 114s] [52/91] installing libstdc++-4.9.2-15.1 [ 114s] [53/91] installing make-4.0-1.6 [ 115s] [54/91] installing nss-certs-3.23-4.46 [ 115s] [55/91] installing smack-1.2.0-4.8 [ 115s] [56/91] installing binutils-2.25-6.12 [ 116s] [57/91] installing bzip2-1.0.6-2.7 [ 116s] [58/91] installing libmagic-5.28-4.1 [ 116s] [59/91] installing libxml2-2.9.4-5.7 [ 117s] [60/91] installing xz-5.1.3-3.1 [ 117s] [61/91] installing libdw-0.153-5.28 [ 118s] [62/91] installing libstdc++-devel-4.9.2-15.1 [ 119s] [63/91] installing file-5.28-4.1 [ 119s] [64/91] installing libmount-2.28-8.1 [ 119s] [65/91] installing linux-glibc-devel-3.10-1.4 [ 120s] [66/91] installing tar-1.17-2.7 [ 120s] [67/91] installing db4-4.8.30.NC-2.1 [ 121s] [68/91] installing glibc-locale-2.20-12.1 [ 122s] [69/91] installing gzip-1.3.12-2.9 [ 122s] [70/91] installing libfdisk1-2.28-8.1 [ 122s] [71/91] installing libubsan-4.9.2-15.1 [ 122s] [72/91] installing pam-1.1.6-4.8 [ 123s] [73/91] installing tzdata-2016f-2.3 [ 124s] [74/91] installing elfutils-0.153-5.28 [ 124s] [75/91] installing glibc-devel-2.20-12.1 [ 125s] [76/91] installing perl-5.20.0-3.61 [ 133s] [77/91] installing gcc-4.9.2-15.1 [ 134s] [78/91] installing util-linux-2.28-8.1 [ 135s] [79/91] installing build-mkbaselibs-20120927-1.3 [ 135s] [80/91] installing qemu-accel-aarch64-0.4-9.7 [ 147s] [81/91] installing autoconf-2.69-1.4 [ 147s] [82/91] installing util-linux-su-2.28-8.1 [ 147s] [83/91] installing automake-1.14.1-1.4 [ 147s] [84/91] installing build-20120927-1.3 [ 148s] [85/91] installing libtool-2.4.2-3.6 [ 148s] [86/91] installing nss-3.23-4.46 [ 148s] [87/91] installing libsoftokn3-3.23-4.46 [ 149s] [88/91] installing rpm-4.11.0.1-9.2 [ 150s] [89/91] installing rpmlint-mini-1.5-3.26 [ 150s] [90/91] installing rpm-build-4.11.0.1-9.2 [ 150s] [91/91] installing rpmlint-tizen-1.0-1.3 [ 150s] removing nis flags from //etc/nsswitch.conf... [ 151s] now finalizing build dir... [ 152s] qemu: Unsupported syscall: 219 [ 160s] build target is aarch64-tizen-linux [ 160s] ----------------------------------------------------------------- [ 160s] I have the following modifications for dosfstools.spec: [ 160s] 4c4 [ 160s] < Release: 0 [ 160s] --- [ 160s] > Release: 7.15 [ 160s] 42a43 [ 160s] > %changelog [ 160s] ----------------------------------------------------------------- [ 160s] ----- building dosfstools.spec (user abuild) [ 160s] ----------------------------------------------------------------- [ 160s] ----------------------------------------------------------------- [ 160s] Running qemu build hang workaround... [ 160s] /bin/ps command not found [ 161s] qemu: Unsupported syscall: 219 [ 161s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Mobile/arm64-wayland/9adc37f93e54cc629e8b7193614f6af1-dosfstools' /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 161s] Building target platforms: aarch64-tizen-linux [ 161s] Building for target aarch64-tizen-linux [ 161s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C0bhW5 [ 161s] + umask 022 [ 161s] + cd /home/abuild/rpmbuild/BUILD [ 161s] + cd /home/abuild/rpmbuild/BUILD [ 161s] + rm -rf dosfstools-3.0.16 [ 161s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 161s] + /bin/tar -xf - [ 161s] + STATUS=0 [ 161s] + '[' 0 -ne 0 ']' [ 161s] + cd dosfstools-3.0.16 [ 161s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 161s] + exit 0 [ 161s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8oGR6Z [ 161s] + umask 022 [ 161s] + cd /home/abuild/rpmbuild/BUILD [ 161s] + cd dosfstools-3.0.16 [ 161s] ++ uname -m [ 161s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 161s] + ref=/usr/lib/rpm [ 161s] + for s in guess sub [ 161s] ++ find -maxdepth 8 -name config.guess [ 161s] + for s in guess sub [ 161s] ++ find -maxdepth 8 -name config.sub [ 161s] + LANG=C [ 161s] + export LANG [ 161s] + unset DISPLAY [ 161s] + 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' [ 161s] + export CFLAGS [ 161s] + 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' [ 161s] + export CXXFLAGS [ 161s] + 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' [ 161s] + export FFLAGS [ 161s] + LDFLAGS= [ 161s] + export LDFLAGS [ 161s] + LD_AS_NEEDED=1 [ 161s] + export LD_AS_NEEDED [ 161s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 161s] + make [ 161s] 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 [ 161s] src/dosfsck.c: In function 'main': [ 161s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 161s] unsigned n_files_check = 0, n_files_verify = 0; [ 161s] ^ [ 161s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 161s] unsigned n_files_check = 0, n_files_verify = 0; [ 161s] ^ [ 161s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 161s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 161s] ^ [ 161s] 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 [ 161s] src/boot.c: In function 'dump_boot': [ 161s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 161s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 161s] ^ [ 161s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 161s] sectors = GET_UNALIGNED_W(b->sectors); [ 161s] ^ [ 161s] In file included from src/boot.c:34:0: [ 161s] src/boot.c: In function 'check_backup_boot': [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 161s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 161s] ^ [ 161s] src/boot.c: In function 'read_fsinfo': [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 161s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 161s] ^ [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 161s] offsetof(struct boot_sector, info_sector), [ 161s] ^ [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 161s] (unsigned long long)offsetof(struct info_sector, magic), [ 161s] ^ [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 161s] (unsigned long long)offsetof(struct info_sector, signature), [ 161s] ^ [ 161s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 161s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 161s] ^ [ 161s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 161s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 161s] ^ [ 161s] src/boot.c: In function 'read_boot': [ 161s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 161s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 161s] ^ [ 161s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 161s] sectors = GET_UNALIGNED_W(b.sectors); [ 161s] ^ [ 161s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 161s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 161s] ^ [ 162s] 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 [ 162s] In file included from src/check.c:34:0: [ 162s] src/check.c: In function 'drop_file': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, name[0], DELETED_FLAG); [ 162s] ^ [ 162s] src/check.c: In function 'truncate_file': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 162s] unsigned long walk, next, prev; [ 162s] ^ [ 162s] In file included from src/check.c:34:0: [ 162s] src/check.c: In function 'handle_dot': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, size, CT_LE_L(0)); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 162s] ^ [ 162s] src/check.c: In function 'check_file': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, size, CT_LE_L(0)); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, expect, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, name[0], DELETED_FLAG); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(owner, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(owner, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(owner, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(owner, size, [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(file, size, [ 162s] ^ [ 162s] src/check.c: In function 'check_dir': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(parent, name[0], DELETED_FLAG); [ 162s] ^ [ 162s] src/check.c: In function 'test_file': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t[ 128.872112] serial8250: too much work for irq4 [ 162s] )offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 162s] ^ [ 162s] src/check.c: In function 'undelete': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 162s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 162s] ^ [ 162s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 162s] ^ [ 162s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 162s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 162s] ^ [ 162s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 162s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 162s] ^ [ 162s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 162s] MODIFY_START(file, 0, fs); [ 162s] ^ [ 162s] 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 [ 162s] 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 [ 162s] In file included from src/fat.c:33:0: [ 162s] src/fat.c: In function 'update_free': [ 162s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 162s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 162s] ^ [ 162s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 162s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 162s] ^ [ 163s] 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 [ 163s] 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 [ 163s] 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 [ 163s] src/lfn.c: In function 'cnv_unicode': [ 163s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 163s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 163s] ^ [ 163s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 163s] static size_t wctombs(char *dest, wchar_t x) [ 163s] ^ [ 163s] In file included from src/lfn.c:31:0: [ 163s] src/lfn.c: In function 'lfn_fix_checksum': [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 163s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 163s] ^ [ 163s] src/lfn.c: In function 'lfn_add_slot': [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 163s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 163s] ^ [ 163s] src/lfn.c: In function 'lfn_get': [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 163s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 163s] ^ [ 163s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 163s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 163s] ^ [ 163s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 163s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 163s] ^ [ 163s] src/lfn.c:466:59: warning: iteration 8u invokes undefined behavior [-Waggressive-loop-optimizations] [ 163s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 163s] ^ [ 163s] src/lfn.c:465:5: note: containing loop [ 163s] for (sum = 0, i = 0; i < 11; i++) [ 163s] ^ [ 163s] 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 [ 163s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 164s] 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 [ 164s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 164s] 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 [ 164s] src/mkdosfs.c: In function 'get_list_blocks': [ 164s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 164s] fscanf(listfile, "%ld\n", &blockno); [ 164s] ^ [ 165s] cc mkdosfs.o -o mkdosfs [ 165s] + exit 0 [ 165s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D6grE8 [ 165s] + umask 022 [ 165s] + cd /home/abuild/rpmbuild/BUILD [ 165s] + cd dosfstools-3.0.16 [ 165s] + LANG=C [ 165s] + export LANG [ 165s] + unset DISPLAY [ 165s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 [ 165s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 [ 165s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 PREFIX=/usr [ 165s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin [ 165s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin [ 165s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin/fsck.msdos [ 165s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin/fsck.vfat [ 165s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin/mkfs.msdos [ 165s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/sbin/mkfs.vfat [ 165s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/doc/dosfstools [ 165s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/doc/dosfstools [ 165s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8 [ 165s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8 [ 165s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8/fsck.msdos.8 [ 165s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8/fsck.vfat.8 [ 165s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 165s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 165s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/share/doc/dosfstools [ 165s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 165s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/sbin/dosfsck [ 166s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/sbin/dosfslabel [ 166s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/sbin/mkdosfs [ 166s] cpio: glibc-2.20/csu: Cannot stat: No such file or directory [ 166s] cpio: glibc-2.20/csu/init.c: Cannot stat: No such file or directory [ 166s] cpio: glibc-2.20/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 166s] cpio: glibc-2.20/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 166s] cpio: glibc-2.20/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 166s] 363 blocks [ 166s] + /usr/lib/rpm/check-buildroot [ 166s] + /usr/lib/rpm//brp-compress [ 167s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 167s] + /usr/lib/rpm/brp-python-hardlink [ 167s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 [ 167s] Processing files: dosfstools-3.0.16-7.15.aarch64 [ 167s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 167s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 167s] [ 167s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 167s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 167s] [ 167s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tNAmIo [ 167s] + umask 022 [ 167s] + cd /home/abuild/rpmbuild/BUILD [ 167s] + cd dosfstools-3.0.16 [ 167s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/share/licenses/dosfstools [ 167s] + export LICENSEDIR [ 167s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/share/licenses/dosfstools [ 167s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64/usr/share/licenses/dosfstools [ 167s] + exit 0 [ 167s] Provides: dosfstools = 3.0.16-7.15 dosfstools(aarch-64) = 3.0.16-7.15 [ 167s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 167s] 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) [ 167s] Processing files: dosfstools-debugsource-3.0.16-7.15.aarch64 [ 167s] Provides: dosfstools-debugsource = 3.0.16-7.15 dosfstools-debugsource(aarch-64) = 3.0.16-7.15 [ 167s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 167s] Processing files: dosfstools-docs-3.0.16-7.15.aarch64 [ 167s] Provides: dosfstools-docs = 3.0.16-7.15 dosfstools-docs(aarch-64) = 3.0.16-7.15 [ 167s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 167s] Processing files: dosfstools-debuginfo-3.0.16-7.15.aarch64 [ 167s] warning: File listed twice: /usr/lib/debug/.build-id [ 167s] warning: File listed twice: /usr/lib/debug/.build-id [ 167s] Provides: dosfstools-debuginfo = 3.0.16-7.15 dosfstools-debuginfo(aarch-64) = 3.0.16-7.15 [ 167s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 167s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 [ 167s] warning: Could not canonicalize hostname: w26 [ 167s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-7.15.src.rpm [ 167s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-7.15.aarch64.rpm [ 167s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-7.15.aarch64.rpm [ 167s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-7.15.aarch64.rpm [ 167s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-7.15.aarch64.rpm [ 167s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ucJJ88 [ 167s] + umask 022 [ 167s] + cd /home/abuild/rpmbuild/BUILD [ 167s] + cd dosfstools-3.0.16 [ 167s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-7.15.aarch64 [ 167s] + exit 0 [ 168s] ... checking for files with abuild user/group [ 168s] [ 168s] RPMLINT report: [ 168s] =============== [ 168s] qemu: Unsupported syscall: 219 [ 169s] dosfstools.src: W: invalid-url Source0: dosfstools-3.0.16.orig.tar.xz [ 169s] The value should be a valid, public HTTP, HTTPS, or FTP URL. [ 169s] [ 169s] 3 packages and 0 specfiles checked; 0 errors, 1 warnings. [ 169s] [ 169s] ... creating baselibs [ 169s] qemu: Unsupported syscall: 219 [ 170s] ... saving built statistics [ 170s] ... saving built packages [ 170s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-7.15.aarch64.rpm [ 171s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-7.15.aarch64.rpm [ 172s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-7.15.aarch64.rpm [ 172s] /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-7.15.aarch64.rpm [ 172s] /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-7.15.src.rpm [ 172s] /home/abuild/rpmbuild/OTHER/_statistics [ 172s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 172s] [ 172s] w26 finished "build dosfstools.spec" at Mon Oct 17 14:23:15 UTC 2016. [ 172s] [ 180s] [ 147.546768] SysRq : Power Off [ 181s] [ 147.656270] Power down. [ 181s] build: extracting built packages... [ 181s] dosfstools-3.0.16-7.15.aarch64.rpm [ 181s] dosfstools-debuginfo-3.0.16-7.15.aarch64.rpm [ 181s] dosfstools-debugsource-3.0.16-7.15.aarch64.rpm [ 181s] dosfstools-docs-3.0.16-7.15.aarch64.rpm [ 181s] dosfstools-3.0.16-7.15.src.rpm [ 181s] _statistics [ 181s] rpmlint.log