Summary: | Failed building dev-java/ant-eclipse-ecj-3.4 (class file wrong version) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Krzysztof Magusiak <chrmag> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 161622 | ||
Bug Blocks: |
Description
Krzysztof Magusiak
2009-07-01 16:24:17 UTC
Same issue: ~ # emerge -pv eclipse-sdk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-java/ant-eclipse-ecj-3.4 0 kB [ebuild N ] dev-util/eclipse-sdk-3.4-r2 USE="java6 -doc" 0 kB [...] >>> Compiling source in /var/tmp/portage/dev-java/ant-eclipse-ecj-3.4/work ... org/eclipse/jdt/core/JDTCompilerAdapter.java:34: cannot access org.eclipse.jdt.core.compiler.CharOperation bad class file: /usr/share/eclipse-ecj-3.4/lib/ecj.jar(org/eclipse/jdt/core/compiler/CharOperation.class) class file has wrong version 50.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import org.eclipse.jdt.core.compiler.CharOperation; ^ 1 error * * ERROR: dev-java/ant-eclipse-ecj-3.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3994: Called ejavac '-classpath' '/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/eclipse-ecj-3.4/lib/ecj.jar' 'org/eclipse/jdt/core/JDTCompilerAdapter.java' 'org/eclipse/jdt/internal/antadapter/AntAdapterMessages.java' * environment, line 993: Called die * The specific snippet of code: * ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed" * The die message: * ejavac failed ~ # emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Tue, 04 Aug 2009 08:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1, 3.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=amdfam10 -msse4a" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=amdfam10 -msse4a" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j4 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl aiglx alsa amd64 apache2 arts avi berkdb bzip2 cdr cli cracklib crypt cups dbus dri dv dvb dvd dvdr dvdread encode fame ffmpeg firefox foomaticdb fortran gdbm gpm gtk2 hal iconv imlib ipv6 isdnlog java6 kde matroska mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3support qt4 readline reflection session spl sse sse2 ssl svg sysfs tcpd theora tiff unicode usb userlocales v4l v4l2 vlm vorbis wxwindows x264 xinerama xorg xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS As bug 161622 is fixed and releases in java-config-2.1.10 this shouldn't happen any more. |