FS#15393 - [firefox] missing dependency - alsa-lib

Attached to Project: Arch Linux
Opened by Andrew (abrouwers) - Monday, 06 July 2009, 00:50 GMT
Last edited by Jan de Groot (JGC) - Thursday, 16 July 2009, 18:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

firefox 3.5 was built against alsa-lib (a new dependency of FF), but this is NOT listed approprately. On a fresh install, installing xorg, a window manager, and firefox, and attempting to run firefox:


firefox: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory


Unfortunate, as I've always admired your "build in a chroot" comments on bugs :(
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 16 July 2009, 18:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in svn trunk. Will be taken into account for the next rebuild/update (which will be soon due to security issues in the JIT compiler).
Comment by Jan de Groot (JGC) - Monday, 06 July 2009, 06:33 GMT
Hmm, this is weird, xulrunner also links to this, while xulrunner was built in a chroot. The x86_64 version of firefox was not built in a chroot because the profiled build failed inside makechrootpkg, but the i686 version has that removed. I think one of the makedepends pulls alsa-lib in, and as namcap detects the optdepends, it doesn't bother about the alsa-lib dependency anymore.
Comment by Andrew (abrouwers) - Monday, 06 July 2009, 12:01 GMT
Yes, I think it's needed for the new ogg playback in 3.5 :)
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 10 July 2009, 19:22 GMT
@Jan, also xulrunner-1.9.1-2-i686 depends on dbus-glib.

I recently installed firefox in a chroot to try one thing, and it does not run shows "Couldn't load XPCOM.". Playing with LD_DEBUG=files firefox, detected that can not find the lib libdbus-glib-1.so.2 provided by dbus-glib, so its a dependency.

Loading...