Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144987 - Emerge of jrisk 1.0.8.7 fails (complains about sun-jdk 1.5.0.07)
Summary: Emerge of jrisk 1.0.8.7 fails (complains about sun-jdk 1.5.0.07)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 09:46 UTC by Kevin Lyles
Modified: 2006-10-01 12:25 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 Kevin Lyles 2006-08-24 09:46:13 UTC
I get the following output when I attempt to update jrisk from 1.0.7.6 to 1.0.8.7:

------begin emerge output------
>>> Emerging (1 of 1) games-board/jrisk-1.0.8.7 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking backup_of_Risk_1.0.8.7.zip ;-)
>>> Unpacking source...
>>> Unpacking backup_of_Risk_1.0.8.7.zip to /var/tmp/portage/jrisk-1.0.8.7/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/jrisk-1.0.8.7/work ...
Buildfile: build.xml

init:
    [mkdir] Created dir: /var/tmp/portage/jrisk-1.0.8.7/work/dist

classes:
    [mkdir] Created dir: /var/tmp/portage/jrisk-1.0.8.7/work/build/classes
    [javac] Compiling 48 source files to /var/tmp/portage/jrisk-1.0.8.7/work/build/classes
    [javac] /var/tmp/portage/jrisk-1.0.8.7/work/risk/engine/AboutDialog.java:5: cannot access java.awt.GridBagLayout
    [javac] bad class file: /opt/sun-jdk-1.5.0.07/jre/lib/rt.jar(java/awt/GridBagLayout.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 java.awt.GridBagLayout;
    [javac]                 ^
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/jrisk-1.0.8.7/work/build.xml:43: Compile failed; see the compiler error output for details.

Total time: 6 seconds

!!! ERROR: games-board/jrisk-1.0.8.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  jrisk-1.0.8.7.ebuild, line 30:   Called die

!!! failed to build
!!! If you need support, post the topmost build error, and the call stack if relevant.
-------end emerge output-------

Here is my emerge --info:

------begin emerge output------
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4-iqgryn i686)
=================================================================
System uname: 2.6.17-gentoo-r4-iqgryn i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -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 /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aim akode alsa apm arts asf avi bash-completion bindist binfilter bitmap-fonts bzip2 cairo calendar caps cddb cdparanoia cdr cjk cli cpudetection crypt cscope cups curl dlloader doc dri dvd dvdr dvdread emboss encode esd examples exif fastcgi ffmpeg firefox flac font-server foomaticdb fortran gcj gd gdbm gif glibc-omitfp glibc-omitftp glut gmp gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib isdnlog java jbig jpeg jpeg2k kde kqemu lcms libg++ libwww logrotate lua mad mikmod mmx mmxext mng motif moznocompose moznoirc moznomail mozsvg mp3 mpeg multiuser music musicbrainz nas ncurses network nls nowin nptl nptlonly nsplugin odbc offensive ogg openal opengl oss pam pcre pdf pdflib perl png posix ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection rtc samba screen sdl server session slp smp spell spl sse sse2 ssl stencil-buffer svg symlink sysfs syslog sysvipc tcltk tcpd tetex theora tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vidix vim-with-x voice vorbis win32codecs winbind wmf wxgtk1 xine xml xmms xorg xpm xprint xv xvid xvmc zip zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_en_US userland_GNU video_cards_fbdev video_cards_fglrx video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
-------end emerge output-------

I'll be happy to provide any other information needed.
Thanks!
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-09-10 01:08:13 UTC
what's the output from "java-config -L" ?
Comment 2 Kevin Lyles 2006-09-10 09:53:01 UTC
(In reply to comment #1)
> what's the output from "java-config -L" ?
> 

# java-config -L
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2)
*) Sun JDK 1.5.0.08 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)
3) Sun JRE 1.5.0.07 [sun-jre-bin-1.5] (/usr/share/java-config-2/vm/sun-jre-bin-1.5)

# emerge -pv blackdown-jdk sun-jdk sun-jre-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-java/blackdown-jdk-1.4.2.03-r12  USE="doc nsplugin" 0 kB
[ebuild   R   ] dev-java/sun-jdk-1.5.0.08  USE="X alsa doc examples nsplugin -jce" 0 kB
[ebuild   Rf  ] dev-java/sun-jre-bin-1.5.0.07  USE="X alsa nsplugin" 0 kB
Comment 3 Kevin Lyles 2006-10-01 12:25:07 UTC
It works with sun-jdk-1.5.0.08.  Marking as resolved.