Bug 3022

Summary: nspluginwrapper should exclude native x86_64 plugins from wrapping
Product: Mageia Reporter: Florian Hubold <doktor5000>
Component: RPM PackagesAssignee: Florian Hubold <doktor5000>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anssi.hannula
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Florian Hubold 2011-10-12 12:22:53 CEST
Description of problem:

currently nspluginwrapper tries to wrap x86_64 plugins (like native x86_64 flash player plugin), but there is only i386 npviewer which is needed to run the plugins. The problem can be seen from the following output, which is a more verbose form of the script run through nspluginwrapper filetrigger:

$ nspluginwrapper -v -i /usr/lib64/mozilla/plugins/libflashplayer.so
*** NSPlugin Viewer  *** ERROR: /usr/lib64/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS64
nspluginwrapper: no appropriate viewer found for /usr/lib64/mozilla/plugins/libflashplayer.so

nspluginwrapper.script should be modified to only look in /usr/lib.

Also applies to Mageia 1.
Comment 1 Florian Hubold 2011-12-17 11:11:25 CET
Seems to have been fixed by Anssi with: http://svnweb.mageia.org/packages/cauldron/nspluginwrapper/current/SPECS/nspluginwrapper.spec?r1=141190&r2=182392

Anssi, i'm marking this as fixed, then? Thanks for fixing, BTW :)

Status: NEW => RESOLVED
CC: (none) => anssi.hannula
Resolution: (none) => FIXED