Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345865 - Inserting firefox plugins does not work
Summary: Inserting firefox plugins does not work
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 11:22 UTC by Rabbe Fogelholm
Modified: 2017-11-13 17:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Screenshot of about:plugins (AboutPlugins.png,24.71 KB, image/png)
2010-11-22 08:21 UTC, Rabbe Fogelholm
Details
build.log captured after `ebuild firefox-3.6.12.ebuild install' (build.log-install,246.63 KB, text/plain)
2010-11-22 08:46 UTC, Rabbe Fogelholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2010-11-17 11:22:48 UTC
Platform is Gentoo Prefix on SUSE Enterprise 10 SP2.

Emerging www-client/firefox (3.6.12) succeeds, but something about its use of plugins may be broken?

The $EPREFIX/usr/lib/firefox/plugins is a symlink to ../nsbrowser/plugins, which seems fine.

The link target $EPREFIX/usr/lib/nsbrowser/plugins is a directory; so far so good.

In this directory I create a symlink pointing to $EPREFIX/opt/sun-jdk-1.6.0.22/jre/plugin/i386/ns7/libjavaplugin_oji.so. Having done so I should have a Java-capable browser. However, restarting the browser and opening about:plugins shows that this did not work.

Any help appreciated. Am I just looking for the plugins directory in the wrong place perhaps?
Comment 1 Rafael Umbelino 2010-11-17 23:16:49 UTC
Can you please post your USE variable of your make.conf and post your emerge -av firefox?

It will be helpful to track where's your problem with Firefox.
Comment 2 Rabbe Fogelholm 2010-11-19 08:29:42 UTC
From etc/make.conf:

USE="X unicode nls -ipv6 -openmp"


The emerge -av output:

> emerge -av firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] www-client/firefox-3.6.12  USE="ipc java -alsa -bindist -custom-optimization -dbus -gnome -libnotify -startup-notification -system-sqlite -wifi" LINGUAS="-af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cs -cy -da -de -el -en -en_GB -en_US -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB
Comment 3 Rafael Umbelino 2010-11-20 00:14:43 UTC
Try to compile it with dbus support.
Also, you just have a java-capable browser without any other plugin, as your Firefox is being compiled with java flag.
Comment 4 Rabbe Fogelholm 2010-11-20 08:41:01 UTC
> Also, you just have a java-capable browser without any other plugin,
> as your Firefox is being compiled with java flag.

Somehow this does not work. If I start firefox and open http://java.sun.com/applets/jdk/1.4/demo/applets/Clock/example1.html I should get a line drawing of a clock, with a moving seconds hand. Instead I get a grey square with a label saying "Click here to download plugin".

I'll try with the dbus flag and see if it makes any difference.
Comment 5 Rabbe Fogelholm 2010-11-20 08:51:55 UTC
No, adding 'dbus' for firefox in etc/portage/package.use did not make a difference regarding the plugins problem.
Comment 6 Rafael Umbelino 2010-11-20 17:24:55 UTC
Interesting...

please, post your emerge --info.

Also, post the build log for your Firefox.
And, can you please tell what appears in the about:plugins tab?
Comment 7 Rabbe Fogelholm 2010-11-22 08:20:03 UTC
Here is `emerge --info'. I will add the other things in subsequent comments.

Portage 2.2.01.17168-prefix (prefix/linux/x86, gcc-4.2.4, unavailable, 2.6.16.60-0.27-smp i686)
=================================================================
System uname: Linux-2.6.16.60-0.27-smp-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-SuSE-10-i586
Timestamp of tree: Sat, 20 Nov 2010 00:42:49 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r2
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.51.0.11
sys-devel/gcc:       4.2.4-r01.2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/local/tmp/f/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1"
PKGDIR="/local/tmp/f/usr/portage/packages"
PORTAGE_CONFIGROOT="/local/tmp/f/"
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="/local/scratch"
PORTDIR="/local/scratch/nightly/2010-11-20/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv modules mudflap ncurses nls nptl nptlonly pcre perl pppd prefix python readline session ssl sysfs tcpd unicode x86 xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 8 Rabbe Fogelholm 2010-11-22 08:21:33 UTC
Created attachment 255091 [details]
Screenshot of about:plugins

Screenshot of about:plugins
Comment 9 Rabbe Fogelholm 2010-11-22 08:46:02 UTC
Created attachment 255095 [details]
build.log captured after `ebuild firefox-3.6.12.ebuild install'

build.log captured after `ebuild firefox-3.6.12.ebuild install'
Comment 10 Rafael Umbelino 2010-11-24 01:06:42 UTC
Dude, it seems that everything is working fine.
Your system doesn't have anything that makes it uses java, anyway.
Try adding java, java6 and javascript to your make.conf, run emerge -uDN world and install java.

This should fix your lack of java in Firefox, as your system as a whole lacks it. =)

