Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163435 - firefox ebuild fails when cairo is provided by user
Summary: firefox ebuild fails when cairo is provided by user
Status: RESOLVED DUPLICATE of bug 139842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 14:13 UTC by Mikael Magnusson
Modified: 2007-01-23 20:39 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 Mikael Magnusson 2007-01-23 14:13:04 UTC
in /etc/portage/package.provided i have
x11-libs/cairo-1.3.99

and the ebuild tries

	if ! built_with_use x11-libs/cairo X; then
		eerror "Cairo is not built with X useflag."
		eerror "Please add 'X' to your USE flags, and re-emerge cairo."
		die "Cairo needs X"
	fi

which results in

!!! ERROR: www-client/mozilla-firefox-2.0.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1634:   Called dyn_setup
  ebuild.sh, line 706:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  mozilla-firefox-2.0.0.1-r2.ebuild, line 80:   Called built_with_use 'x11-libs/cairo' 'X'
  eutils.eclass, line 1647:   Called die

!!! Unable to resolve x11-libs/cairo 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 '/iie/fat/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r2/temp/build.log'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 20:16:59 UTC
Sorry, we really don't care.

*** This bug has been marked as a duplicate of bug 139842 ***
Comment 2 Paul Bredbury 2007-01-23 20:39:37 UTC
So, to provide a solution which works around the Portage silliness:

Create a cairo ebuild in your local overlay (even if it's an ebuild which does nothing), and emerge it. It must have, and be emerged with, the 'X' USE flag. Remove the entry from package.provided.