Bug 476994

Summary: nspluginwrapper.i386 dependency issue
Product: [Fedora] Fedora Reporter: David Jansen <jansen>
Component: nspluginwrapperAssignee: Martin Stransky <stransky>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: caillon, stransky, wtogami
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-18 07:19:44 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 David Jansen 2008-12-18 15:20:32 UTC
Description of problem:
Following the notes in the F10 release notes on how to get the flash plugin working on fedora 10 x86_64, I installed nspluginwrapper.i386 and nspluginwrapper.x86_64. 
Running mozilla-plugin-config -i -g -v created a lot of plugin links, but no flash.
Among the output were these lines:
INFO: Wrapping /usr/lib/mozilla/plugins/libflashplayer.so to /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so...
/usr/lib/nspluginwrapper/npviewer.bin: error while loading shared libraries: libplds4.so: cannot open shared object file: No such file or directory
(and the same for some other plugings, like Adobe Reader)

Version-Release number of selected component (if applicable):
nspluginwrapper-1.1.2-4.fc10.x86_64
nspluginwrapper-1.1.2-4.fc10.i386
flash-plugin-10.0.15.3-release.i386
(but: issue was already there before yesterdays update of flash-plugin from adobe)

Examinining this binary i saw this:
ldd /usr/lib/nspluginwrapper/npviewer.bin
	linux-gate.so.1 =>  (0x00132000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00133000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00519000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x005ae000)
	libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x005cb000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0063e000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00668000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00685000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00690000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00708000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0074e000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x007e1000)
	libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x00810000)
	libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x00851000)
	libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x00855000)
	librt.so.1 => /lib/librt.so.1 (0x0085a000)
	libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00864000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00947000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0x00a48000)
	libdl.so.2 => /lib/libdl.so.2 (0x00aa1000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00aa6000)
	libplds4.so => not found
	libplc4.so => not found
	libnspr4.so => not found
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00ac0000)
	libc.so.6 => /lib/libc.so.6 (0x00ace000)
	/lib/ld-linux.so.2 (0x00110000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00c46000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00c49000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00c4c000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00c51000)
	libm.so.6 => /lib/libm.so.6 (0x00c79000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00ca2000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00cb2000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00cbb000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00cbe000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00cc7000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00cce000)
	libselinux.so.1 => /lib/libselinux.so.1 (0x00cd8000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00cf4000)
	libz.so.1 => /lib/libz.so.1 (0x00d3b000)
	libexpat.so.1 => /lib/libexpat.so.1 (0x00d4f000)
	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00d76000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00d78000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x00d94000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x00d9c000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00db6000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00db9000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00dbf000)

So, simple solution: install nspr.i386 which provides the missing libraries. Somehow, this package seems to be missing from the requirements of the nspluginwrapper.i386 rpm (it lists libnspr4.so

After installing nspr.i386 and rerunning mozilla-plugin-config -i -g -v , the flash plugin shows up in /usr/lib64/mozilla/plugins-wrapped and it works in firefox.

Comment 1 Warren Togami 2008-12-18 20:50:18 UTC
This is not nspluginwrapper's fault.  flash-plugin's RPM which we do not control is missing requires, and there is nothing we can do about this because it is proprietary software.

Furthermore, apparently this is not a regression from the previous version of Flash 10.

Comment 2 David Jansen 2008-12-19 18:41:02 UTC
but it is nspluginwrapper which shows the missing libraries, as my ldd output shows. so how is that flash-plugin's fault? A Fedora component is missing a library supplied by another Fedora component. No way that can be blamed on a 3rd party plugin, and no way it can be solved there. Needs to be solved in the Fedora rpms, or it won't get solved.

Comment 3 Warren Togami 2008-12-19 21:28:03 UTC
BTW, why are you running an old version of nspluginwrapper?  1.1.0 was out for a while now.

I cannot reproduce your problem.  I did the following:
1) yum remove '*.i386'
2) yum install nspluginwrapper.i386

It pulls in nspr.i386.

Comment 4 David Jansen 2008-12-23 17:20:14 UTC
yes, I'm using nspluginwrapper 1.1.10 now. But it still doesn't solve it for me. I tried almost the same thing:
# yum remove nspr.i386 
# yum remove nspluginwrapper.i386
# yum install nspluginwrapper.i386
Result: no nspr.i386 (note also that yum doesn't complain about dependencies when I remove nspr.i386!). See below for exact output.

[root@schelde ~]# yum remove nspr.i386
Loaded plugins: changelog, fedorakmod, priorities, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package nspr.i386 0:4.7.3-2.fc10 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch           Version                Repository           Size
================================================================================
Removing:
 nspr           i386           4.7.3-2.fc10           installed           249 k

Transaction Summary
================================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove       1 Package(s)         

Is this ok [y/N]: y
Downloading Packages:
============================== Entering rpm code ===============================
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : nspr                                                     1/1 
=============================== Leaving rpm code ===============================

Removed:
  nspr.i386 0:4.7.3-2.fc10                                                      

Complete!
[root@schelde ~]# yum remove nspluginwrapper.i386
Loaded plugins: changelog, fedorakmod, priorities, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package nspluginwrapper.i386 0:1.1.10-1.fc10 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch        Version              Repository        Size
================================================================================
Removing:
 nspluginwrapper        i386        1.1.10-1.fc10        installed        426 k

Transaction Summary
================================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove       1 Package(s)         

Is this ok [y/N]: y
Downloading Packages:
============================== Entering rpm code ===============================
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : nspluginwrapper                                          1/1 
=============================== Leaving rpm code ===============================

Removed:
  nspluginwrapper.i386 0:1.1.10-1.fc10                                          

Complete!
[root@schelde ~]# yum install nspluginwrapper.i386
Loaded plugins: changelog, fedorakmod, priorities, refresh-packagekit
rpmfusion-nonfree-updates                                | 2.7 kB     00:00     
fedora                                                   |  951 B     00:00     
strw-extras                                              |  951 B     00:00     
rpmfusion-free-updates                                   | 2.7 kB     00:00     
rpmfusion-free                                           | 2.7 kB     00:00     
adobe-linux-i386                                         |  951 B     00:00     
rpmfusion-nonfree                                        | 2.7 kB     00:00     
updates                                                  | 2.3 kB     00:00     
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package nspluginwrapper.i386 0:1.1.10-1.fc10 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch        Version                Repository      Size
================================================================================
Installing:
 nspluginwrapper        i386        1.1.10-1.fc10          updates        183 k

Transaction Summary
================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 183 k
Is this ok [y/N]: y
Downloading Packages:
nspluginwrapper-1.1.10-1.fc10.i386.rpm                   | 183 kB     00:00     
============================== Entering rpm code ===============================
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : nspluginwrapper                                          1/1 
=============================== Leaving rpm code ===============================

Installed:
  nspluginwrapper.i386 0:1.1.10-1.fc10                                          

Complete!
[root@schelde ~]# rpm -q nspr
nspr-4.7.3-2.fc10.x86_64
[root@schelde ~]# rpm -q nspluginwrapper
nspluginwrapper-1.1.10-1.fc10.x86_64
nspluginwrapper-1.1.10-1.fc10.i386

Comment 5 Bug Zapper 2009-11-18 10:30:30 UTC
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Bug Zapper 2009-12-18 07:19:44 UTC
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.