Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42129 - media-libs/musicbrainz-2.0.2-r2 fails to install: missing files/syntax error
Summary: media-libs/musicbrainz-2.0.2-r2 fails to install: missing files/syntax error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 03:33 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2004-02-19 07:14 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 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-02-19 03:33:48 UTC
gcc -fno-strict-aliasing -DNDEBUG -march=athlon-xp -O5 -fomit-frame-pointer -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)
src/pymb.c:119: error: (Each undeclared identifier is reported only once
src/pymb.c:119: error: for each function it appears in.)
src/pymb.c:121: error: syntax error before ')' token
src/pymb.c: In function `py_mb_destructor':
src/pymb.c:141: error: syntax error before ')' token
src/pymb.c:142: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetVersion':
src/pymb.c:156: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetServer':
src/pymb.c:179: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetDebug':
src/pymb.c:196: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetProxy':
src/pymb.c:212: error: syntax error before ')' token
src/pymb.c: In function `py_mb_Authenticate':
src/pymb.c:232: error: syntax error before ')' token
src/pymb.c:237: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetDevice':
src/pymb.c:253: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetDepth':
src/pymb.c:269: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetMaxItems':
src/pymb.c:282: error: syntax error before ')' token
src/pymb.c: In function `py_mb_Query':
src/pymb.c:299: error: syntax error before ')' token
src/pymb.c:304: error: syntax error before ')' token
src/pymb.c: In function `py_mb_QueryWithArgs':
src/pymb.c:375: error: syntax error before ')' token
src/pymb.c:380: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetWebSubmitURL':
src/pymb.c:404: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetQueryError':
src/pymb.c:421: error: syntax error before ')' token
src/pymb.c: In function `py_mb_Select':
src/pymb.c:436: error: syntax error before ')' token
src/pymb.c: In function `py_mb_Select1':
src/pymb.c:451: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SelectWithArgs':
src/pymb.c:480: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetResultData':
src/pymb.c:496: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetResultData1':
src/pymb.c:516: error: syntax error before ')' token
src/pymb.c: In function `py_mb_DoesResultExist':
src/pymb.c:533: error: syntax error before ')' token
src/pymb.c: In function `py_mb_DoesResultExist1':
src/pymb.c:548: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetResultInt':
src/pymb.c:562: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetResultInt1':
src/pymb.c:577: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetResultRDF':
src/pymb.c:591: error: syntax error before ')' token
src/pymb.c:592: error: syntax error before ')' token
src/pymb.c:592: error: syntax error before ')' token
src/pymb.c:597: error: syntax error before ')' token
src/pymb.c: In function `py_mb_SetResultRDF':
src/pymb.c:609: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetIDFromURL':
src/pymb.c:628: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetFragmentFromURL':
src/pymb.c:643: error: syntax error before ')' token
src/pymb.c: In function `py_mb_GetOrdinalFromList':
src/pymb.c:658: error: syntax error before ')' token
src/pymb.c: In function `py_mb_CalculateSha1':
src/pymb.c:674: error: syntax error before ')' token
src/pymb.c: In function `py_mb_CalculateBitprint':
src/pymb.c:688: error: `BitprintInfo' undeclared (first use in this function)
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)


Reproducible: Always
Steps to Reproduce:
1. emerge musicbrainz




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 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="-march=athlon-xp -O5 -fomit-frame-pointer -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 -O5 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox usersandbox"
GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://ftp.caliu.info/pub/gentoo/
ftp://ftp.caliu.info/pub/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://darkstar.ist.utl.pt/gentoo/
http://gentoo.math.bme.hu http://gentoo.linux.no/ http://gentoo.mirror.sdv.fr
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://128.213.5.34/gentoo/
http://gentoo.tiscali.nl/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.tds.net/gentoo http://trumpetti.atm.tut.fi/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://mirror.pudas.net/gentoo http://gentoo.netnitco.net
http://gentoo.inode.at/ http://mirror.tucdemonic.org/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://adelie.polymtl.ca/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ds.thn.htu.se/linux/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/
http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://gentoo.seren.com/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.gentoo.gr.jp
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://cudlug.cudenver.edu/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.gg3.net/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo
ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.llarian.net/ http://gentoo.kems.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb bindist cdr crypt cscope cups curl
dga directfb doc dvd dvdr emacs emacs-w3 encode esd ethereal fbcon flash
foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 java jikes
jpeg junit kde ldap leim libg++ libwww mad maildir memlimit mikmod mmx motif
mozilla mpeg mule mysql nas ncurses nls nocd oggvorbis opengl oss pam pdflib
perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk
tcpd tetex tiff truetype usb videos wmf wxwindows x86 xinerama xml xml2 xmms
xosd xv zlib"
Comment 1 Michael O. Distler 2004-02-19 05:37:52 UTC
I do not know the implications - except you will probably not get python support in musicbrainz - but the following line worked for me:

USE="-python" emerge musicbrainz

Without 'python' in the USE flags, the missing patch file is not needed.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-02-19 05:59:57 UTC
I'm lucky I don't need python. Now it works, but the bug's still there.
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2004-02-19 07:14:03 UTC
I forgot to add the patch file. It should all be fixed now.