Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39140 - scummvm 0.5.1 won't compile
Summary: scummvm 0.5.1 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 02:14 UTC by Maciej J. Woloszyk
Modified: 2011-09-14 20:39 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 Maciej J. Woloszyk 2004-01-23 02:14:53 UTC
When I try to emerge scummvm (0.5.1) it crashes compiling first file

Reproducible: Always
Steps to Reproduce:
1. emerge -v scummvm

Actual Results:  
Calculating dependencies ...done! 
>>> emerge (1 of 1) games-engines/scummvm-0.5.1 to / 
>>> md5 src_uri ;-) scummvm-0.5.1.tar.bz2 
>>> Unpacking source... 
>>> Unpacking scummvm-0.5.1.tar.bz2 to /var/tmp/portage/scummvm-0.5.1/work 
 * Applying 0.5.1-alsa.patch...                                           
[ ok ] 
>>> Source unpacked. 
Running ScummVM configure... 
Looking for C++ compiler... g++ 
Checking for compiler version... 3.2.3, ok 
Checking hosttype... Linux 
Checking endianess... little 
Alignment required... no 
Type with 1 byte... char 
Type with 2 bytes... short 
Type with 4 bytes... int 
Checking for Ogg Vorbis... yes 
Checking for MAD... yes 
Checking for ALSA 0.9... no 
 
Engines: 
    SCUMM 
    Simon the Sorcerer 
    Beneath a Steel Sky 
 
Backend... sdl 
Looking for sdl-config... sdl-config 
 
Creating config.h 
Creating config.mak 
cp backends/sdl/build.rules build.rules 
mkdir -p backends/sdl/.deps 
mkdir -p backends/sdl/.deps 
c++ -Wp,-MMD,"backends/sdl/.deps/sdl.d2" -g -O -Wall -pedantic -Wpointer-arith 
-Wcast-qual -Wcast-align -Wconversion -Wshadow -Wstrict-prototypes 
-Wuninitialized -Wimplicit -Wundef -Wno-long-long -Wno-multichar 
-Wno-unknown-pragmas -Wno-reorder -Wwrite-strings -fcheck-new 
-Wctor-dtor-privacy -Wnon-virtual-dtor  -DUNIX -DUSE_MAD -DUSE_VORBIS -I. 
-Icommon `sdl-config --cflags` -c backends/sdl/sdl.cpp -o backends/sdl/sdl.o 
c++ -Wp,-MMD,"backends/sdl/.deps/sdl-common.d2" -g -O -Wall -pedantic 
-Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow 
-Wstrict-prototypes -Wuninitialized -Wimplicit -Wundef -Wno-long-long 
-Wno-multichar -Wno-unknown-pragmas -Wno-reorder -Wwrite-strings -fcheck-new 
-Wctor-dtor-privacy -Wnon-virtual-dtor  -DUNIX -DUSE_MAD -DUSE_VORBIS -I. 
-Icommon `sdl-config --cflags` -c backends/sdl/sdl-common.cpp -o 
backends/sdl/sdl-common.o 
In file included 
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683, 
                 from common/stdafx.h:106, 
                 from backends/sdl/sdl-common.h:25, 
                 from backends/sdl/sdl.cpp:23: 
/usr/include/bits/stdio.h: In function `int getchar()': 
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different 
   exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous 
   declaration `int getchar() throw ()' 
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)': 
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:403: than previous 
   declaration `int getc_unlocked(FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int getchar_unlocked()': 
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:404: than previous 
   declaration `int getchar_unlocked() throw ()' 
