Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55419 - mozilla plugin linked to non-existant blackdown plugin file
Summary: mozilla plugin linked to non-existant blackdown plugin file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 06:54 UTC by Mike Vanecek
Modified: 2004-10-14 02:12 UTC (History)
1 user (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 Mike Vanecek 2004-06-28 06:54:00 UTC
After installing blackdown 1.4.2-rc1 and jre 1.4.1 and mozilla 1.7 (with +java in USE), I noticed no java. I switched java-config from jdk to jre with no effect, and back. On examination of the mozilla plugins directory, I noticed that the symlink for java was there - only, misnamed. It's linked as such (and corresponding changes similarly when switching to jre)
javaplugin_oji.so -> /opt/blackdown-jdk-1.4.2_rc1/jre/plugin/i386/mozilla/javaplugin_oji.so

However, the file being linked to doesn't exist. Rather, it's libjavaplugin_oji.so. When manually linking as such:

libjavaplugin_oji.so -> /opt/blackdown-jdk-1.4.2_rc1/jre/plugin/i386/mozilla/libjavaplugin_oji.so

Mozilla's about:plugins displays Java info. 

So... it's more a script or configuration issue, since when properly linked, all seems well - perhaps in java-config?

Reproducible: Always
Steps to Reproduce:
1. emerge Mozilla
2. emerge blackdown
3. env-update && source /etc/profile
4. examine symlink in /usr/lib/mozilla/plugins/

Actual Results:  
Symlink linked to non-existant file - javaplugin_oji.so ->
/opt/blackdown-jdk-1.4.2_rc1/jre/plugin/i386/mozilla/javaplugin_oji.so

Expected Results:  
Symlink to link to existing file - libjavaplugin_oji.so ->
/opt/blackdown-jdk-1.4.2_rc1/jre/plugin/i386/mozilla/libjavaplugin_oji.so

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.8
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.datapipe.net/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-mirror.internap.com/pub/gentoo/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aim alsa apache2 apm avi berkdb bishop3d cdr crypt cups curl
doc dvb encode esd fbcon foomaticdb gd gdbm gif gimp gimpprint gnome gphoto2 gpm
gstreamer gtk gtk2 guile imlib innodb java jpeg libg++ libwww lzw-tiff mad
mikmod mmx mng motif mozcalendar mozilla mozsvg mozxmlterm mpeg msn mysql
ncurses nls oggvorbis opengl oscar pam pdflib perl png ppds python quicktime
readline samba scanner sdl slang spell ssl svg svga tcltk tcpd tiff truetype usb
vik wmf x86 xml xml2 xmms xv yahoo zlib"
Comment 1 Brad Laue (RETIRED) gentoo-dev 2004-07-04 09:39:46 UTC
I think this is a java package problem, attaching java@gentoo.org in case. Please take this over if so.
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-14 02:12:42 UTC
fixed a few weeks ago
emerging a jdk or jre with +mozilla will create the correct link and remove invalid ones