Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67235 - media-libs/sdl-sound-1.0.1-r1 doesn't compile
Summary: media-libs/sdl-sound-1.0.1-r1 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 08:16 UTC by Christian Korff
Modified: 2005-04-03 03:51 UTC (History)
0 users

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


Attachments
log file (from /var/log/portage) (2726-sdl-sound-1.0.1-r1.log,27.43 KB, text/plain)
2004-10-13 04:14 UTC, Christian Korff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Korff 2004-10-12 08:16:46 UTC
output of "emerge media-libs/sdl-sound":
...
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity    -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT  -c -o speex.lo `test -f speex.c || echo './'`speex.c
flac.c:92: error: syntax error before "d_metadata_t"
flac.c:92: warning: data definition has no type or storage class
flac.c: In function `read_callback':
flac.c:157: error: `FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM' undeclared (first use in this function)
flac.c:157: error: (Each undeclared identifier is reported only once
flac.c:157: error: for each function it appears in.)
flac.c:164: error: `FLAC__STREAM_DECODER_READ_STATUS_ABORT' undeclared (first use in this function)
flac.c:173: error: `FLAC__STREAM_DECODER_READ_STATUS_CONTINUE' undeclared (first use in this function)
flac.c: In function `write_callback':
flac.c:226: error: `FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE' undeclared (first use in this function)
flac.c: At top level:
flac.c:232: error: syntax error before '*' token
flac.c: In function `metadata_callback':
flac.c:235: error: `client_data' undeclared (first use in this function)
flac.c:242: error: `metadata' undeclared (first use in this function)
flac.c: In function `FLAC_open':
flac.c:404: warning: passing arg 2 of `FLAC__seekable_stream_decoder_set_write_callback' from incompatible pointer type
make[3]: *** [flac.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
rm -f .libs/speex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -c speex.c  -fPIC -DPIC -o .libs/speex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -c speex.c -o speex.o >/dev/null 2>&1
mv -f .libs/speex.lo speex.lo
make[3]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/decoders'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/decoders'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1'
make: *** [all] Error 2

!!! ERROR: media-libs/sdl-sound-1.0.1-r1 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed

emerge info:
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.2-r12, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/rules /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /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/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/src/portage-distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// http://trumpetti.atm.tut.fi/gentoo// ftp://trumpetti.atm.tut.fi/gentoo// http://gentoo.mirror.sdv.fr/  http://gentoo.math.bme.hu/ ftp://ftp.rxd.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources// http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo// ftp://ftp.solnet.ch/mirror/Gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apm arts avi berkdb bitmap-fonts canna cdr cjk crypt cups curl directfb dvd emacs encode esd f77 flac foomaticdb gdbm ggi gif gimpprint gnome gpm gtk gtk2 guile imagemagick imlib java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx mng motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode wmf wxwindows x86 xml2 xmms xprint xv zlib"

since it was flac.c that failed, my flac version is:
[I--] [  ] media-libs/flac-1.1.0-r2 (0)
Comment 1 SpanKY gentoo-dev 2004-10-12 11:05:26 UTC
what version of flac ?
Comment 2 Christian Korff 2004-10-12 13:48:45 UTC
[I--] [  ] media-libs/flac-1.1.0-r2 (0)

or do you mean any other package?
Comment 3 SpanKY gentoo-dev 2004-10-12 15:09:54 UTC
nope, that's the package i meant

sdl-sound builds for me with flac-1.1.0-r2 and flac-1.1.1 ...

if you re-emerge flac and then sdl-sound does it still fail ?

can you post the log of `emerge sdl-sound >& log` ?
Comment 4 Christian Korff 2004-10-13 04:14:17 UTC
Created attachment 41701 [details]
log file (from /var/log/portage)

here it is
Comment 5 SpanKY gentoo-dev 2004-11-15 21:31:30 UTC
i assume 1.1.1 fails in the same way ?

is 'FLAC__StreamMetadata' defined in /usr/include/FLAC/ somewhere ?
Comment 6 Christian Korff 2005-04-03 03:51:41 UTC
well, I had a manual installation of flace in /usr/local which causes this problems. sorry for the trouble