Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138178 - stabilize media-libs/sdl-ttf-2.0.8
Summary: stabilize media-libs/sdl-ttf-2.0.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 03:40 UTC by Richard
Modified: 2006-10-10 02:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,42.26 KB, text/plain)
2006-06-28 02:31 UTC, Richard
Details
config.log (config.log,41.81 KB, text/plain)
2006-06-28 09:02 UTC, Norbert Skalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2006-06-27 03:40:12 UTC
Trying to emerge SDL-ttf 

checking for a BSD-compatible install... /bin/install -c
checking for working alloca.h... yes
checking for alloca... yes
checking for freetype-config... /usr/bin/freetype-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.4... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for OpenGL support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating SDL_ttf.spec
config.status: executing depfiles commands
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=athlon-xp -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_OPENGL -c -o SDL_ttf.lo SDL_ttf.c
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=athlon-xp -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_OPENGL -c showfont.c
showfont.c: In function 'main':
showfont.c:257: error: 'ICONV_CONST' undeclared (first use in this function)
showfont.c:257: error: (Each undeclared identifier is reported only once
showfont.c:257: error: for each function it appears in.)
showfont.c:257: error: expected ';' before 'char'
showfont.c:270: error: 'from_str' undeclared (first use in this function)
make: *** [showfont.o] Error 1
make: *** Waiting for unfinished jobs....
mkdir .libs
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O2 -march=athlon-xp -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c  -fPIC -DPIC -o .libs/SDL_ttf.o
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O2 -march=athlon-xp -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c -o SDL_ttf.o >/dev/null 2>&1

!!! ERROR: media-libs/sdl-ttf-2.0.7 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  sdl-ttf-2.0.7.ebuild, line 26:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I got no idea what to try next.

emerge info 

Portage 2.1.1_pre1-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx DMX X acpi alsa apache2 apm arts audiofile avi berkbd berkdb bitmap-fonts bzlib cli crypt cups dba dri eds emboss encode esd exif extras fbcon fftw flash foomaticdb fortran gd gdbm gif gimp gimpprint glide gnupg gphoto2 gpm gps gstreamer gtk gtk2 icq imagemagick imap imlib insecure-savers ipv6 isdnlog jabber jpeg kde ldap libg++ libgda libwww mad maildir mbox mikmod mime ming mjpeg mmx mmxext mono motif mouse mozcalendar mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn nas nautilus ncurses nfs nls nptl nptlonly odbc ogg openal opengl oss pam panel-plugin pcre pdflib perl php png pppd python qt quicktime readline reflection sasl scanner sdl session silverxp slp spell spl sqlite sse-filters ssl startup-notification svg swat tcpd tga thunar-vfs toolbar truetype truetype-fonts type1-fonts udev usb userlocales v4l videos vidix voodoo3 vorbis win32codecs wmf wordperfect wxwindows xanim xchat xchatdccserver xface xine xinerama xml xmlrpc xmms xorg xosd xsl xv yahoo zlib elibc_glibc kernel_linux userland_GNU video_cards_3dfx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Ric
Comment 1 Norbert Skalski 2006-06-27 18:47:15 UTC
I'm getting the same results.  Here:

