Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485838 - www-client/firefox-24.0 cannot find plugins
Summary: www-client/firefox-24.0 cannot find plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 485884 485982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-24 09:32 UTC by Graham Murray
Modified: 2013-09-26 05:53 UTC (History)
7 users (show)

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


Attachments
firefox-24.0.ebuild.patch (firefox-24.0.ebuild.patch,746 bytes, patch)
2013-09-24 12:27 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2013-09-24 09:32:59 UTC
After upgrading to firefox-24, it reports that there are no plugins installed.

gmdev ~ # emerge --info =www-client/firefox-24.0
Portage 2.2.7 (hardened/linux/amd64, gcc-4.8.1, glibc-2.17, 3.10.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16129548 total,   1256384 free
KiB Swap:   16777212 total,  16776364 free
Timestamp of tree: Tue, 24 Sep 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                                                   
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                                                                                                                                                                                               
FCFLAGS="-O2 -pipe"                                                                                                                                                                                                                                
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"                                                                                                                                                                                                        
FFLAGS="-O2 -pipe"                                                                                                                                                                                                                                 
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                                                                                                                                       
LANG="en_GB.utf8"                                                                                                                                                                                                                                  
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                                  
MAKEOPTS="-j6"                                                                                                                                                                                                                                     
PKGDIR="/usr/portage/packages"                                                                                                                                                                                                                     
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                                             
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                   
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                                                          
PORTDIR="/usr/portage"                                                                                                                                                                                                                             
PORTDIR_OVERLAY=""                                                                                                                                                                                                                                 
USE="X acl acpi alsa amd64 apache2 berkdb bluetooth bzip2 cairo caps cdda cli cracklib crypt cups cxx dbus dri eds emacs evo fam ffmpeg fontconfig gdbm git gmp gnome gnome-keyring gnutls gstreamer gtk hardened iconv icu ipv6 java jpeg justify kde kerberos lua mmx mng modules mudflap multilib ncurses nls nptl ogg opengl openmp pam pax_kernel pcre perl png policykit postgres pulseaudio python qt4 readline session sqlite sse sse2 sse3 ssl ssse3 svg systemd tcpd theora threads truetype udev unicode urandom vala vorbis webkit xattr xml xmp zlib" ABI_X86="64 32" ALSA_CARDS="hd-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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" GRUB_PLATFORMS="pc efi-64 efi-32" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="wiki-publisher presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel ilo i915 i965" 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"                                                                                                          
USE_PYTHON="2.7 3.3"                                                                                                                                                                                                                               
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC                                                                                                 

=================================================================
                        Package Settings
=================================================================

www-client/firefox-24.0 was built with the following:
USE="alsa dbus gstreamer minimal (multilib) pulseaudio -bindist -custom-cflags -custom-optimization -debug -jit -libnotify (-pgo) (-selinux) -startup-notification -system-cairo -system-icu -system-jpeg -system-sqlite -wifi" ABI_X86="64" LINGUAS="en_GB -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu"
CFLAGS="-pipe -march=native -mno-avx"
CXXFLAGS="-pipe -march=native -mno-avx"
Comment 1 Evgeny Bobkin 2013-09-24 11:38:27 UTC
I hit this s well
Comment 2 Reinis Danne 2013-09-24 12:12:43 UTC
From strace:
access("/home/reinis/.mozilla", F_OK)   = 0
access("/home/reinis/.mozilla/plugins", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib64/firefox/browser/plugins", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib64/mozilla/plugins", F_OK) = -1 ENOENT (No such file or directory)

So it is looking for the plugins in the wrong place - they are in /usr/lib64/nsbrowser/plugins.

Temporary workaround is to symlink /usr/lib64/nsbrowser, but the proper fix should change where firefox looks for them.
Comment 3 Billy DeVincentis 2013-09-24 12:17:15 UTC
 ln -s /usr/lib/nsbrowser/plugins /usr/lib/firefox/browser/

that will fix the problem but this needs to get fixed in the ebuild
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-09-24 12:27:18 UTC
Created attachment 359358 [details, diff]
firefox-24.0.ebuild.patch

Possible fix...

Anarchy, wtah do you think?
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2013-09-24 12:52:18 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Created attachment 359358 [details, diff] [details, diff]
> firefox-24.0.ebuild.patch
> 
> Possible fix...
> 
> Anarchy, wtah do you think?

That one's not going to work -- /usr/lib[64]/mozilla/plugins needs to stay a valid path (even though all nsplugins in portage shouldn't use it); we need to append /usr/lib[64]/nsbrowser/plugins to the list rather than replace an existing path..
Comment 6 Evgeny Bobkin 2013-09-24 13:47:19 UTC
or may be one should just specify the NS_SYSTEM_PLUGINS_DIR variable
Comment 7 Jory A. Pratt gentoo-dev 2013-09-24 13:50:34 UTC
(In reply to Evgeny Bobkin from comment #6)
> or may be one should just specify the NS_SYSTEM_PLUGINS_DIR variable

The sed statements are being readded, I drop'd them during a cleanup and overlooked it when I committed it. It will be avaliable shortly.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2013-09-24 14:23:42 UTC
+*firefox-24.0-r1 (24 Sep 2013)
+
+  24 Sep 2013; Ian Stakenvicius <axs@gentoo.org> +firefox-24.0-r1.ebuild,
+  -firefox-24.0.ebuild:
+  Fix bug #485838 and bug #485816
Comment 9 Rafał Mużyło 2013-09-24 19:22:00 UTC
*** Bug 485884 has been marked as a duplicate of this bug. ***
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2013-09-25 15:09:17 UTC
*** Bug 485982 has been marked as a duplicate of this bug. ***