<86>Jun 23 00:29:30 userdel[2914678]: delete user 'rooter' <86>Jun 23 00:29:30 userdel[2914678]: removed group 'rooter' owned by 'rooter' <86>Jun 23 00:29:30 userdel[2914678]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 23 00:29:30 groupadd[2914688]: group added to /etc/group: name=rooter, GID=1871 <86>Jun 23 00:29:30 groupadd[2914688]: group added to /etc/gshadow: name=rooter <86>Jun 23 00:29:30 groupadd[2914688]: new group: name=rooter, GID=1871 <86>Jun 23 00:29:30 useradd[2914697]: new user: name=rooter, UID=1871, GID=1871, home=/root, shell=/bin/bash <86>Jun 23 00:29:30 userdel[2914708]: delete user 'builder' <86>Jun 23 00:29:30 userdel[2914708]: removed group 'builder' owned by 'builder' <86>Jun 23 00:29:30 userdel[2914708]: removed shadow group 'builder' owned by 'builder' <86>Jun 23 00:29:30 groupadd[2914719]: group added to /etc/group: name=builder, GID=1872 <86>Jun 23 00:29:30 groupadd[2914719]: group added to /etc/gshadow: name=builder <86>Jun 23 00:29:30 groupadd[2914719]: new group: name=builder, GID=1872 <86>Jun 23 00:29:30 useradd[2914728]: new user: name=builder, UID=1872, GID=1872, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/hfsprogs-540.1.linux3-alt2.src.rpm: license not found in '/usr/share/license' directory: APSL /usr/src/in/srpm/hfsprogs-540.1.linux3-alt2.src.rpm: license not found in '/usr/share/license' directory: 2.0 <13>Jun 23 00:29:33 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 23 00:29:33 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jun 23 00:29:33 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 23 00:29:33 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 23 00:29:33 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jun 23 00:29:33 rpmi: ca-trust-0.1.6-alt1 p10+344774.100.1.1 1712685728 installed <13>Jun 23 00:29:33 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 23 00:29:33 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 23 00:29:33 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 23 00:29:33 rpmi: libssl-devel-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 23 00:29:33 rpmi: libuuid-devel-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/hfsprogs-540.1.linux3-alt2.nosrc.rpm (w1.gzdio) Installing hfsprogs-540.1.linux3-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.66379 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf hfsprogs-540.1.linux3 + echo 'Source #0 (hfsprogs-540.1.linux3.tar):' Source #0 (hfsprogs-540.1.linux3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/hfsprogs-540.1.linux3.tar + cd hfsprogs-540.1.linux3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (hfsplus-tools-no-blocks.patch):' Patch #0 (hfsplus-tools-no-blocks.patch): + /usr/bin/patch -p1 patching file fsck_hfs.tproj/dfalib/SControl.c patching file fsck_hfs.tproj/fsck_messages.c patching file fsck_hfs.tproj/fsck_messages.h patching file fsck_hfs.tproj/Makefile.lnx patching file Makefile + echo 'Patch #1 (hfsplus-tools-learn-to-stdarg.patch):' Patch #1 (hfsplus-tools-learn-to-stdarg.patch): + /usr/bin/patch -p1 patching file fsck_hfs.tproj/utilities.c + echo 'Patch #2 (hfsplus-tools-sysctl.patch):' Patch #2 (hfsplus-tools-sysctl.patch): + /usr/bin/patch -p1 patching file fsck_hfs.tproj/dfalib/Scavenger.h patching file fsck_hfs.tproj/fsck_hfs.c patching file fsck_hfs.tproj/utilities.c patching file newfs_hfs.tproj/makehfs.c + find . -type f -name '*.[ch]' -exec chmod -c -x '{}' + mode of './fsck_hfs.tproj/dfalib/hfs_endian.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/hfs_endian.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/SRebuildBTree.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/HardLinkCheck.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/BTreeScanner.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/BTreeScanner.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + cp /usr/src/RPM/SOURCES/apsl-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.66379 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd hfsprogs-540.1.linux3 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + make -j16 -f Makefile for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o hfs_endian.o hfs_endian.c make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o newfs_hfs.o newfs_hfs.c newfs_hfs.c: In function 'main': newfs_hfs.c:205:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 205 | printf("%s: journal size %lldk too small. Reset to %dk.\n", | ~~~^ | | | long long int | %ld 206 | progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} newfs_hfs.c: In function 'hfsplus_params': newfs_hfs.c:906:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 906 | printf("%s: journal size %lldk too small. Reset to %dk.\n", | ~~~^ | | | long long int | %ld 907 | progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} newfs_hfs.c:1057:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'const long unsigned int'} [-Wformat=] 1057 | printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka const long unsigned int} | %lu make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o makehfs.o makehfs.c makehfs.c: In function 'make_hfsplus': makehfs.c:219:11: warning: variable 'sectorsPerNode' set but not used [-Wunused-but-set-variable] 219 | UInt32 sectorsPerNode; | ^~~~~~~~~~~~~~ makehfs.c: In function 'WriteBuffer': makehfs.c:1383:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 1383 | err(1, "read (sector %llu)", physSector); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %lu makehfs.c:1386:28: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 1386 | err(1, "write (sector %llu)", physSector); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %lu In file included from /usr/include/string.h:532, from makehfs.c:53: In function 'strncpy', inlined from 'GenerateVolumeUUID' at makehfs.c:1659:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 26 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -Wl,--build-id -o newfs_hfs hfs_endian.o makehfs.o newfs_hfs.o -lcrypto make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/newfs_hfs.tproj' make -C dfalib -f Makefile.lnx libdfa.a make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_strings.o fsck_strings.c make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs_strings.o fsck_hfs_strings.c make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_debug.o fsck_debug.c make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeScanner.o BTreeScanner.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeMiscOps.o BTreeMiscOps.c BTreeMiscOps.c: In function 'TrySimpleReplace': BTreeMiscOps.c:498:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] 498 | Boolean didItFit; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeAllocate.o BTreeAllocate.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BlockCache.o BlockCache.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs.o fsck_hfs.c fsck_hfs.c: In function 'mountpoint': fsck_hfs.c:318:6: warning: unused variable 'i' [-Wunused-variable] 318 | int i; | ^ fsck_hfs.c:317:6: warning: unused variable 'result' [-Wunused-variable] 317 | int result; | ^~~~~~ fsck_hfs.c:315:17: warning: unused variable 'fsinfo' [-Wunused-variable] 315 | struct statfs *fsinfo; | ^~~~~~ fsck_hfs.c: In function 'checkfilesys': fsck_hfs.c:358:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 358 | int flags; | ^~~~~ fsck_hfs.c: In function 'setup': fsck_hfs.c:722:7: warning: unused variable 'rv' [-Wunused-variable] 722 | int rv; | ^~ fsck_hfs.c:721:10: warning: unused variable 'dsize' [-Wunused-variable] 721 | size_t dsize = sizeof(memSize); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeNodeOps.o BTreeNodeOps.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SBTree.o SBTree.c SBTree.c: In function 'SearchBTreeRecord': SBTree.c:105:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 105 | DebugStr("SearchBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SBTree.c: In function 'GetBTreeRecord': SBTree.c:213:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 213 | DebugStr("GetBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SBTree.c: In function 'InsertBTreeRecord': SBTree.c:245:12: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 245 | DebugStr("InsertBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SBTree.c: In function 'ReplaceBTreeRecord': SBTree.c:307:12: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 307 | DebugStr("ReplaceBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SBTree.c: In function 'SetEndOfForkProc': SBTree.c:346:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 346 | DebugStr("SetEndOfForkProc: minEOF is smaller than current size!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ SBTree.c: In function 'CheckBTreeKey': SBTree.c:444:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 444 | DebugStr("CheckBTreeKey: bad key length!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from SBTree.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_messages.o fsck_messages.c fsck_messages.c: In function 'fsckAskPrompt': fsck_messages.c:517:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | fgets (resp, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ fsck_messages.c: In function 'fsckPrintToString': fsck_messages.c:719:2: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 719 | vasprintf(&tmpstr, m->msg, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsck_messages.c:721:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | asprintf(&retval, "%s%s\n", astr, tmpstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o utilities.o utilities.c In file included from /usr/include/string.h:532, from utilities.c:70: In function 'strncpy', inlined from 'rawname' at utilities.c:225:8: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'rawname' at utilities.c:232:8: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' specified bound 32 equals destination size [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' specified bound 32 equals destination size [-Wstringop-overflow=] make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTree.o BTree.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o cache.o cache.c make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeTreeOps.o BTreeTreeOps.c BTreeTreeOps.c: In function 'InsertLevel': BTreeTreeOps.c:441:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 441 | DebugStr("InsertLevel: New root from primary key, update from secondary key..."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from BTree.h:36, from BTreePrivate.h:38, from BTreeTreeOps.c:35: SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BTreeTreeOps.c: In function 'InsertNode': BTreeTreeOps.c:567:13: warning: variable 'rightNodeNum' set but not used [-Wunused-but-set-variable] 567 | UInt32 rightNodeNum; | ^~~~~~~~~~~~ BTreeTreeOps.c: In function 'AddNewRootNode': BTreeTreeOps.c:1245:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] 1245 | Boolean didItFit; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SDevice.o SDevice.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SKeyCompare.o SKeyCompare.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SControl.o SControl.c SControl.c: In function 'CheckHFS': SControl.c:329:78: warning: comparison between pointer and integer 329 | if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { | ^~ SControl.c: In function 'ScavSetUp': SControl.c:1094:9: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1094 | OSErr err; | ^~~ SControl.c: In function 'ScavTerm': SControl.c:1338:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1338 | OSErr err; | ^~~ In file included from /usr/include/string.h:532, from SRuntime.h:35, from Scavenger.h:30, from SControl.c:43: In function 'strncpy', inlined from 'CheckHFS' at SControl.c:329:10: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o HardLinkCheck.o HardLinkCheck.c HardLinkCheck.c: In function 'RepairHardLinkChains': HardLinkCheck.c:557:9: warning: variable 'folderID' set but not used [-Wunused-but-set-variable] 557 | UInt32 folderID; | ^~~~~~~~ HardLinkCheck.c: In function 'CheckHardLinks': HardLinkCheck.c:901:9: warning: variable 'prefixlen' set but not used [-Wunused-but-set-variable] 901 | size_t prefixlen; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SRebuildBTree.o SRebuildBTree.c SRebuildBTree.c: In function 'InitializeBTree': SRebuildBTree.c:572:13: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] 572 | Boolean isHFSPlus = false; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SCatalog.o SCatalog.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o hfs_endian.o hfs_endian.c In file included from /usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include/missing.h:5, from /usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include/hfs/hfs_format.h:32, from hfs_endian.c:38: hfs_endian.c: In function 'hfs_swap_HFSBTInternalNode': hfs_endian.c:1062:90: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1062 | srcRec->dataExtents[j].startBlock = SWAP_BE16 (srcRec->dataExtents[j].startBlock); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include/missing.h:83:34: note: in expansion of macro 'be16_to_cpu' 83 | #define OSSwapBigToHostInt16(x) be16_to_cpu(x) | ^~~~~~~~~~~ hfs_endian.h:41:31: note: in expansion of macro 'OSSwapBigToHostInt16' 41 | #define SWAP_BE16(__a) OSSwapBigToHostInt16 (__a) | ^~~~~~~~~~~~~~~~~~~~ hfs_endian.c:1062:57: note: in expansion of macro 'SWAP_BE16' 1062 | srcRec->dataExtents[j].startBlock = SWAP_BE16 (srcRec->dataExtents[j].startBlock); | ^~~~~~~~~ hfs_endian.c:1061:17: note: within this loop 1061 | for (j = 0; j < kHFSExtentDensity * 2; j++) { | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SStubs.o SStubs.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SVerify2.o SVerify2.c SVerify2.c: In function 'CompareVolumeHeader': SVerify2.c:1400:12: warning: variable 'goodValue' set but not used [-Wunused-but-set-variable] 1400 | UInt32 goodValue, badValue; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o CatalogCheck.o CatalogCheck.c CatalogCheck.c: In function 'UniqueDotName': CatalogCheck.c:1486:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1486 | else | ^~~~ CatalogCheck.c:1489:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1489 | nameLen = strlen((char *) myPtr ); | ^~~~~~~ CatalogCheck.c: In function 'RecordTruncation': CatalogCheck.c:1696:25: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1696 | sprintf(oldSizeStr, "%qd", oldSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld CatalogCheck.c:1697:25: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1697 | sprintf(newSizeStr, "%qd", newSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o dirhardlink.o dirhardlink.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SExtents.o SExtents.c In file included from /usr/include/strings.h:144, from /usr/include/string.h:446, from SRuntime.h:35, from BTree.h:36, from SExtents.c:36: In function 'bzero', inlined from 'DeallocateFile' at SExtents.c:694:3: /usr/include/bits/strings_fortified.h:31:10: warning: '__builtin___memset_chk' forming offset [64, 75] is out of the bounds [0, 64] of object 'dataForkExtents' with type 'HFSPlusExtentRecord' {aka 'HFSPlusExtentDescriptor[8]'} [-Warray-bounds] 31 | (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c: In function 'DeallocateFile': SExtents.c:680:23: note: 'dataForkExtents' declared here 680 | HFSPlusExtentRecord dataForkExtents; | ^~~~~~~~~~~~~~~ In file included from /usr/include/strings.h:144, from /usr/include/string.h:446, from SRuntime.h:35, from BTree.h:36, from SExtents.c:36: In function 'bzero', inlined from 'DeallocateFile' at SExtents.c:697:3: /usr/include/bits/strings_fortified.h:31:10: warning: '__builtin___memset_chk' forming offset [64, 75] is out of the bounds [0, 64] of object 'rsrcForkExtents' with type 'HFSPlusExtentRecord' {aka 'HFSPlusExtentDescriptor[8]'} [-Warray-bounds] 31 | (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c: In function 'DeallocateFile': SExtents.c:681:23: note: 'rsrcForkExtents' declared here 681 | HFSPlusExtentRecord rsrcForkExtents; | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o VolumeBitmapCheck.o VolumeBitmapCheck.c VolumeBitmapCheck.c:1119:13: warning: 'TrimExtent' defined but not used [-Wunused-function] 1119 | static void TrimExtent(SGlobPtr g, UInt32 startBlock, UInt32 blockCount) | ^~~~~~~~~~ VolumeBitmapCheck.c:1099:13: warning: 'TrimFlush' defined but not used [-Wunused-function] 1099 | static void TrimFlush(void) | ^~~~~~~~~ VolumeBitmapCheck.c:1091:13: warning: 'TrimInit' defined but not used [-Wunused-function] 1091 | static void TrimInit(void) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SAllocate.o SAllocate.c make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SUtils.o SUtils.c SUtils.c: In function 'AllocMinorRepairOrder': SUtils.c:445:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 445 | else if ( fsckGetVerbosity(GPtr->context) >= kDebugLog ) | ^~ SUtils.c:448:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 448 | if ( GPtr->RepLevel == repairLevelNoProblemsFound ) | ^~ SUtils.c: In function 'CalculateItemCount': SUtils.c:2009:19: warning: variable 'myVOPtr' set but not used [-Wunused-but-set-variable] 2009 | VolumeObjectPtr myVOPtr; | ^~~~~~~ SUtils.c: In function 'PrintName': SUtils.c:2374:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2374 | for ( i = 0; i < myCount; i++ ) | ^~~ SUtils.c:2376:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2376 | plog( "\n" ); | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SVerify1.o SVerify1.c SVerify1.c: In function 'RecordBadExtent': SVerify1.c:3543:10: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] 3543 | Boolean isHFSPlus; | ^~~~~~~~~ In file included from /usr/include/string.h:532, from SRuntime.h:35, from Scavenger.h:30, from SVerify1.c:34: In function 'strncpy', inlined from 'AddExtentToOverlapList' at SVerify1.c:3962:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SVerify1.c: In function 'AddExtentToOverlapList': SVerify1.c:3957:13: note: length computed here 3957 | attrlen = strlen(attrname) + 1; | ^~~~~~~~~~~~~~~~ SVerify1.c: In function 'IsJournalEmpty': SVerify1.c:343:12: warning: 'bsize' may be used uninitialized in this function [-Wmaybe-uninitialized] 343 | uint8_t block[bsize]; | ^~~~~ In file included from /usr/include/strings.h:144, from /usr/include/string.h:446, from SRuntime.h:35, from Scavenger.h:30, from SVerify1.c:34: In function 'bcopy', inlined from 'VLockedChk' at SVerify1.c:3457:3: /usr/include/bits/strings_fortified.h:25:10: warning: '__builtin_memcpy' forming offset [15, 27] is out of the bounds [0, 15] [-Warray-bounds] 25 | (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SRepair.o SRepair.c SRepair.c: In function 'RepairReservedBTreeFields': SRepair.c:3433:26: warning: taking address of packed member of 'struct HFSCatalogThread' may result in an unaligned pointer value [-Waddress-of-packed-member] 3433 | reserved = (UInt32*) &(record.hfsThread.reserved); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInVH': SRepair.c:4730:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4851:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4857:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from SRuntime.h:36, from Scavenger.h:30, from SRepair.c:34: In function 'snprintf', inlined from 'FixBadLinkChainFirst' at SRepair.c:873:9: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' ar rc libdfa.a hfs_endian.o BlockCache.o BTree.o BTreeAllocate.o BTreeMiscOps.o BTreeNodeOps.o BTreeScanner.o BTreeTreeOps.o CatalogCheck.o HardLinkCheck.o SBTree.o SControl.o SVerify1.o SVerify2.o SRepair.o dirhardlink.o SRebuildBTree.o SUtils.o SKeyCompare.o SDevice.o SExtents.o SAllocate.o SCatalog.o SStubs.o VolumeBitmapCheck.o make[2]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' cc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -Wl,--build-id fsck_hfs.o utilities.o cache.o fsck_messages.o fsck_debug.o fsck_hfs_strings.o fsck_strings.o dfalib/libdfa.a -o fsck_hfs -lpthread make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsprogs-540.1.linux3/fsck_hfs.tproj' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.7420 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/hfsprogs-buildroot + : + /bin/rm -rf -- /usr/src/tmp/hfsprogs-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd hfsprogs-540.1.linux3 + mkdir -p /usr/src/tmp/hfsprogs-buildroot/usr/sbin/ + install -m 755 newfs_hfs.tproj/newfs_hfs /usr/src/tmp/hfsprogs-buildroot/usr/sbin/mkfs.hfsplus + install -m 755 fsck_hfs.tproj/fsck_hfs /usr/src/tmp/hfsprogs-buildroot/usr/sbin/fsck.hfsplus + mkdir -p /usr/src/tmp/hfsprogs-buildroot//usr/share/man/man8 + cat fsck_hfs.tproj/fsck_hfs.8 + sed -e 's/[F|f]sck_hfs/fsck.hfsplus/g' + cat newfs_hfs.tproj/newfs_hfs.8 + sed -e 's/[N|n]ewfs_hfs/mkfs.hfsplus/g' + cd /usr/src/tmp/hfsprogs-buildroot//usr/sbin + ln -s fsck.hfsplus fsck.hfs + cd /usr/src/tmp/hfsprogs-buildroot//usr/share/man/man8 + ln -s fsck.hfsplus.8 fsck.hfs.8 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/hfsprogs-buildroot (auto) Verifying and fixing files in /usr/src/tmp/hfsprogs-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/hfsprogs-buildroot/ (default) Compressing files in /usr/src/tmp/hfsprogs-buildroot (auto) removed '/usr/src/tmp/hfsprogs-buildroot/usr/share/man/man8/fsck.hfs.8' '/usr/src/tmp/hfsprogs-buildroot/usr/share/man/man8/fsck.hfs.8.xz' -> 'fsck.hfsplus.8.xz' Verifying ELF objects in /usr/src/tmp/hfsprogs-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: hfsprogs-540.1.linux3-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7420 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd hfsprogs-540.1.linux3 + DOCDIR=/usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + export DOCDIR + rm -rf /usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + /bin/mkdir -p /usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + cp -prL apsl-2.0.txt /usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + chmod -R go-w /usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + chmod -R a+rX /usr/src/tmp/hfsprogs-buildroot/usr/share/doc/hfsprogs-540.1.linux3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6lCSn6 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PA9Th8 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: hfsplus-tools = 540.1.linux3-alt2 Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libcrypto.so.1.1()(64bit) >= set:qoPDJTmSSi2hV0, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: hfsplusutils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.50VYY7 Creating hfsprogs-debuginfo package Processing files: hfsprogs-debuginfo-540.1.linux3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KjvTz4 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WvRdx6 find-requires: running scripts (debuginfo) Requires: hfsprogs = 540.1.linux3-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libpthread.so.0) Adding to hfsprogs-debuginfo a strict dependency on hfsprogs Wrote: /usr/src/RPM/RPMS/x86_64/hfsprogs-540.1.linux3-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/hfsprogs-debuginfo-540.1.linux3-alt2.x86_64.rpm (w2.lzdio) 7.65user 2.68system 0:07.33elapsed 140%CPU (0avgtext+0avgdata 55088maxresident)k 0inputs+0outputs (0major+491982minor)pagefaults 0swaps /.out/hfsprogs-540.1.linux3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: APSL /.out/hfsprogs-540.1.linux3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: 2.0 /.out/hfsprogs-debuginfo-540.1.linux3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: APSL /.out/hfsprogs-debuginfo-540.1.linux3-alt2.x86_64.rpm: license not found in '/usr/share/license' directory: 2.0 2.96user 2.43system 0:15.97elapsed 33%CPU (0avgtext+0avgdata 129188maxresident)k 0inputs+0outputs (0major+202335minor)pagefaults 0swaps --- hfsprogs-540.1.linux3-alt2.x86_64.rpm.repo 2021-07-15 23:20:53.000000000 +0000 +++ hfsprogs-540.1.linux3-alt2.x86_64.rpm.hasher 2024-06-23 00:29:43.020232571 +0000 @@ -30,4 +30,4 @@ File: /usr/sbin/fsck.hfs 120777 root:root fsck.hfsplus -File: /usr/sbin/fsck.hfsplus 100755 root:root 91023d9ea4294ca8a9032d69c5fd731a -File: /usr/sbin/mkfs.hfsplus 100755 root:root a3de7956eeba3bfa7a2af5e3876f0d4f +File: /usr/sbin/fsck.hfsplus 100755 root:root b7e1617835f5adda2e35ff2711fa58ed +File: /usr/sbin/mkfs.hfsplus 100755 root:root 7e7ceb71dc8a464145535bb39590b6a0 File: /usr/share/doc/hfsprogs-540.1.linux3 40755 root:root @@ -37,2 +37,2 @@ File: /usr/share/man/man8/mkfs.hfsplus.8.xz 100644 root:root 22028bd4fc51530381728752d95a0b8e -RPMIdentity: 7de2697081f9e624fe31ebb3a54aec9b7cd4390b6505c9b11398db78ef120057be3bd146f4acf8deaab7a9f03d0aa3646e990dba5d9a1d8b680f07fe0808ac3e +RPMIdentity: 848319c83af4c2b6f865084831fe192ca180cd1d972012822ea8a4fbf214b38da30e71d2a95dd9a3c284d2a3631054d70e8bd47d32422505a1d5f6b526cd2198 --- hfsprogs-debuginfo-540.1.linux3-alt2.x86_64.rpm.repo 2021-07-15 23:20:53.000000000 +0000 +++ hfsprogs-debuginfo-540.1.linux3-alt2.x86_64.rpm.hasher 2024-06-23 00:29:43.088233567 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/81 40755 root:root -/usr/lib/debug/.build-id/81/46150e3714c52538eb9f3e668b66e65c2ec63d 120777 root:root ../../../../sbin/mkfs.hfsplus -/usr/lib/debug/.build-id/81/46150e3714c52538eb9f3e668b66e65c2ec63d.debug 120777 root:root ../../usr/sbin/mkfs.hfsplus.debug -/usr/lib/debug/.build-id/a4 40755 root:root -/usr/lib/debug/.build-id/a4/f59d32f3e5db14deb77b6f57542984fc17f76b 120777 root:root ../../../../sbin/fsck.hfsplus -/usr/lib/debug/.build-id/a4/f59d32f3e5db14deb77b6f57542984fc17f76b.debug 120777 root:root ../../usr/sbin/fsck.hfsplus.debug +/usr/lib/debug/.build-id/85 40755 root:root +/usr/lib/debug/.build-id/85/b1d5143413560cbe3bbada52142207a45b8d34 120777 root:root ../../../../sbin/mkfs.hfsplus +/usr/lib/debug/.build-id/85/b1d5143413560cbe3bbada52142207a45b8d34.debug 120777 root:root ../../usr/sbin/mkfs.hfsplus.debug +/usr/lib/debug/.build-id/aa 40755 root:root +/usr/lib/debug/.build-id/aa/5ba40a94ee684d668e048410ea12f45ea6b055 120777 root:root ../../../../sbin/fsck.hfsplus +/usr/lib/debug/.build-id/aa/5ba40a94ee684d668e048410ea12f45ea6b055.debug 120777 root:root ../../usr/sbin/fsck.hfsplus.debug /usr/lib/debug/usr/sbin/fsck.hfs.debug 120777 root:root fsck.hfsplus.debug @@ -78,11 +78,11 @@ Provides: hfsprogs-debuginfo = 540.1.linux3-alt2:sisyphus+279150.100.1.1 -File: /usr/lib/debug/.build-id/81 40755 root:root -File: /usr/lib/debug/.build-id/81/46150e3714c52538eb9f3e668b66e65c2ec63d 120777 root:root ../../../../sbin/mkfs.hfsplus -File: /usr/lib/debug/.build-id/81/46150e3714c52538eb9f3e668b66e65c2ec63d.debug 120777 root:root ../../usr/sbin/mkfs.hfsplus.debug -File: /usr/lib/debug/.build-id/a4 40755 root:root -File: /usr/lib/debug/.build-id/a4/f59d32f3e5db14deb77b6f57542984fc17f76b 120777 root:root ../../../../sbin/fsck.hfsplus -File: /usr/lib/debug/.build-id/a4/f59d32f3e5db14deb77b6f57542984fc17f76b.debug 120777 root:root ../../usr/sbin/fsck.hfsplus.debug +File: /usr/lib/debug/.build-id/85 40755 root:root +File: /usr/lib/debug/.build-id/85/b1d5143413560cbe3bbada52142207a45b8d34 120777 root:root ../../../../sbin/mkfs.hfsplus +File: /usr/lib/debug/.build-id/85/b1d5143413560cbe3bbada52142207a45b8d34.debug 120777 root:root ../../usr/sbin/mkfs.hfsplus.debug +File: /usr/lib/debug/.build-id/aa 40755 root:root +File: /usr/lib/debug/.build-id/aa/5ba40a94ee684d668e048410ea12f45ea6b055 120777 root:root ../../../../sbin/fsck.hfsplus +File: /usr/lib/debug/.build-id/aa/5ba40a94ee684d668e048410ea12f45ea6b055.debug 120777 root:root ../../usr/sbin/fsck.hfsplus.debug File: /usr/lib/debug/usr/sbin/fsck.hfs.debug 120777 root:root fsck.hfsplus.debug -File: /usr/lib/debug/usr/sbin/fsck.hfsplus.debug 100644 root:root f7d364d9c6aa77298d5ef2fb7ce8299f -File: /usr/lib/debug/usr/sbin/mkfs.hfsplus.debug 100644 root:root a0cc68a8da411f39e0be5da6a8eea467 +File: /usr/lib/debug/usr/sbin/fsck.hfsplus.debug 100644 root:root 4f2e04c37f556135dc0021919ed328e4 +File: /usr/lib/debug/usr/sbin/mkfs.hfsplus.debug 100644 root:root 304e81005faf7e2ec308e0a30bcb88e1 File: /usr/src/debug/hfsprogs-540.1.linux3 40755 root:root @@ -149,2 +149,2 @@ File: /usr/src/debug/hfsprogs-540.1.linux3/newfs_hfs.tproj/newfs_hfs.h 100644 root:root 9bd9ef61aa9a973fd3745697411dec16 -RPMIdentity: 07d124bf9bd0ac9f4793bbc4e66767908bcacdd814e09119c2d97d03af0f42c790ca1b78ea4188571ff5e65d7008721186c76ca34286811971b3a512ed8d1c3b +RPMIdentity: 3da4fbc8573ecae64d0e64a97557a379037628384e611c3561d72001aaabfae87b71610fa9b7b8467140d20968a3a6c49ca29b0e4eb9f9ee52987adc02ed9202