D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/hfsplus-tools-540.1.linux3-1.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wSkEx2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf diskdev_cmds-540.1.linux3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/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 -f -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 + echo 'Patch #1 (hfsplus-tools-learn-to-stdarg.patch):' Patch #1 (hfsplus-tools-learn-to-stdarg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fsck_hfs.tproj/utilities.c + echo 'Patch #2 (hfsplus-tools-sysctl.patch):' Patch #2 (hfsplus-tools-sysctl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fsck_hfs.tproj/dfalib/Scavenger.h patching file fsck_hfs.tproj/fsck_hfs.c patching file fsck_hfs.tproj/utilities.c patching file newfs_hfs.tproj/makehfs.c + find . -type f -name '*.[ch]' -exec chmod -c -x '{}' + 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.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--) 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/SRebuildBTree.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + cp /home/pterjan/rpmbuild/SOURCES/apsl-2.0.txt . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.34OrCl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd diskdev_cmds-540.1.linux3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + /usr/bin/make -O -j12 V=1 VERBOSE=1 for d in newfs_hfs.tproj fsck_hfs.tproj; do /usr/bin/make -C $d -f Makefile.lnx all; done make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from hfs_endian.c:40: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [: hfs_endian.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from newfs_hfs.c:50: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [: newfs_hfs.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from makehfs.c:82: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [: makehfs.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' /usr/bin/make -C dfalib -f Makefile.lnx libdfa.a make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_strings.o fsck_strings.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from hfs_endian.c:38: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: hfs_endian.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs_strings.o fsck_hfs_strings.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from SRuntime.h:39, from BlockCache.c:27: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: BlockCache.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from SRuntime.h:39, from BTree.h:36, from BTree.c:37: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: BTree.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_debug.o fsck_debug.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from SRuntime.h:39, from BTree.h:36, from BTreePrivate.h:38, from BTreeAllocate.c:35: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: BTreeAllocate.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from SRuntime.h:39, from BTree.h:36, from BTreePrivate.h:38, from BTreeMiscOps.c:35: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: BTreeMiscOps.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from SRuntime.h:39, from BTree.h:36, from BTreePrivate.h:38, from BTreeNodeOps.c:35: /home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:773:10: fatal error: uuid/uuid.h: No such file or directory 773 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: BTreeNodeOps.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' make[1]: *** [Makefile.lnx:10: dfalib/libdfa.a] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs.o fsck_hfs.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | fgets (resp, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ fsck_messages.c: In function 'fsckPrintToString': fsck_messages.c:719:9: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 719 | vasprintf(&tmpstr, m->msg, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsck_messages.c:721:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | asprintf(&retval, "%s%s\n", astr, tmpstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/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 In file included from /usr/include/string.h:535, from utilities.c:70: In function 'strncat', inlined from 'rawname' at utilities.c:232:8: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 32 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o cache.o cache.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make: *** [Makefile:8: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.34OrCl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.34OrCl (%build) I: [iurt_root_command] ERROR: chroot