[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.18 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-191 started "build dosfstools.spec" at Sun Dec 1 23:26:12 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.0_unified_standard/dosfstools-3.0.16-0/dosfstools.spec ... [ 1s] 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_6.0_unified_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.0_unified_standard/dosfstools-3.0.16-0/dosfstools.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.18/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.18/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.0_unified_standard/aarch64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/packages/ [ 4s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/debug/ [ 5s] expanding package dependencies... [ 6s] copying qemu [ 6s] [ 6s] registering binfmt handlers for cross build [ 6s] calculating packages to download... [ 22s] reordering...cycle: libsoftokn3 -> nss [ 22s] breaking dependency nss -> libsoftokn3 [ 22s] reordering done [ 26s] [1/91] keeping libmagic-data-5.37-1.13 [ 26s] [2/91] keeping setup-0.9-1.4 [ 26s] [3/91] keeping filesystem-3.1-1.1 [ 26s] [4/91] keeping glibc-2.30-1.15 [ 26s] [5/91] keeping bash-3.2.57-1.1 [ 26s] [6/91] keeping cpio-2.11-3.1 [ 26s] [7/91] keeping diffutils-3.3-1.1 [ 26s] [8/91] keeping findutils-4.3.8-1.14 [ 26s] [9/91] keeping gdbm-1.8.3-1.14 [ 26s] [10/91] keeping hostname-3.23-1.1 [ 26s] [11/91] keeping libatomic-9.2.0-1.13 [ 26s] [12/91] keeping libattr-2.4.47-1.14 [ 26s] [13/91] keeping libblkid-2.34-1.4 [ 26s] [14/91] keeping libbz2-1.0.8-1.12 [ 26s] [15/91] keeping libcap-2.24-1.13 [ 26s] [16/91] keeping libfreebl3-3.87-1.12 [ 26s] [17/91] keeping libgcc-9.2.0-1.13 [ 26s] [18/91] keeping libgomp-9.2.0-1.13 [ 26s] [19/91] keeping libitm-9.2.0-1.13 [ 26s] [20/91] keeping libltdl-2.4.2-1.14 [ 26s] [21/91] keeping liblua-5.1.5-1.12 [ 27s] [22/91] keeping liblzma-5.2.4-1.13 [ 27s] [23/91] keeping libpcre-8.43-1.4 [ 27s] [24/91] keeping libpopt-1.16-1.15 [ 27s] [25/91] keeping libsmack-1.3.1-1.11 [ 27s] [26/91] keeping libsmartcols-2.34-1.4 [ 27s] [27/91] keeping libsqlite-3.33.0-1.14 [ 27s] [28/91] keeping libuuid-2.34-1.4 [ 27s] [29/91] keeping m4-1.4.17-1.1 [ 27s] [30/91] keeping net-tools-2.0_20121208git-1.1 [ 27s] [31/91] keeping nspr-4.35-1.12 [ 27s] [32/91] keeping patch-2.7-1.15 [ 27s] [33/91] keeping pkg-config-0.28-1.12 [ 27s] [34/91] keeping sed-4.1c-1.1 [ 27s] [35/91] keeping update-alternatives-1.18.15-1.1 [ 27s] [36/91] keeping which-2.20-4.1 [ 27s] [37/91] keeping zlib-1.2.11-1.14 [ 27s] [38/91] keeping build-compare-2015.04.28-1.6 [ 27s] [39/91] keeping qemu-linux-user-x86_64-cross-5.2.0-20.6 [ 27s] [40/91] keeping terminfo-base-full-6.1_20191207-1.12 [ 27s] [41/91] keeping coreutils-6.9-14.6 [ 27s] [42/91] keeping cpp-9.2.0-1.13 [ 27s] [43/91] keeping gawk-3.1.5-1.1 [ 27s] [44/91] keeping gcc-c++-9.2.0-1.13 [ 27s] [45/91] keeping grep-2.5.2-1.1 [ 27s] [46/91] keeping libacl-2.2.52-1.14 [ 27s] [47/91] keeping libelf-0.178-1.13 [ 27s] [48/91] keeping libgfortran-9.2.0-1.13 [ 27s] [49/91] keeping libmount-2.34-1.4 [ 27s] [50/91] keeping libstdc++-9.2.0-1.13 [ 27s] [51/91] keeping make-4.0-1.14 [ 27s] [52/91] keeping nss-certs-3.87-1.12 [ 27s] [53/91] keeping smack-1.3.1-1.11 [ 27s] [54/91] keeping bzip2-1.0.8-1.12 [ 27s] [55/91] keeping libfdisk-2.34-1.4 [ 27s] [56/91] keeping libmagic-5.37-1.13 [ 27s] [57/91] keeping libxml2-2.9.10-1.12 [ 27s] [58/91] keeping perl-5.30.0-1.14 [ 27s] [59/91] keeping xz-5.2.4-1.13 [ 27s] [60/91] keeping build-mkbaselibs-20120927-1.1 [ 27s] [61/91] keeping libstdc++-devel-9.2.0-1.13 [ 27s] [62/91] keeping file-5.37-1.13 [ 27s] [63/91] keeping linux-glibc-devel-3.10-1.14 [ 27s] [64/91] keeping tar-1.17-1.1 [ 27s] [65/91] keeping autoconf-2.69-1.14 [ 27s] [66/91] keeping binutils-2.33.1-1.14 [ 27s] [67/91] keeping glibc-locale-2.30-1.15 [ 27s] [68/91] keeping gzip-1.3.12-1.14 [ 27s] [69/91] keeping libcc1-9.2.0-1.13 [ 27s] [70/91] keeping libubsan-9.2.0-1.13 [ 27s] [71/91] keeping pam-1.1.6-1.1 [ 27s] [72/91] keeping libncurses6-6.1_20191207-1.12 [ 27s] [73/91] keeping tzdata-2023c-1.1 [ 27s] [74/91] keeping libdw-0.178-1.13 [ 27s] [75/91] keeping libncurses-6.1_20191207-1.12 [ 27s] [76/91] keeping glibc-devel-2.30-1.15 [ 27s] [77/91] keeping less-466-1.1 [ 27s] [78/91] keeping libreadline-5.2-1.14 [ 27s] [79/91] keeping automake-1.15.1-1.14 [ 27s] [80/91] keeping libasm-0.178-1.13 [ 27s] [81/91] keeping build-20120927-1.1 [ 27s] [82/91] keeping gcc-9.2.0-1.13 [ 27s] [83/91] keeping qemu-accel-x86_64-aarch64-0.4-1.4 [ 27s] [84/91] keeping libtool-2.4.2-1.14 [ 27s] [85/91] keeping elfutils-0.178-1.13 [ 27s] [86/91] keeping util-linux-2.34-1.4 [ 27s] [87/91] keeping util-linux-su-2.34-1.4 [ 27s] [88/91] keeping nss-3.87-1.12 [ 27s] [89/91] keeping libsoftokn3-3.87-1.12 [ 27s] [90/91] keeping rpm-4.11.0.1-2.8 [ 27s] [91/91] keeping rpm-build-4.11.0.1-2.8 [ 27s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.18/etc/nsswitch.conf... [ 28s] now finalizing build dir... [ 30s] ----------------------------------------------------------------- [ 30s] ----- building dosfstools.spec (user abuild) [ 30s] ----------------------------------------------------------------- [ 30s] ----------------------------------------------------------------- [ 30s] + 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 [ 30s] Building target platforms: aarch64-tizen-linux [ 30s] Building for target aarch64-tizen-linux [ 30s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ZPIjB [ 30s] + umask 022 [ 30s] + cd /home/abuild/rpmbuild/BUILD [ 30s] + cd /home/abuild/rpmbuild/BUILD [ 30s] + rm -rf dosfstools-3.0.16 [ 30s] + /bin/tar -xf - [ 30s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 30s] + STATUS=0 [ 30s] + '[' 0 -ne 0 ']' [ 30s] + cd dosfstools-3.0.16 [ 30s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 30s] + exit 0 [ 30s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.og9zgA [ 30s] + umask 022 [ 30s] + cd /home/abuild/rpmbuild/BUILD [ 30s] + cd dosfstools-3.0.16 [ 30s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 30s] + ref=/usr/lib/rpm [ 30s] + for s in guess sub [ 30s] ++ find -maxdepth 8 -name config.guess [ 30s] + for s in guess sub [ 30s] ++ find -maxdepth 8 -name config.sub [ 30s] + LANG=C [ 30s] + export LANG [ 30s] + unset DISPLAY [ 30s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 30s] + export CFLAGS [ 30s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 30s] + export CXXFLAGS [ 30s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 30s] + export FFLAGS [ 30s] + LDFLAGS= [ 30s] + export LDFLAGS [ 30s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 30s] + make [ 31s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 31s] src/dosfsck.c: In function 'main': [ 31s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 31s] 106 | unsigned n_files_check = 0, n_files_verify = 0; [ 31s] | ^~~~~~~~~~~~~~ [ 31s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 31s] 106 | unsigned n_files_check = 0, n_files_verify = 0; [ 31s] | ^~~~~~~~~~~~~ [ 31s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 31s] 220 | printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 31s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 31s] 221 | n_files, fs.clusters - free_clusters, fs.clusters); [ 31s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 31s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 31s] In file included from src/boot.c:34: [ 31s] src/boot.c: In function 'check_backup_boot': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 31s] 167 | fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 31s] | ^~~~~~~~ [ 31s] src/boot.c: In function 'read_fsinfo': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 31s] 247 | fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 31s] | ^~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 31s] 251 | offsetof(struct boot_sector, info_sector), [ 31s] | ^~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 31s] 270 | (unsigned long long)offsetof(struct info_sector, magic), [ 31s] | ^~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 31s] 274 | (unsigned long long)offsetof(struct info_sector, signature), [ 31s] | ^~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 31s] 278 | (unsigned long long)offsetof(struct info_sector, boot_sign), [ 31s] | ^~~~~~~~ [ 31s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 31s] In file included from src/check.c:34: [ 31s] src/check.c: In function 'drop_file': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 31s] 349 | MODIFY(file, name[0], DELETED_FLAG); [ 31s] | ^~~~~~ [ 31s] src/check.c: In function 'truncate_file': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 31s] 366 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 31s] 366 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 31s] 366 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 31s] 361 | unsigned long walk, next, prev; [ 31s] | ^~~~ [ 31s] In file included from src/check.c:34: [ 31s] src/check.c: In function 'handle_dot': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 31s] 469 | MODIFY(file, size, CT_LE_L(0)); [ 31s] | ^~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 31s] 470 | MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 31s] | ^~~~~~ [ 31s] src/check.c: In function 'check_file': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 31s] 492 | MODIFY(file, size, CT_LE_L(0)); [ 31s] | ^~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 31s] 501 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 31s] 501 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 31s] 501 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 31s] 515 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 31s] 515 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 31s] 515 | MODIFY_START(file, expect, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 31s] 522 | MODIFY(file, name[0], DELETED_FLAG); [ 31s] | ^~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 31s] 532 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 31s] 532 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 31s] 532 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 31s] 548 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 31s] 548 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 31s] 548 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 31s] 604 | MODIFY_START(owner, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 31s] 604 | MODIFY_START(owner, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 31s] 604 | MODIFY_START(owner, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 31s] 605 | MODIFY(owner, size, [ 31s] | ^~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 31s] 627 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 31s] 627 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 31s] 627 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 31s] 643 | MODIFY(file, size, [ 31s] | ^~~~~~ [ 31s] src/check.c: In function 'check_dir': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 31s] 683 | MODIFY(parent, name[0], DELETED_FLAG); [ 31s] | ^~~~~~ [ 31s] src/check.c: In function 'test_file': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 31s] 835 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 31s] 835 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 31s] 835 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 31s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 31s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 31s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/check.c: In function 'undelete': [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 31s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 31s] 895 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 31s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 31s] 895 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 31s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 31s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 31s] | ^ [ 31s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 31s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 31s] | ^~~~~~~~ [ 31s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 31s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 31s] | ^~~~~~ [ 31s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 31s] 895 | MODIFY_START(file, 0, fs); [ 31s] | ^~~~~~~~~~~~ [ 32s] src/check.c: In function 'file_stat': [ 32s] src/check.c:259:42: warning: '%s' directive writing up to 99 bytes into a region of size between 70 and 79 [-Wformat-overflow=] [ 32s] 259 | sprintf(temp, " Size %u bytes, date %s", CF_LE_L(file->dir_ent.size), tmp); [ 32s] | ^~ ~~~ [ 32s] In file included from /usr/include/stdio.h:867, [ 32s] from src/check.c:27: [ 32s] /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 130 bytes into a destination of size 100 [ 32s] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, [ 32s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 32s] 37 | __bos (__s), __fmt, __va_arg_pack ()); [ 32s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 32s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 33s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 33s] In file included from src/fat.c:33: [ 33s] src/fat.c: In function 'update_free': [ 33s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 33s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 33s] | ^ [ 33s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 33s] 545 | fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 33s] | ^~~~~~~~ [ 33s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 34s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 34s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 34s] src/lfn.c: In function 'cnv_unicode': [ 34s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 34s] 127 | if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 34s] | ^~ [ 34s] | | [ 34s] | unsigned char * [ 34s] src/lfn.c:96:29: note: expected 'char *' but argument is of type 'unsigned char *' [ 34s] 96 | static size_t wctombs(char *dest, wchar_t x) [ 34s] | ~~~~~~^~~~ [ 34s] In file included from src/lfn.c:31: [ 34s] src/lfn.c: In function 'lfn_fix_checksum': [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 34s] 180 | fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 34s] | ^~~~~~~~ [ 34s] src/lfn.c: In function 'lfn_add_slot': [ 34s] src/lfn.c:199:5: warning: converting a packed 'DIR_ENT' {aka 'struct '} pointer (alignment 1) to a 'LFN_ENT' {aka 'struct '} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] [ 34s] 199 | LFN_ENT *lfn = (LFN_ENT *) de; [ 34s] | ^~~~~~~ [ 34s] In file included from src/lfn.c:31: [ 34s] src/dosfsck.h:143:9: note: defined here [ 34s] 143 | typedef struct { [ 34s] | ^~~~~~ [ 34s] src/lfn.c:35:9: note: defined here [ 34s] 35 | typedef struct { [ 34s] | ^~~~~~ [ 34s] In file included from src/lfn.c:31: [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 34s] 246 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 34s] 284 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 34s] 333 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 34s] 362 | fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 34s] 387 | fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 34s] 400 | fs_write(dir_offset + offsetof(LFN_ENT, start), [ 34s] | ^~~~~~~~ [ 34s] src/lfn.c: In function 'lfn_get': [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 34s] 456 | fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 34s] | ^~~~~~~~ [ 34s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 34s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 34s] | ^ [ 34s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 34s] 493 | fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 34s] | ^~~~~~~~ [ 34s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 34s] 466 | sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 34s] | ~~~~~~~~^~~ [ 34s] src/lfn.c:465:5: note: within this loop [ 34s] 465 | for (sum = 0, i = 0; i < 11; i++) [ 34s] | ^~~ [ 34s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 35s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 35s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 35s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 35s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--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 [ 35s] src/mkdosfs.c: In function 'get_list_blocks': [ 35s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 35s] 484 | fscanf(listfile, "%ld\n", &blockno); [ 35s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36s] cc mkdosfs.o -o mkdosfs [ 36s] + exit 0 [ 36s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W0A2Az [ 36s] + umask 022 [ 36s] + cd /home/abuild/rpmbuild/BUILD [ 36s] + cd dosfstools-3.0.16 [ 36s] + LANG=C [ 36s] + export LANG [ 36s] + unset DISPLAY [ 36s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 36s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 36s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 PREFIX=/usr [ 36s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin [ 36s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin [ 36s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/fsck.msdos [ 37s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/fsck.vfat [ 37s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/mkfs.msdos [ 37s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/sbin/mkfs.vfat [ 37s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/doc/dosfstools [ 37s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/doc/dosfstools [ 37s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8 [ 37s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8 [ 37s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/fsck.msdos.8 [ 37s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/fsck.vfat.8 [ 37s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/mkfs.msdos.8 [ 37s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64//usr/share/man/man8/mkfs.vfat.8 [ 37s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/doc/dosfstools [ 37s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 37s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/dosfsck [ 38s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/dosfslabel [ 39s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/sbin/mkdosfs [ 39s] 363 blocks [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 39s] + /usr/lib/rpm/check-buildroot [ 40s] + /usr/lib/rpm//brp-compress [ 40s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 41s] + /usr/lib/rpm/brp-python-hardlink [ 41s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 41s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/isu.list [ 41s] ~/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 ~/rpmbuild/BUILD/dosfstools-3.0.16 [ 41s] ~/rpmbuild/BUILD/dosfstools-3.0.16 [ 41s] Processing files: dosfstools-3.0.16-0.aarch64 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6sfk8z [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd dosfstools-3.0.16 [ 41s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 41s] + export LICENSEDIR [ 41s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 41s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64/usr/share/licenses/dosfstools [ 41s] + exit 0 [ 41s] Provides: dosfstools = 3.0.16-0 dosfstools(aarch-64) = 3.0.16-0 [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] 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) [ 41s] Processing files: dosfstools-debugsource-3.0.16-0.aarch64 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Provides: dosfstools-debugsource = 3.0.16-0 dosfstools-debugsource(aarch-64) = 3.0.16-0 [ 41s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 41s] Processing files: dosfstools-docs-3.0.16-0.aarch64 [ 41s] Provides: dosfstools-docs = 3.0.16-0 dosfstools-docs(aarch-64) = 3.0.16-0 [ 41s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 41s] Processing files: dosfstools-debuginfo-3.0.16-0.aarch64 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] Provides: dosfstools-debuginfo = 3.0.16-0 dosfstools-debuginfo(aarch-64) = 3.0.16-0 [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 41s] warning: Could not canonicalize hostname: ip-192-168-56-191 [ 41s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-0.src.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-3.0.16-0.aarch64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debugsource-3.0.16-0.aarch64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-docs-3.0.16-0.aarch64.rpm [ 43s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/dosfstools-debuginfo-3.0.16-0.aarch64.rpm [ 43s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NZtXAA [ 43s] + umask 022 [ 43s] + cd /home/abuild/rpmbuild/BUILD [ 43s] + cd dosfstools-3.0.16 [ 43s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.aarch64 [ 43s] + exit 0 [ 43s] ... checking for files with abuild user/group [ 43s] ... creating baselibs [ 44s] [ 44s] ip-192-168-56-191 finished "build dosfstools.spec" at Sun Dec 1 23:26:55 UTC 2024. [ 44s]