Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153166 - tomcat-5.5.20-r2 failes to compile
Summary: tomcat-5.5.20-r2 failes to compile
Status: RESOLVED DUPLICATE of bug 152792
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 11:33 UTC by Juergen Rose
Modified: 2006-10-28 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2006-10-28 11:33:20 UTC
Hi,

tomcat-5.5.20-r2 failes to compile with

...
BUILD FAILED
/var/tmp/portage/www-servers/tomcat-5.5.20-r2/work/apache-tomcat-5.5.20-src/build.xml:43: The following error occurred while executing this line:
/var/tmp/portage/www-servers/tomcat-5.5.20-r2/work/apache-tomcat-5.5.20-src/build/build.xml:522: The following error occurred while executing this line:
/var/tmp/portage/www-servers/tomcat-5.5.20-r2/work/apache-tomcat-5.5.20-src/build/build.xml:479: The following error occurred while executing this line:
java.lang.UnsupportedClassVersionError: org/apache/commons/fileupload/FileUpload (Unsupported major.minor version 49.0)

Total time: 15 seconds

!!! ERROR: www-servers/tomcat-5.5.20-r2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tomcat-5.5.20-r2.ebuild, line 167:   Called eant '-Dbase.path=/var/tmp/portage/www-servers/tomcat-5.5.20-r2/temp' '-Dcommons-collections.
jar=/usr/share/commons-collections/lib/commons-collections.jar' '-Dcommons-daemon.jar=/usr/share/commons-daemon/lib/commons-daemon.jar' '-D
commons-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-la
uncher.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-beanut
ils-1.7/lib/commons-beanutils.jar' '-Dcommons-logging.jar=/usr/share/commons-logging/lib/commons-logging.jar' '-Dcommons-logging-api.jar=/u
sr/share/commons-logging/lib/commons-logging-api.jar' '-Dmail.jar=/usr/share/sun-javamail/lib/mail.jar' '-Dadmin.build.notrequired=true' '-
Dadmin.precompile.notrequired=true' '-Dexamples.precompile.notrequired=true' '-Djasper.home=/var/tmp/portage/www-servers/tomcat-5.5.20-r2/w
ork/apache-tomcat-5.5.20-src/jasper' '-Dcommons-httpclient.jar=/usr/share/commons-httpclient/lib/commons-httpclient.jar' '-Dactivation.jar=
/usr/share/sun-jaf/lib/activation.jar' '-Djaxen.jar=/usr/share/jaxen/lib/jaxen-full.jar' '-Djmx.jar=/usr/share/mx4j-3.0/lib/mx4j.jar' '-Djm
x-remote.jar=/usr/share/mx4j-3.0/lib/mx4j-rjmx.jar' '-Dsaxpath.jar=/usr/share/saxpath/lib/saxpath.jar' '-DxercesImpl.jar=/usr/share/xerces-
2/lib/xercesImpl.jar' '-Dxml-apis.jar=/usr/share/xml-commons-external-1.3/lib/xml-apis.jar'
  java-utils-2.eclass, line 1345:   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.4  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.4.2.12"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info

root@thinkpad:/root(9)# emerge --info
Portage 2.1.2_rc1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc1 i686)
=================================================================
System uname: 2.6.19-rc1 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 28 Oct 2006 17:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.caliu.info/pub/gen
too/ http://ftp.caliu.info/pub/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://www.gigaload.org/gentoo.org/"
LINGUAS="de fr"
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 --exclud
e=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi amrr aotuv ap apache2 asf atlas auctex audiofile automount berkdb bitmap-fonts blas bonobo bzip2 cairo cardbus cdda cddb cdf 
cdio cdparanoia cdr cgi cli corba cracklib crypt cups curl daap dbus devmap dga dlloader dri dvb dvd dvi dxr3 dynagraph effects elf elibc_glibc emacs epiph
any esd evo evolution exif expat fam fame ffmpeg fftw fits flac fltk fortran fpx gdal gdbm geos gimp ginac glade glitz gml gmp gnuplot gphoto2 gpm graphviz
 grass gs gsl gsm guile hal hardened hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synap
tics ipv6 isdnlog jabber jbig john jp2 jpeg jpeg2k kernel_linux kexi lame lapack latex lcms ldap libg++ libgda libsamplerate linguas_de linguas_fr lirc lua
 lzo lzw madwifi math matroska mmx mmxext mng mod mono mozcalendar mozdevelop mozsvg mozxmlterm mp4live mpeg2 mplayer musicbrainz mysql mysqli nautilus ncu
rses netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi pam pcre pdf perl plotutils plugin png posix postgres ppds pppd
 proj python qhull readline real reflection reiserfs rhythmbox rle rrdcgi rrdtool samba session slang slp sndfile snmp sox spl sqlite sse sse2 ssl subtitle
s svg t1lib tcltk tcpd tetex theora tidy tiff truetype-fonts type1-fonts udev unicode userland_GNU v4l2 video_cards_fbdev video_cards_radeon video_cards_ve
sa wifi win32codecs wmf xemacs xext xine xml2 xmlreader xmlrpc xorg xpm xvid xvmc zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Any hint apreciated
    juergen
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-28 16:20:19 UTC

*** This bug has been marked as a duplicate of 152792 ***