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