musicbrainz-2.0.2-r2 fails to build. I think its because when pymb.o is built it cant find /usr/bin/install -c -m 644 mb_c.h /home/tmp/portage/musicbrainz-2.0.2-r2/image//usr/include/musicbrainz/mb_c.h Here are the errors running build_ext building '_musicbrainz' extension creating build/temp.linux-i686-2.3 creating build/temp.linux-i686-2.3/src gcc -fno-strict-aliasing -DNDEBUG -march=athlon-xp -fomit-frame-pointer -Os -falign-jumps -falign-functions -pipe -fPIC -DVERSION="0.8" -I/usr/include/python2.3 -c src/musicbrainzmodule.c -o build/temp.linux-i686-2.3/src/musicbrainzmodule.o gcc -fno-strict-aliasing -DNDEBUG -march=athlon-xp -fomit-frame-pointer -Os -falign-jumps -falign-functions -pipe -fPIC -DVERSION="0.8" -I/usr/include/python2.3 -c src/pymb.c -o build/temp.linux-i686-2.3/src/pymb.o src/pymb.c:2:30: musicbrainz/mb_c.h: No such file or directory src/pymb.c:11: error: syntax error before "musicbrainz_t" src/pymb.c:11: warning: no semicolon at end of struct or union src/pymb.c:12: warning: data definition has no type or storage class src/pymb.c: In function `py_mb_new': src/pymb.c:119: error: `self' undeclared (first use in this function) EDITED src/pymb.c:688: error: `info' undeclared (first use in this function) src/pymb.c:697: error: syntax error before ')' token src/pymb.c: In function `py_mb_GetMP3Info': src/pymb.c:743: error: syntax error before ')' token error: command 'gcc' failed with exit status 1 !!! ERROR: media-libs/musicbrainz-2.0.2-r2 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) If needed I can attach the entire emerge.log emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-rc2) ================================================================= System uname: 2.6.2-rc2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r2 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -fomit-frame-pointer -Os -falign-jumps -falign-functions -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 /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" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -fomit-frame-pointer -Os -falign-jumps -falign-functions -pipe" DISTDIR="/home/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox userpriv" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://128.213.5.34/gentoo/" MAKEOPTS="-j3 " PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/home/portage" PORTDIR_OVERLAY="/home/cvs" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X alsa apm arts async autofs avi berkdb bonobo cdr chroot crypt cups dillo doc encode esd foomaticdb freetype gdbm gif gnome gpm gtk gtk2 gvim hpijs imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx mmxext motif mozilla mpeg ncurses noreiserfs nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang snmp spell sse ssl svga tcltk tcpd tetex truetype type1 unicode x86 xml2 xmms xv zlib"
Could you try with simpler CFLAGS, maybe just CFLAGS="-march=athlon-xp -Os -pipe"?
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe" didnt work trying again with CFLAGS="-march=athlon-xp -Os -pipe" no joy either way.
Oh got the same error.
same here... Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2) ================================================================= System uname: 2.6.2 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -mfpmath=sse,387 -msse -fmerge-all-constants -ffast-math -fforce-addr -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -fstack-protector -fomit-frame-pointer -fprefetch-loop-arrays -funroll-all-loops" 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 /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" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -mfpmath=sse,387 -msse -fmerge-all-constants -ffast-math -fforce-addr -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -fstack-protector -fomit-frame-pointer -fprefetch-loop-arrays -funroll-all-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow X Xaw3d aalib acpi alsa apache2 arts avi bidi cdr cjk crypt cscope cups dga directfb doc dvb dvd dvdr encode ethereal fbcon flac flash foomaticdb gd gd-external gdbm gif gphoto2 gps gstreamer gtk gtk2 guile imagemagick imlib jack jack-caps jack-tmpfs java javascript joystick jpeg kde ladcca lcms ldap leim lesstif libg++ libgda libwww mad matrox mbox memlimit mikmod mmx motif mozilla mpeg mpi nas ncurses nls nocardbus odbc oggvorbis opengl oss pam pda pdflib perl png postgres ppds prelude python qt quicktime readline ruby samba scanner sdl slang slp snmp socks5 speex spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb videos vim-with-x voodoo3 wmf wxwindows x86 xface xinerama xml xml2 xmms xosd xv zlib"
FIX: Disabling the "python" use flag made it build for me.
This should be fixed in cvs now. I guess it will hit the rsync mirrors in an hour or so. Thanks for reporting the problem.
kloeri: it appears the patch is missing in CVS.
Sorry, I forgot to add the patch. The patch has now propogated to the rsync mirrors. There shouldn't be any more trouble now.