Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88501 - emerge xmms-sid fails in xmms-sid.cc
Summary: emerge xmms-sid fails in xmms-sid.cc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 12:15 UTC by Thomas Schweikle
Modified: 2005-05-04 13:52 UTC (History)
0 users

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


Attachments
Output of "emerge media-plugins/xmms-sid" (xmms-sid.txt.gz,1.75 KB, application/gzip)
2005-04-09 12:17 UTC, Thomas Schweikle
Details
xmms-sid-0.7.4-gcc34.patch (xmms-sid-0.7.4-gcc34.patch,514 bytes, patch)
2005-04-09 18:12 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schweikle 2005-04-09 12:15:38 UTC
c++ -DPACKAGE=\"xmms-sid\" -DVERSION=\"0.7.4\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_SONG_POSITION=1 -I. -I. -O2 -W -Wall -I.. -I.. -I/usr/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/include -lstdc++ -c xmms-sid.cc  -fPIC -DPIC -o xmms-sid.lo
xmms-sid.cc: In function `void* xs_play_loop(void*)':
xmms-sid.cc:199: error: using typedef-name `AFormat' after `enum'
xmms-sid.cc:199: error: invalid type in declaration before '=' token
xmms-sid.cc:208: error: invalid conversion from `int' to `AFormat'
xmms-sid.cc:237: error: invalid conversion from `int' to `AFormat'
make[1]: *** [xmms-sid.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmms-sid-0.7.4/work/xmms-sid-0.7.4/src'
make: *** [all-recursive] Error 1


Reproducible: Always
Steps to Reproduce:
1. emerge media-plugins/xmms-sid
2.
3.

Actual Results:  
!!! ERROR: media-plugins/xmms-sid-0.7.4 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed


Expected Results:  
compiled, merged, and installed xmms-sid-plugin

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 21:38:51)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.6.3, 1.7.9-r1, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/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/X11/xkb /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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages notitles sandbox
sfperms"
GENTOO_MIRRORS="http://hazel.tps/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/tps/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl
emboss encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick
imlib ipv6 java jpeg junit kde ldap libg++ libwww linguas_de linguas_en
linguas_fr mad mikmod motif mozcalendar mozilla mp3 mpeg ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
snmp speex spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Thomas Schweikle 2005-04-09 12:17:47 UTC
Created attachment 55784 [details]
Output of "emerge media-plugins/xmms-sid"
Comment 2 Alexey Dobriyan 2005-04-09 17:05:50 UTC
Hmm...

/usr/X11R6/include/xmms/plugin.h and /usr/include/xmms/plugin.h both define "enum AFormat". Mine emerge output doesn't have "-I/usr/X11R6/include" and everything is OK.
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-04-09 18:08:07 UTC
Reproduced. Beta version seems to work.
The code has changed radically, however, so back-porting a patch won't be an easy task.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-04-09 18:12:53 UTC
Created attachment 55819 [details, diff]
xmms-sid-0.7.4-gcc34.patch

It seems to work just striking enum out.
Found patch at 
http://peach.infradead.org/extras/xmms-sid/
Comment 5 Thomas Schweikle 2005-04-10 04:07:05 UTC
emerging xmms-sid-0.8.0_beta10 works.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-04 13:52:41 UTC
closing since it's reported fixed