Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hfsplusutils.spec'], chrootPath='/var/lib/mock/f33-build-208741-48362/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hfsplusutils.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 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/hfsplusutils-1.0.4-31.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsplusutils.spec'], chrootPath='/var/lib/mock/f33-build-208741-48362/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsplusutils.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 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N5bBE3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hfsplus-1.0.4 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/hfsplus_1.0.4.src.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hfsplus-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (hfsplusutils-1.0.4-nullisnotachar.patch):' Patch #0 (hfsplusutils-1.0.4-nullisnotachar.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/glob.c Patch #1 (hfsplusutils-1.0.4-errno.patch): + echo 'Patch #1 (hfsplusutils-1.0.4-errno.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/hpmkdir.c Patch #2 (hfsplusutils-1.0.4-includes.patch): + echo 'Patch #2 (hfsplusutils-1.0.4-includes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfsp/src/unicode.c Patch #3 (hfsplusutils-1.0.4-gcc4.patch): + echo 'Patch #3 (hfsplusutils-1.0.4-gcc4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfsp/src/btree.c patching file libhfsp/src/swab.h patching file libhfsp/src/btreecheck.c patching file libhfsp/src/fscheck.c patching file libhfsp/src/volume.c Patch #4 (hfsplusutils-1.0.4-memset.patch): + echo 'Patch #4 (hfsplusutils-1.0.4-memset.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfsp/src/record.c patching file libhfsp/src/partitions.c patching file libhfsp/src/record.c + sed -i -e 's/^CFLAGS\s/AM_CFLAGS /' libhfsp/src/Makefile.am src/Makefile.am + autoreconf -i aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:33: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:33: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:46: installing './compile' configure.in:27: installing './config.guess' configure.in:27: installing './config.sub' configure.in:33: installing './install-sh' configure.in:33: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' libhfsp/src/Makefile.am: installing './depcomp' libhfsp/test/Makefile.am:31: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g3c030 + umask 022 + cd /builddir/build/BUILD + cd hfsplus-1.0.4 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-shared --disable-dependency-tracking '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 -std=gnu89' checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for working memcmp... yes checking for mktime... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating libhfsp/Makefile config.status: creating libhfsp/src/Makefile config.status: creating libhfsp/test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/hfsplus-1.0.4' Making all in libhfsp make[2]: Entering directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp' Making all in src make[3]: Entering directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o blockiter.lo blockiter.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o btree.lo btree.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o btreecheck.lo btreecheck.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o fscheck.lo fscheck.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c fscheck.c -o fscheck.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c blockiter.c -o blockiter.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c btreecheck.c -o btreecheck.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c btree.c -o btree.o btreecheck.c: In function 'fscheck_record_init': btreecheck.c:901:6: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] 901 | "Unexpected difference in Node %d, Record %d " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 902 | ": %d (%d/%d) (%p,%p)\n", 903 | r->node_index, index, diff , p - p1, p2 - p1, p, p2); | ~~~~~~ | | | long int btreecheck.c:902:14: note: format string is defined here 902 | ": %d (%d/%d) (%p,%p)\n", | ~^ | | | int | %ld btreecheck.c:901:6: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat=] 901 | "Unexpected difference in Node %d, Record %d " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 902 | ": %d (%d/%d) (%p,%p)\n", 903 | r->node_index, index, diff , p - p1, p2 - p1, p, p2); | ~~~~~~~ | | | long int btreecheck.c:902:17: note: format string is defined here 902 | ": %d (%d/%d) (%p,%p)\n", | ~^ | | | int | %ld btreecheck.c: In function 'fscheck_record_next': btreecheck.c:919:12: warning: variable 'parent' set but not used [-Wunused-but-set-variable] 919 | UInt32 parent; | ^~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o hfstime.lo hfstime.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c hfstime.c -o hfstime.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o libhfsp.lo libhfsp.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o os.lo os.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c libhfsp.c -o libhfsp.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o unicode.lo unicode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c os.c -o os.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o record.lo record.c os.c: In function 'os_open': os.c:88:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 88 | exit(1); | ^~~~ os.c:88:4: warning: incompatible implicit declaration of built-in function 'exit' os.c:58:1: note: include '' or provide a declaration of 'exit' 57 | # include "os.h" +++ |+#include 58 | os.c:109:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 109 | *priv = (void *) fd; | ^ os.c: In function 'os_close': os.c:126:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 126 | int fd = (int) *priv; | ^ os.c: In function 'os_same': os.c:145:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 145 | int fd = (int) *priv; | ^ os.c: In function 'os_seek': os.c:166:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 166 | int fd = (int) *priv; | ^ os.c: In function 'os_read': os.c:189:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 189 | int fd = (int) *priv; | ^ os.c: In function 'os_write': os.c:211:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 211 | int fd = (int) *priv; | ^ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o volume.lo volume.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c unicode.c -o unicode.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c record.c -o record.o unicode.c: In function 'fast_unicode_compare': /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c -o partitions.lo partitions.c unicode.c:106:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | register UInt16* str1 = ustr1->name; | ^~~~~ unicode.c:107:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | register UInt16* str2 = ustr2->name; | ^~~~~ unicode.c: In function 'unicode_uni2asc': unicode.c:83:5: warning: ignoring return value of 'wcrtomb' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | wcrtomb(astr, 0, &mbstate); // care about rest of state | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c volume.c -o volume.o record.c: In function 'record_delete': record.c:1208:22: warning: variable 'folderKey' set but not used [-Wunused-but-set-variable] 1208 | hfsp_cat_key folderKey; | ^~~~~~~~~ In file included from record.c:37: record.c: In function 'record_insert': libhfsp.h:39:21: warning: operation on 'hfsp_error' may be undefined [-Wsequence-point] 39 | do { hfsp_error = (str), errno = (code); goto fail; } while (0) | ~~~~~~~~~~~^~~~~~~ record.c:1259:2: note: in expansion of macro 'HFSP_ERROR' 1259 | HFSP_ERROR(EEXIST, | ^~~~~~~~~~ record.c:1273:68: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1273 | fprintf(stderr,"Unexpected Buffer overflow in record_insert %d > %d", | ~^ | | | int | %ld 1274 | len, sizeof(bt->max_rec_size)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int record.c:1275:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 1275 | exit(-1); | ^~~~ record.c:1275:2: warning: incompatible implicit declaration of built-in function 'exit' record.c:44:1: note: include '' or provide a declaration of 'exit' 43 | #include "swab.h" +++ |+#include 44 | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -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 -std=gnu89 -c partitions.c -o partitions.o volume.c: In function 'volume_open': volume.c:482:13: warning: variable 'shift' set but not used [-Wunused-but-set-variable] 482 | int shift; | ^~~~~ In file included from swab.h:28, from partitions.c:29: partitions.c: In function 'partition_fillstruct': swab.h:39:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 39 | #define bswabU16_inc(ptr) bswap_16(*(*((UInt16**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:59:18: note: in expansion of macro 'bswabU16_inc' 59 | p->pmSig = bswabU16_inc( buf); | ^~~~~~~~~~~~ swab.h:39:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 39 | #define bswabU16_inc(ptr) bswap_16(*(*((UInt16**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:60:21: note: in expansion of macro 'bswabU16_inc' 60 | p->pmSigPad = bswabU16_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:61:23: note: in expansion of macro 'bswabU32_inc' 61 | p->pmMapBlkCnt = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:62:23: note: in expansion of macro 'bswabU32_inc' 62 | p->pmPyPartStart = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:63:23: note: in expansion of macro 'bswabU32_inc' 63 | p->pmPartBlkCnt = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:66:23: note: in expansion of macro 'bswabU32_inc' 66 | p->pmLgDataStart = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:67:22: note: in expansion of macro 'bswabU32_inc' 67 | p->pmDataCnt = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:68:23: note: in expansion of macro 'bswabU32_inc' 68 | p->pmPartStatus = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:69:23: note: in expansion of macro 'bswabU32_inc' 69 | p->pmLgBootStart = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:70:23: note: in expansion of macro 'bswabU32_inc' 70 | p->pmBootSize = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:71:23: note: in expansion of macro 'bswabU32_inc' 71 | p->pmBootAddr = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:72:23: note: in expansion of macro 'bswabU32_inc' 72 | p->pmBootAddr2 = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:73:23: note: in expansion of macro 'bswabU32_inc' 73 | p->pmBootEntry = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:74:23: note: in expansion of macro 'bswabU32_inc' 74 | p->pmBootEntry2 = bswabU32_inc( buf); | ^~~~~~~~~~~~ swab.h:40:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 40 | #define bswabU32_inc(ptr) bswap_32(*(*((UInt32**) (void *)(&ptr)))++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.c:75:23: note: in expansion of macro 'bswabU32_inc' 75 | p->pmBootCksum = bswabU32_inc( buf); | ^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libhfsp.la -rpath /usr/lib64 blockiter.lo btree.lo btreecheck.lo fscheck.lo hfstime.lo libhfsp.lo os.lo unicode.lo record.lo volume.lo partitions.lo libtool: link: ar cru .libs/libhfsp.a blockiter.o btree.o btreecheck.o fscheck.o hfstime.o libhfsp.o os.o unicode.o record.o volume.o partitions.o libtool: link: ranlib .libs/libhfsp.a libtool: link: ( cd ".libs" && rm -f "libhfsp.la" && ln -s "../libhfsp.la" "libhfsp.la" ) make[3]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp' make[2]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4/libhfsp' Making all in src make[2]: Entering directory '/builddir/build/BUILD/hfsplus-1.0.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpmount.o hpmount.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpcache.o hpcache.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hfsputil.o hfsputil.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o glob.o glob.c In file included from /usr/include/string.h:495, from hpcache.c:34: In function 'strncpy', inlined from 'hpcache_open' at hpcache.c:152:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o dstring.o dstring.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o dlist.o dlist.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpumount.o hpumount.c In file included from /usr/include/string.h:495, from dstring.c:35: In function 'strncpy', inlined from 'dstring_copy' at dstring.c:66:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpls.o hpls.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o darray.o darray.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpcd.o hpcd.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpcopy.o hpcopy.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o charset.o charset.c hpls.c: In function 'outpath': hpls.c:335:11: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 335 | for (ptr = path; *ptr; ++ptr) | ^ hpls.c: In function 'process': hpls.c:783:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] 783 | int len; | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o copyout.o copyout.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o binhex.o binhex.c copyout.c: In function 'do_macb': copyout.c:147:30: warning: pointer targets in passing argument 1 of 'unicode_uni2asc' differ in signedness [-Wpointer-sign] 147 | buf[1] = unicode_uni2asc(&buf[2], &ifile->key.name, 63); | ^~~~~~~ | | | unsigned char * In file included from copyout.c:53: ../libhfsp/src/unicode.h:23:27: note: expected 'char *' but argument is of type 'unsigned char *' 23 | int unicode_uni2asc(char *astr, const hfsp_unistr255 *ustr, int maxlen); | ~~~~~~^~~~ copyout.c: In function 'binhx': copyout.c:273:28: warning: pointer targets in passing argument 1 of 'unicode_uni2asc' differ in signedness [-Wpointer-sign] 273 | byte = unicode_uni2asc(name, &ifile->key.name, 255); | ^~~~ | | | unsigned char * In file included from copyout.c:53: ../libhfsp/src/unicode.h:23:27: note: expected 'char *' but argument is of type 'unsigned char *' 23 | int unicode_uni2asc(char *astr, const hfsp_unistr255 *ustr, int maxlen); | ~~~~~~^~~~ copyout.c: In function 'do_text': copyout.c:377:32: warning: passing argument 2 of 'cs_latin1' from incompatible pointer type [-Wincompatible-pointer-types] 377 | latin1 = ptr = cs_latin1(buf, &size); | ^~~~~ | | | size_t * {aka long unsigned int *} In file included from copyout.c:57: charset.h:38:25: note: expected 'int *' but argument is of type 'size_t *' {aka 'long unsigned int *'} 38 | char *cs_latin1(char *, int *); | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o crc.o crc.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hppwd.o hppwd.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpfsck.o hpfsck.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hprm.o hprm.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -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 -std=gnu89 -c -o hpmkdir.o hpmkdir.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmount hpmount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpumount hpumount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpcd hpcd.o dstring.o dlist.o glob.o hpcache.o hfsputil.o ../libhfsp/src/libhfsp.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpcopy hpcopy.o hpcache.o charset.o copyout.o binhex.o crc.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmount hpmount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpumount hpumount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hppwd hppwd.o dstring.o hpcache.o hfsputil.o glob.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpcopy hpcopy.o hpcache.o charset.o copyout.o binhex.o crc.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpcd hpcd.o dstring.o dlist.o glob.o hpcache.o hfsputil.o ../libhfsp/src/.libs/libhfsp.a /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpfsck hpfsck.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hprm hprm.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hppwd hppwd.o dstring.o hpcache.o hfsputil.o glob.o dlist.o ../libhfsp/src/.libs/libhfsp.a libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpfsck hpfsck.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -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 -std=gnu89 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpls hpls.o dstring.o dlist.o darray.o glob.o hpcache.o hfsputil.o ../libhfsp/src/libhfsp.la libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hprm hprm.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a /usr/bin/ld: ../libhfsp/src/.libs/libhfsp.a(fscheck.o): in function `.LANCHOR0': /builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/builddir/build/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here /usr/bin/ld: libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a ../libhfsp/src/.libs/libhfsp.a(btreecheck.o): in function `.LANCHOR0': /builddir/build/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/builddir/build/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:482: hpfsck] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: gcc -O2 -Wall -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 -std=gnu89 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hpls hpls.o dstring.o dlist.o darray.o glob.o hpcache.o hfsputil.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4/src' make[1]: *** [Makefile:410: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/hfsplus-1.0.4' make: *** [Makefile:342: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.g3c030 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.g3c030 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsplusutils.spec