Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tomcat-5.5.20-r1 compile error [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stiwi
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 266
Location: hamburg - germany

PostPosted: Wed Oct 11, 2006 12:18 pm    Post subject: tomcat-5.5.20-r1 compile error [SOLVED] Reply with quote

Code:

init:

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
    [mkdir] Created dir: /var/tmp/portage/tomcat-5.5.20-r1/work/apache-tomcat-5.5.20-src/build/build/webapps/jsp-examples/WEB-INF/src
  [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:42: 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:720: 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:404: 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: 42 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


Code:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7_Stephan_Diehl_2006.09.07 i686)
=================================================================
System uname: 2.6.17-gentoo-r7_Stephan_Diehl_2006.09.07 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.5
Last Sync: Tue, 10 Oct 2006 22:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 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="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=athlon-xp -O2 -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=""
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="/var/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 apm berkdb bzip2 cli crypt curl dlloader eds elibc_glibc emboss encode expat fortran gd gdbm gif gmp gstreamer idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java java5 jpeg kernel_linux libg++ libwww mad maildir mhash mikmod mp3 mpeg mysql ncurses nls nptl nptlonly ogg pam pcre perl png pppd python qt4 quicktime readline reflection sdl session slang spell spl ssl tcpd tiff truetype udev unicode userland_GNU 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 vorbis wmf xml xml2 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


has anybody a solution ?


Last edited by stiwi on Wed Oct 11, 2006 3:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
cchee
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 214
Location: NYC

PostPosted: Wed Oct 11, 2006 1:21 pm    Post subject: Reply with quote

I have the same problem.

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 11 Oct 2006 06:30:02 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
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"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi apache2 apm arts berkdb bindist bitmap-fonts bzip2 caps cdr cjk cli crypt cups curl dga directfb divx4linux dlloader dri dvd dvdr ecc elibc_glibc fbcon fortran gdbm gif gnome gnutls gpm gstreamer gtk2 hardened idea ieee1394 immqt-bc input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog java java5 javamail jikes jpeg junit jython kde kernel_linux ldap libg++ linguas_en_GB mesa mmx mono mp3 mssql ncurses nls nptl nptlonly nsplugin odbc opengl oss pam pcre pda perl pic png ppds pppd python qt qt4 rdesktop readline real reflection rhino sdl session skey sndfile socks5 spl sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_fglrx video_cards_i810 video_cards_v4l video_cards_vesa video_cards_vmware wifi wmf xml xmms xorg xprint zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
stiwi
Apprentice
Apprentice


Joined: 20 Mar 2003
Posts: 266
Location: hamburg - germany

PostPosted: Wed Oct 11, 2006 3:39 pm    Post subject: Reply with quote

add useflag "admin", then it works. i will create a bugreport now

https://bugs.gentoo.org/show_bug.cgi?id=150903
Back to top
View user's profile Send private message
wltjr
Retired Dev
Retired Dev


Joined: 31 Jan 2006
Posts: 73

PostPosted: Wed Oct 11, 2006 4:45 pm    Post subject: Reply with quote

Please always search for existing bugs before filing new ones. Thank you.
Back to top
View user's profile Send private message
Master_d
Apprentice
Apprentice


Joined: 12 Oct 2003
Posts: 152
Location: Milwaukee

PostPosted: Sat Jan 20, 2007 4:42 am    Post subject: Reply with quote

I have the admin flag in my USE flags and commons-fileupload still fails to compile with the same error message... do I need to recompile anything with the admin flag enabled?

Code:
BUILD FAILED
/var/tmp/portage/dev-java/commons-fileupload-1.1.1/work/commons-fileupload-1.1.1/build.xml:72: Compile failed; see the compiler error output for details.

Total time: 3 seconds

!!! ERROR: dev-java/commons-fileupload-1.1.1 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 4338:   Called src_compile
  commons-fileupload-1.1.1.ebuild, line 39:   Called eant '-Dlibdir=/var/tmp/portage/dev-java/commons-fileupload-1.1.1/work/commons-fileupload-1.1.1/target/lib' 'jar' '-Dnoget=true'
  java-utils-2.eclass, line 1418:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-java/commons-fileupload-1.1.1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac"
and of course, the output of emerge --info


Code:
tonicwater ~ # emerge --info
Portage 2.1.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.12.8
Timestamp of tree: Wed, 17 Jan 2007 22:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /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/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
LANG="ja_JA"
LC_ALL="ja_JA"
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"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac aalib admin aim alsa anthy apache2 apm arts berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt dga directfb divx divx4linux dlloader dri dvb dvd dvdr dvdread eds emboss encode esd fbdev flash foomaticdb fortran gdbm gif glitz gmedia gnome gpm gstreamer gtk gtk2 iconv imlib immqt-bc ipv6 isdnlog java5 javascript joystick jpeg kde libg++ libwww lirc live mad matroska mikmod mjpeg mmx motif mp3 mpeg mysql nas ncurses network nls nptl nptlonly nv nvidia ogg opengl oss pam pcre pdf perl png pppd python qt qt3 qt4 quicktime readline real reflection rtc sdl session spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wmp x86 xml xorg xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


_________________
お前の常識知ったこっちゃねえ!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum