* Package: www-servers/nginx-unit-1.25.0 * Repository: gentoo * Maintainer: mpagano@gentoo.org gentoo@seichter.de,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_9 ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nginx-unit-1.25.0.tar.gz to /var/tmp/portage/www-servers/nginx-unit-1.25.0/work >>> Source unpacked in /var/tmp/portage/www-servers/nginx-unit-1.25.0/work >>> Preparing source in /var/tmp/portage/www-servers/nginx-unit-1.25.0/work/unit-1.25.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/nginx-unit-1.25.0/work/unit-1.25.0 ... configuring for Linux 5.13.14 x86_64 checking for C compiler: x86_64-pc-linux-gnu-gcc + using GNU C compiler + gcc version 11.2.0 (Gentoo 11.2.0 p1) building an "echo" program checking for int size ... 4 checking for long size ... 8 checking for long long size ... 8 checking for void * size ... 8 checking for size_t size ... 8 checking for off_t size ... 8 checking for time_t size ... 8 checking for C99 variadic macro ... found checking for GCC __builtin_expect() ... found checking for GCC __builtin_unreachable() ... found checking for GCC __builtin_prefetch() ... found checking for GCC __builtin_clz() ... found checking for GCC __builtin_popcount() ... found checking for GCC __attribute__ visibility ... found checking for GCC __attribute__ aligned ... found checking for GCC __attribute__ malloc ... found checking for GCC __attribute__ packed ... found checking for GCC builtin atomic operations ... found checking for posix_memalign() ... found checking for Linux malloc_usable_size() ... found checking for alloca() ... found checking for Linux mallopt() ... found checking for MAP_ANON ... found checking for MAP_POPULATE ... found checking for MAP_PREFAULT_READ ... not found checking for shm_open() ... found checking for shm_open(SHM_ANON) ... not found checking for memfd_create() ... found checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... found checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... not found checking for clock_gettime(CLOCK_REALTIME) ... found checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... found checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... not found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for HP-UX hg_gethrtime() ... not found checking for struct tm.tm_gmtoff ... found checking for altzone ... not found checking for localtime_r() ... found checking for pthread_yield() ... not found checking for pthread_yield_np() ... not found checking for pthread spinlock ... found checking for pthread spinlock zero initial value ... found but is not working checking for sem_timedwait() ... found checking for __thread ... found checking for Linux epoll ... found checking for Linux signalfd() ... found checking for Linux eventfd() ... found checking for kqueue ... not found checking for Solaris event port ... not found checking for /dev/poll ... not found checking for AIX pollset ... not found checking for AF_INET6 ... found checking for sockaddr.sa_len ... not found checking for struct sockaddr size ... 16 checking for struct sockaddr_in size ... 16 checking for struct sockaddr_in6 size ... 28 checking for struct sockaddr_un size ... 110 checking for struct sockaddr_storage size ... 128 checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found checking for struct msghdr.msg_control ... found checking for sys/filio.h ... not found checking for ioctl(FIONBIO) ... found checking for socket(SOCK_NONBLOCK) ... found checking for accept4() ... found checking for Linux sendfile() ... found checking for posix_fadvise() ... found checking for fcntl(F_READAHEAD) ... not found checking for fcntl(F_RDAHEAD) ... not found checking for openat2() ... found checking for getrandom() ... found checking for ucontext ... found checking for dlopen() ... found checking for posix_spawn() ... found checking for setproctitle() ... not found checking for getgrouplist() ... found checking for OpenSSL library ... found checking for OpenSSL version ... "OpenSSL 3.0.0 7 sep 2021" checking for OpenSSL SSL_CONF_cmd() ... found checking for OpenSSL tlsext support ... found checking for PCRE2 library ... found + PCRE2 version: 10.37 checking for clone(2) ... found checking for CLONE_NEWUSER ... found checking for CLONE_NEWNS ... found checking for CLONE_NEWPID ... found checking for CLONE_NEWNET ... found checking for CLONE_NEWUTS ... found checking for CLONE_NEWCGROUP ... found checking for Linux pivot_root() ... found checking for prctl(PR_SET_NO_NEW_PRIVS) ... found checking for Linux mount() ... found checking for Linux umount2() ... found checking for Linux capability ... found creating build/Makefile Unit configuration summary: bin directory: ............. "/usr/bin" sbin directory: ............ "/usr/sbin" lib directory: ............. "/usr/lib" include directory: ......... "/usr/include" man pages directory: ....... "/usr/share/man" modules directory: ......... "/usr/lib64/nginx-unit" state directory: ........... "/var/lib/nginx-unit" tmp directory: ............. "/usr/tmp" pid file: .................. "/run/nginx-unit.pid" log file: .................. "/var/log/nginx-unit" control API socket: ........ "unix:/run/nginx-unit.sock" non-privileged user: ....... "nobody" non-privileged group: ...... "" IPv6 support: .............. YES Unix domain sockets support: YES TLS support: ............... YES process isolation: ......... USER NS PID NET UTS CGROUP debug logging: ............. NO >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/nginx-unit-1.25.0/work/unit-1.25.0 ... make -j4 build/echo '#define NXT_VERSION "1.25.0"' > build/nxt_version.h build/echo '#define NXT_VERNUM 12500' >> build/nxt_version.h sed -e "s|%%ERROR_LOG_PATH%%|/var/log/nginx-unit|" \ -e "s|%%PID_PATH%%|/run/nginx-unit.pid|" \ -e "s|%%SOCKET_PATH%%|unix:/run/nginx-unit.sock|" \ < docs/man/unitd.8.in > build/unitd.8 x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I src -I build \ \ \ -o build/src/nxt_lib.o \ -MMD -MF build/src/nxt_lib.dep -MT build/src/nxt_lib.o \ src/nxt_lib.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I src -I build \ \ \ -o build/src/nxt_gmtime.o \ -MMD -MF build/src/nxt_gmtime.dep -MT build/src/nxt_gmtime.o \ src/nxt_gmtime.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I src -I build \ \ \ -o build/src/nxt_errno.o \ -MMD -MF build/src/nxt_errno.dep -MT build/src/nxt_errno.o \ src/nxt_errno.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I src -I build \ \ \ -o build/src/nxt_time.o \ -MMD -MF build/src/nxt_time.dep -MT build/src/nxt_time.o \ src/nxt_time.c In file included from /usr/include/bits/local_lim.h:81, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:34, from src/nxt_unix.h:149, from src/nxt_main.h:31, from src/nxt_errno.c:7: src/nxt_thread.h:145:6: error: missing binary operator before token "(" 145 | #if (PTHREAD_STACK_MIN) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/local_lim.h:81, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:34, from src/nxt_unix.h:149, from src/nxt_main.h:31, from src/nxt_time.c:7: src/nxt_thread.h:145:6: error: missing binary operator before token "(" 145 | #if (PTHREAD_STACK_MIN) | ^~~~~~~~~~~~~~~~~ make: *** [build/Makefile:184: build/src/nxt_errno.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [build/Makefile:196: build/src/nxt_time.o] Error 1 In file included from /usr/include/bits/local_lim.h:81, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:34, from src/nxt_unix.h:149, from src/nxt_main.h:31, from src/nxt_gmtime.c:7: src/nxt_thread.h:145:6: error: missing binary operator before token "(" 145 | #if (PTHREAD_STACK_MIN) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/local_lim.h:81, from /usr/include/bits/posix1_lim.h:161, from /usr/include/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h:34, from src/nxt_unix.h:149, from src/nxt_main.h:31, from src/nxt_lib.c:7: src/nxt_thread.h:145:6: error: missing binary operator before token "(" 145 | #if (PTHREAD_STACK_MIN) | ^~~~~~~~~~~~~~~~~ make: *** [build/Makefile:172: build/src/nxt_gmtime.o] Error 1 make: *** [build/Makefile:160: build/src/nxt_lib.o] Error 1 * ERROR: www-servers/nginx-unit-1.25.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-servers/nginx-unit-1.25.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/nginx-unit-1.25.0::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:nginx-unit-1.25.0:20210910-154623.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/nginx-unit-1.25.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/nginx-unit-1.25.0/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/nginx-unit-1.25.0/work/unit-1.25.0' * S: '/var/tmp/portage/www-servers/nginx-unit-1.25.0/work/unit-1.25.0'