/usr/include/bits/stdio.h: In function `int putchar(int)': 
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:419: than previous 
   declaration `int putchar(int) throw ()' 
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)': 
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)' 
   throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:428: than previous 
   declaration `int fputc_unlocked(int, FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)': 
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)' 
   throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:433: than previous 
   declaration `int putc_unlocked(int, FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)': 
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' 
throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:434: than previous 
   declaration `int putchar_unlocked(int) throw ()' 
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*, 
   FILE*)': 
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**, 
   size_t*, FILE*)' throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:480: than previous 
   declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()' 
In file included 
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683, 
                 from common/stdafx.h:106, 
                 from backends/sdl/sdl-common.h:25, 
                 from backends/sdl/sdl-common.cpp:22: 
/usr/include/bits/stdio.h: In function `int getchar()': 
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different 
   exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous 
   declaration `int getchar() throw ()' 
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)': 
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:403: than previous 
   declaration `int getc_unlocked(FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int getchar_unlocked()': 
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:404: than previous 
   declaration `int getchar_unlocked() throw ()' 
/usr/include/bits/stdio.h: In function `int putchar(int)': 
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:419: than previous 
   declaration `int putchar(int) throw ()' 
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)': 
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)' 
   throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:428: than previous 
   declaration `int fputc_unlocked(int, FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)': 
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)' 
   throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:433: than previous 
   declaration `int putc_unlocked(int, FILE*) throw ()' 
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)': 
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' 
throws 
   different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:434: than previous 
   declaration `int putchar_unlocked(int) throw ()' 
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*, 
   FILE*)': 
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**, 
   size_t*, FILE*)' throws different exceptions 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:480: than previous 
   declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()' 
make: *** [backends/sdl/sdl.o] B??d 1 
make: *** Czekam na niezako?czone zadania.... 
make: *** [backends/sdl/sdl-common.o] B??d 1 
 
!!! ERROR: games-engines/scummvm-0.5.1 failed. 
!!! Function src_compile, Line 52, Exitcode 2 
!!! emake failed 
 


mat root # emerge info 
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 
2.4.22-gentoo-r3) 
================================================================= 
System uname: 2.4.22-gentoo-r3 i686 AMD Duron(tm) Processor 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -mcpu=i686 -funroll-loops -pipe" 
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.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-Os -mcpu=i686 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ 
ftp://ftp.easynet.nl/mirror/gentoo/ 
ftp://ftp.uninett.no/pub/linux/Gentoo,ftp://trumpetti.atm.tut.fi/gentoo/ 
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync2.pl.gentoo.org/gentoo-portage" 
USE="3dnow X aalib apm arts avi berkdb cdr crypt cups dvd encode esd 
foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad matroska 
mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl 
png postgres python qt quicktime readline sdl slang spell ssl svga tcpd 
truetype x86 xml2 xmms xv zlib linguas_pl"
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-01-23 11:54:52 UTC
I recently compiled it for testing, and had no issues.
Specific versions it was compiling against were-

media-libs/libsdl-1.2.6-r3
media-libs/alsa-lib-1.0.0_rc2-r1
media-libs/libmad-0.15.0b-r1 
media-libs/libvorbis-1.0-r2 
media-libs/libmad-0.15.0b-r1 

Curious, what version of libsdl do you have?
Comment 2 Maciej J. Woloszyk 2004-01-24 04:20:47 UTC
I've just tested it on another machine and curiously - it compiles just fine.
On the one I've reported bug from I have the following versions of packages:
media-libs/libsdl-1.2.6-r3
media-libs/libmad-0.15.0b-r1
media-libs/libvorbis-1.0.1

There is no alsa-lib 'cos I don't use alsa on it.

On the second machine the versions are:
media-libs/libsdl-1.2.6-r3
media-libs/alsa-lib-0.9.8
media-libs/libmad-0.15.0b-r1
media-libs/libvorbis-1.0-r2

So I don't think it's the problem with libsdl. It's not the libmad or
libvorbis because when tryied with USE flags "-mad -vorbis" the result
is exactly the same.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-01-24 06:19:18 UTC
Maciej - take a look at this thread from the forums and try what's suggested please.

http://forums.gentoo.org/viewtopic.php?t=126411
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-01-24 13:20:33 UTC
I'm going to close this as WORKSFORME since I could reproduce the problem
and remerging kernel-headers, glibc and gcc fixed the issue.  If you still
can't merge scummvm after doing that, please reopen.  Thanks.
Comment 5 Maciej J. Woloszyk 2004-01-24 13:30:55 UTC
Reemerging glibc/gcc did solved the problem. Thanks.
Comment 6 SpanKY gentoo-dev 2004-01-24 18:44:34 UTC
it's a gcc bug
Comment 7 SpanKY gentoo-dev 2004-01-24 18:45:04 UTC

*** This bug has been marked as a duplicate of 30701 ***
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:36 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:29 UTC
clean up bug list after bugzilla update