Bug 374541
Summary: | nspluginwrapper fails to install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Brian Wheeler <bdwheele> |
Component: | nspluginwrapper | Assignee: | Martin Stransky <stransky> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | caillon, kas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.0.3-15.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-20 17:56:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Brian Wheeler
2007-11-10 12:54:15 UTC
Just a "me too" with the solution: get nspluginwrapper-0.9.91.5.tar.gz from upstream, and rpmbuild -ta it, install resulting packages nspluginwrapper-i386-0.9.91.5-1 nspluginwrapper-0.9.91.5-1 and restart your browser. Worked for me at least for i386 flashplayer 9 plugged into galeon-2.0.3-13.fc8.x86_64. The stock upstream spec file is correct (even the postinstall script redetects and reinstalls the i386 plugins correctly). Where is the problem? We don't ship nspluginwrapper binary. If you want to set up your plugins, run mozilla-plugin-config. It should work out of the box in the new firefox update (firefox-2.0.0.8 or firefox-2.0.0.9). I was unaware of mozilla-plugin-config, and I expected the nspluginwrapper binary since that's what comes with the upstream. I've done the install again and it does install, but it still displays an error during the post-scriptlet. Yes, the %post error is an independent problem. I will try tomorrow the mozilla-plugin-config way. Nevertheless, I had working F7 with (upstream) nspluginwrapper (the libflashplayer.so installed in /usr/lib/mozilla/plugins/), and after upgrade to F8 the nspluginwrapper'd flash player stopped working (even though it was listed in Galeon's about:plugins). So the package is definitely not without problems. The scriptlet's fail doesn't look significant (it runs fine for the second package). But it should be fixed. Anyway, there's a difference between fedora and the upstream package. Fedora installs wrapped plugins to /usr/lib(64)/mozilla/plugins-wrapped and firefox/seamonkey reads them from this location (if the nspluginwrapper package is installed). Upstream package installs all plugins to old (default) location at /usr/lib(64)/mozilla/plugins. I have verified this: 1. Have a 32-bit libflashplayer.so in /usr/lib/mozilla/plugins/ 2. rpm -Uvh nspluginwrapper-0.9.91.5-12.fc8.* Preparing... ########################################### [100%] 1:nspluginwrapper ########################################### [ 50%] error: %post(nspluginwrapper-0.9.91.5-12.fc8.x86_64) scriptlet failed, exit status 1 2:nspluginwrapper ########################################### [100%] 3. mozilla-plugin-config --list EXCLUDE_WRAP: libtotem-* EXCLUDE_LINK: File/Link /usr/lib/mozilla/plugins-wrapped/flashplayer.xpt /usr/lib64/mozilla/plugins-wrapped/nswrapper_64_64.mozplugger.so Original plugin: /usr/lib64/mozilla/plugins/mozplugger.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins-wrapped/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins-wrapped/nswrapper_64_64.mozplugger.so Original plugin: /usr/lib64/mozilla/plugins/mozplugger.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins-wrapped/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 kas@calypso:plugins-wrapped$ nspluginwrapper -l /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 4. run Galeon (galeon-2.0.3-14.fc8.x86_64) - the following error message appears: sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: No such file or directory *** NSPlugin Wrapper *** ERROR: failed to execute NSPlugin viewer *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection *** NSPlugin Wrapper *** ERROR: NP_Initialize() invoke: Connection was NULL sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: No such file or directory - nswrapped flashplayer is visible in about:plugins, but YouTube displays only white area instead of the video frame. 5. rpm -e nspluginwrapper.{i386,x86_64} 6. rpmbuild -ta nspluginwrapper-0.9.91.5.tar.bz2 - nspluginwrapper-0.9.91.5-1.x86_64.rpm and nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm packages are created. 7. rpm -Uvh RPMS/x86_64/nspluginwrapper-{,i386-}0.9.91.5-1.x86_64.rpm Preparing... ########################################### [100%] 1:nspluginwrapper-i386 ########################################### [ 50%] 2:nspluginwrapper ########################################### [100%] Auto-install plugins from /usr/lib/mozilla/plugins Looking for plugins in /usr/lib/mozilla/plugins Install plugin /usr/lib/mozilla/plugins/libflashplayer.so into /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so Auto-install plugins from /usr/lib64/mozilla/plugins Looking for plugins in /usr/lib64/mozilla/plugins *** NSPlugin Viewer *** ERROR: /usr/lib64/mozilla/plugins/mozplugger.so: wrong ELF class: ELFCLASS64 Auto-install plugins from /root/.mozilla/plugins Looking for plugins in /root/.mozilla/plugins 8. run nspluginwrapper -l /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 9. start Galeon - the wrapped libflashplayer is visible in about:plugins, YouTube actually works! I don't know when galeon supports wrapped plugins at /usr/lib64/mozilla/plugins-wrapped. Please check if the fedora nspluginwrapper package works with base browsers (firefox, seamonkey). If only galeon fails to find wrapped plugins we need to fix galeon (I can do that, anyway). Galeon does support the same plugins as firefox (after all, it is just another front-end to the gecko engine). As I said above, when Fedora nspluginwrapper is installed, it can be seen in Galeon's about:plugins dialog. So Galeon definitely can see the plugin, just the plugin is broken. It seems that npviewer shell script tries to include the script /usr/lib/nspluginwrapper/i386/linux/npviewer, which does not exist in the Fedora package. Never mind, Galeon doesn't support plugins wrapped by **Fedora** wrapper. I'll fix it. /usr/lib/nspluginwrapper/i386/linux/npviewer is called from upstream nspluginwrapper package and its not shipped by fedora package. Fedora has all binaries at /usr/lib(64)/nspluginwrapper. OK, I am sorry then - I have probably had some remaining parts of the upstream package in my system. Or maybe the Fedora nspluginwrapper does not re-wrap the i386 plugins when installed? Because otherwise the wrapped flashplayer would not be visible in about:plugins. Anyway, thanks in advance for fixing Galeon, if this is a bug in Galeon. patch added to CVS, package galeon-2.0.3-15.fc8. galeon-2.0.3-15.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |