Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149000 - emul-linux-x86-java fails to set the mozilla plugin
Summary: emul-linux-x86-java fails to set the mozilla plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 151705
  Show dependency tree
 
Reported: 2006-09-24 16:49 UTC by John Gibson
Modified: 2006-11-30 19:30 UTC (History)
2 users (show)

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 John Gibson 2006-09-24 16:49:46 UTC
While emerging emul-linux-x86-java-1.5 to provide the plugin for firefox-bin I encountered the following error:

!!! Error: Usage: set [32bit or 64bit] [nsplugin-vm]
exiting.

Sure enough the plugin was not working in my 32 bit firefox.

Here are the versions of the relevant ebuilds:
[I--] [ ~] app-emulation/emul-linux-x86-java-1.5.0.08 (1.5)
[I--] [M~] dev-java/java-config-1.3.0-r2 (0)
[I--] [ ~] dev-java/java-config-2.0.30 (2)
[I--] [ ~] dev-java/java-config-wrapper-0.12 (0)

After some hunting I found eselect java-nsplugin
jgibson@tyr ~ % eselect java-nsplugin list
Available 32-bit Java browser plugins
  [1]   emul-linux-x86-java-1.5

When I tried this:
jgibson@tyr ~ % eselect java-nsplugin set 1

I got the same error that I saw during the emerge.

Then I tried:
jgibson@tyr ~ % eselect java-nsplugin set 32bit 1

And it worked properly, although users probably shouldn't have to hunt around for this.

-=-=-=-=-=-=-=-=-
I'm not sure if this is relevant, but I'll put it here just in case.

jgibson@tyr ~ % emerge --info
Portage 2.1.1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8gibson x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8gibson x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 22:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     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-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrored.ca/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
LINGUAS="en"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib calendar caps cdparanoia cdr cli crypt cups dba dbase dbx dedicated dga dio directfb divx4linux dlloader dri dvd dvdr dvdread elibc_glibc emacs emboss emul-linux-x86 encode ethereal fbcon ffmpeg flac flash font-server foomaticdb fortran freetds ftp gcj gd gif glut gnome gpm gstreamer gtk gtk2 imagemagick imap imlib innodb input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 irmc isdnlog ithreads jabber jack jack-tmpfs java javascript joystick jpeg jpeg2k kernel_linux ldap libcaca linguas_en lm_sensors logitech-mouse lzw lzw-tiff mad memlimit mikmod mime ming mmap mng mozcalendar mozilla mp3 mpeg msn ncurses nethack new-login nls nptl nptlonly nsplugin nvidia odbc offensive ogg oggvorbis openal opengl oscar pam pam_console pcntl pcre pda pdflib perl png posix postgres postgresql pppd python quicktime readline reflection samba sdl seamonkey session sharedmem snmp sockets sox spell spl ssl svg tcktk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_fbdev video_cards_nvidia video_cards_vesa video_cards_vga videos vorbis widescreen wifi xine xinerama xml xmms xorg xpm xprint xslt xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-10-16 03:49:43 UTC
Same error for app-emulation/emul-linux-x86-java-1.4.2.03-r2:

 * You have no system nsplugin set, setting it to emul-linux-x86-java-1.4.2.
!!! Error: Usage: set [32bit or 64bit] [nsplugin-vm]
exiting.
 * You can change nsplugin with eselect java-nsplugin.
>>> Regenerating /etc/ld.so.cache...
>>> app-emulation/emul-linux-x86-java-1.4.2.03-r2 merged.
Comment 2 Michael Weyershäuser 2006-11-18 05:22:25 UTC
This sounds more like a problem with the java eclass than something amd64 specific (though it might just be a combination of both). This should be in better hands with the java team...
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-11-30 15:18:40 UTC
I'm fairly sure this was fixed awhile back. Anyone care to confirm?
Comment 4 John Gibson 2006-11-30 18:55:42 UTC
I just tried emerging and unmerging several JREs in succession and they all managed to set the plugin properly.  I guess this works now.  I'd say close the issue unless someone else is still having trouble.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-11-30 19:30:16 UTC
Thanks for reporting back. Marking fixed.