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

Bug 35277

Summary: java-config returns an error when called
Product: Gentoo Linux Reporter: Paulo J. Matos <paulo>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paulo J. Matos 2003-12-07 11:51:30 UTC
My java-config details are:
*  dev-java/java-config
      Latest version available: 1.1.7
      Latest version installed: 1.1.7
      Size of downloaded files: 9 kB
      Homepage:    http://www.gentoo.org/
      Description: Java enviroment configuration tool

Python details are:
*  dev-lang/python
      Latest version available: 2.3.2-r2
      Latest version installed: 2.3.2-r2
      Size of downloaded files: 8,261 kB
      Homepage:    http://www.python.org
      Description: A really great language


Error returned by java-config:
euler root # java-config
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


Reproducible: Always
Steps to Reproduce:
1. call java-config
2.
3.

Actual Results:  
euler root # java-config
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

Expected Results:  
Don't really know...

System details:
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU
2.20GHzGentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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=pentium4 -mcpu=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux altcolors apache2 apm auctex avi berkdb bonobo cdr
cjk cmucl crypt cups curl directfb doc dvd emacs encode esd evo fbcon firebird
flac flash foomaticdb freetds gb gd gd-external gdbm gif ginac glut gmttria
gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib
imlib2 informix innodb irda java jpeg ldap libg++ libgda libwww lirc mad mcal
mdb memlimit mikmod motif mozaccess mozilla moznocompose moznoirc moznomail mpeg
music mysql ncurses nls oci8 odbc oggvorbis opengl oss pam pdflib perl png
postgres python qhull qt quicktime radeon readline samba scanner sdl slang snmp
spell sqlite ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"
Comment 1 Adrian Almenar 2003-12-08 03:51:09 UTC
When you updated python did you run python-updater ?

try emerging again java-config.
Comment 2 Paulo J. Matos 2003-12-08 07:30:58 UTC
You're right, I only had to reemerge java-config. Everything seems to be working now. Thanks. Sorry for the bug report.!

Best regards,

Paulo Matos
Comment 3 Adrian Almenar 2003-12-08 16:27:02 UTC
Closing as invalid.