[ 0s] Memory limit set to 87946512KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_1 [ 0s] Using BUILD_ARCH=aarch64 [ 0s] [ 0s] [ 0s] obspw03 started "build _service:gbs:dosfstools.spec" at Wed Mar 28 01:33:21 UTC 2018. [ 0s] [ 0s] Building dosfstools for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '014cf2e5cfd237a0b84c6f21c76ea010' [ 0s] [ 0s] processing recipe /var/cache/build/root_1/.build-srcdir/_service:gbs:dosfstools.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_1/.build-srcdir/_service:gbs:dosfstools.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_1/.build.rpmlist /var/cache/build/root_1/.build-srcdir/_service:gbs:dosfstools.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /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 [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] interpreter for 'aarch64' is -1 [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/1/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 [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 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... [ 2s] [21/40] preinstalling nspr... [ 2s] [22/40] preinstalling sed... [ 2s] [23/40] preinstalling zlib... [ 2s] [24/40] preinstalling qemu-accel-x86_64-aarch64... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [26/40] preinstalling coreutils... [ 7s] [27/40] preinstalling libacl... [ 7s] [28/40] preinstalling libblkid... [ 7s] [29/40] preinstalling libreadline... [ 7s] [30/40] preinstalling smack... [ 7s] [31/40] preinstalling bzip2... [ 7s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling libmount... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] running qemu-linux-user-x86_64-cross postinstall script [ 7s] running qemu-accel-x86_64-aarch64 postinstall script [ 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... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 8s] [1/93] installing libmagic-data-5.32-10.48 [ 8s] [2/93] installing setup-0.9-5.8 [ 8s] [3/93] installing filesystem-3.1-6.1 [ 8s] [4/93] installing glibc-2.24-9.18 [ 8s] [5/93] installing bash-3.2.57-6.1 [ 8s] [6/93] installing binutils-2.27-10.18 [ 9s] [7/93] installing cpio-2.11-3.1 [ 9s] [8/93] installing diffutils-3.3-3.1 [ 9s] [9/93] installing findutils-4.3.8-5.168 [ 9s] [10/93] installing hostname-3.12-4.1 [ 9s] [11/93] installing libatomic-6.2.1-20.9 [ 9s] [12/93] installing libattr-2.4.47-5.19 [ 9s] [13/93] installing libbz2-1.0.6-4.212 [ 9s] [14/93] installing libcap-2.24-4.232 [ 9s] [15/93] installing libelf-0.153-3.73 [ 9s] [16/93] installing libext2fs-1.43.4-5.2 [ 9s] [17/93] installing libfreebl3-3.34.1-5.32 [ 9s] [18/93] installing libgcc-6.2.1-20.9 [ 9s] [19/93] installing libgomp-6.2.1-20.9 [ 9s] [20/93] installing libitm-6.2.1-20.9 [ 9s] [21/93] installing libltdl-2.4.2-4.195 [ 9s] [22/93] installing liblua-5.1.4-3.31 [ 9s] [23/93] installing liblzma-5.2.3-5.44 [ 9s] [24/93] installing libpcre-8.41-5.1 [ 9s] [25/93] installing libpopt-1.16-4.32 [ 9s] [26/93] installing libsmack-1.3.1-5.40 [ 10s] [27/93] installing libsmartcols-2.30-8.1 [ 10s] [28/93] installing libsqlite-3.21.0-10.9 [ 10s] [29/93] installing libuuid-2.30-8.1 [ 10s] [30/93] installing m4-1.4.17-3.1 [ 10s] [31/93] installing net-tools-2.0_20121208git-3.1 [ 10s] [32/93] installing nspr-4.12-4.11 [ 10s] [33/93] installing patch-2.7-3.32 [ 10s] [34/93] installing pkg-config-0.28-5.169 [ 10s] [35/93] installing sed-4.1c-4.1 [ 10s] [36/93] installing update-alternatives-1.18.15-3.1 [ 10s] [37/93] installing which-2.20-6.1 [ 10s] [38/93] installing zlib-1.2.11-4.226 [ 10s] [39/93] installing build-compare-2015.04.28-3.96 [ 10s] [40/93] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 11s] [41/93] installing terminfo-base-full-5.9-5.128 [ 11s] [42/93] installing coreutils-6.9-3.1 [ 11s] [43/93] installing cpp-6.2.1-20.9 [ 12s] [44/93] installing gawk-3.1.5-5.1 [ 12s] [45/93] installing gcc-c++-6.2.1-20.9 [ 13s] [46/93] installing grep-2.5.2-6.1 [ 13s] [47/93] installing libacl-2.2.52-5.41 [ 13s] [48/93] installing libasm-0.153-3.73 [ 13s] [49/93] installing libblkid-2.30-8.1 [ 13s] [50/93] installing libgfortran-6.2.1-20.9 [ 13s] [51/93] installing libstdc++-6.2.1-20.9 [ 13s] [52/93] installing make-4.0-4.11 [ 13s] [53/93] installing nss-certs-3.34.1-5.32 [ 13s] [54/93] installing smack-1.3.1-5.40 [ 13s] [55/93] installing bzip2-1.0.6-4.212 [ 13s] [56/93] installing libmagic-5.32-10.48 [ 13s] [57/93] installing libxml2-2.9.7-6.60 [ 13s] [58/93] installing xz-5.2.3-5.44 [ 13s] [59/93] installing libdw-0.153-3.73 [ 13s] [60/93] installing libstdc++-devel-6.2.1-20.9 [ 13s] [61/93] installing file-5.32-10.48 [ 13s] [62/93] installing libmount-2.30-8.1 [ 14s] [63/93] installing libncurses-5.9-5.128 [ 14s] [64/93] installing libncurses6-5.9-5.128 [ 14s] [65/93] installing linux-glibc-devel-3.10-3.239 [ 14s] [66/93] installing tar-1.17-4.1 [ 14s] [67/93] installing db4-4.8.30.NC-3.215 [ 14s] [68/93] installing glibc-locale-2.24-9.18 [ 14s] [69/93] installing gzip-1.3.12-7.1 [ 14s] [70/93] installing libcc1-6.2.1-20.9 [ 14s] [71/93] installing libfdisk-2.30-8.1 [ 15s] [72/93] installing libubsan-6.2.1-20.9 [ 15s] [73/93] installing pam-1.1.6-4.1 [ 15s] [74/93] installing tzdata-2018c-8.1 [ 15s] [75/93] installing elfutils-0.153-3.73 [ 15s] [76/93] installing glibc-devel-2.24-9.18 [ 15s] [77/93] installing less-466-8.1 [ 15s] [78/93] installing libreadline-5.2-4.15 [ 15s] [79/93] installing procps-ng-3.3.12-6.1 [ 15s] [80/93] installing perl-5.20.0-4.60 [ 17s] [81/93] installing gcc-6.2.1-20.9 [ 17s] [82/93] installing build-mkbaselibs-20120927-3.1 [ 17s] [83/93] installing qemu-accel-x86_64-aarch64-0.4-11.15 [ 24s] [84/93] installing autoconf-2.69-3.225 [ 24s] [85/93] installing util-linux-2.30-8.1 [ 24s] [86/93] installing automake-1.15.1-6.7 [ 24s] [87/93] installing util-linux-su-2.30-8.1 [ 24s] [88/93] installing build-20120927-3.1 [ 24s] [89/93] installing libtool-2.4.2-4.195 [ 24s] [90/93] installing nss-3.34.1-5.32 [ 25s] [91/93] installing libsoftokn3-3.34.1-5.32 [ 25s] [92/93] installing rpm-4.11.0.1-8.35 [ 25s] [93/93] installing rpm-build-4.11.0.1-8.35 [ 25s] removing nis flags from /var/cache/build/root_1/etc/nsswitch.conf... [ 25s] now finalizing build dir... [ 26s] build target is aarch64-tizen-linux [ 26s] ----------------------------------------------------------------- [ 26s] I have the following modifications for dosfstools.spec: [ 26s] 4c4 [ 26s] < Release: 0 [ 26s] --- [ 26s] > Release: 2.7 [ 26s] 42a43 [ 26s] > %changelog [ 26s] ----------------------------------------------------------------- [ 26s] ----- building dosfstools.spec (user abuild) [ 26s] ----------------------------------------------------------------- [ 26s] ----------------------------------------------------------------- [ 26s] + 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 [ 26s] Building target platforms: aarch64-tizen-linux [ 26s] Building for target aarch64-tizen-linux [ 26s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WEDOrD [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + rm -rf dosfstools-3.0.16 [ 26s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 26s] + /bin/tar -xf - [ 26s] + STATUS=0 [ 26s] + '[' 0 -ne 0 ']' [ 26s] + cd dosfstools-3.0.16 [ 26s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 26s] + exit 0 [ 26s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nDcQHU [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd dosfstools-3.0.16 [ 26s] ++ uname -m [ 26s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 26s] + ref=/usr/lib/rpm [ 26s] + for s in guess sub [ 26s] ++ find -maxdepth 8 -name config.guess [ 26s] + for s in guess sub [ 26s] ++ find -maxdepth 8 -name config.sub [ 26s] + LANG=C [ 26s] + export LANG [ 26s] + unset DISPLAY [ 26s] + 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' [ 26s] + export CFLAGS [ 26s] + 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' [ 26s] + export CXXFLAGS [ 26s] + 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' [ 26s] + export FFLAGS [ 26s] + LDFLAGS= [ 26s] + export LDFLAGS [ 26s] + LD_AS_NEEDED=1 [ 26s] + export LD_AS_NEEDED [ 26s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 26s] + make [ 26s] 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 [ 26s] src/dosfsck.c: In function 'main': [ 26s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 26s] unsigned n_files_check = 0, n_files_verify = 0; [ 26s] ^~~~~~~~~~~~~~ [ 26s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 26s] unsigned n_files_check = 0, n_files_verify = 0; [ 26s] ^~~~~~~~~~~~~ [ 26s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 26s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 26s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26s] n_files, fs.clusters - free_clusters, fs.clusters); [ 26s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26s] 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 [ 26s] src/boot.c: In function 'dump_boot': [ 26s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 26s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 26s] ^~~~~~ [ 26s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 26s] sectors = GET_UNALIGNED_W(b->sectors); [ 26s] ^~~~~~~ [ 26s] In file included from src/boot.c:34:0: [ 26s] src/boot.c: In function 'check_backup_boot': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 26s] ^~~~~~~~ [ 26s] src/boot.c: In function 'read_fsinfo': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 26s] ^~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 26s] offsetof(struct boot_sector, info_sector), [ 26s] ^~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 26s] (unsigned long long)offsetof(struct info_sector, magic), [ 26s] ^~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 26s] (unsigned long long)offsetof(struct info_sector, signature), [ 26s] ^~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 26s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 26s] ^~~~~~~~ [ 26s] src/boot.c: In function 'read_boot': [ 26s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 26s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 26s] ^~~~~~~~~~~~~~~~~~~ [ 26s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 26s] sectors = GET_UNALIGNED_W(b.sectors); [ 26s] ^~~~~~~ [ 26s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 26s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 26s] ^~ [ 26s] 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 [ 26s] In file included from src/check.c:34:0: [ 26s] src/check.c: In function 'drop_file': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, name[0], DELETED_FLAG); [ 26s] ^~~~~~ [ 26s] src/check.c: In function 'truncate_file': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 26s] unsigned long walk, next, prev; [ 26s] ^~~~ [ 26s] In file included from src/check.c:34:0: [ 26s] src/check.c: In function 'handle_dot': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, size, CT_LE_L(0)); [ 26s] ^~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 26s] ^~~~~~ [ 26s] src/check.c: In function 'check_file': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, size, CT_LE_L(0)); [ 26s] ^~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, expect, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, name[0], DELETED_FLAG); [ 26s] ^~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(owner, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(owner, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(owner, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(owner, size, [ 26s] ^~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(file, size, [ 26s] ^~~~~~ [ 26s] src/check.c: In function 'check_dir': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(parent, name[0], DELETED_FLAG); [ 26s] ^~~~~~ [ 26s] src/check.c: In function 'test_file': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/check.c: In function 'undelete': [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 26s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 26s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 26s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 26s] ^ [ 26s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 26s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 26s] ^~~~~~~~ [ 26s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 26s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 26s] ^~~~~~ [ 26s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 26s] MODIFY_START(file, 0, fs); [ 26s] ^~~~~~~~~~~~ [ 27s] 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 [ 27s] 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 [ 27s] In file included from src/fat.c:33:0: [ 27s] src/fat.c: In function 'update_free': [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 27s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 27s] ^~~~~~~~ [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] src/lfn.c: In function 'cnv_unicode': [ 27s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 27s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 27s] ^~ [ 27s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 27s] static size_t wctombs(char *dest, wchar_t x) [ 27s] ^~~~~~~ [ 27s] In file included from src/lfn.c:31:0: [ 27s] src/lfn.c: In function 'lfn_fix_checksum': [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 27s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 27s] ^~~~~~~~ [ 27s] src/lfn.c: In function 'lfn_add_slot': [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 27s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 27s] ^~~~~~~~ [ 27s] src/lfn.c: In function 'lfn_get': [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 27s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 27s] ^~~~~~~~ [ 27s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 27s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 27s] ^ [ 27s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 27s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 27s] ^~~~~~~~ [ 27s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 27s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 27s] ~~~~~~~~^~~ [ 27s] src/lfn.c:465:5: note: within this loop [ 27s] for (sum = 0, i = 0; i < 11; i++) [ 27s] ^~~ [ 27s] 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 [ 27s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 27s] 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 [ 27s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 28s] 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 [ 28s] src/mkdosfs.c: In function 'get_list_blocks': [ 28s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 28s] fscanf(listfile, "%ld\n", &blockno); [ 28s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 28s] cc mkdosfs.o -o mkdosfs [ 28s] + exit 0 [ 28s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ohYzUh [ 28s] + umask 022 [ 28s] + cd /home/abuild/rpmbuild/BUILD [ 28s] + cd dosfstools-3.0.16 [ 28s] + LANG=C [ 28s] + export LANG [ 28s] + unset DISPLAY [ 28s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 [ 28s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 [ 28s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 PREFIX=/usr [ 28s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin [ 28s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin [ 28s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin/fsck.msdos [ 28s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin/fsck.vfat [ 28s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin/mkfs.msdos [ 28s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/sbin/mkfs.vfat [ 28s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/doc/dosfstools [ 28s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/doc/dosfstools [ 28s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8 [ 28s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8 [ 28s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8/fsck.msdos.8 [ 28s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8/fsck.vfat.8 [ 28s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 28s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 28s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/share/doc/dosfstools [ 28s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 28s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/sbin/dosfsck [ 29s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/sbin/dosfslabel [ 29s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/sbin/mkdosfs [ 29s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 29s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 29s] cpio: glibc-2.24/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 29s] cpio: glibc-2.24/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 29s] cpio: glibc-2.24/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 29s] 363 blocks [ 29s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 29s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 29s] + /usr/lib/rpm/check-buildroot [ 29s] + /usr/lib/rpm//brp-compress [ 29s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 29s] + /usr/lib/rpm/brp-python-hardlink [ 29s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 [ 29s] Processing files: dosfstools-3.0.16-2.7.aarch64 [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rhSZMH [ 29s] + umask 022 [ 29s] + cd /home/abuild/rpmbuild/BUILD [ 29s] + cd dosfstools-3.0.16 [ 29s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/share/licenses/dosfstools [ 29s] + export LICENSEDIR [ 29s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/share/licenses/dosfstools [ 29s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64/usr/share/licenses/dosfstools [ 29s] + exit 0 [ 29s] Provides: dosfstools = 3.0.16-2.7 dosfstools(aarch-64) = 3.0.16-2.7 [ 29s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 29s] 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) [ 29s] Processing files: dosfstools-debugsource-3.0.16-2.7.aarch64 [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] Provides: dosfstools-debugsource = 3.0.16-2.7 dosfstools-debugsource(aarch-64) = 3.0.16-2.7 [ 29s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 29s] Processing files: dosfstools-docs-3.0.16-2.7.aarch64 [ 29s] Provides: dosfstools-docs = 3.0.16-2.7 dosfstools-docs(aarch-64) = 3.0.16-2.7 [ 29s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 29s] Processing files: dosfstools-debuginfo-3.0.16-2.7.aarch64 [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 29s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 29s] [ 29s] warning: File listed twice: /usr/lib/debug/.build-id [ 29s] warning: File listed twice: /usr/lib/debug/.build-id [ 29s] Provides: dosfstools-debuginfo = 3.0.16-2.7 dosfstools-debuginfo(aarch-64) = 3.0.16-2.7 [ 29s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 29s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 [ 29s] warning: Could not canonicalize hostname: obspw03 [ 29s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-2.7.src.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-2.7.aarch64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-2.7.aarch64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-2.7.aarch64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-2.7.aarch64.rpm [ 29s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OW5oeg [ 29s] + umask 022 [ 29s] + cd /home/abuild/rpmbuild/BUILD [ 29s] + cd dosfstools-3.0.16 [ 29s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-2.7.aarch64 [ 29s] + exit 0 [ 30s] ... checking for files with abuild user/group [ 30s] ... creating baselibs [ 30s] [ 30s] obspw03 finished "build dosfstools.spec" at Wed Mar 28 01:33:51 UTC 2018. [ 30s] Retried build at Fri Apr 6 20:28:36 2018 returned same result, skipped Retried build at Mon Apr 9 11:56:56 2018 returned same result, skipped Retried build at Fri Apr 13 23:46:18 2018 returned same result, skipped Retried build at Sat Apr 14 01:05:55 2018 returned same result, skipped Retried build at Sat Apr 14 02:56:00 2018 returned same result, skipped Retried build at Tue Apr 17 03:25:20 2018 returned same result, skipped Retried build at Fri Apr 20 21:28:23 2018 returned same result, skipped Retried build at Fri Apr 27 19:10:54 2018 returned same result, skipped Retried build at Fri Apr 27 20:49:12 2018 returned same result, skipped Retried build at Fri May 4 10:39:00 2018 returned same result, skipped Retried build at Sat May 12 02:22:19 2018 returned same result, skipped Retried build at Sat May 12 03:31:59 2018 returned same result, skipped Retried build at Sat May 12 06:25:37 2018 returned same result, skipped Retried build at Sat May 12 18:15:48 2018 returned same result, skipped Retried build at Sat May 12 20:27:16 2018 returned same result, skipped Retried build at Fri Jun 15 22:00:19 2018 returned same result, skipped Retried build at Mon Jun 25 06:55:11 2018 returned same result, skipped Retried build at Mon Jun 25 08:54:17 2018 returned same result, skipped Retried build at Fri Jul 6 18:40:13 2018 returned same result, skipped Retried build at Sat Jul 14 00:13:48 2018 returned same result, skipped Retried build at Sat Jul 14 03:27:11 2018 returned same result, skipped Retried build at Fri Jul 20 13:58:26 2018 returned same result, skipped Retried build at Sat Aug 18 10:48:08 2018 returned same result, skipped Retried build at Fri Sep 7 15:33:07 2018 returned same result, skipped Retried build at Sat Sep 8 08:03:44 2018 returned same result, skipped Retried build at Mon Sep 10 11:36:10 2018 returned same result, skipped Retried build at Fri Sep 14 07:51:43 2018 returned same result, skipped Retried build at Sat Sep 15 01:08:04 2018 returned same result, skipped Retried build at Sat Sep 15 03:06:19 2018 returned same result, skipped Retried build at Mon Sep 24 17:06:39 2018 returned same result, skipped