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 aarch64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59000-16463/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 aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-5.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 aarch64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-59000-16463/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VrlB4Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf diskdev_cmds-540.1.linux3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/diskdev_cmds-540.1.linux3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd diskdev_cmds-540.1.linux3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsplus-tools-no-blocks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsplus-tools-learn-to-stdarg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /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.keNlq7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd diskdev_cmds-540.1.linux3 + /usr/bin/make -O -j8 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' newfs_hfs.c: In function 'main': newfs_hfs.c:205:69: 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:69: 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:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1057 | printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 'make_hfsplus': makehfs.c:219:33: warning: variable 'sectorsPerNode' set but not used [-Wunused-but-set-variable] 219 | UInt32 sectorsPerNode; | ^~~~~~~~~~~~~~ makehfs.c: In function 'WriteBuffer': makehfs.c:1383:41: 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:42: 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 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); | ^~~~~~~~~~ makehfs.c:1659:17: warning: 'strncpy' specified bound 26 equals destination size [-Wstringop-truncation] 1659 | strncpy(randomInputBuffer, asctime(gmtime(&now)), 26); /* "Mon Mar 27 13:46:26 2000" */ | ^ make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' fsck_hfs.c: In function 'mountpoint': fsck_hfs.c:318:13: warning: unused variable 'i' [-Wunused-variable] 318 | int i; | ^ fsck_hfs.c:317:13: warning: unused variable 'result' [-Wunused-variable] 317 | int result; | ^~~~~~ fsck_hfs.c:315:24: warning: unused variable 'fsinfo' [-Wunused-variable] 315 | struct statfs *fsinfo; | ^~~~~~ fsck_hfs.c: In function 'checkfilesys': fsck_hfs.c:358:13: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 358 | int flags; | ^~~~~ fsck_hfs.c: In function 'setup': fsck_hfs.c:722:21: warning: unused variable 'rv' [-Wunused-variable] 722 | int rv; | ^~ fsck_hfs.c:721:24: warning: unused variable 'dsize' [-Wunused-variable] 721 | size_t dsize = sizeof(memSize); | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' fsck_messages.c: In function 'fsckAskPrompt': fsck_messages.c:522:34: warning: the comparison will always evaluate as 'false' for the address of 'resp' will never be NULL [-Waddress] 522 | if (resp == NULL || len == 0) { | ^~ fsck_messages.c:509:30: note: 'resp' declared here 509 | char resp[80]; | ^~~~ fsck_messages.c:517:25: 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:9: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 719 | vasprintf(&tmpstr, m->msg, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsck_messages.c:721:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | asprintf(&retval, "%s%s\n", astr, tmpstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' BTreeMiscOps.c: In function 'TrySimpleReplace': BTreeMiscOps.c:498:41: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] 498 | Boolean didItFit; | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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:225:15: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 225 | (void)strncpy(rawbuf, name, sizeof(rawbuf)); | ^ utilities.c:232:15: warning: '__strncat_chk' specified bound 32 equals destination size [-Wstringop-truncation] 232 | (void)strncat(rawbuf, &dp[1], sizeof(rawbuf)); | ^ In file included from /usr/include/string.h:548, from utilities.c:70: In function 'strncat', inlined from 'rawname' at utilities.c:232:8: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' specified bound 32 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' SBTree.c: In function 'SearchBTreeRecord': SBTree.c:105:34: 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:34: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 213 | DebugStr("GetBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:26: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 245 | DebugStr("InsertBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:26: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 307 | DebugStr("ReplaceBTreeRecord: bad record?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:34: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 346 | DebugStr("SetEndOfForkProc: minEOF is smaller than current size!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:34: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] 444 | DebugStr("CheckBTreeKey: bad key length!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * SRuntime.h:139:27: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' 139 | DebugStr(ConstStr255Param debuggerMsg); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' BTreeTreeOps.c: In function 'InsertLevel': BTreeTreeOps.c:441:34: 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:42: warning: variable 'rightNodeNum' set but not used [-Wunused-but-set-variable] 567 | UInt32 rightNodeNum; | ^~~~~~~~~~~~ BTreeTreeOps.c: In function 'AddNewRootNode': BTreeTreeOps.c:1245:41: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] 1245 | Boolean didItFit; | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' HardLinkCheck.c: In function 'RepairHardLinkChains': HardLinkCheck.c:557:16: warning: variable 'folderID' set but not used [-Wunused-but-set-variable] 557 | UInt32 folderID; | ^~~~~~~~ HardLinkCheck.c: In function 'CheckHardLinks': HardLinkCheck.c:901:16: warning: variable 'prefixlen' set but not used [-Wunused-but-set-variable] 901 | size_t prefixlen; | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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)) { | ^~ SControl.c: In function 'ScavSetUp': SControl.c:1094:16: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1094 | OSErr err; | ^~~ SControl.c: In function 'ScavTerm': SControl.c:1338:33: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1338 | OSErr err; | ^~~ SControl.c: In function 'CheckHFS': SControl.c:329:13: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' SRebuildBTree.c: In function 'InitializeBTree': SRebuildBTree.c:572:41: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] 572 | Boolean isHFSPlus = false; | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' CatalogCheck.c: In function 'UniqueDotName': CatalogCheck.c:1486:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1486 | else | ^~~~ CatalogCheck.c:1489:9: 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:32: 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:32: 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]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' SVerify2.c: In function 'CompareVolumeHeader': SVerify2.c:1400:33: warning: variable 'goodValue' set but not used [-Wunused-but-set-variable] 1400 | UInt32 goodValue, badValue; | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' SVerify1.c: In function 'RecordBadExtent': SVerify1.c:3543:17: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] 3543 | Boolean isHFSPlus; | ^~~~~~~~~ SVerify1.c: In function 'IsJournalEmpty': SVerify1.c:343:33: warning: 'bsize' may be used uninitialized [-Wmaybe-uninitialized] 343 | uint8_t block[bsize]; | ^~~~~ SVerify1.c:334:16: note: 'bsize' was declared here 334 | UInt32 bsize; | ^~~~~ In file included from /usr/include/strings.h:144, from /usr/include/string.h:462, 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: 'memcpy' forming offset [15, 27] is out of the bounds [0, 15] [-Warray-bounds] 25 | (void) __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 /usr/include/strings.h:144, from /usr/include/string.h:462, 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:32:10: warning: '__memset_chk' forming offset [64, 75] is out of the bounds [0, 64] of object 'dataForkExtents' with type 'struct HFSPlusExtentDescriptor[8]' [-Warray-bounds] 32 | (void) __builtin___memset_chk (__dest, '\0', __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c: In function 'DeallocateFile': SExtents.c:680:37: note: 'dataForkExtents' declared here 680 | HFSPlusExtentRecord dataForkExtents; | ^~~~~~~~~~~~~~~ In function 'bzero', inlined from 'DeallocateFile' at SExtents.c:697:3: /usr/include/bits/strings_fortified.h:32:10: warning: '__memset_chk' forming offset [64, 75] is out of the bounds [0, 64] of object 'rsrcForkExtents' with type 'struct HFSPlusExtentDescriptor[8]' [-Warray-bounds] 32 | (void) __builtin___memset_chk (__dest, '\0', __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ SExtents.c: In function 'DeallocateFile': SExtents.c:681:37: note: 'rsrcForkExtents' declared here 681 | HFSPlusExtentRecord rsrcForkExtents; | ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' 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]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' 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:9: 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:33: 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:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2376 | plog( "\n" ); | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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:4730:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4851:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4857:83: 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:964, 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:54:10: warning: '__snprintf_chk' specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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' In function 'snprintf', inlined from 'FixBadLinkChainFirst' at dfalib/SRepair.c:873:9: /usr/include/bits/stdio2.h:54:10: warning: '__builtin___snprintf_chk' specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^ In function 'hfs_swap_HFSBTInternalNode', inlined from 'hfs_swap_BTNode' at dfalib/hfs_endian.c:306:21: dfalib/hfs_endian.c:1062:59: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1062 | srcRec->dataExtents[j].startBlock = SWAP_BE16 (srcRec->dataExtents[j].startBlock); | ^ dfalib/hfs_endian.c:1061:31: note: within this loop 1061 | for (j = 0; j < kHFSExtentDensity * 2; j++) { | ^ In function 'bzero', inlined from 'DeallocateFile' at dfalib/SExtents.c:694:3, inlined from 'DeleteCatalogNode' at dfalib/SCatalog.c:238:12: /usr/include/bits/strings_fortified.h:32:10: warning: '__builtin___memset_chk' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] 32 | (void) __builtin___memset_chk (__dest, '\0', __len, | ^ In function 'bzero', inlined from 'DeallocateFile' at dfalib/SExtents.c:697:3, inlined from 'DeleteCatalogNode' at dfalib/SCatalog.c:238:12: /usr/include/bits/strings_fortified.h:32:10: warning: '__builtin___memset_chk' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] 32 | (void) __builtin___memset_chk (__dest, '\0', __len, | ^ In function 'strncat', inlined from 'rawname' at utilities.c:232:8, inlined from 'blockcheck' at utilities.c:188:9: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 32 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ In function 'bcopy', inlined from 'VLockedChk' at dfalib/SVerify1.c:3457:3: /usr/include/bits/strings_fortified.h:25:10: warning: '__builtin_memcpy' reading 28 bytes from a region of size 15 [-Wstringop-overread] 25 | (void) __builtin___memmove_chk (__dest, __src, __len, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AVKstN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64 + cd diskdev_cmds-540.1.linux3 + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64///sbin + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64//usr/share/man/man8 + cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64///sbin/mkfs.hfsplus + cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64///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' + pushd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64///sbin + ln -s fsck.hfsplus fsck.hfs ~/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/sbin ~/build/BUILD/diskdev_cmds-540.1.linux3 + popd + pushd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64//usr/share/man/man8 ~/build/BUILD/diskdev_cmds-540.1.linux3 ~/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/usr/share/man/man8 ~/build/BUILD/diskdev_cmds-540.1.linux3 + ln -s fsck.hfsplus.8 fsck.hfs.8 + popd ~/build/BUILD/diskdev_cmds-540.1.linux3 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 540.1.linux3-5.oc9 --unique-debug-suffix -540.1.linux3-5.oc9.aarch64 --unique-debug-src-base hfsplus-tools-540.1.linux3-5.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/diskdev_cmds-540.1.linux3 extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/sbin/fsck.hfsplus extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/sbin/mkfs.hfsplus 3095 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/hfs_endian.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/hfs_endian.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/BTreeScanner.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/SRebuildBTree.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/BTreeScanner.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/hfsplus-tools-540.1.linux3-5.oc9.aarch64/fsck_hfs.tproj/dfalib/HardLinkCheck.c is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: hfsplus-tools-540.1.linux3-5.oc9.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SL802M + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + LICENSEDIR=/builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/usr/share/licenses/hfsplus-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/usr/share/licenses/hfsplus-tools + cp -pr apsl-2.0.txt /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64/usr/share/licenses/hfsplus-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: hfsplus-tools = 540.1.linux3-5.oc9 hfsplus-tools(aarch-64) = 540.1.linux3-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: hfsplus-tools-debugsource-540.1.linux3-5.oc9.aarch64 Provides: hfsplus-tools-debugsource = 540.1.linux3-5.oc9 hfsplus-tools-debugsource(aarch-64) = 540.1.linux3-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hfsplus-tools-debuginfo-540.1.linux3-5.oc9.aarch64 Provides: debuginfo(build-id) = 48b1453a92fb8a8a73867943c80df34c08331ddd debuginfo(build-id) = c1999ce52858cf5761aea35f749269bbe5723af6 hfsplus-tools-debuginfo = 540.1.linux3-5.oc9 hfsplus-tools-debuginfo(aarch-64) = 540.1.linux3-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hfsplus-tools-debugsource(aarch-64) = 540.1.linux3-5.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-5.oc9.aarch64 Wrote: /builddir/build/RPMS/hfsplus-tools-540.1.linux3-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debugsource-540.1.linux3-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debuginfo-540.1.linux3-5.oc9.aarch64.rpm RPM build warnings: Macro expanded in comment on line 13: %{apple_version}/{fsck_hfs.tproj,newfs_hfs.tproj} Child return code was: 0