Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73211 - media-plugins/xmms-musepack-1.1 fails to compile
Summary: media-plugins/xmms-musepack-1.1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 04:12 UTC by Mika
Modified: 2004-12-08 02:33 UTC (History)
1 user (show)

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 Mika 2004-12-03 04:12:22 UTC
rork ~ # emerge xmms-musepack
Calculating dependencies ...done!
>>> emerge (1 of 1) media-plugins/xmms-musepack-1.1 to /
>>> md5 src_uri ;-) xmms-musepack-1.1.tar.bz2
>>> Unpacking source...
[...]
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DVERSION=\"1.1\" -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT libmpc.lo -MD -MP -MF .deps/libmpc.Tpo -c libmpc.cpp  -fPIC -DPIC -o .libs/libmpc.o
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DVERSION=\"1.1\"    -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT tags.lo -MD -MP -MF ".deps/tags.Tpo" -c -o tags.lo tags.cpp; \
then mv -f ".deps/tags.Tpo" ".deps/tags.Plo"; else rm -f ".deps/tags.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DVERSION=\"1.1\" -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT tags.lo -MD -MP -MF .deps/tags.Tpo -c tags.cpp  -fPIC -DPIC -o .libs/tags.o
libmpc.cpp:41: error: expected constructor, destructor, or type conversion before '*' token
libmpc.cpp:41: error: expected `,' or `;' before '*' token
libmpc.cpp:68: error: `InputPlugin' does not name a type
libmpc.cpp:95: error: expected constructor, destructor, or type conversion before '*' token
libmpc.cpp:95: error: expected `,' or `;' before '*' token
libmpc.cpp: In function `void* DecodeThread(void*)':
libmpc.cpp:214: error: `mod' undeclared (first use this function)
libmpc.cpp:214: error: (Each undeclared identifier is reported only once for each function it appears in.)
libmpc.cpp:231: error: `FMT_S16_LE' undeclared (first use this function)
libmpc.cpp:284: error: `xmms_usleep' undeclared (first use this function)
libmpc.cpp: In function `char* generate_title(char*)':
libmpc.cpp:336: error: `xmms_get_gentitle_format' undeclared (first use this function)
libmpc.cpp: In function `int mpc_get_time()':
libmpc.cpp:368: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_seek(int)':
libmpc.cpp:380: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_pause(short int)':
libmpc.cpp:384: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_stop()':
libmpc.cpp:394: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_about_box()':
libmpc.cpp:433: error: `xmms_show_message' undeclared (first use this function)
make[2]: *** [libmpc.lo] Erreur 1
make[2]: *** Attente des t
Comment 1 Mika 2004-12-03 04:12:22 UTC
rork ~ # emerge xmms-musepack
Calculating dependencies ...done!
>>> emerge (1 of 1) media-plugins/xmms-musepack-1.1 to /
>>> md5 src_uri ;-) xmms-musepack-1.1.tar.bz2
>>> Unpacking source...
[...]
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DVERSION=\"1.1\" -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT libmpc.lo -MD -MP -MF .deps/libmpc.Tpo -c libmpc.cpp  -fPIC -DPIC -o .libs/libmpc.o
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DVERSION=\"1.1\"    -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT tags.lo -MD -MP -MF ".deps/tags.Tpo" -c -o tags.lo tags.cpp; \
then mv -f ".deps/tags.Tpo" ".deps/tags.Plo"; else rm -f ".deps/tags.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DVERSION=\"1.1\" -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O3 -fomit-frame-pointer -MT tags.lo -MD -MP -MF .deps/tags.Tpo -c tags.cpp  -fPIC -DPIC -o .libs/tags.o
libmpc.cpp:41: error: expected constructor, destructor, or type conversion before '*' token
libmpc.cpp:41: error: expected `,' or `;' before '*' token
libmpc.cpp:68: error: `InputPlugin' does not name a type
libmpc.cpp:95: error: expected constructor, destructor, or type conversion before '*' token
libmpc.cpp:95: error: expected `,' or `;' before '*' token
libmpc.cpp: In function `void* DecodeThread(void*)':
libmpc.cpp:214: error: `mod' undeclared (first use this function)
libmpc.cpp:214: error: (Each undeclared identifier is reported only once for each function it appears in.)
libmpc.cpp:231: error: `FMT_S16_LE' undeclared (first use this function)
libmpc.cpp:284: error: `xmms_usleep' undeclared (first use this function)
libmpc.cpp: In function `char* generate_title(char*)':
libmpc.cpp:336: error: `xmms_get_gentitle_format' undeclared (first use this function)
libmpc.cpp: In function `int mpc_get_time()':
libmpc.cpp:368: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_seek(int)':
libmpc.cpp:380: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_pause(short int)':
libmpc.cpp:384: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_stop()':
libmpc.cpp:394: error: `mod' undeclared (first use this function)
libmpc.cpp: In function `void mpc_about_box()':
libmpc.cpp:433: error: `xmms_show_message' undeclared (first use this function)
make[2]: *** [libmpc.lo] Erreur 1
make[2]: *** Attente des tâches non terminées....
tags.cpp: In function `int DeleteTag(char*)':
tags.cpp:286: error: `xmms_show_message' undeclared (first use this function)
tags.cpp:286: error: (Each undeclared identifier is reported only once for each function it appears in.)
tags.cpp: In function `int WriteAPE2Tag(char*, ape_tag*)':
tags.cpp:360: error: `xmms_show_message' undeclared (first use this function)
make[2]: *** [tags.lo] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/xmms-musepack-1.1/work/xmms-musepack-1.1/src'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/xmms-musepack-1.1/work/xmms-musepack-1.1/src'
make: *** [all-recursive] Erreur 1

!!! ERROR: media-plugins/xmms-musepack-1.1 failed.
!!! Function src_compile, Line 508, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge xmms-musepack



Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  5 2004, 16:40:42)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.4_p6, 1.9.3, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/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="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd
f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml
imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline
sdl slang spell sqlite sse ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms
xv zlib"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-04 02:47:06 UTC
what version of libmusepack do you have?  Can you try updating that first?
Comment 3 Mika 2004-12-04 04:07:11 UTC
I already use latest version of libmusepack (1.0.3) and xmms (1.2.10-r9).
I don't know c++, but if I understand the errors, it's like declarations in xmms includes don't be understand by g++ (InputPlugin, FMT_S16_LE, xmms_usleep, etc.).
I use gcc-3.4.3-r1
Comment 4 Mika 2004-12-08 02:07:09 UTC
I finally find the problem.
I'me playing with xmms2 (http://wiki.xmms2.xmms.se/index.php/Main_Page) installed in /usr/local with includes in /usr/local/include/xmms
I don't understand why, but g++ use this includes and not those in /usr/include/xmms (path in the -I option like we can see in the commandline).
I'd just rename /usr/local/include/xmms in xmms2 to avoid conflict.
Sorry not to have seen it before.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-08 02:33:42 UTC
closing then, thanks.