[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_2 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 0s] [ 0s] obsnw13 started "build _service:gbs:dosfstools.spec" at Tue Oct 27 06:19:19 UTC 2020. [ 0s] [ 0s] Building dosfstools for project 'Tizen:5.5:Unified:Mobile:Hotfix' repository 'standard' arch 'aarch64' srcmd5 '63c41bdba802acc46a9048653effb30b' [ 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] 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 [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling libncurses... [ 1s] [3/40] preinstalling setup... [ 1s] [4/40] preinstalling filesystem... [ 1s] [5/40] preinstalling glibc... [ 1s] [6/40] preinstalling bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libbz2... [ 1s] [11/40] preinstalling libcap... [ 1s] [12/40] preinstalling libelf... [ 1s] [13/40] preinstalling libfreebl3... [ 1s] [14/40] preinstalling libgcc... [ 1s] [15/40] preinstalling liblua... [ 1s] [16/40] preinstalling liblzma... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libreadline... [ 1s] [19/40] preinstalling libsmack... [ 1s] [20/40] preinstalling libsqlite... [ 1s] [21/40] preinstalling libuuid... [ 1s] [22/40] preinstalling nspr... [ 1s] [23/40] preinstalling sed... [ 1s] [24/40] preinstalling zlib... [ 1s] [25/40] preinstalling qemu-accel-x86_64-aarch64... [ 6s] [26/40] preinstalling qemu-linux-user-x86_64-cross... [ 6s] [27/40] preinstalling coreutils... [ 7s] [28/40] preinstalling libacl... [ 7s] [29/40] preinstalling libblkid... [ 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... [ 7s] reordering...cycle: libsoftokn3 -> nss [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 8s] [1/94] installing libmagic-data-5.37-2.20 [ 8s] [2/94] installing setup-0.9-3.6 [ 8s] [3/94] installing filesystem-3.1-1.1 [ 8s] [4/94] installing glibc-2.24-2.4 [ 8s] [5/94] installing bash-3.2.57-1.1 [ 8s] [6/94] installing binutils-2.27-3.14 [ 9s] [7/94] installing cpio-2.11-1.1 [ 9s] [8/94] installing diffutils-3.3-1.1 [ 9s] [9/94] installing findutils-4.3.8-1.95 [ 9s] [10/94] installing gdbm-1.8.3-1.102 [ 9s] [11/94] installing hostname-3.20-1.1 [ 9s] [12/94] installing libatomic-6.2.1-3.1 [ 9s] [13/94] installing libattr-2.4.47-1.102 [ 10s] [14/94] installing libbz2-1.0.6-1.89 [ 10s] [15/94] installing libcap-2.24-1.101 [ 10s] [16/94] installing libelf-0.153-1.19 [ 10s] [17/94] installing libext2fs-1.43.4-1.1 [ 11s] [18/94] installing libfreebl3-3.34.1-1.65 [ 11s] [19/94] installing libgcc-6.2.1-3.1 [ 11s] [20/94] installing libgomp-6.2.1-3.1 [ 12s] [21/94] installing libitm-6.2.1-3.1 [ 12s] [22/94] installing libltdl-2.4.2-1.81 [ 12s] [23/94] installing liblua-5.1.5-1.8 [ 12s] [24/94] installing liblzma-5.2.4-1.72 [ 13s] [25/94] installing libpcre-8.43-1.9 [ 13s] [26/94] installing libpopt-1.16-1.10 [ 13s] [27/94] installing libsmack-1.3.1-1.8 [ 14s] [28/94] installing libsmartcols-2.30-1.15 [ 14s] [29/94] installing libsqlite-3.29.0-1.41 [ 14s] [30/94] installing libuuid-2.30-1.15 [ 14s] [31/94] installing m4-1.4.17-1.1 [ 14s] [32/94] installing net-tools-2.0_20121208git-1.1 [ 14s] [33/94] installing nspr-4.12-1.8 [ 15s] [34/94] installing patch-2.7-1.10 [ 15s] [35/94] installing pkg-config-0.28-1.92 [ 15s] [36/94] installing sed-4.1c-1.1 [ 15s] [37/94] installing update-alternatives-1.18.15-2.1 [ 15s] [38/94] installing which-2.20-1.1 [ 15s] [39/94] installing zlib-1.2.11-1.101 [ 15s] [40/94] installing build-compare-2015.04.28-1.36 [ 15s] [41/94] installing qemu-linux-user-x86_64-cross-2.7.0-1.5.1 [ 17s] [42/94] installing terminfo-base-full-6.1-1.64 [ 17s] [43/94] installing coreutils-6.9-2.15 [ 17s] [44/94] installing cpp-6.2.1-3.1 [ 17s] [45/94] installing gawk-3.1.5-3.1 [ 18s] [46/94] installing gcc-c++-6.2.1-3.1 [ 18s] [47/94] installing grep-2.5.2-1.1 [ 18s] [48/94] installing libacl-2.2.52-1.101 [ 18s] [49/94] installing libasm-0.153-1.19 [ 18s] [50/94] installing libblkid-2.30-1.15 [ 19s] [51/94] installing libstdc++-6.2.1-3.1 [ 19s] [52/94] installing make-4.0-1.15 [ 19s] [53/94] installing nss-certs-3.34.1-1.65 [ 19s] [54/94] installing smack-1.3.1-1.8 [ 19s] [55/94] installing bzip2-1.0.6-1.89 [ 19s] [56/94] installing libgfortran-6.2.1-3.1 [ 20s] [57/94] installing libmagic-5.37-2.20 [ 20s] [58/94] installing libxml2-2.9.7-1.36 [ 20s] [59/94] installing xz-5.2.4-1.72 [ 20s] [60/94] installing libdw-0.153-1.19 [ 21s] [61/94] installing libstdc++-devel-6.2.1-3.1 [ 21s] [62/94] installing file-5.37-2.20 [ 21s] [63/94] installing libmount-2.30-1.15 [ 21s] [64/94] installing linux-glibc-devel-3.10-1.103 [ 22s] [65/94] installing tar-1.17-1.1 [ 22s] [66/94] installing db4-4.8.30.NC-1.94 [ 22s] [67/94] installing glibc-locale-2.24-2.4 [ 23s] [68/94] installing gzip-1.3.12-1.103 [ 23s] [69/94] installing libcc1-6.2.1-3.1 [ 23s] [70/94] installing libfdisk-2.30-1.15 [ 23s] [71/94] installing libubsan-6.2.1-3.1 [ 23s] [72/94] installing pam-1.1.6-1.1 [ 24s] [73/94] installing libncurses6-6.1-1.64 [ 24s] [74/94] installing tzdata-2019a-1.1 [ 24s] [75/94] installing elfutils-0.153-1.19 [ 25s] [76/94] installing libncurses-6.1-1.64 [ 25s] [77/94] installing glibc-devel-2.24-2.4 [ 25s] [78/94] installing less-466-1.1 [ 25s] [79/94] installing libreadline-5.2-1.39 [ 25s] [80/94] installing procps-ng-3.3.15-2.1 [ 25s] [81/94] installing perl-5.30.0-1.21 [ 27s] [82/94] installing gcc-6.2.1-3.1 [ 28s] [83/94] installing build-mkbaselibs-20120927-1.1 [ 28s] [84/94] installing qemu-accel-x86_64-aarch64-0.4-1.11 [ 34s] [85/94] installing autoconf-2.69-1.40 [ 35s] [86/94] installing util-linux-2.30-1.15 [ 35s] [87/94] installing automake-1.15.1-1.73 [ 35s] [88/94] installing util-linux-su-2.30-1.15 [ 35s] [89/94] installing build-20120927-1.1 [ 35s] [90/94] installing libtool-2.4.2-1.81 [ 35s] [91/94] installing nss-3.34.1-1.65 [ 36s] [92/94] installing libsoftokn3-3.34.1-1.65 [ 36s] [93/94] installing rpm-4.11.0.1-1.49 [ 36s] [94/94] installing rpm-build-4.11.0.1-1.49 [ 36s] removing nis flags from /var/cache/build/root_2/etc/nsswitch.conf... [ 36s] now finalizing build dir... [ 37s] Running build time source services... [ 37s] build target is aarch64-tizen-linux [ 37s] ----------------------------------------------------------------- [ 37s] I have the following modifications for dosfstools.spec: [ 37s] 4c4 [ 37s] < Release: 0 [ 37s] --- [ 37s] > Release: 1.1 [ 37s] 42a43 [ 37s] > %changelog [ 37s] ----------------------------------------------------------------- [ 37s] ----- building dosfstools.spec (user abuild) [ 37s] ----------------------------------------------------------------- [ 37s] ----------------------------------------------------------------- [ 37s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:5.5:Unified:Mobile:Hotfix/standard/63c41bdba802acc46a9048653effb30b-dosfstools' -ba /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 38s] Building target platforms: aarch64-tizen-linux [ 38s] Building for target aarch64-tizen-linux [ 38s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VMepfD [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + rm -rf dosfstools-3.0.16 [ 38s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 38s] + /bin/tar -xf - [ 38s] + STATUS=0 [ 38s] + '[' 0 -ne 0 ']' [ 38s] + cd dosfstools-3.0.16 [ 38s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 38s] + exit 0 [ 38s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3jT331 [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd dosfstools-3.0.16 [ 38s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 38s] + ref=/usr/lib/rpm [ 38s] + for s in guess sub [ 38s] ++ find -maxdepth 8 -name config.guess [ 38s] + for s in guess sub [ 38s] ++ find -maxdepth 8 -name config.sub [ 38s] + LANG=C [ 38s] + export LANG [ 38s] + unset DISPLAY [ 38s] + 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' [ 38s] + export CFLAGS [ 38s] + 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' [ 38s] + export CXXFLAGS [ 38s] + 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' [ 38s] + export FFLAGS [ 38s] + LDFLAGS= [ 38s] + export LDFLAGS [ 38s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 38s] + make [ 38s] 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 [ 38s] src/dosfsck.c: In function 'main': [ 38s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 38s] unsigned n_files_check = 0, n_files_verify = 0; [ 38s] ^~~~~~~~~~~~~~ [ 38s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 38s] unsigned n_files_check = 0, n_files_verify = 0; [ 38s] ^~~~~~~~~~~~~ [ 38s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 38s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 38s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] n_files, fs.clusters - free_clusters, fs.clusters); [ 38s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] 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 [ 38s] src/boot.c: In function 'dump_boot': [ 38s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 38s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 38s] ^~~~~~ [ 38s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 38s] sectors = GET_UNALIGNED_W(b->sectors); [ 38s] ^~~~~~~ [ 38s] In file included from src/boot.c:34:0: [ 38s] src/boot.c: In function 'check_backup_boot': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 38s] ^~~~~~~~ [ 38s] src/boot.c: In function 'read_fsinfo': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 38s] ^~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 38s] offsetof(struct boot_sector, info_sector), [ 38s] ^~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 38s] (unsigned long long)offsetof(struct info_sector, magic), [ 38s] ^~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 38s] (unsigned long long)offsetof(struct info_sector, signature), [ 38s] ^~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 38s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 38s] ^~~~~~~~ [ 38s] src/boot.c: In function 'read_boot': [ 38s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 38s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 38s] ^~~~~~~~~~~~~~~~~~~ [ 38s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 38s] sectors = GET_UNALIGNED_W(b.sectors); [ 38s] ^~~~~~~ [ 38s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 38s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 38s] ^~ [ 38s] 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 [ 38s] In file included from src/check.c:34:0: [ 38s] src/check.c: In function 'drop_file': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, name[0], DELETED_FLAG); [ 38s] ^~~~~~ [ 38s] src/check.c: In function 'truncate_file': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 38s] unsigned long walk, next, prev; [ 38s] ^~~~ [ 38s] In file included from src/check.c:34:0: [ 38s] src/check.c: In function 'handle_dot': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, size, CT_LE_L(0)); [ 38s] ^~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 38s] ^~~~~~ [ 38s] src/check.c: In function 'check_file': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, size, CT_LE_L(0)); [ 38s] ^~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, expect, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, name[0], DELETED_FLAG); [ 38s] ^~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(owner, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(owner, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(owner, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(owner, size, [ 38s] ^~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(file, size, [ 38s] ^~~~~~ [ 38s] src/check.c: In function 'check_dir': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(parent, name[0], DELETED_FLAG); [ 38s] ^~~~~~ [ 38s] src/check.c: In function 'test_file': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/check.c: In function 'undelete': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 38s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 38s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 38s] ^~~~~~~~ [ 38s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 38s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 38s] ^~~~~~ [ 38s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 38s] MODIFY_START(file, 0, fs); [ 38s] ^~~~~~~~~~~~ [ 38s] 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 [ 38s] 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 [ 38s] In file included from src/fat.c:33:0: [ 38s] src/fat.c: In function 'update_free': [ 38s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 38s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 38s] ^ [ 38s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 38s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 38s] ^~~~~~~~ [ 39s] 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 [ 39s] 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 [ 39s] 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 [ 39s] src/lfn.c: In function 'cnv_unicode': [ 39s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 39s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 39s] ^~ [ 39s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 39s] static size_t wctombs(char *dest, wchar_t x) [ 39s] ^~~~~~~ [ 39s] In file included from src/lfn.c:31:0: [ 39s] src/lfn.c: In function 'lfn_fix_checksum': [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 39s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 39s] ^~~~~~~~ [ 39s] src/lfn.c: In function 'lfn_add_slot': [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 39s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 39s] ^~~~~~~~ [ 39s] src/lfn.c: In function 'lfn_get': [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 39s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 39s] ^~~~~~~~ [ 39s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 39s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 39s] ^ [ 39s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 39s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 39s] ^~~~~~~~ [ 39s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 39s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 39s] ~~~~~~~~^~~ [ 39s] src/lfn.c:465:5: note: within this loop [ 39s] for (sum = 0, i = 0; i < 11; i++) [ 39s] ^~~ [ 39s] 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 [ 39s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 39s] 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 [ 39s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 39s] 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 [ 39s] src/mkdosfs.c: In function 'get_list_blocks': [ 39s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 39s] fscanf(listfile, "%ld\n", &blockno); [ 39s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 40s] cc mkdosfs.o -o mkdosfs [ 40s] + exit 0 [ 40s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GQlx9x [ 40s] + umask 022 [ 40s] + cd /home/abuild/rpmbuild/BUILD [ 40s] + cd dosfstools-3.0.16 [ 40s] + LANG=C [ 40s] + export LANG [ 40s] + unset DISPLAY [ 40s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 40s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 40s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 PREFIX=/usr [ 40s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin [ 40s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin [ 40s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/fsck.msdos [ 40s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/fsck.vfat [ 40s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/mkfs.msdos [ 40s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/sbin/mkfs.vfat [ 40s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/doc/dosfstools [ 40s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/doc/dosfstools [ 40s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8 [ 40s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8 [ 40s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/fsck.msdos.8 [ 40s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/fsck.vfat.8 [ 40s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 40s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 40s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/doc/dosfstools [ 40s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 40s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/dosfsck [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/dosfslabel [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/sbin/mkdosfs [ 41s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.24/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.24/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.24/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 41s] 363 blocks [ 41s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 41s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 41s] + /usr/lib/rpm/check-buildroot [ 41s] + /usr/lib/rpm//brp-compress [ 42s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 42s] + /usr/lib/rpm/brp-python-hardlink [ 42s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 42s] Processing files: dosfstools-3.0.16-1.1.aarch64 [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.h6af19 [ 42s] + umask 022 [ 42s] + cd /home/abuild/rpmbuild/BUILD [ 42s] + cd dosfstools-3.0.16 [ 42s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 42s] + export LICENSEDIR [ 42s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 42s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64/usr/share/licenses/dosfstools [ 42s] + exit 0 [ 42s] Provides: dosfstools = 3.0.16-1.1 dosfstools(aarch-64) = 3.0.16-1.1 [ 42s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 42s] 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) [ 42s] Processing files: dosfstools-debugsource-3.0.16-1.1.aarch64 [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] Provides: dosfstools-debugsource = 3.0.16-1.1 dosfstools-debugsource(aarch-64) = 3.0.16-1.1 [ 42s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 42s] Processing files: dosfstools-docs-3.0.16-1.1.aarch64 [ 42s] Provides: dosfstools-docs = 3.0.16-1.1 dosfstools-docs(aarch-64) = 3.0.16-1.1 [ 42s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 42s] Processing files: dosfstools-debuginfo-3.0.16-1.1.aarch64 [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] warning: File listed twice: /usr/lib/debug/.build-id [ 42s] warning: File listed twice: /usr/lib/debug/.build-id [ 42s] Provides: dosfstools-debuginfo = 3.0.16-1.1 dosfstools-debuginfo(aarch-64) = 3.0.16-1.1 [ 42s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 42s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 42s] warning: Could not canonicalize hostname: obsnw13 [ 42s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-1.1.src.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-1.1.aarch64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-1.1.aarch64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-1.1.aarch64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-1.1.aarch64.rpm [ 42s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f2uuTV [ 42s] + umask 022 [ 42s] + cd /home/abuild/rpmbuild/BUILD [ 42s] + cd dosfstools-3.0.16 [ 42s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-1.1.aarch64 [ 42s] + exit 0 [ 42s] ... checking for files with abuild user/group [ 42s] ... creating baselibs [ 43s] [ 43s] obsnw13 finished "build dosfstools.spec" at Tue Oct 27 06:20:02 UTC 2020. [ 43s] Retried build at Tue Oct 27 08:29:09 2020 returned same result, skipped