* Package: dev-libs/zthread-2.3.2-r5:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ZThread-2.3.2.tar.gz to /var/tmp/portage/dev-libs/zthread-2.3.2-r5/work >>> Source unpacked in /var/tmp/portage/dev-libs/zthread-2.3.2-r5/work >>> Preparing source in /var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2 ... * Applying zthread-2.3.2-no-fpermissive-r1.diff ... [ ok ] * Applying zthread-2.3.2-m4-quote.patch ... [ ok ] * Applying zthread-2.3.2-automake-r2.patch ... [ ok ] * Applying zthread-2.3.2-gcc47.patch ... [ ok ] * Applying zthread-2.3.2-clang.patch ... [ ok ] * Applying zthread-2.3.2-configure-clang16.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I share --system-acdir=/var/tmp/portage/dev-libs/zthread-2.3.2-r5/temp/aclocal' ... [ ok ] * Running 'autoconf -I share --force' ... [ ok ] * Running 'autoheader -I share' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: ZThread-2.3.2/ * 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/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2 ... * econf: updating ZThread-2.3.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ZThread-2.3.2/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/zthread-2.3.2-r5 --htmldir=/usr/share/doc/zthread-2.3.2-r5/html --with-sysroot=/ --libdir=/usr/lib64 --disable-debug --enable-atomic-linux 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.11/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 Loading m4 macros from share 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 C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of clang++... none checking for x86_64-pc-linux-gnu-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none 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 pthread.h... yes checking for linker option -pthread... no checking for linker option -lpthread... yes checking for sched_get_priority_max in -lrt... yes checking for sched_yield... yes checking for pthread_key_create... yes checking for doxygen... no checking for asm/atomic.h... no detecting for ftime() function checking for sys/time.h... yes checking for _ftime()... no checking for sys/timeb.h... yes checking for ftime()... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for errno.h... yes checking for target implementation... compile-time guess checking for sigsetjmp()... yes checking for _beginthreadex()... no 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 clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) 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 ld.lld 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... llvm-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... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm 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... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (ld.lld -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 how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... ld.lld -m elf_x86_64 checking if the linker (ld.lld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... 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... no checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 share/zthread-config config.status: creating share/zthread.spec config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2 ... make -j5 Making all in src make[1]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' make all-recursive make[2]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' Making all in . make[3]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c -o AtomicCount.lo AtomicCount.cxx /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c -o Condition.lo Condition.cxx /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c -o ConcurrentExecutor.lo ConcurrentExecutor.cxx /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c -o CountingSemaphore.lo CountingSemaphore.cxx /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c -o FastMutex.lo FastMutex.cxx libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c ConcurrentExecutor.cxx -fPIC -DPIC -o .libs/ConcurrentExecutor.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c Condition.cxx -fPIC -DPIC -o .libs/Condition.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c FastMutex.cxx -fPIC -DPIC -o .libs/FastMutex.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c CountingSemaphore.cxx -fPIC -DPIC -o .libs/CountingSemaphore.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c AtomicCount.cxx -fPIC -DPIC -o .libs/AtomicCount.o In file included from CountingSemaphore.cxx:24: In file included from ./SemaphoreImpl.h:30: ./Scheduling.h:54:39: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'? struct priority_order : public std::binary_function::~SemaphoreImpl' requested here FifoSemaphoreImpl(int count, unsigned int maxCount, bool checked) ^ 1 warning and 1 error generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -c FastRecursiveMutex.cxx -fPIC -DPIC -o .libs/FastRecursiveMutex.o make[3]: *** [Makefile:598: CountingSemaphore.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... 1 error generated. make[3]: *** [Makefile:598: Condition.lo] Error 1 In file included from FastRecursiveMutex.cxx:24: In file included from ./FastRecursiveLock.h:50: ./linux/FastRecursiveLock.h:49:47: warning: suggest braces around initialization of subobject [-Wmissing-braces] static const pthread_mutexattr_t attr = { PTHREAD_MUTEX_RECURSIVE_NP }; ^~~~~~~~~~~~~~~~~~~~~~~~~~ { } 1 warning generated. make[3]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' make[2]: *** [Makefile:613: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' make[1]: *** [Makefile:455: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2/src' make: *** [Makefile:536: all-recursive] Error 1 * ERROR: dev-libs/zthread-2.3.2-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/zthread-2.3.2-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/zthread-2.3.2-r5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:zthread-2.3.2-r5:20230817-234701.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2' * S: '/var/tmp/portage/dev-libs/zthread-2.3.2-r5/work/ZThread-2.3.2'