Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90218 - can't emerge commons-net:-1.3.0 bad class file
Summary: can't emerge commons-net:-1.3.0 bad class file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 03:55 UTC by Jan Callewaert
Modified: 2005-04-24 07:23 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 Jan Callewaert 2005-04-24 03:55:07 UTC
When I try to emerge commons-net-1.3.0, I get the following error:

compile:
    [mkdir] Created dir: /var/tmp/portage/commons-net-1.3.0-r1/work/commons-net-1.3.0-src/target/classes
    [javac] Compiling 143 source files to /var/tmp/portage/commons-net-1.3.0-r1/work/commons-net-1.3.0-src/target/classes
    [javac] /var/tmp/portage/commons-net-1.3.0-r1/work/commons-net-1.3.0-src/src/java/org/apache/commons/net/ftp/parser/RegexFTPFileEntryParserImpl.java:37: cannot access org.apache.oro.text.regex.MalformedPatternException
    [javac] bad class file: /var/tmp/portage/commons-net-1.3.0-r1/work/commons-net-1.3.0-src/target/lib/oro.jar(org/apache/oro/text/regex/MalformedPatternException.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.apache.oro.text.regex.MalformedPatternException;
    [javac]                                  ^
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/commons-net-1.3.0-r1/work/commons-net-1.3.0-src/build.xml:46: Compile failed; see the compiler error output for details.


Reproducible: Always
Steps to Reproduce:
1. emerge commons-net
Actual Results:  
emerge failed

Expected Results:  
emerge commons-net

$ emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 11:32:26)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms
strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="nl_BE.utf8"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi4linux alsa apache2 apm arts audiofile avi bash-completion berkdb
bitmap-fonts blender-game bootsplash c++ cddb cdparanoia cdr cdrom clamav clisp
codecs crypt css cups curl cvs divx4linux dvd dvdr dvdread emacs emboss encode
fam flac foomaticdb fortran gcj gdbm gif gimp gimpprint gkrellm gpm gstreamer
gtk gtk2 imagemagick imap imlib imlib2 ipv6 java javadoc javascript jce jp2 jpeg
jpeg2k junit kde kdeenablefinal kdexdeltas libg++ libvisual libwww mad maildir
mikmod mme mmx mono mozilla moznocompose moznoirc moznomail mp3 mpeg mplayer msn
nas ncurses nls no_wxgtk1 nptl nvidia oav ogg oggvorbis opengl pam pdflib perl
php png python qt quicktime readline samba sasl sdl slang spell sse ssl
subject-rewrite svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode
usb vorbis wmf xine xml2 xprint xv xvid zlib linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-24 07:23:03 UTC
that's why 1.5 is masked, you cant simply switch back to a 1.4 jdk. recompile everything you've compiled using the jdk1.5...