I did a 'emerge -uDatvN world' today and both Sun JDK and Sun JRE were updated. After that java-config stopped working. It only presented the following error: # java-config Traceback (most recent call last): File "/usr/bin/java-config-2", line 8, in <module> from java_config_2 import __version__ ImportError: No module named java_config_2 Reemerging the java-config package solved the issue. Here is my emerge --info: # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 i686) ================================================================= System uname: 2.6.25-gentoo-r6 i686 AMD Athlon(tm) XP 2500+ Timestamp of tree: Fri, 18 Jul 2008 09:03:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe -DSAVING_ALWAYS_PERMIT" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.osuosl.org/" LANG="en_US" LC_ALL="en_US.UTF-8" LINGUAS="en pt_BR" MAKEOPTS="-j5" PKGDIR="/var/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-fabrica /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib acpi alsa apng arts audiofile avi bzip2 bzlib cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dga dri dts dvd dvdr dvdread edl eds emboss encode evo faac faad fam fame ffmpeg fftw firefox flac foomaticdb fortran gd gdbm gif gimpprint gmp gpm hal iconv imagemagick imlib isdnlog jbig jng jpeg jpeg2k kde kdeenablefinal lcms ldap live lzo mad matroska md5sum midi mikmod mjpeg mmx mmxext mng mp3 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf perl png pnm ppds pppd python qt qt3 qt3support qt4 quicktime readline real reflection sdl session sndfile speex spell spl sse ssl subversion svg svga tcpd tga theora tiff tk truetype unicode usb utempter vcd vhosts vorbis win32codecs wma wmf x264 x86 xine xinerama xml xorg xv xvid xvmc 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Did you miss to run python-updater after updating Python by chance?
Yes. Is this the fix? If it is, please close this bug as invalid.
Running python-updater after a major Python update is mandatory. The fix is to actually read post install information. ;)