D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/hfsplusutils-1.0.4-17.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6A9ONh + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf hfsplus-1.0.4 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/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 + echo 'Patch #1 (hfsplusutils-1.0.4-errno.patch):' Patch #1 (hfsplusutils-1.0.4-errno.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/hpmkdir.c + echo 'Patch #2 (hfsplusutils-1.0.4-includes.patch):' Patch #2 (hfsplusutils-1.0.4-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfsp/src/unicode.c + echo 'Patch #3 (hfsplusutils-1.0.4-gcc4.patch):' 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 + echo 'Patch #4 (hfsplusutils-1.0.4-memset.patch):' Patch #4 (hfsplusutils-1.0.4-memset.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfsp/src/record.c + echo 'Patch #5 (hfsplus-1.0.4-automake-1.13.patch):' Patch #5 (hfsplus-1.0.4-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .automake-1_13 --fuzz=0 patching file configure.in + echo 'Patch #6 (hfsplus-1.0.4-duplicatedefs.patch):' Patch #6 (hfsplus-1.0.4-duplicatedefs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .duplicatedefs --fuzz=0 patching file libhfsp/src/blockiter.h patching file libhfsp/src/libhfsp.h patching file libhfsp/src/volume.h patching file src/darray.c patching file src/darray.h patching file src/dlist.h patching file src/dstring.h + sed -i -e 's/^CFLAGS\s/AM_CFLAGS /' libhfsp/src/Makefile.am src/Makefile.am + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.IRnwYj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd hfsplus-1.0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi 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') + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-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 x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking whether ln -s works... yes checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-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/x86_64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/x86_64-mageia-linux-gnu-nm -p) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... x86_64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... (cached) x86_64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-mageia-linux-gnu-nm -p output from x86_64-mageia-linux-gnu-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 x86_64-mageia-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 x86_64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-mageia-linux-gnu-gcc static flag -static works... no checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-mageia-linux-gnu-gcc linker (/usr/bin/ld -m elf_x86_64) 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 + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in libhfsp Making all in src make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hfstime.lo hfstime.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c hfstime.c -o hfstime.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libhfsp.lo libhfsp.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c libhfsp.c -o libhfsp.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o blockiter.lo blockiter.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c blockiter.c -o blockiter.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o os.lo os.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c os.c -o os.o 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; | ^ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o unicode.lo unicode.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c unicode.c -o unicode.o unicode.c: In function 'fast_unicode_compare': 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fscheck.lo fscheck.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fscheck.c -o fscheck.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partitions.lo partitions.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c partitions.c -o partitions.o partitions.c: In function 'splitCharArray': partitions.c:49:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 49 | memcpy( dest, *source, length); | ^~~~~~ partitions.c:49:3: warning: incompatible implicit declaration of built-in function 'memcpy' partitions.c:35:1: note: include '' or provide a declaration of 'memcpy' 34 | #include +++ |+#include 35 | 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:58:18: note: in expansion of macro 'bswabU16_inc' 58 | 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:59:21: note: in expansion of macro 'bswabU16_inc' 59 | 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:60:23: note: in expansion of macro 'bswabU32_inc' 60 | 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:61:23: note: in expansion of macro 'bswabU32_inc' 61 | 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:62:23: note: in expansion of macro 'bswabU32_inc' 62 | 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:65:23: note: in expansion of macro 'bswabU32_inc' 65 | 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:66:22: note: in expansion of macro 'bswabU32_inc' 66 | 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:67:23: note: in expansion of macro 'bswabU32_inc' 67 | 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:68:23: note: in expansion of macro 'bswabU32_inc' 68 | 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:69:23: note: in expansion of macro 'bswabU32_inc' 69 | 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:70:23: note: in expansion of macro 'bswabU32_inc' 70 | 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:71:23: note: in expansion of macro 'bswabU32_inc' 71 | 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:72:23: note: in expansion of macro 'bswabU32_inc' 72 | 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:73:23: note: in expansion of macro 'bswabU32_inc' 73 | 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:74:23: note: in expansion of macro 'bswabU32_inc' 74 | p->pmBootCksum = bswabU32_inc( buf); | ^~~~~~~~~~~~ partitions.c: In function 'partition_getPartitionMap': partitions.c:129:3: warning: incompatible implicit declaration of built-in function 'memcpy' 129 | memcpy( map->parray, &first, sizeof( Partition)); | ^~~~~~ partitions.c:129:3: note: include '' or provide a declaration of 'memcpy' partitions.c: In function 'partition_getStartBlock': partitions.c:164:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 164 | if( !strcmp( partitions[ i]->pmPartType, type)) { | ^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o btreecheck.lo btreecheck.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c btreecheck.c -o btreecheck.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; | ^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o btree.lo btree.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c btree.c -o btree.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o volume.lo volume.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c volume.c -o volume.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; | ^~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o record.lo record.c libtool: compile: x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c record.c -o record.o record.c: In function 'record_initDInfo': record.c:204:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 204 | memset(info, 0, sizeof(DInfo)); | ^~~~~~ record.c:204:5: warning: incompatible implicit declaration of built-in function 'memset' record.c:43:1: note: include '' or provide a declaration of 'memset' 42 | #include "swab.h" +++ |+#include 43 | record.c: In function 'record_initDXInfo': record.c:245:5: warning: incompatible implicit declaration of built-in function 'memset' 245 | memset(xinfo, 0, sizeof(DXInfo)); | ^~~~~~ record.c:245:5: note: include '' or provide a declaration of 'memset' record.c: In function 'record_initFXInfo': record.c:387:5: warning: incompatible implicit declaration of built-in function 'memset' 387 | memset(xinfo, 0, sizeof(FXInfo)); | ^~~~~~ record.c:387:5: note: include '' or provide a declaration of 'memset' record.c: In function 'record_init_string': record.c:657:5: warning: incompatible implicit declaration of built-in function 'memset' 657 | memset(r, 0, sizeof(record)); // **** Debugging only | ^~~~~~ record.c:657:5: note: include '' or provide a declaration of 'memset' record.c: In function 'record_delete': record.c:1207:22: warning: variable 'folderKey' set but not used [-Wunused-but-set-variable] 1207 | hfsp_cat_key folderKey; | ^~~~~~~~~ In file included from record.c:36: 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:1258:2: note: in expansion of macro 'HFSP_ERROR' 1258 | HFSP_ERROR(EEXIST, | ^~~~~~~~~~ record.c:1272:68: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1272 | fprintf(stderr,"Unexpected Buffer overflow in record_insert %d > %d", | ~^ | | | int | %ld 1273 | len, sizeof(bt->max_rec_size)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int record.c:1274:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 1274 | exit(-1); | ^~~~ record.c:1274:2: warning: incompatible implicit declaration of built-in function 'exit' record.c:43:1: note: include '' or provide a declaration of 'exit' 42 | #include "swab.h" +++ |+#include 43 | make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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: x86_64-mageia-linux-gnu-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: x86_64-mageia-linux-gnu-ranlib .libs/libhfsp.a libtool: link: ( cd ".libs" && rm -f "libhfsp.la" && ln -s "../libhfsp.la" "libhfsp.la" ) make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src' make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpumount.o hpumount.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dstring.o dstring.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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dlist.o dlist.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpmount.o hpmount.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpcache.o hpcache.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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o darray.o darray.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hfsputil.o hfsputil.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o glob.o glob.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpcd.o hpcd.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o crc.o crc.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpcopy.o hpcopy.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hppwd.o hppwd.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpfsck.o hpfsck.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o charset.o charset.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpmkdir.o hpmkdir.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hprm.o hprm.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o copyout.o copyout.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 *); | ^~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o binhex.o binhex.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpls.o hpls.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; | ^~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpumount hpumount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpumount hpumount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpcd hpcd.o dstring.o dlist.o glob.o hpcache.o hfsputil.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpcd hpcd.o dstring.o dlist.o glob.o hpcache.o hfsputil.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hppwd hppwd.o dstring.o hpcache.o hfsputil.o glob.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hppwd hppwd.o dstring.o hpcache.o hfsputil.o glob.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpmount hpmount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpmount hpmount.o hpcache.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpfsck hpfsck.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpfsck hpfsck.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a /usr/bin/ld: ../libhfsp/src/.libs/libhfsp.a(fscheck.o):/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here /usr/bin/ld: ../libhfsp/src/.libs/libhfsp.a(btreecheck.o):/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/libhfsp/src/fscheck.h:108: multiple definition of `fsck_data'; hpfsck.o:/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src/../libhfsp/src/fscheck.h:108: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:483: hpfsck] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hprm hprm.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hprm hprm.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpmkdir hpmkdir.o hpcache.o charset.o hfsputil.o glob.o dstring.o dlist.o ../libhfsp/src/.libs/libhfsp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o hpls hpls.o dstring.o dlist.o darray.o glob.o hpcache.o hfsputil.o ../libhfsp/src/libhfsp.la libtool: link: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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: x86_64-mageia-linux-gnu-gcc -O2 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/hfsplus-1.0.4/src' make[1]: *** [Makefile:411: all-recursive] Error 1 make: *** [Makefile:343: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.IRnwYj (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.IRnwYj (%build) I: [iurt_root_command] ERROR: chroot