Bug 168570 - media-plugins/audacious-plugins-1.3.0_rc1 needs libsdl even without sdl use flag
Bug#: 168570 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chainsaw@gentoo.org Reported By: cyril42e@gmail.com
Component: Applications
URL: 
Summary: media-plugins/audacious-plugins-1.3.0_rc1 needs libsdl even without sdl use flag
Keywords:  
Status Whiteboard: 
Opened: 2007-02-27 12:50 0000
Description:   Opened: 2007-02-27 12:50 0000
when sdl use flag is not set, and libsdl is not installed, SDL/SDL.h is not
found during compilation :
video_init.c:9:21: error: SDL/SDL.h: No such file or directory
(and then lots of "undeclared")

installing libsdl fixes the problem, thus I think dependencies should be
corrected in the ebuild

Reproducible: Always

Steps to Reproduce:
1.emerge -C libsdl
2.USE="-sdl" emerge audacious-plugins
3.

Actual Results:  
compilation stops because of errors, due to SDL/SDL.h header not found

Expected Results:  
compilation success ...

emerge --info :

Portage 2.1.2-r12 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 08:29:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-* --prune-empty-dirs"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/toolchain
/usr/portage/local/layman/science /usr/portage/local/layman/mozilla
/usr/portage/local/layman/voip /usr/local/portage /usr/local/portage-supelec"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 apm audiofile berkdb bitmap-fonts cdr cli cracklib
crypt cups divx dri dv dvd dvdr esd fortran gdbm glx gpm gtk gtk2 hardened
iconv ieee1394 ipv6 isdnlog jpeg jpeg2k ldap libg++ lm_sensors mbox midi mime
mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl pam
pcmcia pcre pdf perl png posix ppds pppd python qt quicktime readline
reflection reiserfs samba session spl ssl svg tcpd threads tiff truetype
truetype-fonts type1-fonts unicode usb v4l vorbis wifi wma wmf wmp xinerama xml
xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia
v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPT

------- Comment #1 From Cyril42e 2007-02-27 12:52:29 0000 -------
Created an attachment (id=111408) [details]
compilation errors log

------- Comment #2 From Tony Vroon 2007-02-27 15:39:08 0000 -------
The SDL USE-flag has been removed and an explicit SDL dependency has been added
back. Sorry about the trouble.

You want -rc2, which will work.

------- Comment #3 From Dan 2007-04-17 15:51:48 0000 -------
*** Bug 174919 has been marked as a duplicate of this bug. ***

------- Comment #4 From Krzysztof Kozlowski 2007-04-17 17:30:07 0000 -------
audacious-plugins-1.3.3 - SDL dependency is not required.
From configure.ac:
--------------
if test "x$have_paranormal" = "xyes"; then
    have_paranormal=yes
    AM_PATH_SDL(1.2.5, , [
        AC_MSG_WARN([*** SDL is not installed. Paranormal will not be built.
***])
        have_paranormal="no"
    ])
else
    have_paranormal=no
    AC_MSG_RESULT([*** paranormal plugin disabled by request ***])
fi
--------------
When SDL is not found the visualization plugin paranoia is not omitted, but
everything works fine.

------- Comment #5 From Krzysztof Kozlowski 2007-04-17 17:31:14 0000 -------
(In reply to comment #4)
s/is not omitted/is omitted/
:/