Just to clarify, my emerge --info to give you an idea of how "lack" your system is of a lot of things:

PS: you REALLY should consider editing a more complete make.conf

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-1.12.14
Timestamp of tree: Sat, 20 Nov 2010 18:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -mcx16 -mmmx -msse -msse2 -msse3 -msse4a -m3dnow -mabm -mfpmath=sse -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -mcx16 -mmmx -msse -msse2 -msse3 -msse4a -m3dnow -mabm -mfpmath=sse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ rsync://gentoo.c3sl.ufpr.br/gentoo/ rsync://gentoo.lcc.ufmg.br/gentoo-sources"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt_BR.UTF-8 pt_BR.ISO8859-1 pt_BR.iso8859-1 pt_BR pt-BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ao apm aspell atm audiofile automount bash-completion berkdb branding bzip2 cairo caps cdda cddb cdr cleartype cli consolekit cracklib crypt css ctype cups cxx dbus device-mapper dga dhcp dhcpcd dri dvd dvdrexif extras fam ffmpeg flac fontconfig fortran ftp gcj gd gdbm gdu gif gmplayer gnome gnutls gpm gstreamer gtk gtkhtml gzip hal hddtemp iconv icu imap inifile java java6 javascript jpeg lame latex libgda libnotify lm_sensors lzo mad matroska matrox midi mmx mmxext modules mp3 mp4 mplayer msn mudflap multilib nas nautilus ncurses networkmanager nls nptl nptlonly nsplugin nss ogg opengl openmp pam pcre pdf perl php plugins-symlink pmu png policykit posix pppd profile python quicktime readline rss ruby samba sdl server session smp sockets spell spl sqlite sqlite3 sse sse2 sse3 sse4 sse4a ssl startup-notification svg sysfs syslog sysvipc tcl tcpd theora threads thunar tiff timidity tk tools truetype unicode usb vbd vorbis wav wavpack webkit x264 xcb xcomposite xine xinerama xml xorg xpm xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR.UTF-8 pt_BR.ISO8859-1 pt_BR.iso8859-1 pt_BR pt-BR" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2010-11-24 01:35:17 UTC
I'll step in here and remind everyone to be courteous and professional. Thank you.
Comment 12 Rafael Umbelino 2010-11-24 02:30:23 UTC
Jeremy, if I wasn't courteous neither professional, I'm sorry. The fault is of my very poor english. =)
I'll try to be more polite.
Comment 13 Fabian Groffen gentoo-dev 2010-11-24 08:02:41 UTC
(In reply to comment #10)
> Dude, it seems that everything is working fine.
> Your system doesn't have anything that makes it uses java, anyway.
> Try adding java, java6 and javascript to your make.conf, run emerge -uDN world
> and install java.

How can you see this?  The configure shows java being found, so it's there ...
Comment 14 Rafael Umbelino 2010-11-26 06:16:33 UTC
He have java support, but it isn't turned on as he doesn't have java, java6 neither javascript USE flags turned on.
He have to, I think, to make Firefox or any other app understand what a javascript is and to use it.
Comment 15 Rabbe Fogelholm 2010-11-26 10:23:15 UTC
When I start Firefox and do Edit->Preferences->Content the "Enable Javascript" box is ticked.

At the moment my package.use has

net-libs/xulrunner java -alsa
www-client/firefox java -alsa

The USE definition in etc/make.conf has nothing related (it is USE="X unicode nls -ipv6 -openmp").

The order that emerges occur is: sun-jdk, xulrunner, firefox.

I can try out any changes that you suggest.
Comment 16 Rabbe Fogelholm 2011-03-24 08:43:34 UTC
Some time has passed and when I now bootstrap from scratch and emerge sun-jdk-1.6.0.23 and firefox-3.6.15 (with the java USE flag enabled) I actually get a Java-capable firefox without further tweaks. The clock applet in comment 4 just works.

Let me know if you want me to check some things in this recent successful Prefix tree.
Comment 17 Patrick McMunn 2013-12-12 23:50:58 UTC
I think I may have hit the same bug. I was using www-client/firefox-bin-25.0 and switched to www-client/firefox-25.0.1 (with bindist USE flag enabled, so I've got Aurora instead of a branded Firefox, in case that makes a difference). Once I started up my newly compiled Firefox, I noticed that none of the plugins I had in /usr/lib64/mozilla/plugins/ had been loaded by Firefox. I looked in /usr/lib64/nsbrowser/plugins/ and I noticed that there was a dead symlink "plugins -> /usr/lib/firefox/plugins". I tried making a symlink with "ln -s /usr/lib64/mozilla/plugins  /usr/lib64/firefox/plugins", but while this did not cause my plugins to load when I restarted firefox. I am not using a prefix installation.
Comment 18 Fabian Groffen gentoo-dev 2017-11-13 17:28:24 UTC
I'm sorry but I need to close this after all those years.