Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229103 - www-client/mozilla-firefox-bin-2.0.0.14 missing pango-dependency
Summary: www-client/mozilla-firefox-bin-2.0.0.14 missing pango-dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 19:07 UTC by Florian "adlerweb" Knodt
Modified: 2008-07-01 13:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian "adlerweb" Knodt 2008-06-23 19:07:44 UTC
The ebuild for www-client/mozilla-firefox-bin-2.0.0.14 does not check if pango is installed and compiled with USE="X" but the binary depends on libpangoxft-1.0.so.0.

Reproducible: Always

Steps to Reproduce:
1. install www-client/mozilla-firefox-bin-2.0.0.14 on a system without pango or pango installed with USE="-X"
2. start the binary

Actual Results:  
/opt/firefox/firefox-bin: error while loading shared libraries: libpangoxft-1.0.so.0: cannot open shared object file: No such file or directory
firefox-bin exited with non-zero status (127)


Expected Results:  
- Dependency for x11-libs/pango
- Check if Cairo was built with USE="X" (like in www-client/mozilla-firefox-2.0.0.14)
- A running firefox
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-06-29 20:52:42 UTC
Fixed, thanks.
Comment 2 Eric Thibodeau 2008-07-01 12:51:52 UTC
Not exactly, Mozilla still doesn't DEPEND on pango and it's not being pulled in. I am building from a clean environment within catalyst, livecd-stage1. The snapshot is from 20080629 and includes the "fix".

It seems there is no choice but to depend on pango for it to be pulled in correctly.
Comment 3 Eric Thibodeau 2008-07-01 12:53:40 UTC
Actually, the USE=X check is most probably the reason I was getting the following (cryptic) error (the "Unable to resolve x11-libs/pango to an installed package" part):

>>> Emerging (5 of 147) www-client/mozilla-firefox-bin-2.0.0.14 to /
 *
 * ERROR: www-client/mozilla-firefox-bin-2.0.0.14 failed.
 * Call stack:
 *                             ebuild.sh, line   49:  Called pkg_setup
 *   mozilla-firefox-bin-2.0.0.14.ebuild, line   63:  Called built_with_use 'pkg_setup' 'pkg_setup' 'pkg_setup' '--missing'
 *                         eutils.eclass, line 1698:  Called die
 * The specific snippet of code:
 *      [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package"
 *  The die message:
 *   Unable to resolve x11-libs/pango to an installed package
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-client/mozilla-firefox-bin-2.0.0.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/mozilla-firefox-bin-2.0.0.14/temp/die.env'.
 *
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-07-01 13:41:40 UTC
Re-fixed, sorry about that :)