Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200493

Summary: dev-util/devhelp incorrect firefox/xulrunner dependencies
Product: Gentoo Linux Reporter: Andrew Cowie <andrew>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: minor CC: jakub
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Cowie 2007-11-27 07:54:39 UTC
Is there actually a requirement that dev-util/devhelp depend on www-client/mozilla-firefox when USE=xulrunner? I don't believe so.

[I noticed because this was the only thing on my system trying to bring in firefox during an emerge world]

AfC
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-27 08:47:19 UTC
Does this work for you?
<snip>
--- devhelp-0.16.1.ebuild	2007-11-25 00:36:03.000000000 +0100
+++ devhelp-0.16.1.ebuild	2007-11-27 09:46:25.000000000 +0100
@@ -17,10 +17,8 @@
 	>=dev-libs/glib-2.8
 	>=gnome-base/libglade-2.4
 	>=x11-libs/libwnck-2.10
-	||	(
-			xulrunner? ( net-libs/xulrunner )
-			>=www-client/mozilla-firefox-1.0.2-r1
-		)
+	xulrunner? ( net-libs/xulrunner )
+	!xulrunner? ( >=www-client/mozilla-firefox-1.0.2-r1 )
 	zlib? ( sys-libs/zlib )"
 DEPEND="${RDEPEND}
 	  sys-devel/gettext
</snip>
Comment 2 Andrew Cowie 2007-11-27 09:44:14 UTC
Yes it does.

... but I'm going to have to withdraw this bug, because I just found mozilla-firefox in my world file (gah, sorry). I've just removed it by force uninstalling it from my system, and `emerge world -Du` no longer wants to pull it in. Yeay.

My original report was based on `qdepends -Q mozilla-firefox` and seeing devhelp there.

AfC
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-27 10:49:14 UTC
The deps are wrong regardless of Comment #2, see Bug 168179. In fact, the ebuild will fail if you have USE=xulrunner set, xulrunner not installed because nothing else depends on it, and you have mozilla-firefox installed. The dependency will be satisfied by mozilla-firefox but the ebuild will try to compile --with-gecko=xulrunner.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-27 11:12:38 UTC
fix is in CVS, thanks for reporting.