* Package: sys-fs/hfsplusutils-1.0.4-r2 * Repository: gentoo * Maintainer: soap@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hfsplus_1.0.4.src.tar.bz2 to /var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work >>> Source unpacked in /var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work >>> Preparing source in /var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4 ... * Applying hfsplusutils-1.0.4-glob.patch ... [ ok ] * Applying hfsplusutils-1.0.4-errno.patch ... [ ok ] * Applying hfsplusutils-1.0.4-gcc4.patch ... [ ok ] * Applying hfsplusutils-1.0.4-string.patch ... [ ok ] * Applying hfsplusutils-1.0.4-stdlib.patch ... [ ok ] * Applying hfsplusutils-1.0.4-cflags.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: hfsplus-1.0.4/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4 ... * econf: updating hfsplus-1.0.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hfsplus-1.0.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/hfsplusutils-1.0.4-r2 --htmldir=/usr/share/doc/hfsplusutils-1.0.4-r2/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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-pc-linux-gnu-gcc... x86_64-pc-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-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-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether ln -s works... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-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... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4' Making all in libhfsp make[2]: Entering directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4/libhfsp' Making all in src make[3]: Entering directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4/libhfsp/src' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o blockiter.lo blockiter.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c blockiter.c -fPIC -DPIC -o .libs/blockiter.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o btree.lo btree.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c btree.c -fPIC -DPIC -o .libs/btree.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o btreecheck.lo btreecheck.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c btreecheck.c -fPIC -DPIC -o .libs/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 /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o fscheck.lo fscheck.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c fscheck.c -fPIC -DPIC -o .libs/fscheck.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o hfstime.lo hfstime.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c hfstime.c -fPIC -DPIC -o .libs/hfstime.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o libhfsp.lo libhfsp.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c libhfsp.c -fPIC -DPIC -o .libs/libhfsp.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o os.lo os.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c os.c -fPIC -DPIC -o .libs/os.o os.c: In function ‘os_open’: os.c:110:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | *priv = (void *) fd; | ^ os.c: In function ‘os_close’: os.c:127:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 127 | int fd = (int) *priv; | ^ os.c: In function ‘os_same’: os.c:146:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 146 | int fd = (int) *priv; | ^ os.c: In function ‘os_seek’: os.c:167:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 167 | int fd = (int) *priv; | ^ os.c: In function ‘os_read’: os.c:190:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 190 | int fd = (int) *priv; | ^ os.c: In function ‘os_write’: os.c:212:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 212 | int fd = (int) *priv; | ^ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o unicode.lo unicode.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c unicode.c -fPIC -DPIC -o .libs/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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o record.lo record.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c record.c -fPIC -DPIC -o .libs/record.o record.c: In function ‘record_insert’: record.c:1274:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 1274 | fprintf(stderr,"Unexpected Buffer overflow in record_insert %d > %d", | ~^ | | | int | %ld 1275 | len, sizeof(bt->max_rec_size)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o volume.lo volume.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c volume.c -fPIC -DPIC -o .libs/volume.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c -o partitions.lo partitions.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -fgnu89-inline -c partitions.c -fPIC -DPIC -o .libs/partitions.o /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fgnu89-inline -Wl,-O1 -Wl,--as-needed -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-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/blockiter.o .libs/btree.o .libs/btreecheck.o .libs/fscheck.o .libs/hfstime.o .libs/libhfsp.o .libs/os.o .libs/unicode.o .libs/record.o .libs/volume.o .libs/partitions.o -Wl,--as-needed -O2 -march=native -Wl,-O1 -Wl,-soname -Wl,libhfsp.so.0 -o .libs/libhfsp.so.0.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/fscheck.o:(.bss+0x0): multiple definition of `fsck_data'; .libs/btreecheck.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:427: libhfsp.la] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4/libhfsp/src' make[2]: *** [Makefile:358: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4/libhfsp' make[1]: *** [Makefile:411: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4' make: *** [Makefile:343: all] Error 2 * ERROR: sys-fs/hfsplusutils-1.0.4-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/hfsplusutils-1.0.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/hfsplusutils-1.0.4-r2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:hfsplusutils-1.0.4-r2:20200131-221829.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4' * S: '/var/tmp/portage/sys-fs/hfsplusutils-1.0.4-r2/work/hfsplus-1.0.4'