* Package: dev-libs/libtar-1.2.20-r5:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU zlib * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libtar-1.2.20.tar.gz to /var/tmp/portage/dev-libs/libtar-1.2.20-r5/work >>> Source unpacked in /var/tmp/portage/dev-libs/libtar-1.2.20-r5/work >>> Preparing source in /var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar ... * Applying libtar-1.2.11-free.patch ... [ ok ] * Applying libtar-1.2.11-impl-dec.patch ... [ ok ] * Applying CVE-2013-4420.patch ... [ ok ] * Applying libtar-1.2.20-fd-leaks.patch ... [ ok ] * Applying libtar-1.2.20-tar_open-memleak.patch ... [ ok ] * Applying libtar-1.2.20-bin-memleaks.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I autoconf --system-acdir=/var/tmp/portage/dev-libs/libtar-1.2.20-r5/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: libtar/ * Running elibtoolize in: libtar/autoconf/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar ... * econf: updating libtar/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libtar/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libtar/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libtar/autoconf/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libtar-1.2.20-r5 --htmldir=/usr/share/doc/libtar-1.2.20-r5/html --with-sysroot=/ --libdir=/usr/lib64 --disable-encap --disable-epkg-install --with-zlib checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free 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 supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... unsupported checking for clang option to enable C99 features... unsupported checking for clang option to enable C89 features... unsupported checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for strlcpy... no checking for strsep... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether the compiler supports GNU C... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to enable C11 features... (cached) unsupported checking for clang option to enable C99 features... (cached) unsupported checking for clang option to enable C89 features... (cached) unsupported checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-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 whether ln -s works... yes 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/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file 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... x86_64-pc-linux-gnu-dlltool 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... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang 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 clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-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 whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for thread local storage (TLS) class... __thread checking for egrep... (cached) /bin/grep -E checking for unistd.h... (cached) yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for major_t... no checking for minor_t... no checking for dev_t... yes checking for socklen_t... yes checking for uint64_t... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking how to run the C preprocessor... clang -E checking for uid_t in sys/types.h... yes checking for nlink_t... yes checking for libgen.h... yes checking for working basename... no checking for libgen.h... (cached) yes checking for working dirname... no checking for fnmatch.h... yes checking for working POSIX fnmatch... yes checking for lchown... yes checking whether makedev expects three arguments... no checking for working snprintf... no checking for strdup... yes checking for strftime... yes checking for strlcpy... (cached) no checking for strmode... no checking for strsep... (cached) yes checking for gzread in -lz... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating listhash/libtar_listhash.h config.status: creating listhash/libtar_list.c config.status: creating listhash/libtar_hash.c config.status: creating listhash/libtar_list_new.3 config.status: creating listhash/libtar_hash_new.3 config.status: creating Makefile config.status: creating lib/Makefile config.status: creating libtar/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/temp/clang16-errors.log' -> '/var/tmp/clang/dev-libs/libtar-1.2.20-r5/clang16-errors.log' '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/temp/clang16-safe.log' -> '/var/tmp/clang/dev-libs/libtar-1.2.20-r5/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar' Making all in lib make[2]: Entering directory '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar/lib' /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o handle.lo handle.c /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o output.lo output.c /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o encode.lo encode.c /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o snprintf.lo ../compat/snprintf.c libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c output.c -fPIC -DPIC -o .libs/output.o libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c ../compat/snprintf.c -fPIC -DPIC -o .libs/snprintf.o libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c encode.c -fPIC -DPIC -o .libs/encode.o libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c handle.c -fPIC -DPIC -o .libs/handle.o handle.c:47:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] (*t)->pathname = pathname; ^ ~~~~~~~~ /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o wrapper.lo wrapper.c 1 warning generated. /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o block.lo block.c /bin/sh ../libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c -o strmode.lo ../compat/strmode.c libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c wrapper.c -fPIC -DPIC -o .libs/wrapper.o libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c block.c -fPIC -DPIC -o .libs/block.o libtool: compile: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I. -I../compat -I../listhash -c ../compat/strmode.c -fPIC -DPIC -o .libs/strmode.o ../compat/strmode.c:43:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] strmode(mode, p) ^ 1 error generated. make[2]: *** [Makefile:86: strmode.lo] Error 1 shuffle=1444678270 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar/lib' make[1]: *** [Makefile:449: all-recursive] Error 1 shuffle=1444678270 make[1]: Leaving directory '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar' make: *** [Makefile:365: all] Error 2 shuffle=1444678270 * ERROR: dev-libs/libtar-1.2.20-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/libtar-1.2.20-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libtar-1.2.20-r5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libtar-1.2.20-r5:20221108-204623.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar' * S: '/var/tmp/portage/dev-libs/libtar-1.2.20-r5/work/libtar'