# emerge -v sdl-ttf
Calculating dependencies... done!
>>> Emerging (1 of 1) media-libs/sdl-ttf-2.0.7 to /
.
.
.
.
.
.
creating libSDL_ttf.la
(cd .libs && rm -f libSDL_ttf.la && ln -s ../libSDL_ttf.la libSDL_ttf.la)
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_OPENGL -c showfont.c
showfont.c: In function `main':
showfont.c:257: error: `ICONV_CONST' undeclared (first use in this function)
showfont.c:257: error: (Each undeclared identifier is reported only once
showfont.c:257: error: for each function it appears in.)
showfont.c:257: error: syntax error before "char"
showfont.c:270: error: `from_str' undeclared (first use in this function)
make: *** [showfont.o] Error 1

!!! ERROR: media-libs/sdl-ttf-2.0.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  sdl-ttf-2.0.7.ebuild, line 26:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant. 

emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aliaschain alsa apache2 asf avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups dga directfb divx4linu divx4linux doc dri dts dvd dvdr dvdread eds emboss encode esd ethereal evo examples fb fbcon ffmpeg firefox flac fmod foomaticdb fortran gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java javascript jpeg lame libg++ libwww live lzo mad madwifi mikmod mmx mng motif mozilla mp3 mpeg mpi mplayer mpm-worker mysql ncurses network nls nocd nptl nptlonly nvidia off offensive ogg openal opengl pam pcmcia pcre pdflib perl php png ppds pppd python qt3 qt4 quicktime readline real reflection rtc samba sdl session sndfile softmmu spell spl sse sse2 ssl tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vcd vcdimager video video_cards_nvidia videos vidix vorbis win32codecs xine xm12 xml xmms xorg xscreensaver xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-06-27 21:20:37 UTC
please attach the config.log from the build directory as text/plain.
Comment 3 Richard 2006-06-28 02:31:10 UTC
Created attachment 90344 [details]
config.log

This is the config.log file
Comment 4 Norbert Skalski 2006-06-28 09:02:25 UTC
Created attachment 90359 [details]
config.log
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-06-28 09:28:05 UTC
Try taking -D_GNU_SOURCE=1 out of sdl-config.  That's the only real difference I can see between your config.logs and mine.
Comment 6 Richard 2006-06-29 16:21:52 UTC
can you elaborate .. in sdl-config ? 
im not sure im following you .. 
im more than willing to try anything .. but i need a bit more detail :) 

Ric 
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2006-06-30 00:04:17 UTC
Yes, in sdl-config.

I think if you look in sdl-config or run sdl-config --cflags you'll see -D_GNU_SOURCE=1.  As root, try taking it out and see if sdl-ttf builds then.  It's just to see if the build works; I'm not suggesting it as a work-around.  I don't see where that's put into sdl-config during the libsdl build yet.

Remerge libsdl after you're done to make sure everything is back the way you left it.
Comment 8 Richard 2006-06-30 02:54:31 UTC
this morning i tried SDL_ttf-2.0.8 which is ~ still 
installed without a hitch.. simply added to the package.keywords
file. Works for me now. It also fixed the build failure for a friend
of mine which ended at 

<DistroMan>    -O2 -march=i686 -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DHAVE_OPENGL -c glfont.c
<DistroMan> showfont.c: In function 'main':
<DistroMan> showfont.c:257: error: 'ICONV_CONST' undeclared (first use in this function)
( finishes craching )  

With the same fix it also compiled on his box.

thanks :) 


Comment 9 Markus Giese 2006-08-24 15:38:31 UTC
emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://files.gentoo.gr ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apache apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal httpd icq imlib ipv6 isdnlog jpeg kde libg++ libwww live mad mikmod mmx mmxext motif mp3 mpeg mplayer mysql ncurses nls nmap nptl nvidia ogg opengl oss pam pcre pdflib perl php png ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl stream svcd svg tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs xine xml xmms xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Allen Brooker (AllenJB) 2006-09-01 07:51:20 UTC
Same problem here. Confirmed fixed by upgrading to sdl-ttf 2.0.8.

Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2"
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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --deep --tree"
FEATURES="autoconfig distlocks fixpackages keeptemp keepwork metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/         http://mirror.switch.ch/mirror/gentoo/          http://pandemonium.tiscali.de/pub/gentoo/       http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo"
LANG="en_GB"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j1"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 apm asf avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dedicated dga dlloader dri dts dvd dvdr dvdread emboss encode exif expat fbcon ffmpeg firefox flac ftp gif gnutls gstreamer gtk gtk2 haskell idn ipv6 isdnlog ithreads java javascript jpeg jpeg2k junit kde krb4 lcms libg++ lirc lzo mad mikmod mjpeg mng mozsvg mp3 mpeg musepack mysql mysqli ncurses nls nocd nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl php png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl session speex spl sqlite ssl svg tcpd tetex theora threads tidy truetype truetype-fonts type1-fonts udev unicode usb vcd vhosts videos vorbis wmf wxwindows xine xml xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_wacom kernel_linux linguas_en_GB lirc_devices_livedrive_midi userland_GNU video_cards_vesa video_cards_nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-01 19:33:06 UTC
(In reply to comment #7)
> Yes, in sdl-config.
> 
> I think if you look in sdl-config or run sdl-config --cflags you'll see
> -D_GNU_SOURCE=1.  As root, try taking it out and see if sdl-ttf builds then. 
> It's just to see if the build works; I'm not suggesting it as a work-around.  I
> don't see where that's put into sdl-config during the libsdl build yet.
> 
> Remerge libsdl after you're done to make sure everything is back the way you
> left it.

This bug occured to me when using media-libs/libsdl-1.2.11 and trying to downgrade media-libs/sdl-ttf-2.0.8 to 2.0.7. Downgrading libsdl to latest stable (1.2.8-r1) fixed the issue (and removed -D_GNU_SOURCE=1 from the output of sdl-config --cflags).

libsdl-1.2.9 fails to compile (due to gcc-4.1.1 I guess) and 1.2.9-r1 doesn't have -D_GNU_SOURCE=1 in sdl-config either. So perhaps sdl-ttf-2.0.7 depends on <media-libs/libsdl-1.2.11? Or perhaps there is a bug in media-libs/libsdl-1.2.11? ...
Comment 12 Michael Weyershäuser 2006-09-02 09:45:27 UTC
emerges fine on amd64

emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.17-suspend2-r4Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://server/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal imap isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly objc objc++ ogg oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sqlite ssl tcpd test truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 13 Simon Stelling (RETIRED) gentoo-dev 2006-09-02 09:48:11 UTC
you got keyword. (amd64 stable)
Comment 14 Markus Rothe (RETIRED) gentoo-dev 2006-09-02 12:55:30 UTC
ppc64 stable
Comment 15 Jason Wever (RETIRED) gentoo-dev 2006-09-02 15:22:54 UTC
Stable on SPARC
Comment 16 Joe Jezak (RETIRED) gentoo-dev 2006-09-05 21:31:36 UTC
Marked ppc stable.
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-06 12:42:29 UTC
x86 done
Comment 18 Tobias Scherbaum (RETIRED) gentoo-dev 2006-10-01 12:33:58 UTC
hppa stable
Comment 19 Bryan Østergaard (RETIRED) gentoo-dev 2006-10-10 02:49:44 UTC
Stable on Alpha + ia64.