Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147204 - java-config-1 -S fails with NameError
Summary: java-config-1 -S fails with NameError
Status: RESOLVED DUPLICATE of bug 147199
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 10:31 UTC by Mathias Zimmermann
Modified: 2006-09-11 11:21 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 Mathias Zimmermann 2006-09-11 10:31:21 UTC
When I'll set the Generation-1 system VM with java-config-1 -S blackdown-jdk this message appears:

Traceback (most recent call last):
  File "/usr/bin/java-config-1", line 123, in ?
    run(option_list)
  File "/usr/bin/java-config-1", line 41, in run
    func(args)
  File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 657, in __call__
    set_vm(args, system=True)
  File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 540, in set_vm
    vm_ok_for_system(vm_name, genv)
  File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 518, in vm_ok_for_system
    find_exec(exe, java_home=java_home)
  File "/usr/lib/python2.4/site-packages/java_config/jc_util.py", line 107, in find_exec
    exec_0 = jh+'/bin/'+exe
NameError: global name 'jh' is not defined

I use dev-java/java-config-2.0.28


emerge --info output:

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc6 i686)
=================================================================
System uname: 2.6.18-rc6 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 14:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://130.59.10.34/mirror/gentoo/ http://130.59.10.34/ftp/mirror/gentoo/ http://194.117.143.69 http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS=""
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 X acpi alsa asf avi bluetooth cairo cdr crypt cups dbus dlloader dri dvd dvdread elibc_glibc encode firefox gif input_devices_keyboard input_devices_mouse jpeg jpeg2k kernel_linux mmx mng mp3 mp4 mpeg mpeg2 mplayer ncurses nls nptl nptlonly nsplugin ogg opengl openssl pdf png readline session spell sse sse2 ssl svg tiff truetype truetype-fonts type1-fonts udev userland_GNU v4l v4l2 video_cards_nv video_cards_nvidia vorbis win32codecs x264 xmms xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 11:21:37 UTC

*** This bug has been marked as a duplicate of 147199 ***