For reference: http://www.junlu.com/msg/77198.html affected: libtool 1.5.16 libtool 1.5.18-r1 libtool 1.5.20 last known working: libtool 1.5.2 Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge mod_jk 2. 3. Actual Results: # ACCEPT_KEYWORDS="~x86" emerge mod_jk Calculating dependencies ...done! >>> emerge (1 of 1) www-apache/mod_jk-1.2.13 to / >>> md5 files ;-) mod_jk-1.2.10.ebuild >>> md5 files ;-) mod_jk-1.2.13.ebuild >>> md5 files ;-) files/88_mod_jk.conf >>> md5 files ;-) files/digest-mod_jk-1.2.10 >>> md5 files ;-) files/jk-workers.properties >>> md5 files ;-) files/digest-mod_jk-1.2.13 >>> md5 src_uri ;-) jakarta-tomcat-connectors-1.2.13-src.tar.gz >>> Unpacking source... >>> Unpacking jakarta-tomcat-connectors-1.2.13-src.tar.gz to /var/tmp/portage/mod_jk-1.2.13/ work >>> Source unpacked. * econf: updating jakarta-tomcat-connectors-1.2.13-src/jk/native/scripts/build/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating jakarta-tomcat-connectors-1.2.13-src/jk/native/scripts/build/unix/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/ share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-apxs=/usr/sbin/ apxs2 --with-apr-config=/usr/bin/apr-config --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes 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 for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes 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 for test... /usr/bin/test checking for rm... /bin/rm 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 checking for snprintf... yes checking for vsnprintf... yes checking for flock... yes checking for setsockopt in -lsocket... no checking whether to use SO_RCVTIMEO with setsockopt()... yes checking whether to use SO_SNDTIMEO with setsockopt()... yes need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl building connector for "apache-2.0" checking for target platform... unix no apache given configure: creating ./config.status config.status: creating Makefile config.status: creating apache-1.3/Makefile config.status: creating apache-1.3/Makefile.apxs 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 jni/Makefile config.status: creating common/portable.h config.status: executing depfiles commands Making all in common make[1]: Entering directory `/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat- connectors-1.2.13-src/jk/native/common' /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp12_worker.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_connect.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_msg_buff.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_util.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp13.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_pool.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_worker.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp13_worker.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_lb_worker.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_sockbuf.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_map.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_uri_worker_map.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp14.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp14_worker.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_md5.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_shm.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_ajp_common.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_context.c /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -O2 - march=pentium4 -fomit-frame-pointer -O2 -march=pentium4 -fomit-frame-pointer -pthread - DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /opt/ sun-jdk-1.4.2.08/include -I /opt/sun-jdk-1.4.2.08/include/ -c jk_status.c make[1]: Leaving directory `/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat- connectors-1.2.13-src/jk/native/common' Making all in apache-2.0 make[1]: Entering directory `/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat- connectors-1.2.13-src/jk/native/apache-2.0' /bin/sh /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/ libtool --silent --mode=compile gcc -I/usr/include/apache2 -O2 -march=pentium4 -fomit-frame- pointer -DUSE_APACHE_MD5 -I ../common -I /opt/sun-jdk-1.4.2.08/include -I /opt/sun- jdk-1.4.2.08/include/unix -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE - D_SVID_SOURCE -D_GNU_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -pthread -DHAVE_APR -I/usr/include/apr-0 -O2 -march=pentium4 -fomit-frame-pointer -pthread -DLINUX=2 - D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -c mod_jk.c libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[1]: *** [mod_jk.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat- connectors-1.2.13-src/jk/native/apache-2.0' make: *** [all-recursive] Error 1 !!! ERROR: www-apache/mod_jk-1.2.13 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Cleanly compiled and installed www-apache/mod_jk. # emerge info Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.9 i686) =============================================================== == System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre8 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 aalib acl apache2 apm avi bcmath berkdb bitmap-fonts bzip2 bzlib calendar cpdflib crypt ctype cups curl curlwrappers dba eds emboss encode exif flatfile foomaticdb fortran freetds ftp gd gdbm gif gmp gpm gstreamer iconv imagemagick imap imlib inifile innodb ipv6 java javascript jikes jp2 jpeg junit ldap libg++ libwww lzw lzw-tiff mad mcal mhash mikmod mime mimencode mjpeg mmx mmx2 mng motif mp3 mpeg mpeg4 mssql mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdf pdfkit pdflib perl php png python qt quicktime readline samba session simplexml snmp soap sockets spell sse sse2 ssl svga tcpd threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode utf8 vorbis xml2 xmlrpc xmms xsl xslt zip zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
it's running the bundled [broken] libtool: /var/tmp/portage/mod_jk-1.2.13/work/jakarta-tomcat-connectors-1.2.13-src/jk/native/libtool should be fixed by updating the autotools
Created attachment 92565 [details, diff] Update autotools to fix libtool issue I'm seeing the same issue with the latest mod_jk package (1.2.15). Here's a patch to update the autotools as suggested in comment #1.
Can you see if current mod_jk ebuilds in ~arch exhibit this same problema and behaviour. If so I will see about making changes to the package. Thanks.
1.2.18 appears to require a newer java-config, which conflicts with the current stable one. Can I upgrade this without upgrading everything Java to ~arch? Either way the error still happens on 1.2.15: Making all in jni make[1]: Entering directory `/var/tmp/portage/mod_jk-1.2.15/work/jakarta-tomcat-connectors-1.2.15-src/jk/native/jni' /bin/sh /var/tmp/portage/mod_jk-1.2.15/work/jakarta-tomcat-connectors-1.2.15-src/jk/native/libtool --silent --mode=compile cc -I/usr/include/apache -march=pentium4 -O2 -pipe -DHAVE_JNI -I /opt/sun-jdk-1.4.2.10/include -I /opt/sun-jdk-1.4.2.10/include/linux -I../common -D_REENTRANT -c jk_jnicb.c -o jk_jnicb.lo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[1]: *** [jk_jnicb.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/mod_jk-1.2.15/work/jakarta-tomcat-connectors-1.2.15-src/jk/native/jni' make: *** [all-recursive] Error 1 !!! ERROR: www-apache/mod_jk-1.2.15 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile mod_jk-1.2.15.ebuild, line 45: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.4.2.10" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17.6 i686) ================================================================= System uname: 2.6.17.6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.5 Last Sync: Wed, 20 Sep 2006 09:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer notitles sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gatorlink /usr/local/overlays/perl-catalyst /usr/local/overlays/perl-datetime /usr/local/overlays/perl-other /usr/local/overlays/w3c-validators" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 acl apache berkdb bitmap-fonts bzip2 cli crypt dlloader dri elibc_glibc emacs fortran gdbm input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java kernel_linux libg++ maildir mmx ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xml2 xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Upgrading java and etc is only required if the java USE flag is set. Which only builds and installs JNI stuff which no one uses. Upstream is about to remove the JNI stuff as is. Otherwise we are trying to get all packages that use java migrated to generation 2. Which should be stabilized in the near future. As for the libtool patch I might apply either way if it's needed, necessary, or is the proper way to do things.
1.2.18 installs and runs here with USE=-java.
mod_jk-1.2.18 has same problem.
Ok this should be fixed now in 1.2.15-r1 and 1.2.18-r1. Committed to tree, please allot time to sync to mirrors. Also please confirm it's fixed/resolved when you get a chance so I can close this bug. Thanks and FYI 1.2.19 should be out in less than a week or so. :)
1.2.18-r1 works great here. Thanks for your help!
I am going to close bug since I applied the fix/patch and all should be well now. Please re-open or file a new bug if problems persist. Thanks