Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248202 - x11-libs/agg pulls in sdl with negative use
Summary: x11-libs/agg pulls in sdl with negative use
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 14:36 UTC by Stefan de Konink
Modified: 2018-06-20 09:28 UTC (History)
0 users

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 Stefan de Konink 2008-11-22 14:36:09 UTC
What is the reason for agg to pull in sdl anyway even if the useflag is -sdl?

Reproducible: Always

Steps to Reproduce:
Comment 1 Daniel Pielmeier gentoo-dev 2008-11-22 14:52:30 UTC
Because it appears twice in the dependencies of agg. One time in RDEPEND and the second time in DEPEND. The first is removed when setting USE=-sdl" while the second is not. So removing the second entry should work. One needs to figure out if sdl is a runtime or build time dependency though.


RDEPEND="sdl? ( >=media-libs/libsdl-1.2.0 )
	X? ( x11-libs/libX11 )
	truetype? ( >=media-libs/freetype-2 )"
	# sdl.m4 missing in the tarball
DEPEND="media-libs/libsdl
	dev-util/pkgconfig
	${RDEPEND}"
Comment 2 Stefan de Konink 2008-11-22 14:54:34 UTC
I'm installing a system now, will give a shot if it can compile without the DEPEND.
Comment 3 Stefan de Konink 2008-11-22 15:08:58 UTC
configure.in:103: error: possibly undefined macro: AM_PATH_SDL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2008-11-22 23:06:24 UTC
Thanks for reporting. Assigning to maintainer.

@Stefan, this looks like it should be reported upstream.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-18 19:01:49 UTC
So the DEPEND is correct, isn't it? USE flags are for enabling or disabling features, not dependencies.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-27 06:20:40 UTC
No bug here. Resolving as INVALID.
Comment 7 Stefan de Konink 2010-07-27 09:44:13 UTC
Why not just --disable-sdl and remove the runtime dependency?