Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/f30-build-40190-22698/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-16.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/f30-build-40190-22698/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AR3VMp + 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 . + echo 'Patch #0 (hfsplus-tools-no-blocks.patch):' Patch #0 (hfsplus-tools-no-blocks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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 Patch #1 (hfsplus-tools-learn-to-stdarg.patch): + echo 'Patch #1 (hfsplus-tools-learn-to-stdarg.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file fsck_hfs.tproj/utilities.c + find . -type f -name '*.[ch]' -exec chmod -c -x '{}' + 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/SRebuildBTree.c' 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/HardLinkCheck.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) 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/BTreeScanner.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + cp /builddir/build/SOURCES/apsl-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N3fZoc + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j4 -f Makefile for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: newfs_hfs.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: printf("%s: journal size %lldk too small. Reset to %dk.\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %ld BUILDSTDERR: progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); BUILDSTDERR: ~~~~~~~~~~~~~~~~~ BUILDSTDERR: makehfs.c: In function 'make_hfsplus': BUILDSTDERR: makehfs.c:219:11: warning: variable 'sectorsPerNode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: UInt32 sectorsPerNode; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: newfs_hfs.c: In function 'hfsplus_params': BUILDSTDERR: 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=] BUILDSTDERR: printf("%s: journal size %lldk too small. Reset to %dk.\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %ld BUILDSTDERR: progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); BUILDSTDERR: ~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize); BUILDSTDERR: ~~~^ ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %lu BUILDSTDERR: makehfs.c: In function 'WriteBuffer': BUILDSTDERR: 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=] BUILDSTDERR: err(1, "read (sector %llu)", physSector); BUILDSTDERR: ~~~^ ~~~~~~~~~~ BUILDSTDERR: %lu BUILDSTDERR: 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=] BUILDSTDERR: err(1, "write (sector %llu)", physSector); BUILDSTDERR: ~~~^ ~~~~~~~~~~ BUILDSTDERR: %lu cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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' make[1]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: fsck_messages.c: In function 'fsckAskPrompt': BUILDSTDERR: fsck_messages.c:517:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (resp, 80, stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fsck_messages.c: In function 'fsckPrintToString': BUILDSTDERR: fsck_messages.c:719:2: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: vasprintf(&tmpstr, m->msg, ap); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fsck_messages.c:721:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&retval, "%s%s\n", astr, tmpstr); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fsck_hfs.c: In function 'mountpoint': BUILDSTDERR: fsck_hfs.c:318:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: fsck_hfs.c:317:6: warning: unused variable 'result' [-Wunused-variable] BUILDSTDERR: int result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fsck_hfs.c:315:17: warning: unused variable 'fsinfo' [-Wunused-variable] BUILDSTDERR: struct statfs *fsinfo; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fsck_hfs.c: In function 'checkfilesys': BUILDSTDERR: fsck_hfs.c:358:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int flags; BUILDSTDERR: ^~~~~ BUILDSTDERR: fsck_hfs.c: In function 'setup': BUILDSTDERR: fsck_hfs.c:722:7: warning: unused variable 'rv' [-Wunused-variable] BUILDSTDERR: int rv; BUILDSTDERR: ^~ BUILDSTDERR: fsck_hfs.c:721:10: warning: unused variable 'dsize' [-Wunused-variable] BUILDSTDERR: size_t dsize = sizeof(memSize); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from utilities.c:70: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'rawname' at utilities.c:232:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 32 equals destination size [-Wstringop-overflow=] BUILDSTDERR: return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -C dfalib -f Makefile.lnx libdfa.a make[2]: Entering directory '/builddir/build/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: BTreeMiscOps.c: In function 'TrySimpleReplace': BUILDSTDERR: BTreeMiscOps.c:498:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean didItFit; BUILDSTDERR: ^~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: BTreeTreeOps.c: In function 'InsertLevel': BUILDSTDERR: BTreeTreeOps.c:441:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("InsertLevel: New root from primary key, update from secondary key..."); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from BTreePrivate.h:38, BUILDSTDERR: from BTreeTreeOps.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: BTreeTreeOps.c: In function 'InsertNode': BUILDSTDERR: BTreeTreeOps.c:567:13: warning: variable 'rightNodeNum' set but not used [-Wunused-but-set-variable] BUILDSTDERR: UInt32 rightNodeNum; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: BTreeTreeOps.c: In function 'AddNewRootNode': BUILDSTDERR: BTreeTreeOps.c:1245:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean didItFit; BUILDSTDERR: ^~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: CatalogCheck.c: In function 'UniqueDotName': BUILDSTDERR: CatalogCheck.c:1486:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else BUILDSTDERR: ^~~~ BUILDSTDERR: CatalogCheck.c:1489:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: nameLen = strlen((char *) myPtr ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: CatalogCheck.c: In function 'RecordTruncation': BUILDSTDERR: 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=] BUILDSTDERR: sprintf(oldSizeStr, "%qd", oldSize); BUILDSTDERR: ~~^ ~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: 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=] BUILDSTDERR: sprintf(newSizeStr, "%qd", newSize); BUILDSTDERR: ~~^ ~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: HardLinkCheck.c: In function 'RepairHardLinkChains': BUILDSTDERR: HardLinkCheck.c:557:9: warning: variable 'folderID' set but not used [-Wunused-but-set-variable] BUILDSTDERR: UInt32 folderID; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HardLinkCheck.c: In function 'CheckHardLinks': BUILDSTDERR: HardLinkCheck.c:901:9: warning: variable 'prefixlen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: size_t prefixlen; BUILDSTDERR: ^~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SBTree.c: In function 'SearchBTreeRecord': BUILDSTDERR: SBTree.c:105:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("SearchBTreeRecord: bad record?"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SBTree.c: In function 'GetBTreeRecord': BUILDSTDERR: SBTree.c:213:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("GetBTreeRecord: bad record?"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SBTree.c: In function 'InsertBTreeRecord': BUILDSTDERR: SBTree.c:245:12: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("InsertBTreeRecord: bad record?"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SBTree.c: In function 'ReplaceBTreeRecord': BUILDSTDERR: SBTree.c:307:12: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("ReplaceBTreeRecord: bad record?"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SBTree.c: In function 'SetEndOfForkProc': BUILDSTDERR: SBTree.c:346:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("SetEndOfForkProc: minEOF is smaller than current size!"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: SBTree.c: In function 'CheckBTreeKey': BUILDSTDERR: SBTree.c:444:13: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] BUILDSTDERR: DebugStr("CheckBTreeKey: bad key length!"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from BTree.h:36, BUILDSTDERR: from SBTree.c:35: BUILDSTDERR: SRuntime.h:139:1: note: expected 'ConstStr255Param' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: DebugStr(ConstStr255Param debuggerMsg); BUILDSTDERR: ^~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SControl.c: In function 'CheckHFS': BUILDSTDERR: SControl.c:329:78: warning: comparison between pointer and integer BUILDSTDERR: if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { BUILDSTDERR: ^~ BUILDSTDERR: SControl.c: In function 'ScavSetUp': BUILDSTDERR: SControl.c:1094:9: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: OSErr err; BUILDSTDERR: ^~~ BUILDSTDERR: SControl.c: In function 'ScavTerm': BUILDSTDERR: SControl.c:1338:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: OSErr err; BUILDSTDERR: ^~~ BUILDSTDERR: SVerify2.c: In function 'CompareVolumeHeader': BUILDSTDERR: SVerify2.c:1400:12: warning: variable 'goodValue' set but not used [-Wunused-but-set-variable] BUILDSTDERR: UInt32 goodValue, badValue; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: SVerify1.c: In function 'RecordBadExtent': BUILDSTDERR: SVerify1.c:3543:10: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean isHFSPlus; BUILDSTDERR: ^~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SRepair.c: In function 'SearchExtentInVH': BUILDSTDERR: SRepair.c:4730:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: (*(HFSPlusExtentRecord *)fcb->fcbExtents16), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: SRepair.c: In function 'SearchExtentInCatalogBT': BUILDSTDERR: SRepair.c:4851:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: SRepair.c:4857:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SVerify1.c: In function 'IsJournalEmpty': BUILDSTDERR: SVerify1.c:343:12: warning: 'bsize' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: uint8_t block[bsize]; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SRebuildBTree.c: In function 'InitializeBTree': BUILDSTDERR: SRebuildBTree.c:572:13: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Boolean isHFSPlus = false; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/strings.h:144, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from SRuntime.h:35, BUILDSTDERR: from Scavenger.h:30, BUILDSTDERR: from SVerify1.c:34: BUILDSTDERR: In function 'bcopy', BUILDSTDERR: inlined from 'VLockedChk' at SVerify1.c:3457:3: BUILDSTDERR: /usr/include/bits/strings_fortified.h:25:10: warning: '__builtin_memcpy' forming offset [16, 28] is out of the bounds [0, 15] [-Warray-bounds] BUILDSTDERR: (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: SUtils.c: In function 'AllocMinorRepairOrder': BUILDSTDERR: SUtils.c:445:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else if ( fsckGetVerbosity(GPtr->context) >= kDebugLog ) BUILDSTDERR: ^~ BUILDSTDERR: SUtils.c:448:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if ( GPtr->RepLevel == repairLevelNoProblemsFound ) BUILDSTDERR: ^~ BUILDSTDERR: SUtils.c: In function 'CalculateItemCount': BUILDSTDERR: SUtils.c:2009:19: warning: variable 'myVOPtr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: VolumeObjectPtr myVOPtr; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: SUtils.c: In function 'PrintName': BUILDSTDERR: SUtils.c:2374:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for ( i = 0; i < myCount; i++ ) BUILDSTDERR: ^~~ BUILDSTDERR: SUtils.c:2376:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: plog( "\n" ); BUILDSTDERR: ^~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from SRuntime.h:36, BUILDSTDERR: from Scavenger.h:30, BUILDSTDERR: from SRepair.c:34: BUILDSTDERR: In function 'snprintf', BUILDSTDERR: inlined from 'FixBadLinkChainFirst' at SRepair.c:873:9: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: In file included from /usr/include/strings.h:144, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from SRuntime.h:35, BUILDSTDERR: from BTree.h:36, BUILDSTDERR: from SExtents.c:36: BUILDSTDERR: In function 'bzero', BUILDSTDERR: inlined from 'DeallocateFile' at SExtents.c:694:3: BUILDSTDERR: /usr/include/bits/strings_fortified.h:31:10: warning: '__builtin___memset_chk' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] BUILDSTDERR: (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'bzero', BUILDSTDERR: inlined from 'DeallocateFile' at SExtents.c:697:3: BUILDSTDERR: /usr/include/bits/strings_fortified.h:31:10: warning: '__builtin___memset_chk' writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] BUILDSTDERR: (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 BUILDSTDERR: VolumeBitmapCheck.c:1119:13: warning: 'TrimExtent' defined but not used [-Wunused-function] BUILDSTDERR: static void TrimExtent(SGlobPtr g, UInt32 startBlock, UInt32 blockCount) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: VolumeBitmapCheck.c:1099:13: warning: 'TrimFlush' defined but not used [-Wunused-function] BUILDSTDERR: static void TrimFlush(void) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: VolumeBitmapCheck.c:1091:13: warning: 'TrimInit' defined but not used [-Wunused-function] BUILDSTDERR: static void TrimInit(void) BUILDSTDERR: ^~~~~~~~ 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' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.blbamA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 + cd diskdev_cmds-540.1.linux3 + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64///sbin + cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64///sbin/mkfs.hfsplus + cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64///sbin/fsck.hfsplus + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64//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 /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64///sbin + ln -s fsck.hfsplus fsck.hfs + cd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64//usr/share/man/man8 + ln -s fsck.hfsplus.8 fsck.hfs.8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 540.1.linux3-16.fc30 --unique-debug-suffix -540.1.linux3-16.fc30.riscv64 --unique-debug-src-base hfsplus-tools-540.1.linux3-16.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/diskdev_cmds-540.1.linux3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/sbin/fsck.hfsplus explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/sbin/mkfs.hfsplus extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/sbin/fsck.hfsplus extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/sbin/mkfs.hfsplus /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 3095 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hfsplus-tools-540.1.linux3-16.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nCpe4P + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + DOCDIR=/builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/usr/share/doc/hfsplus-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/usr/share/doc/hfsplus-tools + cp -pr apsl-2.0.txt /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64/usr/share/doc/hfsplus-tools + exit 0 Provides: hfsplus-tools = 540.1.linux3-16.fc30 hfsplus-tools(riscv-64) = 540.1.linux3-16.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Conflicts: hfsplusutils Processing files: hfsplus-tools-debugsource-540.1.linux3-16.fc30.riscv64 Provides: hfsplus-tools-debugsource = 540.1.linux3-16.fc30 hfsplus-tools-debugsource(riscv-64) = 540.1.linux3-16.fc30 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-16.fc30.riscv64 Provides: debuginfo(build-id) = 749b841972a81cc54a21d6886ac3465c178eada4 debuginfo(build-id) = b4b5813ec4bd33c08ed0cc8e5ff298742ca66a43 hfsplus-tools-debuginfo = 540.1.linux3-16.fc30 hfsplus-tools-debuginfo(riscv-64) = 540.1.linux3-16.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hfsplus-tools-debugsource(riscv-64) = 540.1.linux3-16.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 Wrote: /builddir/build/RPMS/hfsplus-tools-540.1.linux3-16.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debugsource-540.1.linux3-16.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debuginfo-540.1.linux3-16.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.io6EVJ + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-16.fc30.riscv64 + exit 0 Child return code was: 0