[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-77 started "build dosfstools.spec" at Thu Mar 6 03:40:45 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_4.0_unified_standard/dosfstools-3.0.16-0/dosfstools.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_4.0_unified_standard/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_4.0_unified_standard/dosfstools-3.0.16-0/dosfstools.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_4.0_unified_standard/x86_64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-4.0/Tizen-4.0-Base/tizen-4.0-base_20250305.234407/repos/standard/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] calculating packages to download... [ 12s] reordering...cycle: libsoftokn3 -> nss [ 12s] breaking dependency nss -> libsoftokn3 [ 12s] reordering done [ 13s] deleting unzip [ 13s] deleting zlib-devel [ 14s] [1/91] keeping libmagic-data-5.37-1.11 [ 14s] [2/91] keeping setup-0.9-1.2 [ 14s] [3/91] keeping filesystem-3.1-1.1 [ 14s] [4/91] keeping glibc-2.24-1.12 [ 14s] [5/91] keeping bash-3.2.57-1.1 [ 14s] [6/91] keeping binutils-2.27-1.11 [ 14s] [7/91] keeping cpio-2.11-3.1 [ 14s] [8/91] keeping diffutils-3.3-1.1 [ 14s] [9/91] keeping findutils-4.3.8-1.11 [ 14s] [10/91] keeping hostname-3.12-1.1 [ 14s] [11/91] keeping libatomic-6.2.1-1.7 [ 14s] [12/91] keeping libattr-2.4.47-1.11 [ 14s] [13/91] keeping libbz2-1.0.6-1.11 [ 14s] [14/91] keeping libcap-2.24-1.11 [ 14s] [15/91] keeping libelf-0.153-1.11 [ 14s] [16/91] keeping libfreebl3-3.34.1-1.11 [ 14s] [17/91] keeping libgcc-6.2.1-1.7 [ 14s] [18/91] keeping libgomp-6.2.1-1.7 [ 14s] [19/91] keeping libitm-6.2.1-1.7 [ 14s] [20/91] keeping libltdl-2.4.2-1.11 [ 14s] [21/91] keeping liblua-5.1.5-1.11 [ 14s] [22/91] keeping liblzma-5.2.2-1.11 [ 14s] [23/91] keeping libpcre-8.41-1.1 [ 14s] [24/91] keeping libpopt-1.16-1.11 [ 14s] [25/91] keeping libquadmath-6.2.1-1.7 [ 14s] [26/91] keeping libsmack-1.3.1-1.11 [ 14s] [27/91] keeping libsmartcols-2.30-1.1 [ 14s] [28/91] keeping libsqlite-3.21.0-1.11 [ 14s] [29/91] keeping libuuid-2.30-1.1 [ 14s] [30/91] keeping m4-1.4.17-1.1 [ 14s] [31/91] keeping net-tools-2.0_20121208git-1.1 [ 14s] [32/91] keeping nspr-4.12-1.11 [ 14s] [33/91] keeping patch-2.7-1.11 [ 14s] [34/91] keeping pkg-config-0.28-1.11 [ 14s] [35/91] keeping sed-4.1c-1.1 [ 14s] [36/91] keeping update-alternatives-1.18.15-1.1 [ 14s] [37/91] keeping which-2.20-4.1 [ 14s] [38/91] keeping zlib-1.2.11-1.11 [ 14s] [39/91] keeping build-compare-2015.04.28-1.4 [ 14s] [40/91] keeping terminfo-base-full-5.9-1.11 [ 14s] [41/91] keeping coreutils-6.9-14.1 [ 14s] [42/91] keeping cpp-6.2.1-1.7 [ 14s] [43/91] keeping gawk-3.1.5-1.1 [ 14s] [44/91] keeping gcc-c++-6.2.1-1.7 [ 14s] [45/91] keeping grep-2.5.2-1.1 [ 14s] [46/91] keeping libacl-2.2.52-1.11 [ 14s] [47/91] keeping libasm-0.153-1.11 [ 14s] [48/91] keeping libblkid-2.30-1.1 [ 14s] [49/91] keeping libstdc++-6.2.1-1.7 [ 14s] [50/91] keeping make-4.0-1.10 [ 14s] [51/91] keeping nss-certs-3.34.1-1.11 [ 14s] [52/91] keeping smack-1.3.1-1.11 [ 14s] [53/91] keeping bzip2-1.0.6-1.11 [ 14s] [54/91] keeping libgfortran-6.2.1-1.7 [ 14s] [55/91] keeping libmagic-5.37-1.11 [ 14s] [56/91] keeping libxml2-2.9.7-1.11 [ 14s] [57/91] keeping xz-5.2.2-1.11 [ 14s] [58/91] keeping libdw-0.153-1.11 [ 14s] [59/91] keeping libstdc++-devel-6.2.1-1.7 [ 14s] [60/91] keeping file-5.37-1.11 [ 14s] [61/91] keeping libmount-2.30-1.1 [ 14s] [62/91] keeping libncurses-5.9-1.11 [ 14s] [63/91] keeping libncurses6-5.9-1.11 [ 14s] [64/91] keeping linux-glibc-devel-3.10-1.11 [ 14s] [65/91] keeping tar-1.17-1.1 [ 14s] [66/91] keeping db4-4.8.30.NC-1.11 [ 14s] [67/91] keeping glibc-locale-2.24-1.12 [ 14s] [68/91] keeping gzip-1.3.12-1.11 [ 14s] [69/91] keeping libcc1-6.2.1-1.7 [ 14s] [70/91] keeping libcilkrts-6.2.1-1.7 [ 14s] [71/91] keeping libfdisk-2.30-1.1 [ 14s] [72/91] keeping libubsan-6.2.1-1.7 [ 14s] [73/91] keeping pam-1.1.6-1.1 [ 14s] [74/91] keeping tzdata-2017c-1.1 [ 14s] [75/91] keeping elfutils-0.153-1.11 [ 14s] [76/91] keeping glibc-devel-2.24-1.12 [ 14s] [77/91] keeping less-466-1.1 [ 14s] [78/91] keeping libreadline-5.2-1.11 [ 14s] [79/91] keeping perl-5.20.0-1.10 [ 14s] [80/91] keeping gcc-6.2.1-1.7 [ 14s] [81/91] keeping build-mkbaselibs-20120927-1.1 [ 14s] [82/91] keeping autoconf-2.69-1.11 [ 14s] [83/91] keeping util-linux-2.30-1.1 [ 14s] [84/91] keeping util-linux-su-2.30-1.1 [ 14s] [85/91] keeping automake-1.14.1-1.11 [ 14s] [86/91] keeping build-20120927-1.1 [ 14s] [87/91] keeping libtool-2.4.2-1.11 [ 14s] [88/91] keeping nss-3.34.1-1.11 [ 14s] [89/91] keeping libsoftokn3-3.34.1-1.11 [ 14s] [90/91] keeping rpm-4.11.0.1-1.10 [ 14s] [91/91] keeping rpm-build-4.11.0.1-1.10 [ 14s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/etc/nsswitch.conf... [ 14s] now finalizing build dir... [ 15s] ----------------------------------------------------------------- [ 15s] ----- building dosfstools.spec (user abuild) [ 15s] ----------------------------------------------------------------- [ 15s] ----------------------------------------------------------------- [ 15s] + 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 [ 15s] Building target platforms: x86_64 [ 15s] Building for target x86_64 [ 15s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XyidtD [ 15s] + umask 022 [ 15s] + cd /home/abuild/rpmbuild/BUILD [ 15s] + cd /home/abuild/rpmbuild/BUILD [ 15s] + rm -rf dosfstools-3.0.16 [ 15s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/dosfstools-3.0.16.orig.tar.xz [ 15s] + /bin/tar -xf - [ 15s] + STATUS=0 [ 15s] + '[' 0 -ne 0 ']' [ 15s] + cd dosfstools-3.0.16 [ 15s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 16s] + exit 0 [ 16s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eezwp1 [ 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 -Wformat-security -fmessage-length=0 -Wl,--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 -Wformat-security -fmessage-length=0 -Wl,--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 -std=gnu++11' [ 16s] + export CXXFLAGS [ 16s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 -Wformat-security -fmessage-length=0 -Wl,--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] 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] 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] printf("%s: %u files, %lu/%lu clusters\n", argv[optind], [ 16s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] n_files, fs.clusters - free_clusters, fs.clusters); [ 16s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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:0: [ 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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:167:24: note: in expansion of macro 'offsetof' [ 16s] 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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:247:21: note: in expansion of macro 'offsetof' [ 16s] 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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:251:9: note: in expansion of macro 'offsetof' [ 16s] 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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:270:26: note: in expansion of macro 'offsetof' [ 16s] (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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:274:26: note: in expansion of macro 'offsetof' [ 16s] (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] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/boot.c:278:26: note: in expansion of macro 'offsetof' [ 16s] (unsigned long long)offsetof(struct info_sector, boot_sign), [ 16s] ^~~~~~~~ [ 16s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 16s] In file included from src/check.c:34:0: [ 16s] src/check.c: In function 'drop_file': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:349:5: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, name[0], DELETED_FLAG); [ 16s] ^~~~~~ [ 16s] src/check.c: In function 'truncate_file': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:366:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/check.c:361:31: warning: variable 'prev' set but not used [-Wunused-but-set-variable] [ 16s] unsigned long walk, next, prev; [ 16s] ^~~~ [ 16s] In file included from src/check.c:34:0: [ 16s] src/check.c: In function 'handle_dot': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:469:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, size, CT_LE_L(0)); [ 16s] ^~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:470:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, attr, file->dir_ent.attr | ATTR_DIR); [ 16s] ^~~~~~ [ 16s] src/check.c: In function 'check_file': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:492:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, size, CT_LE_L(0)); [ 16s] ^~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:501:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:515:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, expect, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:522:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, name[0], DELETED_FLAG); [ 16s] ^~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:532:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:548:3: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(owner, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(owner, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:604:8: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(owner, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:605:4: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(owner, size, [ 16s] ^~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:627:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:643:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(file, size, [ 16s] ^~~~~~ [ 16s] src/check.c: In function 'check_dir': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:683:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(parent, name[0], DELETED_FLAG); [ 16s] ^~~~~~ [ 16s] src/check.c: In function 'test_file': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:835:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:851:7: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, next_cluster(fs, walk), fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/check.c: In function 'undelete': [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:67:19: note: in expansion of macro 'offsetof' [ 16s] fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:72:2: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,start,CT_LE_W((__v)&0xffff)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 16s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 16s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 16s] ^ [ 16s] src/check.c:52:21: note: in expansion of macro 'offsetof' [ 16s] fs_write(p->offset+offsetof(DIR_ENT,i), \ [ 16s] ^~~~~~~~ [ 16s] src/check.c:74:6: note: in expansion of macro 'MODIFY' [ 16s] MODIFY(p,starthi,CT_LE_W((__v)>>16)); \ [ 16s] ^~~~~~ [ 16s] src/check.c:895:2: note: in expansion of macro 'MODIFY_START' [ 16s] MODIFY_START(file, 0, fs); [ 16s] ^~~~~~~~~~~~ [ 17s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 17s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 17s] In file included from src/fat.c:33:0: [ 17s] src/fat.c: In function 'update_free': [ 17s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 17s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 17s] ^ [ 17s] src/fat.c:545:30: note: in expansion of macro 'offsetof' [ 17s] fs_write(fs->fsinfo_start + offsetof(struct info_sector, free_clusters), [ 17s] ^~~~~~~~ [ 17s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 17s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 17s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 18s] src/lfn.c: In function 'cnv_unicode': [ 18s] src/lfn.c:127:19: warning: pointer targets in passing argument 1 of 'wctombs' differ in signedness [-Wpointer-sign] [ 18s] if ((x = wctombs(cp, BYTES_TO_WCHAR(up[0], up[1]))) != (size_t) - 1) [ 18s] ^~ [ 18s] src/lfn.c:96:15: note: expected 'char *' but argument is of type 'unsigned char *' [ 18s] static size_t wctombs(char *dest, wchar_t x) [ 18s] ^~~~~~~ [ 18s] In file included from src/lfn.c:31:0: [ 18s] src/lfn.c: In function 'lfn_fix_checksum': [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:180:18: note: in expansion of macro 'offsetof' [ 18s] fs_write(from + offsetof(LFN_ENT, alias_checksum), sizeof(sum), &sum); [ 18s] ^~~~~~~~ [ 18s] src/lfn.c: In function 'lfn_add_slot': [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:246:29: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:284:28: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:333:28: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, id), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:362:25: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, alias_checksum), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:387:28: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, reserved), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:400:28: note: in expansion of macro 'offsetof' [ 18s] fs_write(dir_offset + offsetof(LFN_ENT, start), [ 18s] ^~~~~~~~ [ 18s] src/lfn.c: In function 'lfn_get': [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:456:29: note: in expansion of macro 'offsetof' [ 18s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, id), [ 18s] ^~~~~~~~ [ 18s] src/dosfsck.h:192:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [ 18s] #define offsetof(t,e) ((int)&(((t *)0)->e)) [ 18s] ^ [ 18s] src/lfn.c:493:33: note: in expansion of macro 'offsetof' [ 18s] fs_write(lfn_offsets[i] + offsetof(LFN_ENT, alias_checksum), [ 18s] ^~~~~~~~ [ 18s] src/lfn.c:466:59: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] [ 18s] sum = (((sum & 1) << 7) | ((sum & 0xfe) >> 1)) + de->name[i]; [ 18s] ~~~~~~~~^~~ [ 18s] src/lfn.c:465:5: note: within this loop [ 18s] for (sum = 0, i = 0; i < 11; i++) [ 18s] ^~~ [ 18s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 18s] cc dosfsck.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfsck [ 18s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 18s] cc dosfslabel.o boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o -o dosfslabel [ 18s] cc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --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 [ 18s] src/mkdosfs.c: In function 'get_list_blocks': [ 18s] src/mkdosfs.c:484:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] [ 18s] fscanf(listfile, "%ld\n", &blockno); [ 18s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19s] cc mkdosfs.o -o mkdosfs [ 19s] + exit 0 [ 19s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rHsioz [ 19s] + umask 022 [ 19s] + cd /home/abuild/rpmbuild/BUILD [ 19s] + cd dosfstools-3.0.16 [ 19s] + LANG=C [ 19s] + export LANG [ 19s] + unset DISPLAY [ 19s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 19s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 19s] + make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 PREFIX=/usr [ 19s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin [ 19s] install -m 0755 dosfsck dosfslabel mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin [ 19s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/fsck.msdos [ 19s] ln -sf dosfsck /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/fsck.vfat [ 19s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/mkfs.msdos [ 19s] ln -sf mkdosfs /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/sbin/mkfs.vfat [ 19s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/doc/dosfstools [ 19s] install -p -m 0644 ChangeLog doc/* /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/doc/dosfstools [ 19s] install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8 [ 19s] install -p -m 0644 man/*.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8 [ 19s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/fsck.msdos.8 [ 19s] ln -sf dosfsck.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/fsck.vfat.8 [ 19s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/mkfs.msdos.8 [ 19s] ln -sf mkdosfs.8 /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64//usr/share/man/man8/mkfs.vfat.8 [ 19s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/doc/dosfstools [ 19s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16 [ 19s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/dosfsck [ 19s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/dosfslabel [ 19s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/sbin/mkdosfs [ 19s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 19s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 19s] cpio: glibc-2.24/sysdeps/x86_64/crti.S: Cannot stat: No such file or directory [ 19s] cpio: glibc-2.24/sysdeps/x86_64/crtn.S: Cannot stat: No such file or directory [ 19s] cpio: glibc-2.24/sysdeps/x86_64/start.S: Cannot stat: No such file or directory [ 19s] 363 blocks [ 19s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debuginfo.manifest [ 19s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/dosfstools-3.0.16/dosfstools-debugsource.manifest [ 19s] + /usr/lib/rpm/check-buildroot [ 19s] + /usr/lib/rpm//brp-compress [ 20s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 20s] + /usr/lib/rpm/brp-python-hardlink [ 20s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 20s] Processing files: dosfstools-3.0.16-0.x86_64 [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KCXG3a [ 20s] + umask 022 [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + cd dosfstools-3.0.16 [ 20s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 20s] + export LICENSEDIR [ 20s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 20s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64/usr/share/licenses/dosfstools [ 20s] + exit 0 [ 20s] Provides: dosfstools = 3.0.16-0 dosfstools(x86-64) = 3.0.16-0 [ 20s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 20s] 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) [ 20s] Processing files: dosfstools-debugsource-3.0.16-0.x86_64 [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] Provides: dosfstools-debugsource = 3.0.16-0 dosfstools-debugsource(x86-64) = 3.0.16-0 [ 20s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 20s] Processing files: dosfstools-docs-3.0.16-0.x86_64 [ 20s] Provides: dosfstools-docs = 3.0.16-0 dosfstools-docs(x86-64) = 3.0.16-0 [ 20s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 20s] Processing files: dosfstools-debuginfo-3.0.16-0.x86_64 [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 20s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 20s] [ 20s] warning: File listed twice: /usr/lib/debug/.build-id [ 20s] warning: File listed twice: /usr/lib/debug/.build-id [ 20s] Provides: dosfstools-debuginfo = 3.0.16-0 dosfstools-debuginfo(x86-64) = 3.0.16-0 [ 20s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 20s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 20s] Wrote: /home/abuild/rpmbuild/SRPMS/dosfstools-3.0.16-0.src.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-3.0.16-0.x86_64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-debugsource-3.0.16-0.x86_64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-docs-3.0.16-0.x86_64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/dosfstools-debuginfo-3.0.16-0.x86_64.rpm [ 20s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KJMLAU [ 20s] + umask 022 [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + cd dosfstools-3.0.16 [ 20s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/dosfstools-3.0.16-0.x86_64 [ 20s] + exit 0 [ 21s] ... checking for files with abuild user/group [ 21s] ... creating baselibs [ 21s] [ 21s] ip-192-168-56-77 finished "build dosfstools.spec" at Thu Mar 6 03:41:06 UTC 2025. [ 21s]