[ 0s] Memory limit set to 87947400KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_2 [ 0s] Using BUILD_ARCH=aarch64 [ 0s] [ 0s] [ 0s] obspw06 started "build _service:gbs:dosfstools.spec" at Fri May 19 23:43:44 UTC 2017. [ 0s] [ 0s] Building dosfstools for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '014cf2e5cfd237a0b84c6f21c76ea010' [ 0s] [ 0s] processing recipe /var/cache/build/root_2/.build-srcdir/_service:gbs:dosfstools.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_2/.build-srcdir/_service:gbs:dosfstools.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/2/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_2/.build.rpmlist /var/cache/build/root_2/.build-srcdir/_service:gbs:dosfstools.spec build rpmlint-Factory ... [ 0s] copying qemu [ 0s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 0s] [ 0s] registering binfmt handlers for cross build [ 0s] interpreter for 'aarch64' is -1 [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /var/run/obs/worker/2/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 0s] [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] /usr/lib/build/qemu-reg: No such file or directory [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/40] preinstalling libmagic-data... [ 0s] [2/40] preinstalling setup... [ 0s] [3/40] preinstalling filesystem... [ 0s] [4/40] preinstalling glibc... [ 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... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 6s] [26/40] preinstalling coreutils... [ 6s] [27/40] preinstalling libacl... [ 6s] [28/40] preinstalling libblkid... [ 6s] [29/40] preinstalling libreadline... [ 6s] [30/40] preinstalling smack... [ 6s] [31/40] preinstalling bzip2... [ 6s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling libmount... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] running qemu-linux-user-x86_64-cross postinstall script [ 7s] running qemu-accel-x86_64-aarch64 postinstall script [ 7s] ln: creating symbolic link `/usr/lib64/gcc/aarch64-tizen-linux-gnu/6.2.1/liblto_plugin.so': No such file or directory [ 7s] running setup postinstall script [ 7s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 7s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 7s] initializing rpm db... [ 7s] reordering...cycle: libsoftokn3 -> nss [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 7s] [1/92] installing libmagic-data-5.28-4.6 [ 7s] [2/92] installing setup-0.9-3.22 [ 8s] [3/92] installing terminfo-base-5.9-3.33 [ 8s] [4/92] installing filesystem-3.1-3.2 [ 8s] [5/92] installing glibc-2.24-3.19 [ 8s] [6/92] installing bash-3.2.57-4.1 [ 8s] [7/92] installing binutils-2.27-4.27 [ 8s] [8/92] installing cpio-2.11-3.3 [ 8s] [9/92] installing diffutils-3.3-3.1 [ 8s] [10/92] installing findutils-4.3.8-3.36 [ 8s] [11/92] installing hostname-3.12-4.1 [ 8s] [12/92] installing libatomic-6.2.1-6.2 [ 8s] [13/92] installing libattr-2.4.47-3.34 [ 8s] [14/92] installing libbz2-1.0.6-4.34 [ 8s] [15/92] installing libcap-2.24-3.31 [ 9s] [16/92] installing libelf-0.153-3.16 [ 9s] [17/92] installing libext2fs-1.42.13-3.3 [ 9s] [18/92] installing libfreebl3-3.23-3.29 [ 9s] [19/92] installing libgcc-6.2.1-6.2 [ 9s] [20/92] installing libgomp-6.2.1-6.2 [ 9s] [21/92] installing libitm-6.2.1-6.2 [ 9s] [22/92] installing libltdl-2.4.2-4.33 [ 9s] [23/92] installing liblua-5.1.4-3.7 [ 9s] [24/92] installing liblzma-5.2.2-3.33 [ 9s] [25/92] installing libpcre-8.39-3.4 [ 9s] [26/92] installing libpopt-1.16-4.8 [ 9s] [27/92] installing libsmack-1.3.0-3.32 [ 9s] [28/92] installing libsmartcols-2.28-3.1 [ 9s] [29/92] installing libsqlite-3.18.0-5.2 [ 9s] [30/92] installing libuuid-2.28-3.1 [ 9s] [31/92] installing m4-1.4.17-3.1 [ 9s] [32/92] installing net-tools-2.0_20121208git-3.1 [ 9s] [33/92] installing nspr-4.12-3.8 [ 9s] [34/92] installing patch-2.7-3.7 [ 9s] [35/92] installing pkg-config-0.28-4.35 [ 10s] [36/92] installing sed-4.1c-3.1 [ 10s] [37/92] installing update-alternatives-1.18.15-3.1 [ 10s] [38/92] installing which-2.20-6.1 [ 10s] [39/92] installing zlib-1.2.8-3.38 [ 10s] [40/92] installing libncurses-5.9-3.33 [ 10s] [41/92] installing build-compare-2015.04.28-3.25 [ 10s] [42/92] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 11s] [43/92] installing coreutils-6.9-3.1 [ 11s] [44/92] installing cpp-6.2.1-6.2 [ 12s] [45/92] installing gawk-3.1.5-3.1 [ 12s] [46/92] installing gcc-c++-6.2.1-6.2 [ 12s] [47/92] installing grep-2.5.2-3.1 [ 12s] [48/92] installing less-466-8.1 [ 12s] [49/92] installing libacl-2.2.52-3.41 [ 12s] [50/92] installing libasm-0.153-3.16 [ 13s] [51/92] installing libblkid-2.28-3.1 [ 13s] [52/92] installing libgfortran-6.2.1-6.2 [ 13s] [53/92] installing libreadline-5.2-3.32 [ 13s] [54/92] installing libstdc++-6.2.1-6.2 [ 13s] [55/92] installing make-4.0-3.6 [ 13s] [56/92] installing nss-certs-3.23-3.29 [ 13s] [57/92] installing procps-ng-3.3.9-3.2 [ 13s] [58/92] installing smack-1.3.0-3.32 [ 13s] [59/92] installing bzip2-1.0.6-4.34 [ 13s] [60/92] installing libmagic-5.28-4.6 [ 13s] [61/92] installing libxml2-2.9.4-4.33 [ 13s] [62/92] installing xz-5.2.2-3.33 [ 13s] [63/92] installing libdw-0.153-3.16 [ 13s] [64/92] installing libstdc++-devel-6.2.1-6.2 [ 13s] [65/92] installing file-5.28-4.6 [ 14s] [66/92] installing libmount-2.28-3.1 [ 14s] [67/92] installing linux-glibc-devel-3.10-3.37 [ 14s] [68/92] installing tar-1.17-3.1 [ 14s] [69/92] installing db4-4.8.30.NC-3.38 [ 14s] [70/92] installing glibc-locale-2.24-3.19 [ 14s] [71/92] installing gzip-1.3.12-3.31 [ 14s] [72/92] installing libcc1-6.2.1-6.2 [ 14s] [73/92] installing libfdisk1-2.28-3.1 [ 14s] [74/92] installing libubsan-6.2.1-6.2 [ 14s] [75/92] installing pam-1.1.6-3.2 [ 15s] [76/92] installing tzdata-2016i-4.1 [ 15s] [77/92] installing elfutils-0.153-3.16 [ 15s] [78/92] installing glibc-devel-2.24-3.19 [ 15s] [79/92] installing perl-5.20.0-4.13 [ 16s] [80/92] installing gcc-6.2.1-6.2 [ 17s] [81/92] installing util-linux-2.28-3.1 [ 17s] [82/92] installing build-mkbaselibs-20120927-3.1 [ 17s] [83/92] installing qemu-accel-x86_64-aarch64-0.4-3.14 [ 22s] warning: %post(qemu-accel-x86_64-aarch64-0.4-3.14.aarch64) scriptlet failed, exit status 1 [ 22s] [84/92] installing autoconf-2.69-3.40 [ 22s] [85/92] installing util-linux-su-2.28-3.1 [ 22s] [86/92] installing automake-1.14.1-3.30 [ 22s] [87/92] installing build-20120927-3.1 [ 22s] [88/92] installing libtool-2.4.2-4.33 [ 22s] [89/92] installing nss-3.23-3.29 [ 23s] [90/92] installing libsoftokn3-3.23-3.29 [ 23s] [91/92] installing rpm-4.11.0.1-4.17 [ 23s] [92/92] installing rpm-build-4.11.0.1-4.17 [ 23s] removing nis flags from /var/cache/build/root_2/etc/nsswitch.conf... [ 23s] now finalizing build dir... [ 23s] build target is aarch64-tizen-linux [ 23s] ----------------------------------------------------------------- [ 23s] I have the following modifications for dosfstools.spec: [ 23s] 4c4 [ 23s] < Release: 0 [ 23s] --- [ 23s] > Release: 2.2 [ 23s] 42a43 [ 23s] > %changelog [ 23s] ----------------------------------------------------------------- [ 23s] ----- building dosfstools.spec (user abuild) [ 23s] ----------------------------------------------------------------- [ 23s] ----------------------------------------------------------------- [ 24s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Unified/standard/014cf2e5cfd237a0b84c6f21c76ea010-dosfstools' -ba /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 24s] Building target platforms: aarch64-tizen-linux [ 24s] Building for target aarch64-tizen-linux [ 24s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dbFWgH [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + rm -rf dosfstools-3.0.16 [ 24s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 24s] + /bin/tar -xf - [ 24s] + STATUS=0 [ 24s] + '[' 0 -ne 0 ']' [ 24s] + cd dosfstools-3.0.16 [ 24s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 24s] + exit 0 [ 24s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mRJP15 [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd dosfstools-3.0.16 [ 24s] ++ uname -m [ 24s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 24s] + ref=/usr/lib/rpm [ 24s] + for s in guess sub [ 24s] ++ find -maxdepth 8 -name config.guess [ 24s] + for s in guess sub [ 24s] ++ find -maxdepth 8 -name config.sub [ 24s] + LANG=C [ 24s] + export LANG [ 24s] + unset DISPLAY [ 24s] + 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' [ 24s] + export CFLAGS [ 24s] + 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 -std=gnu++11' [ 24s] + export CXXFLAGS [ 24s] + 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' [ 24s] + export FFLAGS [ 24s] + LDFLAGS= [ 24s] + export LDFLAGS [ 24s] + LD_AS_NEEDED=1 [ 24s] + export LD_AS_NEEDED [ 24s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 24s] + make [ 24s] 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 [ 24s] src/dosfsck.c: In function 'main': [ 24s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 24s] unsigned n_files_check = 0, n_files_verify = 0; [ 24s] ^~~~~~~~~~~~~~ [ 24s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 24s] unsigned n_files_check = 0, n_files_verify = 0; [ 24s] ^~~~~~~~~~~~~ [ 24s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 24s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 24s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] n_files, fs.clusters - free_clusters, fs.clusters); [ 24s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] 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 [ 24s] src/boot.c: In function 'dump_boot': [ 24s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 24s] ^~~~~~ [ 24s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] sectors = GET_UNALIGNED_W(b->sectors); [ 24s] ^~~~~~~ [ 24s] In file included from src/boot.c:34:0: [ 24s] src/boot.c: In function 'check_backup_boot': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 24s] ^~~~~~~~ [ 24s] src/boot.c: In function 'read_fsinfo': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 24s] ^~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 24s] offsetof(struct boot_sector, info_sector), [ 24s] ^~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 24s] (unsigned long long)offsetof(struct info_sector, magic), [ 24s] ^~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 24s] (unsigned long long)offsetof(struct info_sector, signature), [ 24s] ^~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 24s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 24s] ^~~~~~~~ [ 24s] src/boot.c: In function 'read_boot': [ 24s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 24s] ^~~~~~~~~~~~~~~~~~~ [ 24s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] sectors = GET_UNALIGNED_W(b.sectors); [ 24s] ^~~~~~~ [ 24s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 24s] ^~ [ 24s] 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 [ 24s] In file included from src/check.c:34:0: [ 24s] src/check.c: In function 'drop_file': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, name[0], DELETED_FLAG); [ 24s] ^~~~~~ [ 24s] src/check.c: In function 'truncate_file': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 24s] unsigned long walk, next, prev; [ 24s] ^~~~ [ 24s] In file included from src/check.c:34:0: [ 24s] src/check.c: In function 'handle_dot': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, size, CT_LE_L(0)); [ 24s] ^~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 24s] ^~~~~~ [ 24s] src/check.c: In function 'check_file': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, size, CT_LE_L(0)); [ 24s] ^~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, expect, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, name[0], DELETED_FLAG); [ 24s] ^~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(owner, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(owner, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(owner, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(owner, size, [ 24s] ^~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(file, size, [ 24s] ^~~~~~ [ 24s] src/check.c: In function 'check_dir': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(parent, name[0], DELETED_FLAG); [ 24s] ^~~~~~ [ 24s] src/check.c: In function 'test_file': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/check.c: In function 'undelete': [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 24s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 24s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 24s] ^ [ 24s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 24s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 24s] ^~~~~~~~ [ 24s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 24s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 24s] ^~~~~~ [ 24s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 24s] MODIFY_START(file, 0, fs); [ 24s] ^~~~~~~~~~~~ [ 24s] 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 [ 25s] 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 [ 25s] In file included from src/fat.c:33:0: [ 25s] src/fat.c: In function 'update_free': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 25s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 25s] ^~~~~~~~ [ 25s] 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 [ 25s] 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 [ 25s] 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 [ 25s] src/lfn.c: In function 'cnv_unicode': [ 25s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 25s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 25s] ^~ [ 25s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 25s] static size_t wctombs(char *dest, wchar_t x) [ 25s] ^~~~~~~ [ 25s] In file included from src/lfn.c:31:0: [ 25s] src/lfn.c: In function 'lfn_fix_checksum': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 25s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 25s] ^~~~~~~~ [ 25s] src/lfn.c: In function 'lfn_add_slot': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 25s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 25s] ^~~~~~~~ [ 25s] src/lfn.c: In function 'lfn_get': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 25s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 25s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 25s] ^~~~~~~~ [ 25s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 25s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 25s] ~~~~~~~~^~~ [ 25s] src/lfn.c:465:5: note: within this loop [ 25s] for (sum = 0, i = 0; i < 11; i++) [ 25s] ^~~ [ 25s] 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 [ 25s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 25s] 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 [ 25s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 25s] 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 [ 26s] src/mkdosfs.c: In function 'get_list_blocks': [ 26s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 26s] fscanf(listfile, "%ld\n", &blockno); [ 26s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26s] cc mkdosfs.o -o mkdosfs [ 26s] + exit 0 [ 26s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HFo6SA [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd dosfstools-3.0.16 [ 26s] + LANG=C [ 26s] + export LANG [ 26s] + unset DISPLAY [ 26s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 [ 26s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 [ 26s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 PREFIX=/usr [ 26s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin [ 26s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin [ 26s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin/fsck.msdos [ 26s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin/fsck.vfat [ 26s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin/mkfs.msdos [ 26s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/sbin/mkfs.vfat [ 26s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/doc/dosfstools [ 26s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/doc/dosfstools [ 26s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8 [ 26s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8 [ 26s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8/fsck.msdos.8 [ 26s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8/fsck.vfat.8 [ 26s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 26s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 26s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/share/doc/dosfstools [ 26s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 26s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/sbin/dosfsck [ 27s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/sbin/dosfslabel [ 27s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/sbin/mkdosfs [ 27s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 27s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 27s] cpio: glibc-2.24/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 27s] cpio: glibc-2.24/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 27s] cpio: glibc-2.24/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 27s] 363 blocks [ 27s] + /usr/lib/rpm/check-buildroot [ 27s] + /usr/lib/rpm//brp-compress [ 27s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 27s] + /usr/lib/rpm/brp-python-hardlink [ 27s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 [ 27s] Processing files: dosfstools-3.0.16-2.2.aarch64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DT54j8 [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd dosfstools-3.0.16 [ 27s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/share/licenses/dosfstools [ 27s] + export LICENSEDIR [ 27s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/share/licenses/dosfstools [ 27s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64/usr/share/licenses/dosfstools [ 27s] + exit 0 [ 27s] Provides: dosfstools = 3.0.16-2.2 dosfstools(aarch-64) = 3.0.16-2.2 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] 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) [ 27s] Processing files: dosfstools-debugsource-3.0.16-2.2.aarch64 [ 27s] Provides: dosfstools-debugsource = 3.0.16-2.2 dosfstools-debugsource(aarch-64) = 3.0.16-2.2 [ 27s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 27s] Processing files: dosfstools-docs-3.0.16-2.2.aarch64 [ 27s] Provides: dosfstools-docs = 3.0.16-2.2 dosfstools-docs(aarch-64) = 3.0.16-2.2 [ 27s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 27s] Processing files: dosfstools-debuginfo-3.0.16-2.2.aarch64 [ 27s] warning: File listed twice: /usr/lib/debug/.build-id [ 27s] warning: File listed twice: /usr/lib/debug/.build-id [ 27s] Provides: dosfstools-debuginfo = 3.0.16-2.2 dosfstools-debuginfo(aarch-64) = 3.0.16-2.2 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 [ 27s] warning: Could not canonicalize hostname: obspw06 [ 27s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-2.2.src.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-2.2.aarch64.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-2.2.aarch64.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-2.2.aarch64.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-2.2.aarch64.rpm [ 27s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GucY1p [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd dosfstools-3.0.16 [ 27s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.2.aarch64 [ 27s] + exit 0 [ 27s] ... checking for files with abuild user/group [ 27s] ... creating baselibs [ 28s] ... comparing built packages with the former built [ 28s] /usr/lib/build/pkg-diff.sh [ 28s] compare /.build.oldpackages/dosfstools-3.0.16-2.1.src.rpm /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-2.2.src.rpm [ 28s] This is not a prerelease project. Compare the project name. [ 28s] comparing rpmtags [ 28s] comparing RELEASE [ 28s] comparing PROVIDES [ 28s] comparing scripts [ 28s] comparing filelist [ 28s] comparing file checksum [ 28s] RPM meta information is identical [ 28s] compare /.build.oldpackages/dosfstools-3.0.16-2.1.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-2.2.aarch64.rpm [ 29s] Comparing dosfstools-3.0.16-2.1.aarch64.rpm to dosfstools-3.0.16-2.2.aarch64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 29s] comparing filelist [ 29s] comparing file checksum [ 29s] creating rename script [ 29s] RPM meta information is identical [ 29s] compare /.build.oldpackages/dosfstools-debuginfo-3.0.16-2.1.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-2.2.aarch64.rpm [ 29s] skipping -debuginfo package [ 29s] compare /.build.oldpackages/dosfstools-debugsource-3.0.16-2.1.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-2.2.aarch64.rpm [ 29s] Comparing dosfstools-debugsource-3.0.16-2.1.aarch64.rpm to dosfstools-debugsource-3.0.16-2.2.aarch64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 29s] comparing filelist [ 29s] comparing file checksum [ 29s] creating rename script [ 29s] RPM meta information is identical [ 29s] compare /.build.oldpackages/dosfstools-docs-3.0.16-2.1.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-2.2.aarch64.rpm [ 29s] Comparing dosfstools-docs-3.0.16-2.1.aarch64.rpm to dosfstools-docs-3.0.16-2.2.aarch64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 30s] comparing filelist [ 30s] comparing file checksum [ 30s] creating rename script [ 30s] RPM meta information is identical [ 30s] compare validated built as identical ! [ 30s] [ 30s] obspw06 finished "build dosfstools.spec" at Fri May 19 23:44:14 UTC 2017. [ 30s]