| Summary: | Build of mod_jk fails, libtool problem, unable to infer tagged configuration | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Joshua Preston <joshua> |
| Component: | [OLD] Development | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dwc |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://www.zarb.org/pipermail/jpackage-discuss/2005-March/007638.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Update autotools to fix libtool issue | ||
|
Description
Joshua Preston
2005-09-26 06:58:54 UTC
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 |