Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], env={'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135uid=1001timeout=0chrootPath='/var/lib/mock/epel-7-ppc64le-mockbuilder-14614/root'logger=shell=FalseprintOutput=Falseuser='mockbuild'nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-678280072.novalocal Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-10.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], env={'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135uid=1001timeout=0chrootPath='/var/lib/mock/epel-7-ppc64le-mockbuilder-14614/root'logger=shell=FalseprintOutput=Falseuser='mockbuild'nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aTevtp + 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 -xf - + 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/cat /builddir/build/SOURCES/hfsplus-tools-no-blocks.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/hfsplus-tools-learn-to-stdarg.patch + /usr/bin/patch -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/SRebuildBTree.c' 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--) 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/hfs_endian.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/HardLinkCheck.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.K2owQh + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + make -j2 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 makehfs.c: In function 'make_hfsplus': makehfs.c:219:11: warning: variable 'sectorsPerNode' set but not used [-Wunused-but-set-variable] UInt32 sectorsPerNode; ^ makehfs.c: In function 'WriteBuffer': makehfs.c:1383:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' [-Wformat=] err(1, "read (sector %llu)", physSector); ^ makehfs.c:1386:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' [-Wformat=] err(1, "write (sector %llu)", physSector); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 newfs_hfs.c: In function 'main': newfs_hfs.c:206:7: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' [-Wformat=] progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); ^ newfs_hfs.c: In function 'hfsplus_params': newfs_hfs.c:907:10: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' [-Wformat=] progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); ^ newfs_hfs.c:1057:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 fsck_hfs.c: In function 'mountpoint': fsck_hfs.c:318:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ fsck_hfs.c:317:6: warning: unused variable 'result' [-Wunused-variable] int result; ^ fsck_hfs.c:315:17: warning: unused variable 'fsinfo' [-Wunused-variable] struct statfs *fsinfo; ^ fsck_hfs.c: In function 'checkfilesys': fsck_hfs.c:358:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int flags; ^ fsck_hfs.c: In function 'setup': fsck_hfs.c:722:7: warning: unused variable 'rv' [-Wunused-variable] int rv; ^ fsck_hfs.c:721:10: warning: unused variable 'dsize' [-Wunused-variable] size_t dsize = sizeof(memSize); ^ In file included from /usr/include/string.h:638:0, from utilities.c:70: In function 'strncat', inlined from 'rawname' at utilities.c:232:2: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 fsck_messages.c: In function 'fsckAskPrompt': fsck_messages.c:517:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (resp, 80, stdin); ^ fsck_messages.c: In function 'fsckPrintToString': fsck_messages.c:719:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] vasprintf(&tmpstr, m->msg, ap); ^ fsck_messages.c:721:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&retval, "%s%s\n", astr, tmpstr); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 BTreeMiscOps.c: In function 'TrySimpleReplace': BTreeMiscOps.c:498:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] Boolean didItFit; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 BTreeTreeOps.c: In function 'InsertLevel': BTreeTreeOps.c:441:4: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("InsertLevel: New root from primary key, update from secondary key..."); ^ In file included from BTree.h:36:0, from BTreePrivate.h:38, from BTreeTreeOps.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ BTreeTreeOps.c: In function 'InsertNode': BTreeTreeOps.c:567:13: warning: variable 'rightNodeNum' set but not used [-Wunused-but-set-variable] UInt32 rightNodeNum; ^ BTreeTreeOps.c: In function 'AddNewRootNode': BTreeTreeOps.c:1245:13: warning: variable 'didItFit' set but not used [-Wunused-but-set-variable] Boolean didItFit; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 CatalogCheck.c: In function 'RecordTruncation': CatalogCheck.c:1696:2: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(oldSizeStr, "%qd", oldSize); ^ CatalogCheck.c:1697:2: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(newSizeStr, "%qd", newSize); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 HardLinkCheck.c: In function 'RepairHardLinkChains': HardLinkCheck.c:557:9: warning: variable 'folderID' set but not used [-Wunused-but-set-variable] UInt32 folderID; ^ HardLinkCheck.c: In function 'CheckHardLinks': HardLinkCheck.c:901:9: warning: variable 'prefixlen' set but not used [-Wunused-but-set-variable] size_t prefixlen; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SBTree.c: In function 'SearchBTreeRecord': SBTree.c:105:4: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("SearchBTreeRecord: bad record?"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c: In function 'GetBTreeRecord': SBTree.c:213:4: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("GetBTreeRecord: bad record?"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c: In function 'InsertBTreeRecord': SBTree.c:245:3: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("InsertBTreeRecord: bad record?"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c: In function 'ReplaceBTreeRecord': SBTree.c:307:3: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("ReplaceBTreeRecord: bad record?"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c: In function 'SetEndOfForkProc': SBTree.c:346:4: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("SetEndOfForkProc: minEOF is smaller than current size!"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c: In function 'CheckBTreeKey': SBTree.c:444:4: warning: pointer targets in passing argument 1 of 'DebugStr' differ in signedness [-Wpointer-sign] DebugStr("CheckBTreeKey: bad key length!"); ^ In file included from BTree.h:36:0, from SBTree.c:35: SRuntime.h:139:1: note: expected 'ConstStr255Param' but argument is of type 'char *' DebugStr(ConstStr255Param debuggerMsg); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SControl.c: In function 'CheckHFS': SControl.c:329:78: warning: comparison between pointer and integer [enabled by default] if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { ^ SControl.c: In function 'ScavSetUp': SControl.c:1094:9: warning: variable 'err' set but not used [-Wunused-but-set-variable] OSErr err; ^ SControl.c: In function 'ScavTerm': SControl.c:1338:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] OSErr err; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SVerify1.c: In function 'RecordBadExtent': SVerify1.c:3543:10: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] Boolean isHFSPlus; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SVerify2.c: In function 'CompareVolumeHeader': SVerify2.c:1400:12: warning: variable 'goodValue' set but not used [-Wunused-but-set-variable] UInt32 goodValue, badValue; ^ SVerify1.c: In function 'IsJournalEmpty': SVerify1.c:373:10: warning: 'bsize' may be used uninitialized in this function [-Wmaybe-uninitialized] plog("Only read %zd bytes from journal (expected %zd)", nread, bsize); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SRepair.c: In function 'FixBSDInfo': SRepair.c:2302:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] utf_encodestr(((HFSUniStr255 *)&p->name)->unicode, ^ SRepair.c:2303:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((HFSUniStr255 *)&p->name)->length << 1, filename, &namelen, sizeof(filename)); ^ SRepair.c: In function 'SearchExtentInVH': SRepair.c:4730:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (*(HFSPlusExtentRecord *)fcb->fcbExtents16), ^ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4851:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), ^ SRepair.c:4857:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 SRebuildBTree.c: In function 'InitializeBTree': SRebuildBTree.c:572:13: warning: variable 'isHFSPlus' set but not used [-Wunused-but-set-variable] Boolean isHFSPlus = false; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 In file included from /usr/include/stdio.h:937:0, from SRuntime.h:36, from Scavenger.h:30, from SRepair.c:34: In function 'snprintf', inlined from 'FixBadLinkChainFirst' at SRepair.c:873:3: /usr/include/bits/stdio2.h:64:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer [enabled by default] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^ SUtils.c: In function 'CalculateItemCount': SUtils.c:2009:19: warning: variable 'myVOPtr' set but not used [-Wunused-but-set-variable] VolumeObjectPtr myVOPtr; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 VolumeBitmapCheck.c:1091:13: warning: 'TrimInit' defined but not used [-Wunused-function] static void TrimInit(void) ^ VolumeBitmapCheck.c:1099:13: warning: 'TrimFlush' defined but not used [-Wunused-function] static void TrimFlush(void) ^ VolumeBitmapCheck.c:1119:13: warning: 'TrimExtent' defined but not used [-Wunused-function] static void TrimExtent(SGlobPtr g, UInt32 startBlock, UInt32 blockCount) ^ 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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.rhtmrc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le ++ dirname /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le + cd diskdev_cmds-540.1.linux3 + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le///sbin + cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le///sbin/mkfs.hfsplus + cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le///sbin/fsck.hfsplus + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le//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-10.el7.centos.ppc64le///sbin + ln -s fsck.hfsplus fsck.hfs + cd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le//usr/share/man/man8 + ln -s fsck.hfsplus.8 fsck.hfs.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/diskdev_cmds-540.1.linux3 extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le/sbin/fsck.hfsplus extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le/sbin/mkfs.hfsplus /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/sbin/fsck.hfsplus.debug to /usr/lib/debug/sbin/fsck.hfs.debug 3095 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oH4Af7 + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + DOCDIR=/builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le/usr/share/doc/hfsplus-tools-540.1.linux3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le/usr/share/doc/hfsplus-tools-540.1.linux3 + cp -pr apsl-2.0.txt /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le/usr/share/doc/hfsplus-tools-540.1.linux3 + exit 0 Provides: hfsplus-tools = 540.1.linux3-10.el7.centos hfsplus-tools(ppc-64) = 540.1.linux3-10.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Conflicts: hfsplusutils Processing files: hfsplus-tools-debuginfo-540.1.linux3-10.el7.centos.ppc64le Provides: hfsplus-tools-debuginfo = 540.1.linux3-10.el7.centos hfsplus-tools-debuginfo(ppc-64) = 540.1.linux3-10.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le warning: Could not canonicalize hostname: copr-builder-678280072.novalocal Wrote: /builddir/build/RPMS/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debuginfo-540.1.linux3-10.el7.centos.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uSQVXR + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-10.el7.centos.ppc64le + exit 0 Child return code was: 0