Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116116

Summary: commons-lang-2.0-r1 won't compile
Product: Gentoo Linux Reporter: Matt Zukowski <matt>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Zukowski 2005-12-19 19:02:17 UTC
Trying to compile struts. I get this error when the emerge gets to dev-java/commons-lang-2.0-r1:

compile:
    [javac] Compiling 57 source files to /var/tmp/portage/commons-lang-2.0-r1/work/commons-lang-2.0-src/target/classes
    [javac] javac: target release 1.1 conflicts with default source release 1.5


My java-config is:

[sun-jdk-1.5.0.05] "Sun JDK 1.5.0.05" (/etc/env.d/java/20sun-jdk-1.5.0.05) 


Here is my emerge info:

Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apache2 audiofile avi bitmap-fonts bzip2 bzlib cdr crypt cups curl curlwrappers dba divx4linux eds encode esd expat firefox flac foomaticdb gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 howl imagemagick imlib java javascript jpeg junit libg++ libwww lzw-tiff mad mdb mhash mikmod mmx moznocompose moznoirc moznomail mp3 mpeg mpeg4 msn mysql ncurses nfs nls nvidia ogg oggvorbis pam pcre pdf pdflib perl pg-hier php png posix postfix postgres python quicktime readline reiserfs ruby samba sdl server session sftp simplexml soap sockets spell spl sql ssl struts svga tcpd tidy tiff tokenizer truetype truetype-fonts type1 type1-fonts udev vhosts vorbis xml xml2 xmlrpc xmms xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-20 00:59:30 UTC
1.5 is package.masked for a reason...