Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54736 - mp3blaster 3.1.3 doesn't compile with gcc 3.4.0
Summary: mp3blaster 3.1.3 doesn't compile with gcc 3.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 06:48 UTC by Robert Schmidt
Modified: 2004-06-23 23:40 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 Robert Schmidt 2004-06-22 06:48:43 UTC
When emerging mp3blaster 3.1.3 and using gcc 3.4.0, it fails while "Making all in src".

Reproducible: Always
Steps to Reproduce:
1. switch to profile gcc34-amd64-2004.1 and emerge gcc 3.4
2. switch to gcc 3.4
3. emerge =media-sound/mp3blaster-3.1.3
Actual Results:  
After configure and some compiling it fails:

...
Making all in src
make[2]: Entering directory
`/var/tmp/portage/mp3blaster-3.1.3/work/mp3blaster-3.1.3/src'
c++ -O3 -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I../mpegsound -I/usr/include/ncurses
-I../nmixer -I/usr/include    -O2 -Wall -Wstrict-prototypes -W
-fno-strength-reduce   -DMP3BLASTER_DOCDIR=\"/usr/share/mp3blaster\" -c fileman.cc
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC
but not for C++
c++ -O3 -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I../mpegsound -I/usr/include/ncurses
-I../nmixer -I/usr/include    -O2 -Wall -Wstrict-prototypes -W
-fno-strength-reduce   -DMP3BLASTER_DOCDIR=\"/usr/share/mp3blaster\" -c main.cc
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC
but not for C++
main.cc:136:54: macro "gettext" passed 2 arguments, but takes just 1
main.cc:136: error: `char*gettext' redeclared as different kind of symbol
/usr/include/libintl.h:40: error: previous declaration of `char* gettext(const
char*)'
main.cc:136: error: declaration of `char*gettext'
/usr/include/libintl.h:40: error: conflicts with previous declaration `char*
gettext(const char*)'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mp3blaster-3.1.3/work/mp3blaster-3.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mp3blaster-3.1.3/work/mp3blaster-3.1.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-sound/mp3blaster-3.1.3 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)

Expected Results:  
That should be obvious. ;)

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7)
=================================================================
System uname: 2.6.7 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.tu-ilmenau.de/Mirrors/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages-amd64"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 arts avi cdr cups dga directfb dvd emacs encode
ethereal fbcon foomaticdb gd gdbm ggi gif gpm gtk gtkhtml imap imlib ipv6 jpeg
lcms leim libwww linguas_de maildir motif mpeg mule multilib ncurses nls
nocardbus oav odbc oggvorbis opengl pam pdflib plotutils png prebuilt qt
quicktime readline sasl scanner sdl slang slp spell ssl tcltk tcpd tetex tiff
truetype usb wmf xinerama xml xml2 xmms xv zlib"
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-06-23 23:11:00 UTC
This is fixed in mp3blaster-3.2.0- the other arches should probably mark it stable now to avoid this problem.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-23 23:40:53 UTC
stable on amd64 and sparc.