[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.24 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-115 started "build dosfstools.spec" at Thu Nov 28 06:26:23 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/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.5_unified_emulator/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/dosfstools-3.0.16-0/dosfstools.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.24/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.24/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.5_unified_emulator/x86_64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/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.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ [ 5s] expanding package dependencies... [ 6s] copying qemu [ 6s] [ 6s] calculating packages to download... [ 13s] reordering...cycle: libsoftokn3 -> nss [ 13s] breaking dependency nss -> libsoftokn3 [ 13s] reordering done [ 14s] [1/93] keeping libmagic-data-5.39-1.13 [ 14s] [2/93] keeping setup-0.9-1.3 [ 14s] [3/93] keeping filesystem-3.1-1.1 [ 14s] [4/93] keeping glibc-2.30-1.12 [ 14s] [5/93] keeping bash-3.2.57-1.1 [ 14s] [6/93] keeping cpio-2.8-1.1 [ 14s] [7/93] keeping diffutils-3.3-1.1 [ 14s] [8/93] keeping findutils-4.3.8-1.13 [ 14s] [9/93] keeping gdbm-1.8.3-1.14 [ 14s] [10/93] keeping hostname-3.23-1.1 [ 14s] [11/93] keeping libatomic-9.2.0-1.14 [ 14s] [12/93] keeping libattr-2.4.48-1.13 [ 15s] [13/93] keeping libblkid-2.36-2.2 [ 15s] [14/93] keeping libbz2-1.0.8-1.13 [ 15s] [15/93] keeping libcap-2.24-1.13 [ 15s] [16/93] keeping libfreebl3-3.87-1.14 [ 15s] [17/93] keeping libgcc-9.2.0-1.14 [ 15s] [18/93] keeping libgomp-9.2.0-1.14 [ 15s] [19/93] keeping libitm-9.2.0-1.14 [ 15s] [20/93] keeping libltdl-2.4.2-1.14 [ 15s] [21/93] keeping liblua-5.1.5-1.13 [ 15s] [22/93] keeping liblzma-5.2.5-1.14 [ 15s] [23/93] keeping libopenssl11-1.1.1w-1.1 [ 15s] [24/93] keeping libpcre-8.44-1.6 [ 15s] [25/93] keeping libpopt-1.16-1.13 [ 15s] [26/93] keeping libquadmath-9.2.0-1.14 [ 15s] [27/93] keeping libsmack-1.3.1-1.13 [ 15s] [28/93] keeping libsmartcols-2.36-2.2 [ 15s] [29/93] keeping libsqlite-3.33.0-1.13 [ 15s] [30/93] keeping libuuid-2.36-2.2 [ 15s] [31/93] keeping libzstd1-1.4.5-1.13 [ 15s] [32/93] keeping m4-1.4.17-1.1 [ 15s] [33/93] keeping net-tools-2.0_20121208git-1.2 [ 15s] [34/93] keeping nspr-4.35-1.13 [ 15s] [35/93] keeping patch-2.7-1.13 [ 15s] [36/93] keeping pkg-config-0.28-1.14 [ 15s] [37/93] keeping sed-4.1c-1.1 [ 15s] [38/93] keeping update-alternatives-1.20.5-1.1 [ 15s] [39/93] keeping which-2.17-1.1 [ 15s] [40/93] keeping zlib-1.2.11-1.14 [ 15s] [41/93] keeping build-compare-2015.04.28-1.7 [ 15s] [42/93] keeping terminfo-base-full-6.2-1.14 [ 15s] [43/93] keeping coreutils-6.9-14.6 [ 15s] [44/93] keeping cpp-9.2.0-1.14 [ 15s] [45/93] keeping gawk-3.1.5-1.1 [ 15s] [46/93] keeping gcc-c++-9.2.0-1.14 [ 15s] [47/93] keeping grep-2.5.2-1.1 [ 15s] [48/93] keeping libacl-2.2.53-1.13 [ 15s] [49/93] keeping libelf-0.178-1.14 [ 15s] [50/93] keeping libmount-2.36-2.2 [ 15s] [51/93] keeping libstdc++-9.2.0-1.14 [ 15s] [52/93] keeping make-4.0-1.13 [ 15s] [53/93] keeping nss-certs-3.87-1.14 [ 15s] [54/93] keeping smack-1.3.1-1.13 [ 15s] [55/93] keeping bzip2-1.0.8-1.13 [ 15s] [56/93] keeping libfdisk-2.36-2.2 [ 15s] [57/93] keeping libgfortran-9.2.0-1.14 [ 15s] [58/93] keeping libmagic-5.39-1.13 [ 15s] [59/93] keeping libxml2-2.9.12-1.14 [ 15s] [60/93] keeping perl-5.32.0-1.13 [ 15s] [61/93] keeping xz-5.2.5-1.14 [ 15s] [62/93] keeping build-mkbaselibs-20120927-1.1 [ 15s] [63/93] keeping libstdc++-devel-9.2.0-1.14 [ 15s] [64/93] keeping file-5.39-1.13 [ 15s] [65/93] keeping linux-glibc-devel-3.10-1.14 [ 15s] [66/93] keeping tar-1.17-1.1 [ 15s] [67/93] keeping autoconf-2.69-1.14 [ 15s] [68/93] keeping binutils-2.33.1-1.14 [ 15s] [69/93] keeping glibc-locale-2.30-1.12 [ 15s] [70/93] keeping gzip-1.3.12-1.13 [ 15s] [71/93] keeping libcc1-9.2.0-1.14 [ 15s] [72/93] keeping libubsan-9.2.0-1.14 [ 15s] [73/93] keeping pam-1.1.6-1.2 [ 15s] [74/93] keeping libncurses6-6.2-1.14 [ 15s] [75/93] keeping tzdata-2023c-1.1 [ 15s] [76/93] keeping libdw-0.178-1.14 [ 15s] [77/93] keeping libarchive-3.5.1-1.13 [ 15s] [78/93] keeping libncurses-6.2-1.14 [ 15s] [79/93] keeping glibc-devel-2.30-1.12 [ 15s] [80/93] keeping less-466-1.1 [ 15s] [81/93] keeping libreadline-5.2-1.14 [ 15s] [82/93] keeping automake-1.15.1-1.14 [ 15s] [83/93] keeping libasm-0.178-1.14 [ 15s] [84/93] keeping build-20120927-1.1 [ 15s] [85/93] keeping gcc-9.2.0-1.14 [ 15s] [86/93] keeping libtool-2.4.2-1.14 [ 15s] [87/93] keeping elfutils-0.178-1.14 [ 15s] [88/93] keeping util-linux-2.36-2.2 [ 15s] [89/93] keeping util-linux-su-2.36-2.2 [ 15s] [90/93] keeping nss-3.87-1.14 [ 15s] [91/93] keeping libsoftokn3-3.87-1.14 [ 15s] [92/93] keeping rpm-4.14.1.1-1.14 [ 15s] [93/93] keeping rpm-build-4.14.1.1-1.14 [ 15s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.24/etc/nsswitch.conf... [ 15s] now finalizing build dir... [ 16s] ----------------------------------------------------------------- [ 16s] ----- building dosfstools.spec (user abuild) [ 16s] ----------------------------------------------------------------- [ 16s] ----------------------------------------------------------------- [ 16s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/dosfstools.spec [ 16s] Building target platforms: x86_64 [ 16s] Building for target x86_64 [ 16s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tkSXTg [ 16s] + umask 022 [ 16s] + cd /home/abuild/rpmbuild/BUILD [ 16s] + cd /home/abuild/rpmbuild/BUILD [ 16s] + rm -rf dosfstools-3.0.16 [ 16s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 16s] + /bin/tar -xof - [ 16s] + STATUS=0 [ 16s] + '[' 0 -ne 0 ']' [ 16s] + cd dosfstools-3.0.16 [ 16s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 16s] + exit 0 [ 16s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nbcvsf [ 16s] + umask 022 [ 16s] + cd /home/abuild/rpmbuild/BUILD [ 16s] + cd dosfstools-3.0.16 [ 16s] ++ uname -m [ 16s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 16s] + LANG=C [ 16s] + export LANG [ 16s] + unset DISPLAY [ 16s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 16s] + export CFLAGS [ 16s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 16s] + export CXXFLAGS [ 16s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 16s] + export FFLAGS [ 16s] + LDFLAGS= [ 16s] + export LDFLAGS [ 16s] + cp /home/abuild/rpmbuild/SOURCES/dosfstools.manifest . [ 16s] + make [ 16s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o dosfsck.o src/dosfsck.c [ 16s] src/dosfsck.c: In function 'main': [ 16s] src/dosfsck.c:106:33: warning: variable 'n_files_verify' set but not used [-Wunused-but-set-variable] [ 16s] 106 | unsigned n_files_check = 0, n_files_verify = 0; [ 16s] | ^~~~~~~~~~~~~~ [ 16s] src/dosfsck.c:106:14: warning: variable 'n_files_check' set but not used [-Wunused-but-set-variable] [ 16s] 106 | unsigned n_files_check = 0, n_files_verify = 0; [ 16s] | ^~~~~~~~~~~~~ [ 16s] src/dosfsck.c:220:5: warning: 'free_clusters' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 16s] 220 | printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 16s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 221 | n_files, fs.clusters - free_clusters, fs.clusters); [ 16s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o boot.o src/boot.c [ 16s] In file included from src/boot.c:34: [ 16s] src/boot.c: In function 'check_backup_boot': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 16s] 167 | fs_write((loff_t) offsetof(struct boot_sector, backup_boot), [ 16s] | ^~~~~~~~ [ 16s] src/boot.c: In function 'read_fsinfo': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 16s] 247 | fs_write((loff_t) offsetof(struct boot_sector, info_sector), [ 16s] | ^~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 16s] 251 | offsetof(struct boot_sector, info_sector), [ 16s] | ^~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 16s] 270 | (unsigned long long)offsetof(struct info_sector, magic), [ 16s] | ^~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 16s] 274 | (unsigned long long)offsetof(struct info_sector, signature), [ 16s] | ^~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] | ^ [ 16s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 16s] 278 | (unsigned long long)offsetof(struct info_sector, boot_sign), [ 16s] | ^~~~~~~~ [ 16s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o check.o src/check.c [ 17s] In file included from src/check.c:34: [ 17s] src/check.c: In function 'drop_file': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 17s] 349 | MODIFY(file, name[0], DELETED_FLAG); [ 17s] | ^~~~~~ [ 17s] src/check.c: In function 'truncate_file': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 17s] 366 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 17s] 366 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 17s] 366 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 17s] 361 | unsigned long walk, next, prev; [ 17s] | ^~~~ [ 17s] In file included from src/check.c:34: [ 17s] src/check.c: In function 'handle_dot': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 17s] 469 | MODIFY(file, size, CT_LE_L(0)); [ 17s] | ^~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 17s] 470 | MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 17s] | ^~~~~~ [ 17s] src/check.c: In function 'check_file': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 17s] 492 | MODIFY(file, size, CT_LE_L(0)); [ 17s] | ^~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 17s] 501 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 17s] 501 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 17s] 501 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 17s] 515 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 17s] 515 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 17s] 515 | MODIFY_START(file, expect, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 17s] 522 | MODIFY(file, name[0], DELETED_FLAG); [ 17s] | ^~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 17s] 532 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 17s] 532 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 17s] 532 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 17s] 548 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 17s] 548 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 17s] 548 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 17s] 604 | MODIFY_START(owner, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 17s] 604 | MODIFY_START(owner, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 17s] 604 | MODIFY_START(owner, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 17s] 605 | MODIFY(owner, size, [ 17s] | ^~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 17s] 627 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 17s] 627 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 17s] 627 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 17s] 643 | MODIFY(file, size, [ 17s] | ^~~~~~ [ 17s] src/check.c: In function 'check_dir': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 17s] 683 | MODIFY(parent, name[0], DELETED_FLAG); [ 17s] | ^~~~~~ [ 17s] src/check.c: In function 'test_file': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 17s] 835 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 17s] 835 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 17s] 835 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 17s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 17s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 17s] 851 | MODIFY_START(file, next_cluster(fs, walk), fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/check.c: In function 'undelete': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 17s] 67 | fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 17s] 895 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 17s] 72 | MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 17s] 895 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] | ^ [ 17s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 17s] 52 | fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 17s] | ^~~~~~~~ [ 17s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 17s] 74 | MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 17s] | ^~~~~~ [ 17s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 17s] 895 | MODIFY_START(file, 0, fs); [ 17s] | ^~~~~~~~~~~~ [ 17s] src/check.c: In function 'file_stat': [ 17s] src/check.c:259:42: warning: '%s' directive writing up to 99 bytes into a region of size between 70 and 79 [-Wformat-overflow=] [ 17s] 259 | sprintf(temp, " Size %u bytes, date %s", CF_LE_L(file->dir_ent.size), tmp); [ 17s] | ^~ ~~~ [ 17s] In file included from /usr/include/stdio.h:867, [ 17s] from src/check.c:27: [ 17s] /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 130 bytes into a destination of size 100 [ 17s] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, [ 17s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17s] 37 | __bos (__s), __fmt, __va_arg_pack ()); [ 17s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o common.o src/common.c [ 18s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o fat.o src/fat.c [ 18s] In file included from src/fat.c:33: [ 18s] src/fat.c: In function 'update_free': [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] | ^ [ 18s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 18s] 545 | fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 18s] | ^~~~~~~~ [ 18s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o file.o src/file.c [ 19s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o io.o src/io.c [ 19s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o lfn.o src/lfn.c [ 19s] src/lfn.c: In function 'cnv_unicode': [ 19s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 19s] 127 | if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 19s] | ^~ [ 19s] | | [ 19s] | unsigned char * [ 19s] src/lfn.c:96:29: note: expected 'char *' but argument is of type 'unsigned char *' [ 19s] 96 | static size_t wctombs(char *dest, wchar_t x) [ 19s] | ~~~~~~^~~~ [ 19s] In file included from src/lfn.c:31: [ 19s] src/lfn.c: In function 'lfn_fix_checksum': [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 19s] 180 | fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 19s] | ^~~~~~~~ [ 19s] src/lfn.c: In function 'lfn_add_slot': [ 19s] 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] [ 19s] 199 | LFN_ENT *lfn = (LFN_ENT *) de; [ 19s] | ^~~~~~~ [ 19s] In file included from src/lfn.c:31: [ 19s] src/dosfsck.h:143:9: note: defined here [ 19s] 143 | typedef struct { [ 19s] | ^~~~~~ [ 19s] src/lfn.c:35:9: note: defined here [ 19s] 35 | typedef struct { [ 19s] | ^~~~~~ [ 19s] In file included from src/lfn.c:31: [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 19s] 246 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 19s] 284 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 19s] 333 | fs_write(dir_offset + offsetof(LFN_ENT, id), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 19s] 362 | fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 19s] 387 | fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 19s] 400 | fs_write(dir_offset + offsetof(LFN_ENT, start), [ 19s] | ^~~~~~~~ [ 19s] src/lfn.c: In function 'lfn_get': [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 19s] 456 | fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 19s] | ^~~~~~~~ [ 19s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 19s] 192 | #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 19s] | ^ [ 19s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 19s] 493 | fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 19s] | ^~~~~~~~ [ 19s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 19s] 466 | sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 19s] | ~~~~~~~~^~~ [ 19s] src/lfn.c:465:5: note: within this loop [ 19s] 465 | for (sum = 0, i = 0; i < 11; i++) [ 19s] | ^~~ [ 20s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o charconv.o src/charconv.c [ 20s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 20s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o dosfslabel.o src/dosfslabel.c [ 20s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 20s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -O2 -fomit-frame-pointer -Wall -g -c -o mkdosfs.o src/mkdosfs.c [ 21s] src/mkdosfs.c: In function 'get_list_blocks': [ 21s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 21s] 484 | fscanf(listfile, "%ld\n", &blockno); [ 21s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 23s] cc mkdosfs.o -o mkdosfs [ 23s] + exit 0 [ 23s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X9c7zd [ 23s] + umask 022 [ 23s] + cd /home/abuild/rpmbuild/BUILD [ 23s] + cd dosfstools-3.0.16 [ 23s] + LANG=C [ 23s] + export LANG [ 23s] + unset DISPLAY [ 23s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 23s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 23s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 PREFIX=/usr [ 23s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin [ 23s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin [ 23s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/fsck.msdos [ 23s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/fsck.vfat [ 23s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/mkfs.msdos [ 23s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/mkfs.vfat [ 23s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/doc/dosfstools [ 23s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/doc/dosfstools [ 23s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8 [ 23s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8 [ 23s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/fsck.msdos.8 [ 23s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/fsck.vfat.8 [ 23s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/mkfs.msdos.8 [ 23s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/mkfs.vfat.8 [ 23s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/doc/dosfstools [ 23s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 3.0.16-0 --unique-debug-src-base dosfstools-3.0.16-0.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 23s] 1+0 records in [ 24s] 1+0 records out [ 24s] 7 bytes (7 B) copied, 4.4264e-05 s, 158 kB/s [ 24s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/dosfsck [ 24s] 1+0 records in [ 24s] 1+0 records out [ 24s] 7 bytes (7 B) copied, 2.2276e-05 s, 314 kB/s [ 24s] 1+0 records in [ 24s] 1+0 records out [ 24s] 7 bytes (7 B) copied, 4.6424e-05 s, 151 kB/s [ 24s] 0+0 records in [ 24s] 0+0 records out [ 24s] 0 bytes (0 B) copied, 1.6079e-05 s, 0.0 kB/s [ 24s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/mkdosfs [ 24s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/dosfslabel [ 24s] 0+0 records in [ 24s] 0+0 records out [ 24s] 0 bytes (0 B) copied, 3.2325e-05 s, 0.0 kB/s [ 24s] 0+0 records in [ 24s] 0+0 records out [ 24s] 0 bytes (0 B) copied, 3.0358e-05 s, 0.0 kB/s [ 24s] 363 blocks [ 24s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 24s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 24s] + /usr/lib/rpm/check-buildroot [ 24s] + /usr/lib/rpm//brp-compress [ 24s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 25s] + /usr/lib/rpm/brp-python-hardlink [ 25s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 25s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/isu.list [ 25s] ~/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 ~/rpmbuild/BUILD/dosfstools-3.0.16 [ 25s] ~/rpmbuild/BUILD/dosfstools-3.0.16 [ 25s] Processing files: dosfstools-3.0.16-0.x86_64 [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NNt6Fc [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd dosfstools-3.0.16 [ 25s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 25s] + export LC_ALL=C [ 25s] + LC_ALL=C [ 25s] + export LICENSEDIR [ 25s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 25s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 25s] + exit 0 [ 25s] Provides: dosfstools = 3.0.16-0 dosfstools(x86-64) = 3.0.16-0 [ 25s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 25s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) [ 25s] Processing files: dosfstools-debugsource-3.0.16-0.x86_64 [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Provides: dosfstools-debugsource = 3.0.16-0 dosfstools-debugsource(x86-64) = 3.0.16-0 [ 25s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 25s] Processing files: dosfstools-docs-3.0.16-0.x86_64 [ 25s] Provides: dosfstools-docs = 3.0.16-0 dosfstools-docs(x86-64) = 3.0.16-0 [ 25s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 25s] Processing files: dosfstools-debuginfo-3.0.16-0.x86_64 [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Provides: dosfstools-debuginfo = 3.0.16-0 dosfstools-debuginfo(x86-64) = 3.0.16-0 [ 25s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 25s] Recommends: dosfstools-debugsource(x86-64) = 3.0.16-0 [ 25s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 25s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-0.src.rpm [ 25s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-3.0.16-0.x86_64.rpm [ 26s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-debugsource-3.0.16-0.x86_64.rpm [ 26s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-docs-3.0.16-0.x86_64.rpm [ 26s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-debuginfo-3.0.16-0.x86_64.rpm [ 26s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bt6MGe [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd dosfstools-3.0.16 [ 26s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 26s] + exit 0 [ 26s] ... checking for files with abuild user/group [ 27s] ... creating baselibs [ 27s] [ 27s] ip-192-168-56-115 finished "build dosfstools.spec" at Thu Nov 28 06:26:49 UTC 2024. [ 27s]