Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70356 - media-sound/ardour-0.9_beta19-r1 compile error
Summary: media-sound/ardour-0.9_beta19-r1 compile error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Eldad Zack (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 07:52 UTC by Mark Knecht
Modified: 2005-02-03 19:56 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 Mark Knecht 2004-11-07 07:52:08 UTC
emerging Ardour I get an error message:

basename.cc:8: error: declaration of `char* basename(const char*)' throws 
   different exceptions


Reproducible: Always
Steps to Reproduce:
1. emerge ardour

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I.     -D_REENTRANT -O3 -march=i686
-fomit-frame-pointer -ffast-math -fstrength-reduce -fmove-all-movables -pipe
-Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/sigc++
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/sigc++/sigc++/config
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/pbd
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/midi++
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/ardour
-I/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/soundtouch
-I/usr/include/libxml2   -c -o ftw.o `test -f 'ftw.cc' || echo './'`ftw.cc
basename.cc: In function `char* basename(const char*)':
basename.cc:8: error: declaration of `char* basename(const char*)' throws 
   different exceptions
pbd/basename.h:6: error: than previous declaration `char* basename(const char*) 
   throw ()'
make[4]: *** [basename.o] Error 1
make[4]: *** Waiting for unfinished jobs....
ftw.cc: In function `int __ftw_core(const char*, void*, int, int, __ftw_modes)
   ':
ftw.cc:84: warning: `int ftw_flag' might be used uninitialized in this function
ftw.cc:84: warning: `int func_ret' might be used uninitialized in this function
make[4]: Leaving directory
`/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/pbd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/pbd'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs/pbd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ardour-0.9_beta19-r1/work/ardour-0.9beta19/libs'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/ardour-0.9_beta19-r1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! parallel make failed
!!! If you need support, post the topmost build error, NOT this status message.

flash ardour # 

Expected Results:  
Used to compile. Still should. Possibly gcc/glibc issue?

flash ardour # emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041021-r0,
2.6.9-rc2-mm4-VP-S7-UMP-noACPI i686)
=================================================================
System uname: 2.6.9-rc2-mm4-VP-S7-UMP-noACPI i686 Mobile Intel(R) Pentium(R) 4 
   CPU 3.06GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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/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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp
http://www.zentek-international.com/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm audiofile avi berkdb bitmap-fonts bonobo caps cdr crypt
cups dvd dvdr encode esd f77 fam flac fluidsynth foomaticdb gdbm gif gimp
gimpprint gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib jack jack-tmpfs
java jpeg ladcca libg++ libwww mad mikmod mmx motif mozcalendar mozilla mpeg
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype
usb x86 xml xml2 xmms xv zlib video_cards_radeon"

flash ardour #
Comment 1 Mark Knecht 2004-11-08 15:33:50 UTC
I got input from the Ardour Dev team that this is fixed in more recent beta releases. I've built from recent Ardour CVS code and can report that the problem doesn't show up there.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-11-10 11:41:12 UTC
I was about to prepare beta21 for the tree when Paul posted that beta20 and beta21 has show-stoppers.
I'll leave this bug until beta22 gets out (and after testing, naturally)
Comment 3 John Gluck 2004-12-07 14:50:54 UTC
I get the same error. 

I'm not sure where the parallel build (-j2) comes from. I have it turned of in my make.conf.

Also, I checked the files basename.cc and pbd/basename.h. There's no mention of "throw" anywhere.

I'm using gcc i686-pc-linux-gnu-3.3.4

John
Comment 4 John Gluck 2004-12-07 15:26:31 UTC
I just tried emergeing when useing gcc-3.4.3

Compile worked fine. 

John
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2004-12-19 05:56:57 UTC
Beta22 in portage. Please test so we can close this bug.
Comment 6 Eric Shattow 2005-02-03 19:56:53 UTC
no activity / closing.