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

Bug 94574

Summary: libsdl 1.2.8 ebuild DEPENDs on virtual/x11 even when nas and X are _not_ in USE
Product: Gentoo Linux Reporter: Matthew Kasa (RETIRED) <blackace>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Kasa (RETIRED) gentoo-dev 2005-05-30 19:25:45 UTC
The libsdl ebuild has conditional DEPENDs on virtual/x11 for both the nas and the X useflags.

Even without these flags in USE, xorg-x11 is getting pulled in.

This manifested itself due to the addition of the sdl useflag to the lib-compat 1.4 ebuild which blackdown-jdk depends on...this is a server that needs a jdk, but not X.
Comment 1 SpanKY gentoo-dev 2005-05-30 19:39:54 UTC
proove that libsdl builds w/out X installed and we'll drop the DEPEND
Comment 2 SpanKY gentoo-dev 2005-05-30 19:40:55 UTC
actually i lie, there is no such DEPEND in libsdl ... read the ebuild

in other words -> not a bug in libsdl
Comment 3 Matthew Kasa (RETIRED) gentoo-dev 2005-05-30 19:57:15 UTC
Please don't insult me, I HAVE read the ebuild.

And I agree it's not a bug in libsdl itself, it's likely a bug in the libsdl
EBUILD thus this is filed as an EBUILD BUG NOT A GAMES BUG.

Your RDEPEND for nas is wrapped across two lines...which is the only thing I can
think of that would cause the following emerge blackdown-jdk -upv --tree output,
and yes this would also be a bug in portage.

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     U ] dev-java/blackdown-jdk-1.4.2.01-r2 [1.4.2.01] -doc -mozilla 0 kB
[ebuild     U ]  sys-libs/lib-compat-1.4 [1.3] +sdl 3,090 kB
[ebuild  N    ]   media-libs/libsdl-1.2.8-r1  -X -aalib +alsa -arts -debug +dga
+directfb +esd +fbcon +ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl
-oss -pic +svga -xinerama -xv 2,541 kB
[ebuild  N    ]    dev-libs/DirectFB-0.9.22  -debug +fbcon -fusion -gif +jpeg
+mmx +mpeg +png +sdl +sse -static -sysfs +truetype 1,912 kB
[ebuild  N    ]     media-libs/libmpeg3-1.5.2  -debug 615 kB
[ebuild  N    ]      media-libs/a52dec-0.7.4-r4  -debug -djbfft -oss 235 kB
[ebuild     U ]      dev-lang/nasm-0.98.39-r1 [0.98.38] -build -doc 531 kB
[ebuild  N    ] x11-terms/xterm-200-r1  -Xaw3d -debug -toolbar +truetype
-unicode 681 kB
[ebuild  N    ]  sys-apps/utempter-0.5.5.5-r1  -debug 20 kB
[ebuild  N    ]   app-arch/rpm2targz-9.0-r2  2 kB
[ebuild     U ]    app-arch/cpio-2.6-r3 [2.6-r1] +nls 0 kB
[ebuild  N    ]    x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow -bitmap-fonts -cjk
-debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6
-minimal +mmx +nls +opengl +pam -sdk +sse -static -truetype-fonts -type1-fonts
(-uclibc) -xprint -xv 45,094 kB
[ebuild  N    ]     x11-base/opengl-update-2.2.1  38 kB
[ebuild     U ]      app-arch/bzip2-1.0.3 [1.0.2-r4] -build -debug -static 653 kB
[ebuild  N    ]     x11-misc/ttmkfdir-3.0.9-r3  -debug 19 kB
[ebuild     U ]      sys-devel/libtool-1.5.16 [1.5.10-r4] 2,709 kB
[ebuild     U ]       sys-devel/automake-1.9.5 [1.9.4] 740 kB
[ebuild     U ]        dev-lang/perl-5.8.5-r5 [5.8.5-r4] +berkdb -debug -doc
+gdbm -ithreads -perlsuid 0 kB
[ebuild  NS   ]         sys-libs/db-4.2.52_p2  -bootstrap -doc +java -nocxx
-tcltk 3,980 kB
[ebuild  N    ]    media-libs/libggi-2.0.1-r1  -X -aalib +directfb +fbcon +svga
558 kB
[ebuild  N    ]     media-libs/libgii-0.8.1  -X 289 kB
[ebuild  N    ]    media-libs/svgalib-1.9.19-r3  -build -debug 913 kB
Comment 4 SpanKY gentoo-dev 2005-05-30 20:21:43 UTC
games manages libsdl

you still have USE=opengl ... opengl pulls in virtual/opengl which defaults to
xorg-x11

learn to chill out
Comment 5 Matthew Kasa (RETIRED) gentoo-dev 2005-05-30 21:26:40 UTC
learn not to be such a prick to your fellow developers
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-31 01:39:54 UTC
Sorry to reopen - but this is the third bug in a few days complaining about
xorg-x11 getting pulled in for no _easily_ apparent reason while +sdl being the
culprit. 

Bug 93067
Bug 94308 
Bug 94574 (this one)

Would someone care to actually document somewhere what use flags overrides are
needed to get "xorg-free" system?

# euse -i sdl
global use flags (searching: sdl)
************************************************************
[- cD ] sdl - Adds support for Simple Direct Layer (media library)

This tells zero about xorg-x11. 

And I still think that +sdl should _not_ be in make.defaults.
Comment 7 SpanKY gentoo-dev 2005-05-31 05:14:41 UTC
no

file a new bug with the docs team if you want some kind of FAQ entry

if people dont want X then they should disable all X related USE flags