* Package: www-servers/boa-0.94.14_rc21-r2 * Repository: gentoo * Maintainer: mgorny@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking boa-0.94.14rc21.tar.gz to /var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work >>> Source unpacked in /var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work >>> Preparing source in /var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21 ... * Applying boa-0.94.14_rc21-texi.patch ... [ ok ] * Applying boa-0.94.14_rc21-ENOSYS.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21 ... * econf: updating boa-0.94.14rc21/config.sub with /usr/share/gnuconfig/config.sub * econf: updating boa-0.94.14rc21/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 --libdir=/usr/lib checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o 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 ANSI C... none needed checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking whether x86_64-gentoo-linux-musl-gcc recognizes __func__... yes checking for GNU make... make checking for library containing socket... none required checking for library containing inet_aton... none required checking for library containing gethostname... none required checking for library containing gethostbyname... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether sa_family_t is defined... yes checking for working POSIX fnmatch... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for getcwd... yes checking for strdup... yes checking for strstr... yes checking for strcspn... yes checking for strtol... yes checking for gethostname... yes checking for gethostbyname... yes checking for socket... yes checking for inet_aton... yes checking for herror... yes checking for inet_addr... yes checking for scandir... yes checking for alphasort... yes checking for madvise... yes checking for tm.tm_gmtoff... yes checking for tm.tm_zone... yes checking for sockaddr_in.sin_len... no checking compile and link profiling code... no checking whether to enable gunzip support... yes checking for gunzip... /bin/gunzip checking whether to enable access control support... no checking whether to compile and link debugging code... yes checking whether to disable verbose/debug logging... yes checking whether to link with the Dmalloc memory debugger/profiler... no checking whether to link with the Electric Fence memory debugger... no checking whether to enable the use of the sendfile(2) system call... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking for sendfile... yes checking whether to use poll or select... trying select checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for select... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating src/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21 ... make -j1 (cd src && make -j1) make[1]: Entering directory '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21/src' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o alias.o alias.c In file included from compat.h:41, from boa.h:49, from alias.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o boa.o boa.c In file included from compat.h:41, from boa.h:49, from boa.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o buffer.o buffer.c In file included from compat.h:41, from boa.h:49, from buffer.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o cgi.o cgi.c In file included from compat.h:41, from boa.h:49, from cgi.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cgi.c: In function ‘init_cgi’: cgi.c:420:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 420 | for (i = 0; i < req->cgi_env_index; ++i) | ^~~ cgi.c:422:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 422 | fprintf(stderr, "%s - environment variable for cgi: \"%s\"\n", | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o cgi_header.o cgi_header.c In file included from compat.h:41, from boa.h:49, from cgi_header.c:22: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o config.o config.c In file included from compat.h:41, from boa.h:49, from config.c:24: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o escape.o escape.c In file included from compat.h:41, from boa.h:49, from escape.c:37: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o get.o get.c In file included from compat.h:41, from boa.h:49, from get.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o hash.o hash.c In file included from compat.h:41, from boa.h:49, from hash.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o ip.o ip.c In file included from compat.h:41, from boa.h:49, from ip.c:46: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o log.o log.c In file included from compat.h:41, from boa.h:49, from log.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o mmap_cache.o mmap_cache.c In file included from compat.h:41, from boa.h:49, from mmap_cache.c:24: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o pipe.o pipe.c In file included from compat.h:41, from boa.h:49, from pipe.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o queue.o queue.c In file included from compat.h:41, from boa.h:49, from queue.c:24: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o range.o range.c In file included from compat.h:41, from boa.h:49, from range.c:27: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o read.o read.c In file included from compat.h:41, from boa.h:49, from read.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o request.o request.c In file included from compat.h:41, from boa.h:49, from request.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o response.o response.c In file included from compat.h:41, from boa.h:49, from response.c:25: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o signals.o signals.c In file included from compat.h:41, from boa.h:49, from signals.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o util.o util.c In file included from compat.h:41, from boa.h:49, from util.c:26: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o sublog.o sublog.c In file included from compat.h:41, from sublog.c:36: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o select.o select.c In file included from compat.h:41, from boa.h:49, from select.c:39: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o timestamp.o timestamp.c In file included from compat.h:41, from boa.h:49, from timestamp.c:23: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -o boa alias.o boa.o buffer.o cgi.o cgi_header.o config.o escape.o get.o hash.o ip.o log.o mmap_cache.o pipe.o queue.o range.o read.o request.o response.o signals.o util.o sublog.o select.o timestamp.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -g x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -Wall -I. -I. -c -o index_dir.o index_dir.c In file included from compat.h:41, from index_dir.c:30: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ index_dir.c: In function ‘index_directory’: index_dir.c:32:49: error: ‘MAXNAMLEN’ undeclared (first use in this function); did you mean ‘NAMLEN’? 32 | #define MAX_FILE_LENGTH MAXNAMLEN | ^~~~~~~~~ index_dir.c:209:24: note: in expansion of macro ‘MAX_FILE_LENGTH’ 209 | char http_filename[MAX_FILE_LENGTH * 3]; | ^~~~~~~~~~~~~~~ index_dir.c:32:49: note: each undeclared identifier is reported only once for each function it appears in 32 | #define MAX_FILE_LENGTH MAXNAMLEN | ^~~~~~~~~ index_dir.c:209:24: note: in expansion of macro ‘MAX_FILE_LENGTH’ 209 | char http_filename[MAX_FILE_LENGTH * 3]; | ^~~~~~~~~~~~~~~ index_dir.c:211:10: warning: unused variable ‘escaped_filename’ [-Wunused-variable] 211 | char escaped_filename[MAX_FILE_LENGTH * 18]; /* *both* http and html escape */ | ^~~~~~~~~~~~~~~~ index_dir.c:210:10: warning: unused variable ‘html_filename’ [-Wunused-variable] 210 | char html_filename[MAX_FILE_LENGTH * 6]; | ^~~~~~~~~~~~~ index_dir.c:209:10: warning: unused variable ‘http_filename’ [-Wunused-variable] 209 | char http_filename[MAX_FILE_LENGTH * 3]; | ^~~~~~~~~~~~~ make[1]: *** [: index_dir.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21/src' make: *** [Makefile:10: boa] Error 2 * ERROR: www-servers/boa-0.94.14_rc21-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-servers/boa-0.94.14_rc21-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/boa-0.94.14_rc21-r2::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:boa-0.94.14_rc21-r2:20200330-135001.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21' * S: '/var/tmp/portage/www-servers/boa-0.94.14_rc21-r2/work/boa-0.94.14rc21'