Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87597 - compile error in splay-0.9.5.2
Summary: compile error in splay-0.9.5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-01 13:49 UTC by Maurice Gilden
Modified: 2005-04-04 10:10 UTC (History)
1 user (show)

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


Attachments
splay-0.9.5.2-compile.diff (splay-0.9.5.2-compile.diff,618 bytes, patch)
2005-04-03 16:04 UTC, Marcelo Goes (RETIRED)
Details | Diff
splay-0.9.5.2.ebuild.diff (splay-0.9.5.2.ebuild.diff,677 bytes, patch)
2005-04-03 16:05 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Gilden 2005-04-01 13:49:41 UTC
While emerging splay-0.9.5.2 I get a compile error. See below...



Reproducible: Always
Steps to Reproduce:
1. emerge splay
2.
3.

Actual Results:  
c++ -DPACKAGE=\"splay\" -DVERSION=\"0.9.5.2\" -DHAVE_LIBID3=1 -DHAVE_LIBM=1 -
DPTHREADEDMPEG=1 -D_REENTRANT=1 -DHAVE_PTHREAD_H=1 -DSTDC_HEADERS=1 -
DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 -
DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -
DHAVE_STRSTR=1  -I. -I.  -I../libs  -I/usr/include/qt    -O3 -march=pentium3 -
pipe -ftracer -fomit-frame-pointer -c splay.cc
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/
backward/iostream.h:31,
                 from splay.cc:19:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/backward/
backward_warning.h:32:2: warning: #warning This file includes at least one 
deprecated or antiquated header. Please consider using one of the 32 headers 
found in section 17.4.1.2 of the C++ standard. Examples include substituting the 
<X> header for the <X.h> header for C++ includes, or <sstream> instead of the 
deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
splay.cc: In function `void play(char*)':
splay.cc:187: error: parse error before `&' token
splay.cc: At global scope:
splay.cc:196: error: ISO C++ forbids declaration of `player' with no type
splay.cc:196: error: conflicting types for `int player'
splay.cc:194: error: previous declaration as `Mpegfileplayer*player'
splay.cc:197: error: parse error before `if'
splay.cc:203: error: syntax error before `->' token
splay.cc:205: error: ISO C++ forbids declaration of `playingthread' with no
   type
splay.cc:205: error: `int playingthread' redeclared as different kind of symbol
splay.cc:61: error: previous declaration of `void
   playingthread(Mpegfileplayer*)'
splay.cc:209: error: parse error before `delete'
make[1]: *** [splay.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/splay-0.9.5.2/work/splay-0.9.5.2/
apps'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/splay-0.9.5.2 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! emake failed



CFLAGS="-O3 -march=pentium3 -pipe -ftracer -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
If they matter...
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-01 20:11:21 UTC
please post the output of emerge info, thanks
Comment 2 Maurice Gilden 2005-04-02 01:58:03 UTC
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-rc3-nitro0 i686)
=================================================================
System uname: 2.6.11-rc3-nitro0 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 30 2005, 05:45:11)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
AUTO_SYMLINK="no"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CFLAGS="-O3 -march=pentium3 -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/usr/share/joal/lib/joal.jar:/usr/share/sun-java3d-bin/lib/vecmath.jar:/usr/share/sun-java3d-bin/lib/j3dutils.jar:/usr/share/sun-java3d-bin/lib/j3dcore.jar:/usr/local/share/jogl/jogl.jar:."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /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/X11/xkb /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"
CVS_RSH="ssh"
CXXFLAGS="-O3 -march=pentium3 -pipe -ftracer -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_DIR="/var/tmp/portage/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="sumomo"
INFODIR="/usr/share/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info:/usr/share/info/emacs-21"
INPUTRC="/etc/inputrc"
JAVAC="/opt/sun-jdk-1.4.2.07/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.07"
JDK_HOME="/opt/sun-jdk-1.4.2.07"
KBUILD_OUTPUT_PREFIX=""
KDEDIRS="/usr"
KDE_MALLOC="1"
LC_CTYPE="de_DE@euro"
LDFLAGS="-Wl,-O1"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="de en ja"
LINUX_PORTAGE_WRITABLE="no"
LOGNAME="root"
MAKEOPTS="-j3"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man::/opt/sun-jdk-1.4.2.07/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/sun-jdk-1.4.2.07/man:/usr/qt/3/man:/usr/qt/3/doc/man"
NOCOLOR="false"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/lib/distcc/bin:/usr/bin/wrappers:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5:/opt/Acrobat5:/opt/sun-jdk-1.4.2.07/bin:/opt/sun-jdk-1.4.2.07/jre/bin:/opt/sun-jdk-1.4.2.07/jre/javaws:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/opt/XnView:/usr/share/karamba/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="10762"
PORTAGE_NICENESS="15"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="192.168.1.128 1628 22"
SSH_CONNECTION="192.168.1.128 1628 192.168.1.131 22"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 X aalib acpi alsa apm avi berkdb bitmap-fonts canna cdr cjk crypt cups curl dga directfb divx4linux doc dvd emacs emboss encode esd fam fbcon flac flash font-server foomaticdb fortran gdbm gif ginac gnome gpm gtk gtk2 guile icq imagemagick imlib ipv6 java jce jikes jpeg junit kde libg++ libwww mad matroska mikmod mime mmx motif mp3 mpeg ncurses nls ogg oggvorbis openal opengl oss pam pcmcia pdflib perl png python qt quicktime readline ruby samba sdl slang smartcard spell sse sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd wifi xine xml xml2 xmms xosd xv xvid zlib linguas_de linguas_en linguas_ja"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-04-03 16:04:11 UTC
Created attachment 55234 [details, diff]
splay-0.9.5.2-compile.diff

fix "stolen" from Debian
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-04-03 16:05:45 UTC
Created attachment 55235 [details, diff]
splay-0.9.5.2.ebuild.diff
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-04 10:10:41 UTC
fixed in cvs, thanks