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

Bug 35563

Summary: java-config (1.1.7) --list-available-vms failed with python ImportError on java_config module.
Product: Gentoo Linux Reporter: guillaume <guillaume.ramelet>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal CC: python
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description guillaume 2003-12-10 16:43:47 UTC
[root@gui - 01:34:17 - /etc/env.d] # java-config --list-available-vms
Traceback (most recent call last):
  File "/usr/bin/java-config", line 15, in ?
    from java_config import jc_options
ImportError: No module named java_config


[root@gui - 01:41:29 - /etc/env.d] # emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre7-gss)
=================================================================
System uname: 2.4.23_pre7-gss i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga doc dvd encode esd evo fbcon foomaticdb gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java jikes jpeg kde libg++ libwww mad mikmod mmx motif mozilla mozxmlterm mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt qtmt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype usb x x86 xml2 xmms xv zlib"


in /etc/env.d/java
i got 2 files about j2sdk from sun : 1.4.2.02 and 1.4.2.03


so i can't set my new jvm to generate /etc/env.d/20java file

Reproducible: Always
Steps to Reproduce:
1. java-config --list-available-vms
2.
3.
Comment 1 Adrian Almenar 2003-12-10 18:12:24 UTC
Did you recently updated python to version 2.3 ?
If this is true, Did you run /usr/portage/dev-lang/python/files/python-updater after upgrading ?
Comment 2 guillaume 2003-12-10 22:53:46 UTC
i didn't run it (yet).
is this one of the numerous message you can see when you do an emerge (for python in this case) ?

i'd like to have a task file to be created each time i do an emerge update which needs some manual operations.
Sometimes i'm in front of my machine and between 2 emerge i can 'quickly) read needed stuff but sometimes i'm not...
Comment 3 Adrian Almenar 2003-12-11 03:47:50 UTC
Its ok, but thats another feature that you should report on another bug.