Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41606-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 13: %{apple_version}/{fsck_hfs.tproj,newfs_hfs.tproj} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-4.oc9.src.rpm RPM build warnings: Macro expanded in comment on line 13: %{apple_version}/{fsck_hfs.tproj,newfs_hfs.tproj} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41606-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 13: %{apple_version}/{fsck_hfs.tproj,newfs_hfs.tproj} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.42kuDT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf diskdev_cmds-540.1.linux3 + /usr/bin/gzip -dc /builddir/build/SOURCES/diskdev_cmds-540.1.linux3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd diskdev_cmds-540.1.linux3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/hfsplus-tools-no-blocks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/hfsplus-tools-learn-to-stdarg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/hfsplus-tools-sysctl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W4sJVL + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + /usr/bin/make -O -j32 V=1 VERBOSE=1 for d in newfs_hfs.tproj fsck_hfs.tproj; do /usr/bin/make -C $d -f Makefile.lnx all; done make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[1]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[1]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' makehfs.c: In function 'GenerateVolumeUUID': makehfs.c:1596:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1596 | SHA1_Init(&context); | ^~~~~~~~~ In file included from makehfs.c:79: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ makehfs.c:1602:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1602 | SHA1_Update(&context, &uptime, sizeof(uptime)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ makehfs.c:1647:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1647 | SHA1_Update(&context, &sysloadavg, datalen); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ makehfs.c:1660:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1660 | SHA1_Update(&context, randomInputBuffer, 26); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ makehfs.c:1663:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1663 | SHA1_Final(digest, &context); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' /usr/bin/make -C dfalib -f Makefile.lnx libdfa.a make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[1]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[1]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[1]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' utilities.c: In function 'rawname': utilities.c:228:15: warning: 'strncat' specified bound 32 equals destination size [-Wstringop-overflow=] 228 | (void)strncat(rawbuf, "/", sizeof(rawbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utilities.c:232:15: warning: 'strncat' specified bound 32 equals destination size [-Wstringop-overflow=] 232 | (void)strncat(rawbuf, &dp[1], sizeof(rawbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' SControl.c: In function 'CheckHFS': SControl.c:329:81: warning: comparison between pointer and integer 329 | if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { | ^~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' In file included from BTree.h:36, from SExtents.c:36: SExtents.c: In function 'DeallocateFile': SRuntime.h:400:41: warning: '__builtin_memset' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] 400 | #define ClearMemory(start,len) bzero((void*)(start),(size_t)(len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c:694:17: note: in expansion of macro 'ClearMemory' 694 | ClearMemory(&dataForkExtents[i].startBlock, | ^~~~~~~~~~~ SExtents.c:680:37: note: at offset 24 into destination object 'dataForkExtents' of size 64 680 | HFSPlusExtentRecord dataForkExtents; | ^~~~~~~~~~~~~~~ SRuntime.h:400:41: warning: '__builtin_memset' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] 400 | #define ClearMemory(start,len) bzero((void*)(start),(size_t)(len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c:697:17: note: in expansion of macro 'ClearMemory' 697 | ClearMemory(&rsrcForkExtents[i].startBlock, | ^~~~~~~~~~~ SExtents.c:681:37: note: at offset 24 into destination object 'rsrcForkExtents' of size 64 681 | HFSPlusExtentRecord rsrcForkExtents; | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' In file included from Scavenger.h:30, from SVerify1.c:34: SVerify1.c: In function 'VLockedChk': SRuntime.h:399:41: warning: '__builtin_memcpy' reading 28 bytes from a region of size 15 [-Wstringop-overread] 399 | #define CopyMemory(src,dst,len) bcopy((void*)(src),(void*)(dst),(size_t)(len)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SVerify1.c:3457:17: note: in expansion of macro 'CopyMemory' 3457 | CopyMemory( "\x0dPure HFS Plus", calculatedVCB->vcbVN, sizeof(Str27) ); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -I/builddir/build/BUILD/diskdev_cmds-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 make[2]: Leaving directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' SRepair.c: In function 'RepairReservedBTreeFields': SRepair.c:3433:54: 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:4728:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4728 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4729 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4731 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4728:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4849:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4849 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4850 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4852 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4849:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4855 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4856 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInVH': SRepair.c:4728:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4728 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4729 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4731 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4728:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4849:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4849 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4850 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4852 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4849:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4855 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4856 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -I/builddir/build/BUILD/diskdev_cmds-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 '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lD5hAE + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64 + cd diskdev_cmds-540.1.linux3 + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64///sbin + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64//usr/share/man/man8 + cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64///sbin/mkfs.hfsplus + cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64///sbin/fsck.hfsplus + cp /builddir/build/SOURCES/apsl-2.0.txt . + 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' ~/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64/sbin ~/build/BUILD/diskdev_cmds-540.1.linux3 + pushd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64///sbin + ln -s fsck.hfsplus fsck.hfs ~/build/BUILD/diskdev_cmds-540.1.linux3 ~/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64/usr/share/man/man8 ~/build/BUILD/diskdev_cmds-540.1.linux3 + popd + pushd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64//usr/share/man/man8 + ln -s fsck.hfsplus.8 fsck.hfs.8 ~/build/BUILD/diskdev_cmds-540.1.linux3 + popd + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Processing files: hfsplus-tools-540.1.linux3-4.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ygnOlk + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + LICENSEDIR=/builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64/usr/share/licenses/hfsplus-tools-540.1.linux3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64/usr/share/licenses/hfsplus-tools-540.1.linux3 + cp -pr apsl-2.0.txt /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64/usr/share/licenses/hfsplus-tools-540.1.linux3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: hfsplus-tools = 540.1.linux3-4.oc9 hfsplus-tools(x86-64) = 540.1.linux3-4.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.oc9.x86_64 Wrote: /builddir/build/RPMS/hfsplus-tools-540.1.linux3-4.oc9.x86_64.rpm RPM build warnings: Macro expanded in comment on line 13: %{apple_version}/{fsck_hfs.tproj,newfs_hfs.tproj} Child return code was: 0