Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 150715
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William L. Thomson Jr. (RETIRED) <wltjr@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Allen Lee <Allen.Lee@asu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 150715 depends on: Show dependency tree
Bug 150715 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-10 00:13 0000
I've tried to upgrade tomcat with java5 enabled and disabled, didn't seem to
make a difference.  Here's some potentially relevant information - it looks
like the culprit could be a 404 at http://struts.apache.org/tags-bean but you
never can tell with those shifty Ant build failed messages, or at least I never
can tell.

build-webapps-precompile:
    [mkdir] Created dir:
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build/server/webapps/admin/WEB-INF/src/admin
    [mkdir] Created dir:
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build/webapps/ROOT/WEB-INF/src
    [mkdir] Created dir:
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build/webapps/ROOT/WEB-INF/classes
  [jasper2] log4j:WARN No appenders could be found for logger
(org.apache.jasper.JspC).
  [jasper2] log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build.xml:43:
The following error occurred while executing this line:
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build.xml:744:
The following error occurred while executing this line:
/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build.xml:417:
org.apache.jasper.JasperException: The absolute uri:
http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the
jar files deployed with this application

Total time: 27 seconds

!!! ERROR: www-servers/tomcat-5.5.20-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tomcat-5.5.20-r1.ebuild, line 165:   Called eant
'-Dbase.path=/var/tmp/portage/tomcat-5.5.20-r1/temp'
'-Dcommons-collections.jar=/usr/share/commons-collections/lib/commons-collections.jar'
'-Dcommons-daemon.jar=/usr/share/commons-daemon/lib/commons-daemon.jar'
'-Dcommons-digester.jar=/usr/share/commons-digester/lib/commons-digester.jar'
'-Dcommons-dbcp.jar=/usr/share/commons-dbcp/lib/commons-dbcp.jar'
'-Dcommons-el.jar=/usr/share/commons-el/lib/commons-el.jar'
'-Dcommons-pool.jar=/usr/share/commons-pool/lib/commons-pool.jar'
'-Dcommons-fileupload.jar=/usr/share/commons-fileupload/lib/commons-fileupload.jar'
'-Dcommons-launcher.jar=/usr/share/commons-launcher/lib/commons-launcher.jar'
'-Dcommons-modeler.jar=/usr/share/commons-modeler/lib/commons-modeler.jar'
'-Djunit.jar=/usr/share/junit/lib/junit.jar'
'-Djdt.jar=/usr/share/eclipse-ecj-3.1/lib/ecj.jar'
'-Dlog4j.jar=/usr/share/log4j/lib/log4j.jar'
'-Dcommons-beanutils.jar=/usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar'
'-Dcommons-logging.jar=/usr/share/commons-logging/lib/commons-logging.jar'
'-Dcommons-logging-api.jar=/usr/share/commons-logging/lib/commons-logging-api.jar'
'-Dmail.jar=/usr/share/sun-javamail/lib/mail.jar'
'-Djasper.home=/var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/jasper'
  java-utils-2.eclass, line 1324:   Called die

!!! eant 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=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3,
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 10 Oct 2006 04:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.osuosl.org/
ftp://mirror.usu.edu/mirrors/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
LINGUAS=""
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aim alsa apache2 arts bash-completion berkdb bitmap-fonts bzip2
cairo cdr cli crypt cups curl dbus dlloader dri dvd dvdr eds elibc_glibc emboss
encode esd fam firefox fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 hal
input_devices_keyboard input_devices_mouse ipv6 isdnlog java java5 jpeg jpeg2k
kde kerberos kernel_linux ldap libg++ mad mikmod mozilla mp3 mpeg mpeg3 mysql
ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl php png
postgres ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl
session spell spl ssl symlink tcpd truetype truetype-fonts type1-fonts udev
unicode usb userland_GNU video_cards_ati video_cards_fglrx vorbis win32codecs
xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From William L. Thomson Jr. (RETIRED) 2006-10-10 09:51:55 0000 -------
There were changes to a few targets that were previously commented out via a
Gentoo specific patch. One of the targets was needed to build a jar for the
admin webapp. In the process of uncommenting that target it seems another was
needed, the webapps precompile target. Which might need to be commented out
again as before. However there are some part of that target, the following one,
fix-webapps needs. A bit of tail chasing due to upstream target changes, but I
will resolve ASAP.

I am not sure if either using or not using the admin use flag would help. I did
not run into that error last night during tests. But the url is obviously 404.

------- Comment #2 From Martin Jansa 2006-10-10 13:31:51 0000 -------
(In reply to comment #1)
> I am not sure if either using or not using the admin use flag would help. I did
> not run into that error last night during tests. But the url is obviously 404.

I have get the same error with only "doc java5" in USE and with "admin doc
java5" it's emerged successfully.

------- Comment #3 From Allen Lee 2006-10-10 19:09:10 0000 -------
Adding the admin use flag fixed it for me - thanks!

------- Comment #4 From otg 2006-10-11 06:38:45 0000 -------
(In reply to comment #3)
> Adding the admin use flag fixed it for me - thanks!

works for me too with a different config - emerge --info:

Portage 2.1.2_pre2-r8 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5,
2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.12.5
Last Sync: Wed, 11 Oct 2006 12:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en ru"
MAKEOPTS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X admin alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr
cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd
ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd
gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imlib
input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux
lcms libg++ libwww linguas_de linguas_en linguas_ru mad memlimit mikmod mmx mng
motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg opengl oss pam pcre
pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline
reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink
tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode
userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia
video_cards_vesa vorbis x86 xml xml2 xmms xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #5 From William L. Thomson Jr. (RETIRED) 2006-10-11 09:27:37 0000 -------
I spent a few hours working on this yesterday. It's basically a tail chasing
situation when it comes to patches. Like there are patches to not build the
examples webapp stuff if the examples USE flag is not set. However those
patches are conflicting with admin patches. It's likely I will have to make
several sets of patches, combined, and then ones for like if examples flag is
set, and admin is not, or if admin is set and examples is not.

It's quite a big mess and had I known upstream would change the targets
functionality as they did. I would not have introduced the admin use flag. If
this patch thing continues to be the nightmare it's become. I might drop the
admin use flag for now.

------- Comment #6 From William L. Thomson Jr. (RETIRED) 2006-10-11 09:38:11 0000 -------
*** Bug 150903 has been marked as a duplicate of this bug. ***

------- Comment #7 From William L. Thomson Jr. (RETIRED) 2006-10-17 20:22:49 0000 -------
Should be fixed with 5.5.20-r2 just committed. Please allow time to sync to
mirrors. Going to close this bug, please re-open if problem persists. Or file
new bug reports for any newly created bugs. Thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug