* Package: dev-lua/lanes-3.10.0 * Repository: gentoo * Maintainer: williamh@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking lanes-3.10.0.tar.gz to /var/tmp/portage/dev-lua/lanes-3.10.0/work >>> Source unpacked in /var/tmp/portage/dev-lua/lanes-3.10.0/work >>> Preparing source in /var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0 ... * Applying lanes-3.10.0-fix-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0 ... make -j1 which: no lua5.1 in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin:/usr/lib/llvm/9/bin:/usr/lib/llvm/8/bin:/opt/tivoli/tsm/client/ba/bin:/usr/bin/cdsclient) which: no lua51 in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin:/usr/lib/llvm/9/bin:/usr/lib/llvm/8/bin:/opt/tivoli/tsm/client/ba/bin:/usr/bin/cdsclient) cd src && make LUA=lua make[1]: Entering directory '/var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0/src' x86_64-gentoo-linux-musl-gcc -Wall -Werror -O2 -I/usr/include/luajit-2.0 -D_GNU_SOURCE -fPIC -c -o lanes.o lanes.c In file included from lanes.c:89: lanes.c: In function ‘selfdestruct_gc’: threading.h:168:21: error: implicit declaration of function ‘pthread_yield’; did you mean ‘pthread_self’? [-Werror=implicit-function-declaration] 168 | #define YIELD() pthread_yield() | ^~~~~~~~~~~~~ lanes.c:1639:5: note: in expansion of macro ‘YIELD’ 1639 | YIELD(); // give threads time to act on their cancel | ^~~~~ lanes.c: In function ‘LG_configure’: threading.h:132:29: error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ undeclared (first use in this function); did you mean ‘PTHREAD_MUTEX_RECURSIVE’? 132 | # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP | ^~~~~~~~~~~~~~~~~~~~~~~~~~ threading.h:142:40: note: in expansion of macro ‘_MUTEX_RECURSIVE’ 142 | pthread_mutexattr_settype( &a, _MUTEX_RECURSIVE ); \ | ^~~~~~~~~~~~~~~~ lanes.c:3092:3: note: in expansion of macro ‘MUTEX_RECURSIVE_INIT’ 3092 | MUTEX_RECURSIVE_INIT( &U->require_cs); | ^~~~~~~~~~~~~~~~~~~~ threading.h:132:29: note: each undeclared identifier is reported only once for each function it appears in 132 | # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP | ^~~~~~~~~~~~~~~~~~~~~~~~~~ threading.h:142:40: note: in expansion of macro ‘_MUTEX_RECURSIVE’ 142 | pthread_mutexattr_settype( &a, _MUTEX_RECURSIVE ); \ | ^~~~~~~~~~~~~~~~ lanes.c:3092:3: note: in expansion of macro ‘MUTEX_RECURSIVE_INIT’ 3092 | MUTEX_RECURSIVE_INIT( &U->require_cs); | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [: lanes.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0/src' make: *** [Makefile:46: src/lanes/core.so] Error 2 * ERROR: dev-lua/lanes-3.10.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lua/lanes-3.10.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lua/lanes-3.10.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lua:lanes-3.10.0:20200408-155654.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lua/lanes-3.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lua/lanes-3.10.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0' * S: '/var/tmp/portage/dev-lua/lanes-3.10.0/work/lanes-3.10.0'