Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174600 - Emerging www-servers/jboss-3.2.5 fails
Summary: Emerging www-servers/jboss-3.2.5 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 15:33 UTC by Boyan Ivanov
Modified: 2007-04-14 20:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The build process (build.log,2.94 KB, text/plain)
2007-04-14 15:34 UTC, Boyan Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boyan Ivanov 2007-04-14 15:33:24 UTC
During compilation I get the error : javac: target release 1.2 conflicts with default source release 1.5.
My java-vm is set to 1.5. I tried setting it to 1.6, but the problem still persists.

Reproducible: Always

Steps to Reproduce:
just try to emerge it

Actual Results:  
it fails to install

Expected Results:  
it should install

Portage 2.1.2.3 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 14 Apr 2007 13:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
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.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.ludost.net/gentoo ftp://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.org"
LC_ALL="bg_BG"
LINGUAS="bg en"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise"
SYNC="rsync://mirrors.ludost.net/gentoo-portage"
USE="X acpi alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dri fortran gdbm gif glitz gpm hal iconv ipv6 isdnlog jpeg kde kdexdeltas libg++ midi mmx ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python readline reflection session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bg en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Boyan Ivanov 2007-04-14 15:34:07 UTC
Created attachment 116249 [details]
The build process
Comment 2 Mario Witte 2007-04-14 19:17:39 UTC
I just stumbled on the same problem. Running "java-check-environment" showed that I had only jdk-1.5 installed. Running "emerge '=virtual/jdk-1.4*'" fixed the problem.
Comment 3 Boyan Ivanov 2007-04-14 19:58:36 UTC
Well, thanks for the advice, but that way it'll install jdk 1.4 and I think that I'm not supposed to have all versions of java in order to run any single program. Every VM is supposed to be compatible with older versions.
To me jdk 1.5 and 1.6 are more than enough on a single machine.
Comment 4 Mario Witte 2007-04-14 20:08:05 UTC
Unfortunately I'm not really a specialist on java. The error from java-check-environment looks to me as if a pre-1.5 jvm is required for some applications. The must be a reason why java-check-environment checks for a "generation 1 vm" and then recommends installing jdk 1.4.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-04-14 20:28:08 UTC
(In reply to comment #4)
> Unfortunately I'm not really a specialist on java. The error from
> java-check-environment looks to me as if a pre-1.5 jvm is required for some
> applications. The must be a reason why java-check-environment checks for a
> "generation 1 vm" and then recommends installing jdk 1.4.
> 

Only 1.4 VMs provide generation 1 support yes.
Comment 6 Boyan Ivanov 2007-04-14 20:58:00 UTC
Thank you both, I'll just use the java overlay, rather than installing another jdk on my hdd.