Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326705 - media-libs/libdvbpsi-0.1.6[doc] requires media-libs/gd[fontconfig]
Summary: media-libs/libdvbpsi-0.1.6[doc] requires media-libs/gd[fontconfig]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
: 339304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-03 04:49 UTC by Bob Johnson
Modified: 2011-10-11 01:49 UTC (History)
2 users (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 Bob Johnson 2010-07-03 04:49:32 UTC
If you attempt to compile media-libs/libdvbpsi-0.1.6 with the doc USE flag set, it will fail to compile unless media-libs/gd has been compiled with the fontconfig USE flag.

Reproducible: Always

Steps to Reproduce:
1.media-libs/gd with -fontconfig
2.media-libs/libdvbpsi with doc
3.fail




Dies with the error:

Error: Could not find/open font
Error: Could not find/open font
Error: Could not find/open font

Found the problem following this link: http://www.graphviz.org/bugs/b1431.html

The real problem is that the errors are really only warnings, and the documentation is actually generated just fine. However, the make fails at this step and so does the ebuild. That's an upstream problem.

The gentoo fix, I suppose, is to require the fontconfig USE flag on the gd dependency if the doc USE flag is specified.

The simplest workaround is simply to search bugs.gentoo.org, find this issue if you run across it, and make sure the fontconfig use flag is set on media-libs/gd if you want the documentation for media-libs/libdvbpsi.Hence I've set severity to 'minor'. This bug is FYI primarily. Developers, feel free to close it if it's not worth the effort or it's been fixed in later unstable releases (I haven't checked).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-10-01 09:59:36 UTC
*** Bug 339304 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-11 01:49:37 UTC
Looking at graphviz-2.26.3-r3.ebuild this seems to be fixed there. Fontconfig is always forced enabled for media-libs/gd.

And I've forced >=2.26 in libdvbpsi's ebuild