Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338238 - xulrunner with -cups eflag should not depend on cups
Summary: xulrunner with -cups eflag should not depend on cups
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 21:53 UTC by qdii
Modified: 2010-09-21 18:58 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 qdii 2010-09-20 21:53:12 UTC
emerging net-libs/xulrunner-1.9.2.9-r1 or net-libs/xulrunner-2.0_beta7_pre with disabled cups flag fails with dependency issue.

- app-text/ghostscript-gpl-8.71-r6 (Change USE: +cups)
(dependency required by "net-print/cups-1.4.4-r2" [ebuild])
(dependency required by "net-libs/xulrunner-2.0_beta7_pre" [ebuild])
(dependency required by "xulrunner" [argument])

Reproducible: Always

Steps to Reproduce:
1. disable cups flag
2. make sure cups is not installed
3. emerge xulrunner

Actual Results:  
xulrunner fails for cups being absent

Expected Results:  
xulrunner should be compiling fine

ebuild seems not to be checking the flag :
from xulrunner ebuild :

RDEPEND="
	>=sys-devel/binutils-2.16.1
	>=dev-libs/nss-3.12.8_beta1
	>=dev-libs/nspr-4.8.5
	>=app-text/hunspell-1.2
	!qt4? ( >=x11-libs/cairo-1.10[X] )
	>=dev-libs/libevent-1.4.7
	x11-libs/pango[X]
	net-print/cups
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-21 08:44:06 UTC
Could you paste 'emerge -pv --nodeps xulrunner'?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-21 16:02:10 UTC
net-libs/xulrunner-2.0_beta7_pre ebuild does not provide cups flag. net-libs/xulrunner-1.9.2.9-r1 does provide one and it disables the CUPS dependency as expected. If you insist on reporting a bug, then please clean up your system and provide information related to 1.9.2.9-r1.
Comment 3 qdii 2010-09-21 18:52:21 UTC
Hello Michael,
thanks for your answers !

I have been able to install xulrunner without cups by using the --nodeps flag.

Yet, is it normal that xulrunner-2.0_beta7_pre depends on cups ?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-21 18:58:34 UTC
(In reply to comment #3)
> Yet, is it normal that xulrunner-2.0_beta7_pre depends on cups ?

That's mozilla team decision, and that ebuild is in mozilla overlay. I guess they have their reasons (maybe some bugs in configure?), and I'm pretty sure the flag will be back there when 2.0 hits the main portage tree.