Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58352 - musicbrainz-2.1.1 fails to compile on gcc-2.95
Summary: musicbrainz-2.1.1 fails to compile on gcc-2.95
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 20:30 UTC by Denys Dmytriyenko
Modified: 2004-07-25 21:33 UTC (History)
0 users

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


Attachments
Patch to fix compilation error (musicbrainz-2.1.1.patch,904 bytes, patch)
2004-07-25 20:36 UTC, Denys Dmytriyenko
Details | Diff
Patch to fix compilation error (musicbrainz-2.1.1.patch,904 bytes, patch)
2004-07-25 20:38 UTC, Denys Dmytriyenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Dmytriyenko 2004-07-25 20:30:23 UTC
# emerge musicbrainz
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/musicbrainz-2.1.1 to /
>>> md5 src_uri ;-) libmusicbrainz-2.1.1.tar.gz
>>> Unpacking source...
>>> Unpacking libmusicbrainz-2.1.1.tar.gz to /var/tmp/portage/musicbrainz-2.1.1/work
>>> Source unpacked.
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 a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for i686-pc-linux-gnu-g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether byte ordering is bigendian... no
checking for long... yes
checking size of long... 4
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ExpatVersionInfo in -lexpat... yes
checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/musicbrainz/Makefile
config.status: creating lib/Makefile
config.status: creating expat/Makefile
config.status: creating expat/xmltok/Makefile
config.status: creating expat/xmlparse/Makefile
config.status: creating osdep/Makefile
config.status: creating examples/Makefile
config.status: creating perl/Makefile
config.status: creating libmusicbrainz.pc
config.status: creating config.h
config.status: linking ./osdep/mb_linux.cpp to lib/mb.cpp
config.status: linking ./osdep/mb_linux.h to lib/mb.h
config.status: executing depfiles commands
config.status: executing default commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1'
Making all in include
make[2]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include'
Making all in musicbrainz
make[3]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include/musicbrainz'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include/musicbrainz'
make[3]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include'
make[2]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/include'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/lib'
source='base64.c' object='base64.lo' libtool=yes \
depfile='.deps/base64.Plo' tmpdepfile='.deps/base64.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o base64.lo base64.c
source='browser.c' object='browser.lo' libtool=yes \
depfile='.deps/browser.Plo' tmpdepfile='.deps/browser.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o browser.lo browser.c
source='c_wrapper.cpp' object='c_wrapper.lo' libtool=yes \
depfile='.deps/c_wrapper.Plo' tmpdepfile='.deps/c_wrapper.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o c_wrapper.lo c_wrapper.cpp
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c browser.c -Wp,-MD,.deps/browser.TPlo  -fPIC -DPIC -o .libs/browser.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c base64.c -Wp,-MD,.deps/base64.TPlo  -fPIC -DPIC -o .libs/base64.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c c_wrapper.cpp -Wp,-MD,.deps/c_wrapper.TPlo  -fPIC -DPIC -o .libs/c_wrapper.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c browser.c -Wp,-MD,.deps/browser.TPlo -o browser.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c base64.c -Wp,-MD,.deps/base64.TPlo -o base64.o >/dev/null 2>&1
source='comhttpsocket.cpp' object='comhttpsocket.lo' libtool=yes \
depfile='.deps/comhttpsocket.Plo' tmpdepfile='.deps/comhttpsocket.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o comhttpsocket.lo comhttpsocket.cpp
source='comsocket.cpp' object='comsocket.lo' libtool=yes \
depfile='.deps/comsocket.Plo' tmpdepfile='.deps/comsocket.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o comsocket.lo comsocket.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c comhttpsocket.cpp -Wp,-MD,.deps/comhttpsocket.TPlo  -fPIC -DPIC -o .libs/comhttpsocket.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c comsocket.cpp -Wp,-MD,.deps/comsocket.TPlo  -fPIC -DPIC -o .libs/comsocket.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c comhttpsocket.cpp -Wp,-MD,.deps/comhttpsocket.TPlo -o comhttpsocket.o >/dev/null 2>&1
source='diskid.cpp' object='diskid.lo' libtool=yes \
depfile='.deps/diskid.Plo' tmpdepfile='.deps/diskid.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o diskid.lo diskid.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c c_wrapper.cpp -Wp,-MD,.deps/c_wrapper.TPlo -o c_wrapper.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c comsocket.cpp -Wp,-MD,.deps/comsocket.TPlo -o comsocket.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c diskid.cpp -Wp,-MD,.deps/diskid.TPlo  -fPIC -DPIC -o .libs/diskid.o
source='haar.cpp' object='haar.lo' libtool=yes \
depfile='.deps/haar.Plo' tmpdepfile='.deps/haar.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o haar.lo haar.cpp
source='http.cpp' object='http.lo' libtool=yes \
depfile='.deps/http.Plo' tmpdepfile='.deps/http.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o http.lo http.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c haar.cpp -Wp,-MD,.deps/haar.TPlo  -fPIC -DPIC -o .libs/haar.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c http.cpp -Wp,-MD,.deps/http.TPlo  -fPIC -DPIC -o .libs/http.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c haar.cpp -Wp,-MD,.deps/haar.TPlo -o haar.o >/dev/null 2>&1
source='musicbrainz.cpp' object='musicbrainz.lo' libtool=yes \
depfile='.deps/musicbrainz.Plo' tmpdepfile='.deps/musicbrainz.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o musicbrainz.lo musicbrainz.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c musicbrainz.cpp -Wp,-MD,.deps/musicbrainz.TPlo  -fPIC -DPIC -o .libs/musicbrainz.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c http.cpp -Wp,-MD,.deps/http.TPlo -o http.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c diskid.cpp -Wp,-MD,.deps/diskid.TPlo -o diskid.o >/dev/null 2>&1
source='sha1.c' object='sha1.lo' libtool=yes \
depfile='.deps/sha1.Plo' tmpdepfile='.deps/sha1.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o sha1.lo sha1.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sha1.c -Wp,-MD,.deps/sha1.TPlo  -fPIC -DPIC -o .libs/sha1.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sha1.c -Wp,-MD,.deps/sha1.TPlo -o sha1.o >/dev/null 2>&1
source='signature.cpp' object='signature.lo' libtool=yes \
depfile='.deps/signature.Plo' tmpdepfile='.deps/signature.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o signature.lo signature.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c signature.cpp -Wp,-MD,.deps/signature.TPlo  -fPIC -DPIC -o .libs/signature.o
source='sigxdr.cpp' object='sigxdr.lo' libtool=yes \
depfile='.deps/sigxdr.Plo' tmpdepfile='.deps/sigxdr.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o sigxdr.lo sigxdr.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigxdr.cpp -Wp,-MD,.deps/sigxdr.TPlo  -fPIC -DPIC -o .libs/sigxdr.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigxdr.cpp -Wp,-MD,.deps/sigxdr.TPlo -o sigxdr.o >/dev/null 2>&1
source='sigclient.cpp' object='sigclient.lo' libtool=yes \
depfile='.deps/sigclient.Plo' tmpdepfile='.deps/sigclient.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o sigclient.lo sigclient.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c signature.cpp -Wp,-MD,.deps/signature.TPlo -o signature.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigclient.cpp -Wp,-MD,.deps/sigclient.TPlo  -fPIC -DPIC -o .libs/sigclient.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigclient.cpp -Wp,-MD,.deps/sigclient.TPlo -o sigclient.o >/dev/null 2>&1
source='sigfft.cpp' object='sigfft.lo' libtool=yes \
depfile='.deps/sigfft.Plo' tmpdepfile='.deps/sigfft.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o sigfft.lo sigfft.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c musicbrainz.cpp -Wp,-MD,.deps/musicbrainz.TPlo -o musicbrainz.o >/dev/null 2>&1
source='rdfparse.c' object='rdfparse.lo' libtool=yes \
depfile='.deps/rdfparse.Plo' tmpdepfile='.deps/rdfparse.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o rdfparse.lo rdfparse.c
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigfft.cpp -Wp,-MD,.deps/sigfft.TPlo  -fPIC -DPIC -o .libs/sigfft.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c sigfft.cpp -Wp,-MD,.deps/sigfft.TPlo -o sigfft.o >/dev/null 2>&1
source='rdfextract.cpp' object='rdfextract.lo' libtool=yes \
depfile='.deps/rdfextract.Plo' tmpdepfile='.deps/rdfextract.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o rdfextract.lo rdfextract.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c rdfparse.c -Wp,-MD,.deps/rdfparse.TPlo  -fPIC -DPIC -o .libs/rdfparse.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c rdfextract.cpp -Wp,-MD,.deps/rdfextract.TPlo  -fPIC -DPIC -o .libs/rdfextract.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c rdfparse.c -Wp,-MD,.deps/rdfparse.TPlo -o rdfparse.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c rdfextract.cpp -Wp,-MD,.deps/rdfextract.TPlo -o rdfextract.o >/dev/null 2>&1
source='uuid.cpp' object='uuid.lo' libtool=yes \
depfile='.deps/uuid.Plo' tmpdepfile='.deps/uuid.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o uuid.lo uuid.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c uuid.cpp -Wp,-MD,.deps/uuid.TPlo  -fPIC -DPIC -o .libs/uuid.o
source='mp3.cpp' object='mp3.lo' libtool=yes \
depfile='.deps/mp3.Plo' tmpdepfile='.deps/mp3.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o mp3.lo mp3.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c uuid.cpp -Wp,-MD,.deps/uuid.TPlo -o uuid.o >/dev/null 2>&1
source='mb.cpp' object='mb.lo' libtool=yes \
depfile='.deps/mb.Plo' tmpdepfile='.deps/mb.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz    -march=i686 -O3 -pipe -Wall -c -o mb.lo mb.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c mp3.cpp -Wp,-MD,.deps/mp3.TPlo  -fPIC -DPIC -o .libs/mp3.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c mp3.cpp -Wp,-MD,.deps/mp3.TPlo -o mp3.o >/dev/null 2>&1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c mb.cpp -Wp,-MD,.deps/mb.TPlo  -fPIC -DPIC -o .libs/mb.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -march=i686 -O3 -pipe -Wall -c mb.cpp -Wp,-MD,.deps/mb.TPlo -o mb.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link g++  -march=i686 -O3 -pipe -Wall   -o libmusicbrainz.la -rpath /usr/lib -version-info 4:0:0 base64.lo browser.lo c_wrapper.lo comhttpsocket.lo comsocket.lo diskid.lo haar.lo http.lo musicbrainz.lo sha1.lo signature.lo sigxdr.lo sigclient.lo sigfft.lo rdfparse.lo rdfextract.lo uuid.lo mp3.lo mb.lo -lexpat
g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbeginS.o  .libs/base64.o .libs/browser.o .libs/c_wrapper.o .libs/comhttpsocket.o .libs/comsocket.o .libs/diskid.o .libs/haar.o .libs/http.o .libs/musicbrainz.o .libs/sha1.o .libs/signature.o .libs/sigxdr.o .libs/sigclient.o .libs/sigfft.o .libs/rdfparse.o .libs/rdfextract.o .libs/uuid.o .libs/mp3.o .libs/mb.o  /usr/lib/libexpat.so -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/i686-pc-linux-gnu/lib -lstdc++ -lm -lc -lgcc /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtendS.o /usr/lib/crtn.o  -march=i686 -Wl,-soname -Wl,libmusicbrainz.so.4 -o .libs/libmusicbrainz.so.4.0.0
(cd .libs && rm -f libmusicbrainz.so.4 && ln -s libmusicbrainz.so.4.0.0 libmusicbrainz.so.4)
(cd .libs && rm -f libmusicbrainz.so && ln -s libmusicbrainz.so.4.0.0 libmusicbrainz.so)
ar cru .libs/libmusicbrainz.a  base64.o browser.o c_wrapper.o comhttpsocket.o comsocket.o diskid.o haar.o http.o musicbrainz.o sha1.o signature.o sigxdr.o sigclient.o sigfft.o rdfparse.o rdfextract.o uuid.o mp3.o mb.o
ranlib .libs/libmusicbrainz.a
creating libmusicbrainz.la
(cd .libs && rm -f libmusicbrainz.la && ln -s ../libmusicbrainz.la libmusicbrainz.la)
make[2]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/lib'
Making all in osdep
make[2]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/osdep'
/bin/sh ../libtool --mode=link gcc  -march=i686 -O3 -pipe -Wall   -o libosdep.la
mkdir .libs
ar cru .libs/libosdep.a
ranlib .libs/libosdep.a
creating libosdep.la
(cd .libs && rm -f libosdep.la && ln -s ../libosdep.la libosdep.la)
make[2]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/osdep'
Making all in examples
make[2]: Entering directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/examples'
source='cpp_example.cpp' object='cpp_example.o' libtool=no \
depfile='.deps/cpp_example.Po' tmpdepfile='.deps/cpp_example.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c -o cpp_example.o cpp_example.cpp
source='findartist.c' object='findartist.o' libtool=no \
depfile='.deps/findartist.Po' tmpdepfile='.deps/findartist.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c findartist.c
source='findalbum.c' object='findalbum.o' libtool=no \
depfile='.deps/findalbum.Po' tmpdepfile='.deps/findalbum.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c findalbum.c
source='findtrack.c' object='findtrack.o' libtool=no \
depfile='.deps/findtrack.Po' tmpdepfile='.deps/findtrack.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c findtrack.c
source='gettrack.c' object='gettrack.o' libtool=no \
depfile='.deps/gettrack.Po' tmpdepfile='.deps/gettrack.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c gettrack.c
source='cdlookup.c' object='cdlookup.o' libtool=no \
depfile='.deps/cdlookup.Po' tmpdepfile='.deps/cdlookup.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c cdlookup.c
source='gettrm.c' object='gettrm.o' libtool=no \
depfile='.deps/gettrm.Po' tmpdepfile='.deps/gettrm.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c gettrm.c
source='submittrm.c' object='submittrm.o' libtool=no \
depfile='.deps/submittrm.Po' tmpdepfile='.deps/submittrm.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c submittrm.c
source='getalbum.c' object='getalbum.o' libtool=no \
depfile='.deps/getalbum.Po' tmpdepfile='.deps/getalbum.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c getalbum.c
source='getartist.c' object='getartist.o' libtool=no \
depfile='.deps/getartist.Po' tmpdepfile='.deps/getartist.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c getartist.c
getalbum.c: In function `main':
getalbum.c:144: parse error before `int'
getalbum.c:145: `numDates' undeclared (first use in this function)
getalbum.c:145: (Each undeclared identifier is reported only once
getalbum.c:145: for each function it appears in.)
source='mp3info.c' object='mp3info.o' libtool=no \
depfile='.deps/mp3info.Po' tmpdepfile='.deps/mp3info.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=i686 -O3 -pipe -Wall -c mp3info.c
/bin/sh ../libtool --mode=link g++  -march=i686 -O3 -pipe -Wall   -o cpp_example  cpp_example.o ../lib/libmusicbrainz.la -lstdc++ -lm
make[2]: *** [getalbum.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mkdir .libs
g++ -march=i686 -O3 -pipe -Wall -o .libs/cpp_example cpp_example.o  ../lib/.libs/libmusicbrainz.so /usr/lib/libexpat.so -lstdc++ -lm
creating cpp_example
make[2]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/musicbrainz-2.1.1/work/libmusicbrainz-2.1.1'
make: *** [all] Error 2

!!! ERROR: media-libs/musicbrainz-2.1.1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:




# emerge info 
Portage 2.0.50-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.22-aa1) 
================================================================= 
System uname: 2.4.22-aa1 i686 AMD Athlon(tm) MP 1900+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=i686 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
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/terminfo /etc/env.d" 
CXXFLAGS="-march=i686 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib apache2 apm arts artswrappersuid audiofile avi berkdb cdr 
crypt cups curl dga divx4linux dv dvd encode esd fbcon flac foomaticdb gd gdbm 
gif gnome-libs gphoto gphoto2 gtk imap imlib java jpeg kde libg++ libwww live 
mad matroska matrox mbox md5sum mikmod mmx mng monkey motif mozaccess 
mozcalendar mozinterfaceinfo moznoirc mozp3p mozsvg mpeg mysql ncurses neXt 
nls oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt 
quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcpd theora 
tiff transcode truetype usb x86 xface xinerama xml2 xmms xv xvid zlib"
Comment 1 Denys Dmytriyenko 2004-07-25 20:36:22 UTC
Created attachment 36161 [details, diff]
Patch to fix compilation error

Define variable numDates in the very beginning of the function instead of the
middle so gcc-2.95 won't chock on it.
Comment 2 Denys Dmytriyenko 2004-07-25 20:38:08 UTC
Created attachment 36162 [details, diff]
Patch to fix compilation error

Define variable numDates in the very beginning of the function instead of the
middle so gcc-2.95 won't chock on it.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-07-25 21:33:06 UTC
gcc 2.95 is no longer supported.  Please upgrade to 3.x series.