Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92362 - tmw-0.0.12 requires guichan to be built with sdl USE flag
Summary: tmw-0.0.12 requires guichan to be built with sdl USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 05:45 UTC by Alexandru Toma
Modified: 2005-05-12 18:53 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 Alexandru Toma 2005-05-12 05:45:15 UTC
If guichan is not built with the SDL use flag emerge tmw will fail

Reproducible: Always
Steps to Reproduce:
1. USE=-sdl emerge guichan
2. emerge tmw
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) games-rpg/tmw-0.0.12 to /
>>> md5 files   ;-) tmw-0.0.12.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/tmw-0.0.12-desktop.patch
>>> md5 files   ;-) files/digest-tmw-0.0.12
>>> md5 src_uri ;-) tmw-0.0.12.tar.gz
>>> Unpacking source...
>>> Unpacking tmw-0.0.12.tar.gz to /var/tmp/portage/tmw-0.0.12/work
 * Applying tmw-0.0.12-desktop.patch ...                                  [ ok ]
>>> Source unpacked.
 * Using GNU config files from /usr/share/libtool
 *  No config.sub found in /var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12, skipping..
 *  No config.guess found in /var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12, skippi
ng..
./configure --prefix=/usr/games --host=i686-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share/games --sysconfdir=/etc/games --
localstatedir=/var/games
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... yes
checking for gcnGuichanVersion in -lguichan... yes
checking for PHYSFS_init in -lphysfs... yes
checking for xmlInitParser in -lxml2... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for error_at_line... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for memset... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking for sdl-config... /usr/bin/sdl-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/graphics/Makefile
config.status: creating data/graphics/gui/Makefile
config.status: creating data/graphics/images/Makefile
config.status: creating data/graphics/sprites/Makefile
config.status: creating data/graphics/tiles/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/maps/Makefile
config.status: creating data/sfx/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12'
Making all in data
make[2]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data'
Making all in graphics
make[3]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics'
Making all in gui
make[4]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics/gui'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics/gui'
Making all in images
make[4]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics/images'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics/images'
Making all in sprites
make[4]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics/sprites'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics/sprites'
Making all in tiles
make[4]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics/tiles'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics/tiles'
make[4]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gr
aphics'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics'
make[3]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/gra
phics'
Making all in icons
make[3]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/ic
ons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/ico
ns'
Making all in maps
make[3]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/ma
ps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/map
s'
Making all in sfx
make[3]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/sf
x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data/sfx
'
make[3]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data'
make[2]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/data'
Making all in docs
make[2]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/docs'
Making all in src
make[2]: Entering directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/sha
re/games/tmw/"\"   -Wall -I/usr/include/SDL -D_REENTRANT `pkg-config --cflags li
bxml-2.0` -fno-inline -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT tmw-sp
riteset.o -MD -MP -MF ".deps/tmw-spriteset.Tpo" -c -o tmw-spriteset.o `test -f '
graphic/spriteset.cpp' || echo './'`graphic/spriteset.cpp; \
then mv -f ".deps/tmw-spriteset.Tpo" ".deps/tmw-spriteset.Po"; else rm -f ".deps
/tmw-spriteset.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/sha
re/games/tmw/"\"   -Wall -I/usr/include/SDL -D_REENTRANT `pkg-config --cflags li
bxml-2.0` -fno-inline -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT tmw-bu
tton.o -MD -MP -MF ".deps/tmw-button.Tpo" -c -o tmw-button.o `test -f 'gui/butto
n.cpp' || echo './'`gui/button.cpp; \
then mv -f ".deps/tmw-button.Tpo" ".deps/tmw-button.Po"; else rm -f ".deps/tmw-b
utton.Tpo"; exit 1; fi
In file included from graphics.h:27,
                 from gui/button.h:29,
                 from gui/button.cpp:24:
/usr/include/guichan/sdl.hpp:58:39: guichan/sdl/sdlgraphics.hpp: No such file or
 directory
/usr/include/guichan/sdl.hpp:59:42: guichan/sdl/sdlimageloader.hpp: No such file
 or directory
/usr/include/guichan/sdl.hpp:60:36: guichan/sdl/sdlinput.hpp: No such file or di
rectory
In file included from gui/button.h:29,
                 from gui/button.cpp:24:
graphics.h:62: error: `SDLGraphics' is not a class or namespace
graphics.h:62: error: invalid base-class specification
make[2]: *** [tmw-button.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tmw-0.0.12/work/tmw-0.0.12'
make: *** [all] Error 2

!!! ERROR: games-rpg/tmw-0.0.12 failed.
!!! Function games_src_compile, Line 158, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 23 2005, 15:08:42)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apm avi bitmap-fonts cdr crypt cups curl
emboss encode faac faad fam flac foomaticdb fortran gd geoip gif gphoto2 gpm
gtk2 guile imagemagick imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad
matroska mikmod mmx mmx2 mng motif mp3 mpeg mysql ncurses network nls no_wxgtk1
ogg oggvorbis opengl pam png postgres python quicktime readline rtc ruby sdl
slang spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts
vorbis xchatdccserver xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-05-12 18:53:22 UTC
added check to portage, thanks