Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/hfsplus-tools-540.1.linux3-4.el7-20180823103536-2365/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'], chrootPath='/var/lib/mock/hfsplus-tools-540.1.linux3-4.el7-20180823103536-2365/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/hfsplus-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lVZSx3 + 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 . + find . -type f -name '*.[ch]' -exec chmod -c -x '{}' + mode of './fsck_hfs.tproj/dfalib/HardLinkCheck.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/BTreeScanner.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fsck_hfs.tproj/dfalib/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/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.TerLYQ + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + make -j40 -f Makefile for d in BlocksRunTime 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/BlocksRunTime' clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 data.o data.c clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 runtime.o runtime.c runtime.c:72:22: warning: unused function 'OSAtomicCompareAndSwapLong' [-Wunused-function] static __inline bool OSAtomicCompareAndSwapLong(long oldl, long newl, long volatile *dst) { ^ 1 warning generated. ar rc libBlocksRunTime.a data.o runtime.o make[1]: Leaving directory `/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime' make[1]: Entering directory `/builddir/build/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 -L/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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' clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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' clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 utilities.c:228:29: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] (void)strncat(rawbuf, "/", sizeof(rawbuf)); ^~~~~~~~~~~~~~ utilities.c:228:29: note: change the argument to be the free space in the destination buffer minus the terminating null byte (void)strncat(rawbuf, "/", sizeof(rawbuf)); ^~~~~~~~~~~~~~ sizeof(rawbuf) - strlen(rawbuf) - 1 utilities.c:232:32: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] (void)strncat(rawbuf, &dp[1], sizeof(rawbuf)); ^~~~~~~~~~~~~~ utilities.c:232:32: note: change the argument to be the free space in the destination buffer minus the terminating null byte (void)strncat(rawbuf, &dp[1], sizeof(rawbuf)); ^~~~~~~~~~~~~~ sizeof(rawbuf) - strlen(rawbuf) - 1 cache.c:171:102: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf ("\tCache size should be greater than %uM and less than %luM\n", MinCacheSize/(1024*1024), max_size_t/(1024*1024)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~ %u fsck_hfs.c:315:17: warning: unused variable 'fsinfo' [-Wunused-variable] struct statfs *fsinfo; ^ fsck_hfs.c:317:6: warning: unused variable 'result' [-Wunused-variable] int result; ^ fsck_hfs.c:318:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ fsck_hfs.c:721:10: warning: unused variable 'dsize' [-Wunused-variable] size_t dsize = sizeof(memSize); ^ fsck_hfs.c:722:7: warning: unused variable 'rv' [-Wunused-variable] int rv; ^ BTreeTreeOps.c:441:13: warning: passing 'char [69]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("InsertLevel: New root from primary key, update from secondary key..."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ cache.c:1241:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (result < 0) return (errno); ~~~~~~ ^ ~ cache.c:1245:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (result < 0) return (errno); ~~~~~~ ^ ~ cache.c:1269:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (result < 0) return (errno); ~~~~~~ ^ ~ cache.c:1274:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (result < 0) return (errno); ~~~~~~ ^ ~ SStubs.c:121:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (byteCount < 0) ~~~~~~~~~ ^ ~ SStubs.c:160:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (!h || newSize < 0) ~~~~~~~ ^ ~ 5 warnings generated. SBTree.c:105:13: warning: passing 'char [31]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("SearchBTreeRecord: bad record?"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ 2 warnings generated. SUtils.c:77:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (utf8plen < 0) ~~~~~~~~ ^ ~ SUtils.c:83:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (utf8plen < 0) ~~~~~~~~ ^ ~ 2 warnings generated. SControl.c:324:78: warning: comparison between pointer and integer ('char *' and 'unsigned int') if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ SBTree.c:213:13: warning: passing 'char [28]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("GetBTreeRecord: bad record?"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c:245:12: warning: passing 'char [31]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("InsertBTreeRecord: bad record?"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c:307:12: warning: passing 'char [32]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("ReplaceBTreeRecord: bad record?"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c:346:13: warning: passing 'char [55]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("SetEndOfForkProc: minEOF is smaller than current size!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c:444:13: warning: passing 'char [31]' to parameter of type 'ConstStr255Param' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] DebugStr("CheckBTreeKey: bad key length!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SRuntime.h:139:27: note: passing argument to parameter 'debuggerMsg' here DebugStr(ConstStr255Param debuggerMsg); ^ SBTree.c:505:46: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ( (catalogRecord->hfsPlusFolder.flags && (kHFSFileLockedMask | kHFSThreadExistsMask)) != 0 ) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SBTree.c:505:46: note: use '&' for a bitwise operation if ( (catalogRecord->hfsPlusFolder.flags && (kHFSFileLockedMask | kHFSThreadExistsMask)) != 0 ) ^~ & SBTree.c:505:46: note: remove constant to silence this warning if ( (catalogRecord->hfsPlusFolder.flags && (kHFSFileLockedMask | kHFSThreadExistsMask)) != 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. VolumeBitmapCheck.c:1091:13: warning: unused function 'TrimInit' [-Wunused-function] static void TrimInit(void) ^ VolumeBitmapCheck.c:1099:13: warning: unused function 'TrimFlush' [-Wunused-function] static void TrimFlush(void) ^ VolumeBitmapCheck.c:1119:13: warning: unused function 'TrimExtent' [-Wunused-function] static void TrimExtent(SGlobPtr g, UInt32 startBlock, UInt32 blockCount) ^ 1 warning generated. 5 warnings generated. 1 warning generated. 3 warnings generated. 2 warnings generated. 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' clang -g3 -Wall -fblocks -I/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime -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 -L/builddir/build/BUILD/diskdev_cmds-540.1.linux3/BlocksRunTime 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 -lBlocksRunTime -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.uS0CxF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 ++ dirname /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 + cd diskdev_cmds-540.1.linux3 + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386///sbin + cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386///sbin/mkfs.hfsplus + cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386///sbin/fsck.hfsplus + mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386//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-4.el7.i386///sbin + ln -s fsck.hfsplus fsck.hfs + cd /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386//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-4.el7.i386/sbin/fsck.hfsplus extracting debug info from /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386/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 3137 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-4.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R5Es8u + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + DOCDIR=/builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386/usr/share/doc/hfsplus-tools-540.1.linux3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386/usr/share/doc/hfsplus-tools-540.1.linux3 + cp -pr apsl-2.0.txt /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386/usr/share/doc/hfsplus-tools-540.1.linux3 + exit 0 Provides: hfsplus-tools = 540.1.linux3-4.el7 hfsplus-tools(x86-32) = 540.1.linux3-4.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(libcrypto.so.10) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.3.2) rtld(GNU_HASH) Conflicts: hfsplusutils Processing files: hfsplus-tools-debuginfo-540.1.linux3-4.el7.i686 Provides: hfsplus-tools-debuginfo = 540.1.linux3-4.el7 hfsplus-tools-debuginfo(x86-32) = 540.1.linux3-4.el7 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-4.el7.i386 Wrote: /builddir/build/RPMS/hfsplus-tools-540.1.linux3-4.el7.i686.rpm Wrote: /builddir/build/RPMS/hfsplus-tools-debuginfo-540.1.linux3-4.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mdtOh1 + umask 022 + cd /builddir/build/BUILD + cd diskdev_cmds-540.1.linux3 + rm -rf /builddir/build/BUILDROOT/hfsplus-tools-540.1.linux3-4.el7.i386 + exit 0 Child return code was: 0