[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.7 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-234 started "build dosfstools.spec" at Wed Feb 19 05:56:48 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_5.5_unified_standard/dosfstools-3.0.16-0/dosfstools.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_5.5_unified_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-5.5/Tizen-5.5-Base/tizen-5.5-base_20250219.051023/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-5.5/Tizen-5.5-Base/tizen-5.5-base_20250219.051023/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_5.5_unified_standard/dosfstools-3.0.16-0/dosfstools.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.7/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.7/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_5.5_unified_standard/aarch64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-5.5/Tizen-5.5-Base/tizen-5.5-base_20250219.051023/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-5.5/Tizen-5.5-Base/tizen-5.5-base_20250219.051023/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 15s] reordering...cycle: libsoftokn3 -> nss [ 15s] breaking dependency nss -> libsoftokn3 [ 15s] reordering done [ 19s] deleting cmake [ 19s] deleting libarchive [ 19s] deleting libexpat [ 19s] deleting libopenssl11 [ 20s] deleting libtzplatform-config [ 20s] deleting libtzplatform-config-devel [ 20s] deleting openssl1.1 [ 20s] deleting tizen-platform-config [ 21s] [1/92] keeping libmagic-data-5.37-1.10 [ 21s] [2/92] keeping setup-0.9-1.3 [ 21s] [3/92] keeping filesystem-3.1-1.1 [ 21s] [4/92] keeping glibc-2.24-1.11 [ 21s] [5/92] keeping bash-3.2.57-1.1 [ 21s] [6/92] keeping binutils-2.27-1.11 [ 21s] [7/92] keeping cpio-2.11-3.1 [ 21s] [8/92] keeping diffutils-3.3-1.1 [ 21s] [9/92] keeping findutils-4.3.8-1.11 [ 21s] [10/92] keeping gdbm-1.8.3-1.11 [ 21s] [11/92] keeping hostname-3.20-1.1 [ 21s] [12/92] keeping libatomic-6.2.1-1.8 [ 21s] [13/92] keeping libattr-2.4.47-1.11 [ 21s] [14/92] keeping libbz2-1.0.6-1.11 [ 21s] [15/92] keeping libcap-2.24-1.10 [ 21s] [16/92] keeping libelf-0.153-1.10 [ 21s] [17/92] keeping libfreebl3-3.34.1-1.11 [ 21s] [18/92] keeping libgcc-6.2.1-1.8 [ 21s] [19/92] keeping libgomp-6.2.1-1.8 [ 21s] [20/92] keeping libitm-6.2.1-1.8 [ 21s] [21/92] keeping libltdl-2.4.2-1.11 [ 21s] [22/92] keeping liblua-5.1.5-1.11 [ 21s] [23/92] keeping liblzma-5.2.4-1.10 [ 21s] [24/92] keeping libpcre-8.43-1.3 [ 21s] [25/92] keeping libpopt-1.16-1.9 [ 21s] [26/92] keeping libsmack-1.3.1-1.9 [ 21s] [27/92] keeping libsmartcols-2.30-1.2 [ 21s] [28/92] keeping libsqlite-3.29.0-1.11 [ 21s] [29/92] keeping libuuid-2.30-1.2 [ 21s] [30/92] keeping m4-1.4.17-1.1 [ 21s] [31/92] keeping net-tools-2.0_20121208git-1.1 [ 21s] [32/92] keeping nspr-4.12-1.11 [ 21s] [33/92] keeping patch-2.7-1.10 [ 21s] [34/92] keeping pkg-config-0.28-1.11 [ 21s] [35/92] keeping sed-4.1c-1.1 [ 21s] [36/92] keeping update-alternatives-1.18.15-1.1 [ 21s] [37/92] keeping which-2.20-4.1 [ 21s] [38/92] keeping zlib-1.2.11-1.11 [ 21s] [39/92] keeping build-compare-2015.04.28-1.5 [ 21s] [40/92] keeping qemu-linux-user-x86_64-cross-5.2.0-20.5 [ 21s] [41/92] keeping terminfo-base-full-6.1-1.11 [ 21s] [42/92] keeping coreutils-6.9-14.4 [ 21s] [43/92] keeping cpp-6.2.1-1.8 [ 21s] [44/92] keeping gawk-3.1.5-1.1 [ 21s] [45/92] keeping gcc-c++-6.2.1-1.8 [ 21s] [46/92] keeping grep-2.5.2-1.1 [ 21s] [47/92] keeping libacl-2.2.52-1.11 [ 21s] [48/92] keeping libasm-0.153-1.10 [ 21s] [49/92] keeping libblkid-2.30-1.2 [ 21s] [50/92] keeping libstdc++-6.2.1-1.8 [ 21s] [51/92] keeping make-4.0-1.11 [ 21s] [52/92] keeping nss-certs-3.34.1-1.11 [ 21s] [53/92] keeping smack-1.3.1-1.9 [ 21s] [54/92] keeping bzip2-1.0.6-1.11 [ 21s] [55/92] keeping libgfortran-6.2.1-1.8 [ 21s] [56/92] keeping libmagic-5.37-1.10 [ 21s] [57/92] keeping libxml2-2.9.7-1.11 [ 21s] [58/92] keeping xz-5.2.4-1.10 [ 21s] [59/92] keeping libdw-0.153-1.10 [ 21s] [60/92] keeping libstdc++-devel-6.2.1-1.8 [ 21s] [61/92] keeping file-5.37-1.10 [ 21s] [62/92] keeping libmount-2.30-1.2 [ 21s] [63/92] keeping linux-glibc-devel-3.10-1.11 [ 21s] [64/92] keeping tar-1.17-1.1 [ 21s] [65/92] keeping db4-4.8.30.NC-1.11 [ 21s] [66/92] keeping glibc-locale-2.24-1.11 [ 21s] [67/92] keeping gzip-1.3.12-1.11 [ 21s] [68/92] keeping libcc1-6.2.1-1.8 [ 21s] [69/92] keeping libfdisk-2.30-1.2 [ 21s] [70/92] keeping libubsan-6.2.1-1.8 [ 21s] [71/92] keeping pam-1.1.6-1.1 [ 21s] [72/92] keeping libncurses6-6.1-1.11 [ 21s] [73/92] keeping tzdata-2019a-1.1 [ 21s] [74/92] keeping elfutils-0.153-1.10 [ 21s] [75/92] keeping libncurses-6.1-1.11 [ 21s] [76/92] keeping glibc-devel-2.24-1.11 [ 21s] [77/92] keeping less-466-1.1 [ 22s] [78/92] keeping libreadline-5.2-1.11 [ 22s] [79/92] keeping perl-5.30.0-1.11 [ 22s] [80/92] keeping gcc-6.2.1-1.8 [ 22s] [81/92] keeping build-mkbaselibs-20120927-1.1 [ 22s] [82/92] keeping qemu-accel-x86_64-aarch64-0.4-1.3 [ 22s] [83/92] keeping autoconf-2.69-1.11 [ 22s] [84/92] keeping util-linux-2.30-1.2 [ 22s] [85/92] keeping automake-1.15.1-1.11 [ 22s] [86/92] keeping util-linux-su-2.30-1.2 [ 22s] [87/92] keeping build-20120927-1.1 [ 22s] [88/92] keeping libtool-2.4.2-1.11 [ 22s] [89/92] keeping nss-3.34.1-1.11 [ 22s] [90/92] keeping libsoftokn3-3.34.1-1.11 [ 22s] [91/92] keeping rpm-4.11.0.1-1.9 [ 22s] [92/92] keeping rpm-build-4.11.0.1-1.9 [ 22s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.7/etc/nsswitch.conf... [ 22s] now finalizing build dir... [ 24s] ----------------------------------------------------------------- [ 24s] ----- building dosfstools.spec (user abuild) [ 24s] ----------------------------------------------------------------- [ 24s] ----------------------------------------------------------------- [ 24s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 25s] Building target platforms: aarch64-tizen-linux [ 25s] Building for target aarch64-tizen-linux [ 25s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wXtIlN [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + rm -rf dosfstools-3.0.16 [ 25s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 25s] + /bin/tar -xf - [ 25s] + STATUS=0 [ 25s] + '[' 0 -ne 0 ']' [ 25s] + cd dosfstools-3.0.16 [ 25s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 25s] + exit 0 [ 25s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Pekb6p [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd dosfstools-3.0.16 [ 25s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 25s] + ref=/usr/lib/rpm [ 25s] + for s in guess sub [ 25s] ++ find -maxdepth 8 -name config.guess [ 25s] + for s in guess sub [ 25s] ++ find -maxdepth 8 -name config.sub [ 25s] + LANG=C [ 25s] + export LANG [ 25s] + unset DISPLAY [ 25s] + 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' [ 25s] + export CFLAGS [ 25s] + 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' [ 25s] + export CXXFLAGS [ 25s] + 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' [ 25s] + export FFLAGS [ 25s] + LDFLAGS= [ 25s] + export LDFLAGS [ 25s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 25s] + make [ 25s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o dosfsck.o src/dosfsck.c [ 25s] src/dosfsck.c: In function 'main': [ 25s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 25s] unsigned n_files_check = 0, n_files_verify = 0; [ 25s] ^~~~~~~~~~~~~~ [ 25s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 25s] unsigned n_files_check = 0, n_files_verify = 0; [ 25s] ^~~~~~~~~~~~~ [ 25s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 25s] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 25s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] n_files, fs.clusters - free_clusters, fs.clusters); [ 25s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o boot.o src/boot.c [ 25s] src/boot.c: In function 'dump_boot': [ 25s] src/boot.c:105:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 25s] printf("%10d bytes per logical sector\n", GET_UNALIGNED_W(b->sector_size)); [ 25s] ^~~~~~ [ 25s] src/boot.c:135:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 25s] sectors = GET_UNALIGNED_W(b->sectors); [ 25s] ^~~~~~~ [ 25s] In file included from src/boot.c:34:0: [ 25s] src/boot.c: In function 'check_backup_boot': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 25s] ^~~~~~~~ [ 25s] src/boot.c: In function 'read_fsinfo': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 25s] offsetof(struct boot_sector, info_sector), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 25s] (unsigned long long)offsetof(struct info_sector, magic), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 25s] (unsigned long long)offsetof(struct info_sector, signature), [ 25s] ^~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 25s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 25s] ^~~~~~~~ [ 25s] src/boot.c: In function 'read_boot': [ 25s] src/boot.c:343:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 25s] logical_sector_size = GET_UNALIGNED_W(b.sector_size); [ 25s] ^~~~~~~~~~~~~~~~~~~ [ 25s] src/boot.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 25s] sectors = GET_UNALIGNED_W(b.sectors); [ 25s] ^~~~~~~ [ 25s] src/boot.c:372:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 25s] fs->root_entries = GET_UNALIGNED_W(b.dir_entries); [ 25s] ^~ [ 25s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -O2 -fomit-frame-pointer -Wall -g -c -o check.o src/check.c [ 25s] In file included from src/check.c:34:0: [ 25s] src/check.c: In function 'drop_file': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, name[0], DELETED_FLAG); [ 25s] ^~~~~~ [ 25s] src/check.c: In function 'truncate_file': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 25s] unsigned long walk, next, prev; [ 25s] ^~~~ [ 25s] In file included from src/check.c:34:0: [ 25s] src/check.c: In function 'handle_dot': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, size, CT_LE_L(0)); [ 25s] ^~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 25s] ^~~~~~ [ 25s] src/check.c: In function 'check_file': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, size, CT_LE_L(0)); [ 25s] ^~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, expect, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, name[0], DELETED_FLAG); [ 25s] ^~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(owner, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(owner, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(owner, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(owner, size, [ 25s] ^~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(file, size, [ 25s] ^~~~~~ [ 25s] src/check.c: In function 'check_dir': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(parent, name[0], DELETED_FLAG); [ 25s] ^~~~~~ [ 25s] src/check.c: In function 'test_file': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/check.c: In function 'undelete': [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 25s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 25s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 25s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 25s] ^ [ 25s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 25s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 25s] ^~~~~~~~ [ 25s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 25s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 25s] ^~~~~~ [ 25s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 25s] MODIFY_START(file, 0, fs); [ 25s] ^~~~~~~~~~~~ [ 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 common.o src/common.c [ 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 fat.o src/fat.c [ 26s] In file included from src/fat.c:33:0: [ 26s] src/fat.c: In function 'update_free': [ 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/fat.c:545:30: note: in expansion of macro 'offsetof' [ 26s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_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 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 [ 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 dosfslabel.o src/dosfslabel.c [ 28s] 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] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 29s] cc mkdosfs.o -o mkdosfs [ 29s] + exit 0 [ 29s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YCNgjh [ 29s] + umask 022 [ 29s] + cd /home/abuild/rpmbuild/BUILD [ 29s] + cd dosfstools-3.0.16 [ 29s] + LANG=C [ 29s] + export LANG [ 29s] + unset DISPLAY [ 29s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 29s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 29s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 PREFIX=/usr [ 29s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin [ 29s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin [ 29s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/fsck.msdos [ 29s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/fsck.vfat [ 29s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/mkfs.msdos [ 29s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/mkfs.vfat [ 29s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/doc/dosfstools [ 29s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/doc/dosfstools [ 29s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8 [ 29s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8 [ 29s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/fsck.msdos.8 [ 29s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/fsck.vfat.8 [ 29s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 30s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 30s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/doc/dosfstools [ 30s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 30s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/dosfsck [ 30s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/dosfslabel [ 31s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/mkdosfs [ 31s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 31s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 31s] cpio: glibc-2.24/sysdeps/aarch64/crti.S: Cannot stat: No such file or directory [ 31s] cpio: glibc-2.24/sysdeps/aarch64/crtn.S: Cannot stat: No such file or directory [ 31s] cpio: glibc-2.24/sysdeps/aarch64/start.S: Cannot stat: No such file or directory [ 31s] 363 blocks [ 31s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 31s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 31s] + /usr/lib/rpm/check-buildroot [ 31s] + /usr/lib/rpm//brp-compress [ 32s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 32s] + /usr/lib/rpm/brp-python-hardlink [ 32s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 32s] Processing files: dosfstools-3.0.16-0.aarch64 [ 32s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 32s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 32s] [ 32s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 32s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 32s] [ 32s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XI6kdi [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd dosfstools-3.0.16 [ 32s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 32s] + export LICENSEDIR [ 32s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 32s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 32s] + exit 0 [ 32s] Provides: dosfstools = 3.0.16-0 dosfstools(aarch-64) = 3.0.16-0 [ 32s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 32s] 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) [ 32s] Processing files: dosfstools-debugsource-3.0.16-0.aarch64 [ 32s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 32s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 32s] [ 32s] Provides: dosfstools-debugsource = 3.0.16-0 dosfstools-debugsource(aarch-64) = 3.0.16-0 [ 32s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 32s] Processing files: dosfstools-docs-3.0.16-0.aarch64 [ 32s] Provides: dosfstools-docs = 3.0.16-0 dosfstools-docs(aarch-64) = 3.0.16-0 [ 32s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 32s] Processing files: dosfstools-debuginfo-3.0.16-0.aarch64 [ 32s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 32s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 32s] [ 32s] warning: File listed twice: /usr/lib/debug/.build-id [ 32s] warning: File listed twice: /usr/lib/debug/.build-id [ 32s] Provides: dosfstools-debuginfo = 3.0.16-0 dosfstools-debuginfo(aarch-64) = 3.0.16-0 [ 32s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 32s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 32s] warning: Could not canonicalize hostname: ip-192-168-56-234 [ 33s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-0.src.rpm [ 33s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-0.aarch64.rpm [ 33s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-0.aarch64.rpm [ 33s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-0.aarch64.rpm [ 34s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-0.aarch64.rpm [ 34s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7sJCtD [ 34s] + umask 022 [ 34s] + cd /home/abuild/rpmbuild/BUILD [ 34s] + cd dosfstools-3.0.16 [ 34s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 34s] + exit 0 [ 34s] ... checking for files with abuild user/group [ 34s] ... creating baselibs [ 35s] [ 35s] ip-192-168-56-234 finished "build dosfstools.spec" at Wed Feb 19 05:57:23 UTC 2025. [ 35s]