Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75033 - games-strategy/wesnoth-0.8.8 should have media-libs/sdl-ttf as dependency
Summary: games-strategy/wesnoth-0.8.8 should have media-libs/sdl-ttf as dependency
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 04:25 UTC by Mariusz Pękala
Modified: 2005-01-09 13:00 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 Mariusz Pękala 2004-12-20 04:25:33 UTC
games-strategy/wesnoth-0.8.8 needs sdl-ttf. Compilation fails if this dependency is not satisfied beforehand.
As a workaround you may "emerge --oneshot media-libs/sdl-ttf" and then emerge wesnoth.
To fix set DEPEND="[..snip..] media-libs/sdl-ttf ..." in ebuild


Reproducible: Always
Steps to Reproduce:
1. (for the brave ones) emerge unmerge sdl-ttf
2. emerge wesnoth

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT 
-DWESNOTH_PATH=\"/usr/share/games/wesnoth\" -I../ -DLOCALEDIR=\"translations\"
-Os -march=i686 
-pipe -s -fno-rtti -mmmx -msse -m3dnow -c -o sdl_utils.o `test -f
'../sdl_utils.cpp' || echo './'`../sdl_utils.cpp
In file included from ../show_dialog.hpp:20,
from ../sdl_utils.cpp:24:
../font.hpp:17:21: SDL_ttf.h: No such file or directory
In file included from ../show_dialog.hpp:20,
from ../sdl_utils.cpp:24:
../font.hpp:100: error: `TTF_STYLE_NORMAL' was not declared in this scope
make[3]: *** [sdl_utils.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/wesnoth-0.8.8/work/wesnoth-0.8.8/src/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/wesnoth-0.8.8/work/wesnoth-0.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/wesnoth-0.8.8/work/wesnoth-0.8.8'
make: *** [all] Error 2!!! ERROR: games-strategy/wesnoth-0.8.8 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
The game should be merged and that nice music should play.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-20 05:18:59 UTC
no, that's not the problem.  let's have your emerge --info please.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-20 15:54:32 UTC
use USE="-tools" to avoid this.  Will be fixed in a future release of wesnoth.
Comment 3 Nikolas Garofil 2005-01-08 08:22:44 UTC
Same problem here,
The missing dep of sdl-ttf is the problem.
As you can see from the error, the headerfile SDL_ttf.h is missing and if you execute the following command on a computer with gentoolkit, locate and sdl-ttf:
qpkg -f `locate SDL_ttf.h` then you will see that this file is a part of sdl-ttf.
I am now trying to rebuild it with sdl-ttf, btw here is my emerge --info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://server/gentoo-portage"
USE="x86 X aalib acl acpi alsa apm avi berkdb bitmap-fonts bootsplash chroot crypt cscope dga divx4linux editor encode esd ethereal fbcon fbdev flac foomaticdb fortran gdbm gif gpm gtk imlib ipv6 javascript jpeg libcaca libwww mad mikmod mmx motif mozilla mp3 mpeg mplayer ncurses network nls offensive oggvorbis opengl oss pam pcre pdflib perl png pnp prelude python qt quicktime readline samba sdl server slang spell sse ssl tcpd tiff tools truetype userlocales vim-with-x xml2 xmms xv xvid zlib"
Comment 4 SpanKY gentoo-dev 2005-01-09 13:00:25 UTC
mr bones: any reason to not add 'tools? ( media-libs/sdl-ttf )' to the wesnoth ebuild ?