* Package: www-apache/mod_jk-1.2.48:0 * Repository: gentoo * Maintainer: conikost@gentoo.org java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tomcat-connectors-1.2.48-src.tar.gz to /var/tmp/portage/www-apache/mod_jk-1.2.48/work >>> Source unpacked in /var/tmp/portage/www-apache/mod_jk-1.2.48/work >>> Preparing source in /var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native ... * Running eautoreconf in '/var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/www-apache/mod_jk-1.2.48/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: tomcat-connectors-1.2.48-src/native/ * Running elibtoolize in: tomcat-connectors-1.2.48-src/native/iis/pcre/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying ppc64le/2.4.4 patch ... * Running elibtoolize in: tomcat-connectors-1.2.48-src/native/scripts/build/unix/ * 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/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native ... * econf: updating tomcat-connectors-1.2.48-src/native/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tomcat-connectors-1.2.48-src/native/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tomcat-connectors-1.2.48-src/native/iis/pcre/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tomcat-connectors-1.2.48-src/native/iis/pcre/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tomcat-connectors-1.2.48-src/native/scripts/build/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tomcat-connectors-1.2.48-src/native/scripts/build/unix/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mod_jk-1.2.48 --htmldir=/usr/share/doc/mod_jk-1.2.48/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --with-apxs=/usr/bin/apxs 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.10/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 checking for test... /usr/bin/test checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl APRINCLUDEDIR is -I/usr/include/apr-1 -I/usr/include/apr-1 Use of uninitialized value in concatenation (.) or string at /usr/bin/apxs line 232. building connector for "apache-2.0" checking for x86_64-pc-linux-gnu-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) 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 /usr/x86_64-pc-linux-gnu/bin/ld 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... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from gcc 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... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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 LIBTOOL="$(SHELL) $(top_builddir)/libtool" checking size of char... 1 checking size of int... 4 checking size of long... 8 checking size of short... 2 checking size of long double... 16 checking size of long long... 8 checking size of longlong... 0 checking size of pid_t... 0 checking size of pthread_t... 0 checking for snprintf... yes checking for vsnprintf... yes checking for flock... yes checking for setsockopt in -lsocket... no checking for sys/filio.h... no checking whether to use SO_RCVTIMEO with setsockopt()... no checking whether to use SO_SNDTIMEO with setsockopt()... no checking whether to use SOCK_CLOEXEC with socket()... no checking for poll.h... yes checking for poll... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for IPv6 with socket()... no checking for struct sockaddr_storage... no checking for getaddrinfo... yes checking for gethostbyname_r... yes checking whether the compiler provides atomic builtins... yes checking for target platform... unix no apache given no netscape given checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating apache-2.0/Makefile config.status: creating apache-2.0/Makefile.apxs config.status: creating common/Makefile config.status: creating common/list.mk config.status: creating common/jk_types.h config.status: creating common/config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native ... make -j4 Making all in common make[1]: Entering directory '/var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native/common' /bin/sh ../libtool --mode=compile gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_ajp12_worker.c -o jk_ajp12_worker.lo /bin/sh ../libtool --mode=compile gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_connect.c -o jk_connect.lo /bin/sh ../libtool --mode=compile gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_msg_buff.c -o jk_msg_buff.lo /bin/sh ../libtool --mode=compile gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_util.c -o jk_util.lo libtool: compile: gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_ajp12_worker.c -fPIC -DPIC -o .libs/jk_ajp12_worker.o libtool: compile: gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_msg_buff.c -fPIC -DPIC -o .libs/jk_msg_buff.o libtool: compile: gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_util.c -fPIC -DPIC -o .libs/jk_util.o libtool: compile: gcc -I. -I/usr/include/apache2 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -c jk_connect.c -fPIC -DPIC -o .libs/jk_connect.o In file included from jk_global.h:340, from jk_logger.h:26, from jk_ajp12_worker.h:26, from jk_ajp12_worker.c:25: jk_types.h:56:2: error: #error Can not determine the proper size for pid_t 56 | #error Can not determine the proper size for pid_t | ^~~~~ jk_types.h:62:2: error: #error Can not determine the proper size for pthread_t 62 | #error Can not determine the proper size for pthread_t | ^~~~~ In file included from jk_global.h:340, from jk_util.h:27, from jk_util.c:26: jk_types.h:56:2: error: #error Can not determine the proper size for pid_t 56 | #error Can not determine the proper size for pid_t | ^~~~~ jk_types.h:62:2: error: #error Can not determine the proper size for pthread_t 62 | #error Can not determine the proper size for pthread_t | ^~~~~ jk_util.c: In function 'jk_log': jk_util.c:735:31: error: expected ')' before 'JK_PID_T_FMT' 735 | "[%" JK_PID_T_FMT ":%" JK_PTHREAD_T_FMT "] ", getpid(), jk_gettid()); | ^~~~~~~~~~~~~ | ) jk_util.c:734:26: note: to match this '(' 734 | rc = snprintf(buf + used, usable_size - used, | ^ jk_util.c:735:29: warning: spurious trailing '%' in format [-Wformat=] 735 | "[%" JK_PID_T_FMT ":%" JK_PTHREAD_T_FMT "] ", getpid(), jk_gettid()); | ^ make[1]: *** [../scripts/build/rules.mk:36: jk_ajp12_worker.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from jk_global.h:340, from jk_pool.h:25, from jk_msg_buff.c:25: jk_types.h:56:2: error: #error Can not determine the proper size for pid_t 56 | #error Can not determine the proper size for pid_t | ^~~~~ jk_types.h:62:2: error: #error Can not determine the proper size for pthread_t 62 | #error Can not determine the proper size for pthread_t | ^~~~~ In file included from jk_global.h:340, from jk_logger.h:26, from jk_connect.h:26, from jk_connect.c:29: jk_types.h:56:2: error: #error Can not determine the proper size for pid_t 56 | #error Can not determine the proper size for pid_t | ^~~~~ jk_types.h:62:2: error: #error Can not determine the proper size for pthread_t 62 | #error Can not determine the proper size for pthread_t | ^~~~~ make[1]: *** [../scripts/build/rules.mk:36: jk_util.lo] Error 1 make[1]: *** [../scripts/build/rules.mk:36: jk_msg_buff.lo] Error 1 make[1]: *** [../scripts/build/rules.mk:36: jk_connect.lo] Error 1 make[1]: Leaving directory '/var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native/common' make: *** [Makefile:473: all-recursive] Error 1 * ERROR: www-apache/mod_jk-1.2.48::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=www-apache/mod_jk-1.2.48::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apache/mod_jk-1.2.48::gentoo'`. * The complete build log is located at '/var/log/portage/www-apache:mod_jk-1.2.48:20221004-093249.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-apache/mod_jk-1.2.48/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_jk-1.2.48/temp/environment'. * Working directory: '/var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native' * S: '/var/tmp/portage/www-apache/mod_jk-1.2.48/work/tomcat-connectors-1.2.48-src/native'