Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109890 - kdeaddons 3.5.0_beta2 ebuild compilation failure related to SDL
Summary: kdeaddons 3.5.0_beta2 ebuild compilation failure related to SDL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 121060 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-19 23:18 UTC by Ernst de Haan
Modified: 2006-01-31 08:40 UTC (History)
2 users (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 Ernst de Haan 2005-10-19 23:18:22 UTC
Compilation of the kdeaddons-3.5.0_beta2 ebuild fails with:

checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: --with-sdl was given, but test for SDL failed

!!! ERROR: kde-base/kdeaddons-3.5.0_beta2 failed.
!!! Function kde_src_compile, Line 156, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.


However, I have SDL installed:

# emerge -pv libsdl

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

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libsdl-1.2.9-r1  +X -aalib +alsa +arts -dga +directfb
-esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo
+opengl +oss +svga +xinerama +xv 0 kB

Reproducible: Always
Steps to Reproduce:
1. Edit /etc/portage/package.unmask and allow kdeaddons 3.5.0_beta2 (for example
with a rule: >=kde-base/kdeaddons-3.5_alpha1 )
2. emerge kdeaddons

Actual Results:  
See Details section

Expected Results:  
Proper installation

Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.3.4, glibc-2.3.5-r2,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.4, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://130.59.10.35/mirror/gentoo/"
LINGUAS="nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts browserplugin cpudetection
crypt cups curl debug directfb divx4linux eds emboss encode fam flac foomaticdb
fortran gdbm gif gimpprint gpm gstreamer gtk2 imagemagick imlib java javamail
jce jikes jpeg junit kde libg++ libwww mad mikmod mmx mmxext motif mozilla mp3
mpeg mplayer ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sdl spell sse ssl svga tcpd tiff truetype
truetype-fonts type1-fonts vorbis win32codecs xine xinerama xml2 xmms xprint xv
zlib linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Ernst de Haan 2005-10-19 23:44:35 UTC
I re-emerge libsdl and then it worked:

checking for SDL - version >= 1.2.0... yes
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-31 08:40:49 UTC
*** Bug 121060 has been marked as a duplicate of this bug. ***