Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120773 - media-sound/lilypond-2.0.3 does not compile with gcc-3.4.4
Summary: media-sound/lilypond-2.0.3 does not compile with gcc-3.4.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 16:20 UTC by ibm
Modified: 2007-03-16 19:05 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 ibm 2006-01-28 16:20:57 UTC
When compiling lilypond-2.0.3 (the current x86 ebuild), I get the following error:

rm -f ./out/interval.dep; DEPENDENCIES_OUTPUT="./out/interval.dep ./out/interval.o" i686-pc-linux-gnu-g++ -c -O2 -march=athlon-xp -pipe -fomit-frame-pointer  -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -finline-functions -g   -I/usr/include/python2.4      -O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -finline-functions -g   -I/usr/include/python2.4  -Wall  -W -Wmissing-prototypes -Wconversion  -o out/interval.o interval.cc
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from interval.cc:10:
include/interval.hh: In member function `T Interval_t<T>::center() const':
include/interval.hh:29: error: there are no arguments to `elem' that depend on a template parameter, so a declaration of `elem' must be available
include/interval.hh:29: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

emerge --info:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/2/share/config /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"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.media.mit.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib afs aim alsa apm audiofile audiophile avi berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt curl dga dts dvb dvd dvdread eds emacs emboss encode ethereal evo exif expat faad fam ffmpeg flac foomaticdb fortran freetype gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 jack java jikes jpeg kerberos krb4 lcms libg++ libwww lirc live mad mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline real samba sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vdesktop vorbis win32codecs wmf xine xinerama xml2 xmms xosd xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Roberto Llovera 2006-03-08 06:51:34 UTC
(In reply to comment #0)
> When compiling lilypond-2.0.3 (the current x86 ebuild), I get the following
> error:
> 
> rm -f ./out/interval.dep; DEPENDENCIES_OUTPUT="./out/interval.dep
> ./out/interval.o" i686-pc-linux-gnu-g++ -c -O2 -march=athlon-xp -pipe
> -fomit-frame-pointer  -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out
> -I../flower/include -I../flower/./out -O2 -march=athlon-xp -pipe
> -fomit-frame-pointer -O2 -finline-functions -g   -I/usr/include/python2.4     
> -O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -finline-functions -g  
> -I/usr/include/python2.4  -Wall  -W -Wmissing-prototypes -Wconversion  -o
> out/interval.o interval.cc
> cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
> C/ObjC but not for C++
> In file included from interval.cc:10:
> include/interval.hh: In member function `T Interval_t<T>::center() const':
> include/interval.hh:29: error: there are no arguments to `elem' that depend on
> a template parameter, so a declaration of `elem' must be available
> include/interval.hh:29: error: (if you use `-fpermissive', G++ will accept your
> code, but allowing the use of an undeclared name is deprecated)
> 
> emerge --info:
> 
> Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
> 2.6.14-gentoo-r5 i686)
> =================================================================
> System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP
> Gentoo Base System version 1.6.14
> dev-lang/python:     2.3.5-r2, 2.4.2
> sys-apps/sandbox:    1.2.12
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
> sys-devel/binutils:  2.16.1
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data
> /usr/kde/2/share/config /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"
> CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://gentoo.media.mit.edu
> http://www.ibiblio.org/pub/Linux/distributions/gentoo
> http://distfiles.gentoo.org"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="x86 3dnow X a52 aac aalib afs aim alsa apm audiofile audiophile avi berkdb
> bitmap-fonts bonobo bzip2 cdparanoia cdr crypt curl dga dts dvb dvd dvdread eds
> emacs emboss encode ethereal evo exif expat faad fam ffmpeg flac foomaticdb
> fortran freetype gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm
> gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 jack java
> jikes jpeg kerberos krb4 lcms libg++ libwww lirc live mad mhash mikmod mmx mng
> motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia offensive ogg
> oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline real
> samba sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype
> truetype-fonts type1-fonts udev unicode usb v4l v4l2 vdesktop vorbis
> win32codecs wmf xine xinerama xml2 xmms xosd xprint xv xvid xvmc zlib
> userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
> 


The same happened to me. I also tried to compile lilypond using "CXXFLAGS="-fpermissive" emerge lilypond" but it has not worked.
Version 2.5.2 has not compiled on my machine either. I guess that is an expectable thing if you're trying the unstable version but the stable one is, in my case, just as difficult to compile.
If someone knows about a set of CFLAGS or CXXFLAGS that allow for the compiling of lilypond, please share it.

Thanks.
Bye.
Comment 2 Néstor Amigo Cairo 2006-03-28 16:06:06 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4m -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ ftp://ftp.caliu.info/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es_ES.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdb cdparanoia cdr crypt cscope cups curl dbus dga directfb divx4linux dri dvd dvdr dvdread eds emacs encode esd examples exif expat fam fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn ieee1394 imagemagick imlib irda jack java javascript joystick jpeg jpeg2k kde kdeenablefinal ladcca lcms ldap libedit libg++ libwww lirc lm_sensors lua mad matroska mikmod mime ming mmap mmx mng motif mp3 mpeg mplayer msn musicbrainz nas ncurses nls nptl nsplugin ogg oggvorbis openal opengl pam pcre pda pdflib perl pic png ppds python qt quicktime readline recode samba sdl sharedmem slang slp sndfile sox speex spell sse sse2 ssl svg symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vorbis wifi win32codecs wmf xine xinerama xml xml2 xosd xprint xv xvid yaz zlib linguas_es_ES.UTF-8 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, PORTDIR_OVERLAY
Comment 3 Néstor Amigo Cairo 2006-04-15 16:47:51 UTC
(In reply to comment #2)

Hello. It still fails for me.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2007-03-16 19:05:04 UTC
too old