Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trouble emerging dev-java/cglib
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bernieb
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2003
Posts: 119

PostPosted: Sat Aug 05, 2006 1:20 am    Post subject: trouble emerging dev-java/cglib Reply with quote

I am having trouble emerging cglib, a prequiste for tomcat.

Here's the output from it:
Code:

>>> Compiling source in /var/tmp/portage/cglib-2.0.2-r2/work ...
Buildfile: build.xml

init:
     [echo] -------- cglib 2.0.2 --------

prepare:
    [mkdir] Created dir: /var/tmp/portage/cglib-2.0.2-r2/work/build/proxy
    [mkdir] Created dir: /var/tmp/portage/cglib-2.0.2-r2/work/build/proxy/classes
    [mkdir] Created dir: /var/tmp/portage/cglib-2.0.2-r2/work/build/samples/classes
    [mkdir] Created dir: /var/tmp/portage/cglib-2.0.2-r2/work/build/proxy/conf
    [mkdir] Created dir: /var/tmp/portage/cglib-2.0.2-r2/work/build/test/classes

compile:
    [javac] Compiling 126 source files to /var/tmp/portage/cglib-2.0.2-r2/work/build/proxy/classes
    [javac] /var/tmp/portage/cglib-2.0.2-r2/work/src/proxy/net/sf/cglib/transform/hook/AbstractPreProcessor.java:21: cannot access org.codehaus.aspectwerkz.hook.ClassPreProcessor
    [javac] bad class file: /var/tmp/portage/cglib-2.0.2-r2/work/lib/aspectwerkz-core.jar(org/codehaus/aspectwerkz/hook/ClassPreProcessor.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import org.codehaus.aspectwerkz.hook.ClassPreProcessor;
    [javac]                                      ^
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/cglib-2.0.2-r2/work/build.xml:75: Compile failed; see the compiler error output for details.

Total time: 3 seconds

!!! ERROR: dev-java/cglib-2.0.2-r2 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  cglib-2.0.2-r2.ebuild, line 38:   Called eant 'jar' 'javadoc'
  java-utils-2.eclass, line 1229:   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=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info


Apparently dev-java/aspectwerkz was built with JDK-1.5 while cglib is being built with JDK-1.4. I would guess that either aspectwerkz will need to be rebuilt with JDK-1.4 or cglib be built with JDK-1.5 for this problem to be resolved. Do I need to fix one of the ebuilds to set the appropiate JDK accordingly? How can I go about doing this?

Thanks in advance for any help.

P.S. Here's my emerge --info:
Code:

Portage 2.1.1_pre4-r2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.13-rc6 x86_64)
=================================================================
System uname: 2.6.13-rc6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 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.11
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-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="156.56.247.195 http://distfiles.gentoo.org"
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/layman/voip /usr/local/layman/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib aim alsa apache2 arts asf avi bash berkdb bitmap-fonts cdparanoia cdr cli crypt ctype cups dba divx4linux dlloader doc dts dv dvd dvdr dvdread dxr3 eds emboss encode fbcon ffmpeg flac foomaticdb fortran gd gif glitz gpm gstreamer gtk gtk2 hal httpd iconv ieee1394 imlib ipv6 isdnlog java jboss jpeg kde kqemu libcaca live lm_sensors lzw lzw-tiff mad motif mp3 mpeg musepack mysql ncurses network nls no-seamonkey nvidia ogg openal opengl pam pcre pda pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection rtsp samba sdl session softmmu speex spell spl ssl stream svg tcpd tetex theora threads tiff truetype-fonts type1-fonts usb vcd vhosts visualization vlm vorbis xine xinerama xorg xpm xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Aug 05, 2006 1:43 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-486430-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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