Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146255 - media-sound/timidity++-2.13.2 fails to compile with gcc 4.1.1
Summary: media-sound/timidity++-2.13.2 fails to compile with gcc 4.1.1
Status: RESOLVED DUPLICATE of bug 145669
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 04:58 UTC by Alex Buell
Modified: 2006-09-04 05:00 UTC (History)
0 users

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 Alex Buell 2006-09-04 04:58:22 UTC
Fails to compile with GCC 4.1.1. Attached below is the output whilst compiling. Also included is emerge --info. 

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DAU_OSS -DAU_ALSA -DAU_VORBIS -I/usr/include  -O2 -march=pentium3 -fomit-frame-pointer -MT xaw_i.o -MD -MP -MF ".deps/xaw_i.Tpo" \
  -c -o xaw_i.o `test -f 'xaw_i.c' || echo './'`xaw_i.c; \
then mv -f ".deps/xaw_i.Tpo" ".deps/xaw_i.Po"; \
else rm -f ".deps/xaw_i.Tpo"; exit 1; \
fi
xaw_i.c:264: error: static declaration of 
Comment 1 Alex Buell 2006-09-04 04:58:22 UTC
Fails to compile with GCC 4.1.1. Attached below is the output whilst compiling. Also included is emerge --info. 

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DAU_OSS -DAU_ALSA -DAU_VORBIS -I/usr/include  -O2 -march=pentium3 -fomit-frame-pointer -MT xaw_i.o -MD -MP -MF ".deps/xaw_i.Tpo" \
  -c -o xaw_i.o `test -f 'xaw_i.c' || echo './'`xaw_i.c; \
then mv -f ".deps/xaw_i.Tpo" ".deps/xaw_i.Po"; \
else rm -f ".deps/xaw_i.Tpo"; exit 1; \
fi
xaw_i.c:264: error: static declaration of voices follows non-static declaration
../timidity/playmidi.h:525: error: previous declaration of voices was here
make[3]: *** [xaw_i.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2/interface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/timidity++-2.13.2/work/TiMidity++-2.13.2'
make: *** [all] Error 2

!!! ERROR: media-sound/timidity++-2.13.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  timidity++-2.13.2.ebuild, line 86:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm asf avi berkdb bitmap-fonts bluetooth cli crypt cups dhcp dlloader dri dvd dvdread emboss encode exif foomaticdb fortran fuse gcj gdbm gif gimpprint glut glx gpg2-experimental gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mbox mikmod milter mmx mmxext motif mp3 mpeg mppe-mppc ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline real reflection sasl sdk sdl session spell spl sse sse2 ssl tcpd tiff timidity truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis win32codecs xface xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 05:00:11 UTC
Please, search...


*** This bug has been marked as a duplicate of 145669 ***