"emerge kde" fails on media-libs/tunepimp-0.3.0. Reproducible: Always Steps to Reproduce: 1. emerge kde (has tunepimp as a dependency) Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/tunepimp -Ithreads/posix -Wall -g -O2 -mcpu=i686 -pipe -MT filelookup.lo -MD -MP -MF .deps/filelookup.Tpo -c filelookup.cpp -fPIC -DPIC -o .libs/filelookup.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/tunepimp -Ithreads/posix -Wall -g -O2 -mcpu=i686 -pipe -MT analyzer.lo -MD -MP -MF .deps/analyzer.Tpo -c analyzer.cpp -fPIC -DPIC -o .libs/analyzer.o filelookup.cpp: In member function `int LookupFile::extractArtistList(void*)': filelookup.cpp:51: error: `MBS_SelectLookupResult' undeclared (first use this function) filelookup.cpp:51: error: (Each undeclared identifier is reported only once for each function it appears in.) filelookup.cpp:55: error: `MBE_LookupGetRelevance' undeclared (first use this function) filelookup.cpp:58: error: `MBS_SelectLookupResultArtist' undeclared (first use this function) filelookup.cpp: In member function `int LookupFile::extractAlbumList(void*)': filelookup.cpp:93: error: `MBS_SelectLookupResultAlbum' undeclared (first use this function) filelookup.cpp:98: error: `MBE_AlbumGetNumCdindexIds' undeclared (first use this function) filelookup.cpp:105: error: `MBE_AlbumGetAlbumArtistId' undeclared (first use this function) filelookup.cpp:107: error: `MBI_VARIOUS_ARTIST_ID' undeclared (first use this function) filelookup.cpp:109: error: `MBE_AlbumGetAlbumType' undeclared (first use this function) filelookup.cpp:110: error: `mb_GetFragmentFromURL' undeclared (first use this function) filelookup.cpp:113: error: `MBE_AlbumGetAlbumStatus' undeclared (first use this function) filelookup.cpp:117: error: `MBE_AlbumGetNumReleaseDates' undeclared (first use this function) filelookup.cpp:121: error: `MBS_SelectReleaseDate' undeclared (first use this function) filelookup.cpp:124: error: `MBE_ReleaseGetDate' undeclared (first use this function) filelookup.cpp:139: error: `MBE_ReleaseGetCountry' undeclared (first use this function) filelookup.cpp: In member function `int LookupFile::extractTrackList(void*)': filelookup.cpp:192: error: `MBS_SelectLookupResultTrack' undeclared (first use this function) filelookup.cpp:199: error: `MBE_TrackGetTrackDuration' undeclared (first use this function) filelookup.cpp:229: error: `mb_GetFragmentFromURL' undeclared (first use this function) filelookup.cpp:280: error: `MBE_AlbumGetTrackList' undeclared (first use this function) filelookup.cpp:280: error: `mb_GetOrdinalFromList' undeclared (first use this function) filelookup.cpp: In member function `void LookupFile::extractMatch(void*)': filelookup.cpp:335: error: `mb_GetOrdinalFromList' undeclared (first use this function) filelookup.cpp: In member function `virtual LookupStatus LookupFile::lookup()': filelookup.cpp:377: error: `MBQ_FileInfoLookup' undeclared (first use this function) filelookup.cpp:395: error: `MBE_LookupGetType' undeclared (first use this function) filelookup.cpp:402: error: `mb_GetFragmentFromURL' undeclared (first use this function) make[3]: *** [filelookup.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/tunepimp -Ithreads/posix -Wall -g -O2 -mcpu=i686 -pipe -MT analyzer.lo -MD -MP -MF .deps/analyzer.Tpo -c analyzer.cpp -o analyzer.o >/dev/null 2>&1 make[3]: Leaving directory `/storage/extmp/portage/tunepimp-0.3.0/work/libtunepimp-0.3.0/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/storage/extmp/portage/tunepimp-0.3.0/work/libtunepimp-0.3.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/storage/extmp/portage/tunepimp-0.3.0/work/libtunepimp-0.3.0' make: *** [all] Error 2 !!! ERROR: media-libs/tunepimp-0.3.0 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! emake failed
tunepimp-0.3.0 builds without problem here. Please post the output of "emerge info" Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8) ================================================================= System uname: 2.6.8 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/gentoo http://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 avi bcmath berkdb bitmap-fonts bzlib caps cdr crypt cups divx4linux doc dvd encode fam gd gdbm gif gnome gpm gtk gtk2 guile imap imlib java jikes jpeg ldap libwww mad memlimit mmx motif mozilla mpeg mysql ncurses offensive oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk theora tiff truetype x86 xml2 xmms xprint xv zlib"
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops -msse -mfpmath=sse -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /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/qmail/control /var/www/localhost/htdocs//mythweb/config" CONFIG_PROTECT_MASK="/etc/CORBA /etc/X11/gdm /etc/X11/starthere /etc/X11/xkb /etc/a2ps /etc/bash_completion.d /etc/bonobo-activation /etc/dhcpc /etc/env.d /etc/esd /etc/gconf /etc/ggi /etc/gimp /etc/gnome /etc/gnome-vfs-2.0 /etc/gpm /etc/gtk-2.0 /etc/htdig /etc/imlib /etc/lftp /etc/lynx /etc/metalog /etc/mutt /etc/mysql /etc/oaf /etc/openldap /etc/openoffice /etc/pango /etc/pcmcia /etc/php4 /etc/postfix/sample /etc/pp /etc/profile.d /etc/sane.d /etc/screen /etc/sgml /etc/sound /etc/ssh /etc/svga /etc/svgalib /etc/t1lib /etc/terminfo /etc/vfs /etc/wget/etc/X11/fs /etc/xml /usr/X11R6/lib/X11/xkb /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/storage/distfiles" FEATURES="autoaddcvs ccache digest sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/storage/extmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow S3TC X Xaw3d acl acpi acpi4linux alsa apache2 arts avi berkdb bitmap-fonts bonobo bsh cdr chroot client composite crypt cups dedicated dga directfb divx4linux doc dvd emacs encode esd evms2 exif fam fbcon foomaticdb freetype fs ftp gcj gdbm gif gimp gnome gnuplot gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imap imlib ipv6 irmc jabber java javadoc javascript joystick jpeg junit jython kde ldap libg++ libwww linguas_de lirc lmtp lufsusermount mad mikmod mmx mng mono motif mozdevelop mozdomi mozilla mozsvg mpeg mpeg4 mplayer msql mysql ncurses nls nptl ntlm offensive oggvorbis opengl oscar oss pam pda pdflib perl pic plotutils png postgres ppds prebuilt python qt quicktime readline recode ruby samba sasl scanner sdl silc skey slang spell sse ssl stencil-buffer svg svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l v4l2 videos vim-with-x wmf x86 xemacs xface xine xinerama xml xml2 xmms xosd xprint xrandr xsl xv xvid zlib"
Which version of musicbrainz have you installed?
I have media-libs/musicbrainz-2.1.1 installed. Re-emerging musicbrainz did not help.
I found the reason: Headers of an old version of musicbrainz lying around in /usr/local/include, so old I forgot they existed. It works after deleting them. Sorry for 'bugging'.