Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42841 - sdl_ttf crashes when trying to compile; undeclared function.
Summary: sdl_ttf crashes when trying to compile; undeclared function.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 22:34 UTC by Bryan Duff
Modified: 2004-02-28 18:33 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 Bryan Duff 2004-02-24 22:34:38 UTC
See below for what happens.

Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r1)
=================================================================
System uname: 2.4.22-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.oregonstate
.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aavm alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm g
if gpm gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggv
orbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell s
sl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1. emerge sdl-ttf
Actual Results:  
gcc -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
 -I. -I.      -march=athlon-tbird -O3 -pipe -fomit-frame-pointer
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -I/usr/X11R6/include
-DHAVE_OPENGL -c glfont.c
mkdir .libs
gcc -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-I. -I. -march=athlon-tbird -O3 -pipe -fomit-frame-pointer
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include
-DHAVE_OPENGL -c SDL_ttf.c  -fPIC -DPIC -o .libs/SDL_ttf.lo
SDL_ttf.c: In function `TTF_OpenFontIndexRW':
SDL_ttf.c:276: error: `ft_open_stream' undeclared (first use in this function)
SDL_ttf.c:276: error: (Each undeclared identifier is reported only once
SDL_ttf.c:276: error: for each function it appears in.)
make: *** [SDL_ttf.lo] Error 1

!!! ERROR: media-libs/sdl-ttf-2.0.6 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed


Expected Results:  
It should have compiled, but of course.  What?  But of course.

# grep -ni ft_open_stream *
SDL_ttf.c:276:  font->args.flags = ft_open_stream;

missing an include; some dependencie?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-02-25 00:29:35 UTC
Attach config.log as a text/plain please.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-02-26 09:18:43 UTC
can't help unless you give me the information.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-02-28 18:32:35 UTC
open
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-02-28 18:33:14 UTC
Continues to work fine for me so I'm closing with WORKSFORME.