* Package: dev-libs/zthread-2.3.2-r4 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * 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-r4/work >>> Source unpacked in /var/tmp/portage/dev-libs/zthread-2.3.2-r4/work >>> Preparing source in /var/tmp/portage/dev-libs/zthread-2.3.2-r4/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 ] * Running eautoreconf in '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I share ... [ 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-r4/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-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --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/zthread-2.3.2-r4 --htmldir=/usr/share/doc/zthread-2.3.2-r4/html --libdir=/usr/lib --disable-debug --enable-atomic-linux --disable-static checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl 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 Loading m4 macros from share checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ 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-gentoo-linux-musl-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-g++... none checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 pthread.h usability... yes checking pthread.h presence... 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_yield... no checking for pthread_key_create... yes checking for doxygen... no checking asm/atomic.h usability... no checking asm/atomic.h presence... no checking for asm/atomic.h... no detecting for ftime() function checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for _ftime()... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for ftime()... yes checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes 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 x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-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-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/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 how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-g++ static flag -static works... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -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-r4/work/ZThread-2.3.2 ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' make all-recursive make[2]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' Making all in . make[3]: Entering directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o AtomicCount.lo AtomicCount.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c AtomicCount.cxx -fPIC -DPIC -o .libs/AtomicCount.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o Condition.lo Condition.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c Condition.cxx -fPIC -DPIC -o .libs/Condition.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o ConcurrentExecutor.lo ConcurrentExecutor.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c ConcurrentExecutor.cxx -fPIC -DPIC -o .libs/ConcurrentExecutor.o In file included from ../include/zthread/ConcurrentExecutor.h:26, from ConcurrentExecutor.cxx:23: ../include/zthread/PoolExecutor.h:58:9: warning: ‘ZThread::PoolExecutor’ has a field ‘ZThread::PoolExecutor::_impl’ whose type uses the anonymous namespace [-Wsubobject-linkage] 58 | class PoolExecutor : public Executor { | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o CountingSemaphore.lo CountingSemaphore.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c CountingSemaphore.cxx -fPIC -DPIC -o .libs/CountingSemaphore.o In file included from CountingSemaphore.cxx:24: SemaphoreImpl.h: In instantiation of ‘ZThread::SemaphoreImpl::~SemaphoreImpl() [with List = ZThread::fifo_list]’: SemaphoreImpl.h:341:58: required from here SemaphoreImpl.h:105:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::deque::size_type’ {aka ‘long unsigned int’} [-Wformat=] 105 | TDEBUG("** You are destroying a semaphore which is blocking %d threads. **\n", _waiters.size()); | ~^ | | | int | %ld /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o FastMutex.lo FastMutex.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c FastMutex.cxx -fPIC -DPIC -o .libs/FastMutex.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c -o FastRecursiveMutex.lo FastRecursiveMutex.cxx libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../include -O2 -pipe -march=native -Wall -g -O2 -pipe -march=native -Wall -g -c FastRecursiveMutex.cxx -fPIC -DPIC -o .libs/FastRecursiveMutex.o In file included from FastRecursiveLock.h:50, from FastRecursiveMutex.cxx:24: linux/FastRecursiveLock.h: In constructor ‘ZThread::FastRecursiveLock::FastRecursiveLock()’: linux/FastRecursiveLock.h:49:47: error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ was not declared in this scope; did you mean ‘PTHREAD_MUTEX_RECURSIVE’? 49 | static const pthread_mutexattr_t attr = { PTHREAD_MUTEX_RECURSIVE_NP }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | PTHREAD_MUTEX_RECURSIVE make[3]: *** [Makefile:597: FastRecursiveMutex.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' make[2]: *** [Makefile:612: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' make[1]: *** [Makefile:454: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2/src' make: *** [Makefile:534: all-recursive] Error 1 * ERROR: dev-libs/zthread-2.3.2-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/zthread-2.3.2-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/zthread-2.3.2-r4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:zthread-2.3.2-r4:20200330-162315.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2' * S: '/var/tmp/portage/dev-libs/zthread-2.3.2-r4/work/ZThread-2.3.2'