Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139784 - media-sound/ardour-0.99.3 doesn't (re)compile
Summary: media-sound/ardour-0.99.3 doesn't (re)compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-09 09:10 UTC by Jouni Rinne
Modified: 2007-08-12 04:24 UTC (History)
7 users (show)

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


Attachments
complete error (ardour_error,8.26 KB, text/plain)
2006-07-09 09:10 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2006-07-09 09:10:10 UTC
When I was re-emerging Ardour with "sse" use-flag enabled (previously it was emerged with USE="-sse", the compiling ended with the following error: (shortened, complete error is attached)

`.gnu.linkonce.t._Z7composeIPcESsRKSsRKT_' referenced in section `.gnu.linkonce.r._Z7composeIPcESsRKSsRKT_' of libs/ardour/libardour.a(session_feedback.o): defined in discarded section `.gnu.linkonce.t._Z7composeIPcESsRKSsRKT_' of libs/ardour/libardour.a(session_feedback.o)
collect2: ld returned 1 exit status
scons: *** [gtk_ardour/ardour.bin] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/ardour-0.99.3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ardour-0.99.3.ebuild, line 62:   Called die

!!! scons make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


And now I seem to get the same error regardless of the sse setting... Obviously some recent update has broken something, somewhere.
Comment 1 Jouni Rinne 2006-07-09 09:10:52 UTC
Created attachment 91299 [details]
complete error
Comment 2 MT 2006-07-26 05:46:13 UTC
same problem here, and happen always, with or whithout "sse" USE

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) MP 1900+
Gentoo Base System version 1.6.15
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:  0.4.2-r1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer -momit-leaf-frame-pointer -fforce-addr -fweb -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer -momit-leaf-frame-pointer -fforce-addr -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j3 -s"
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="/usr/local/portage /usr/portage/local/layman/wrobel /usr/portage/local/layman/kolab2 /usr/portage/local/layman/ecatmur /usr/portage/local/layman/WTK-Testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aim alsa apache2 asf async avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdr chroot cli crypt css cups dbus divx4linux dlloader dri dvd dvdr eds emboss encode exif fftw flac foomaticdb ftp gd gif gimp gpg gpm gtk2 hal icq imap imlib isdnlog java jpeg kde ldap libg++ libwww mad memlimit mikmod mime ming mmap mmx mng motif mozsvg mozxmlterm mp3 mpeg msn musepack ncurses nls nptl nptlonly nsplugin nvidia objc ogg oggvorbis openal openexr opengl pam pam_chroot pcntl pcre pdflib perl png posix pppd pwdb python qmail qt qt3 qt4 quicktime readline reflection samba sasl scanner sdl session sftplogging simplexml socket spamassassin spell spl sse ssl svg symlink tiff truetype truetype-fonts type1-fonts udev unicode utf8 vorbis win32codecs wmf x86 xcomposite xine xml xml2 xmlrpc xorg xprint xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_none video_cards_nvidia video_cards_-ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel 2006-08-12 04:46:50 UTC
Thats my problem with ardour:

/usr/bin/ld: `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' referenced in section `.r
[...]
/usr/bin/ld: `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' referenced in section `.rodata' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o): defined in discarded section `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o)

scons: done building targets.
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-sound_-_ardour-0.99.2-17788.log"

unlink:    /usr/lib/scons/SCons/__init__.pyc
unlink:    /usr/lib/scons/SCons/Script/__init__.pyc
unlink:    /usr/lib/scons/SCons/Debug.pyc
unlink:    /usr/lib/scons/SCons/Defaults.pyc
unlink:    /usr/lib/scons/SCons/Action.pyc
unlink:    /usr/lib/scons/SCons/Errors.pyc
unlink:    /usr/lib/scons/SCons/Util.pyc
unlink:    /usr/lib/scons/SCons/Builder.pyc
unlink:    /usr/lib/scons/SCons/Executor.pyc
unlink:    /usr/lib/scons/SCons/Node/__init__.pyc
unlink:    /usr/lib/scons/SCons/SConsign.pyc
unlink:    /usr/lib/scons/SCons/Sig/__init__.pyc
unlink:    /usr/lib/scons/SCons/Sig/MD5.pyc
unlink:    /usr/lib/scons/SCons/Warnings.pyc
unlink:    /usr/lib/scons/SCons/Node/FS.pyc
unlink:    /usr/lib/scons/SCons/Environment.pyc
unlink:    /usr/lib/scons/SCons/Node/Alias.pyc
unlink:    /usr/lib/scons/SCons/Node/Python.pyc
unlink:    /usr/lib/scons/SCons/Platform/__init__.pyc
unlink:    /usr/lib/scons/SCons/Tool/__init__.pyc
unlink:    /usr/lib/scons/SCons/Sig/TimeStamp.pyc
unlink:    /usr/lib/scons/SCons/Scanner/__init__.pyc
unlink:    /usr/lib/scons/SCons/Scanner/C.pyc
unlink:    /usr/lib/scons/SCons/Scanner/D.pyc
unlink:    /usr/lib/scons/SCons/Scanner/Prog.pyc
unlink:    /usr/lib/scons/SCons/Job.pyc
unlink:    /usr/lib/scons/SCons/Optik/__init__.pyc
unlink:    /usr/lib/scons/SCons/Optik/option.pyc
unlink:    /usr/lib/scons/SCons/Optik/errors.pyc
unlink:    /usr/lib/scons/SCons/Optik/option_parser.pyc
unlink:    /usr/lib/scons/SCons/Script/SConscript.pyc
unlink:    /usr/lib/scons/SCons/Options/__init__.pyc
unlink:    /usr/lib/scons/SCons/Options/BoolOption.pyc
unlink:    /usr/lib/scons/SCons/Options/EnumOption.pyc
unlink:    /usr/lib/scons/SCons/Options/ListOption.pyc
unlink:    /usr/lib/scons/SCons/Options/PackageOption.pyc
unlink:    /usr/lib/scons/SCons/Options/PathOption.pyc
unlink:    /usr/lib/scons/SCons/SConf.pyc
unlink:    /usr/lib/scons/SCons/Taskmaster.pyc
unlink:    /usr/lib/scons/SCons/Conftest.pyc
unlink:    /usr/lib/scons/SCons/Platform/posix.pyc
unlink:    /usr/lib/scons/SCons/Tool/default.pyc
unlink:    /usr/lib/scons/SCons/Tool/gcc.pyc
unlink:    /usr/lib/scons/SCons/Tool/cc.pyc
unlink:    /usr/lib/scons/SCons/Tool/g++.pyc
unlink:    /usr/lib/scons/SCons/Tool/c++.pyc
unlink:    /usr/lib/scons/SCons/Tool/gnulink.pyc
unlink:    /usr/lib/scons/SCons/Tool/link.pyc
unlink:    /usr/lib/scons/SCons/Tool/gas.pyc
unlink:    /usr/lib/scons/SCons/Tool/as.pyc
unlink:    /usr/lib/scons/SCons/Tool/g77.pyc
unlink:    /usr/lib/scons/SCons/Tool/f77.pyc
unlink:    /usr/lib/scons/SCons/Scanner/Fortran.pyc
unlink:    /usr/lib/scons/SCons/Tool/fortran.pyc
unlink:    /usr/lib/scons/SCons/Tool/ar.pyc
unlink:    /usr/lib/scons/SCons/Tool/BitKeeper.pyc
unlink:    /usr/lib/scons/SCons/Tool/CVS.pyc
unlink:    /usr/lib/scons/SCons/Tool/dmd.pyc
unlink:    /usr/lib/scons/SCons/Tool/dvipdf.pyc
unlink:    /usr/lib/scons/SCons/Tool/dvips.pyc
unlink:    /usr/lib/scons/SCons/Tool/gs.pyc
unlink:    /usr/lib/scons/SCons/Tool/jar.pyc
unlink:    /usr/lib/scons/SCons/Tool/javac.pyc
unlink:    /usr/lib/scons/SCons/Tool/JavaCommon.pyc
unlink:    /usr/lib/scons/SCons/Tool/javah.pyc
unlink:    /usr/lib/scons/SCons/Tool/latex.pyc
unlink:    /usr/lib/scons/SCons/Tool/lex.pyc
unlink:    /usr/lib/scons/SCons/Tool/m4.pyc
unlink:    /usr/lib/scons/SCons/Tool/midl.pyc
unlink:    /usr/lib/scons/SCons/Scanner/IDL.pyc
unlink:    /usr/lib/scons/SCons/Tool/msvs.pyc
unlink:    /usr/lib/scons/SCons/Platform/win32.pyc
unlink:    /usr/lib/scons/SCons/Tool/pdflatex.pyc
unlink:    /usr/lib/scons/SCons/Tool/pdftex.pyc
unlink:    /usr/lib/scons/SCons/Tool/Perforce.pyc
unlink:    /usr/lib/scons/SCons/Tool/PharLapCommon.pyc
unlink:    /usr/lib/scons/SCons/Tool/RCS.pyc
unlink:    /usr/lib/scons/SCons/Tool/rmic.pyc
unlink:    /usr/lib/scons/SCons/Tool/SCCS.pyc
unlink:    /usr/lib/scons/SCons/Tool/swig.pyc
unlink:    /usr/lib/scons/SCons/Tool/tar.pyc
unlink:    /usr/lib/scons/SCons/Tool/tex.pyc
unlink:    /usr/lib/scons/SCons/Tool/yacc.pyc
unlink:    /usr/lib/scons/SCons/Tool/zip.pyc
unlink:    /usr/lib/scons/SCons/Tool/f90.pyc
unlink:    /usr/lib/scons/SCons/Tool/f95.pyc
unlink:    /usr/lib/scons/SCons/dblite.pyc
--------------------------------------------------------------------------------


Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 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="i386-pc-linux-gnu"
CFLAGS="-I/home/pragma/.python/include/python2.4/gamera/"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://131.188.3.71/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac acpi alsa apache2 apm avi berkdb bidi bitmap-fonts cairo cdr chm cli crypt css cups dlloader dri dts dv dvb dvd dvdread eds emboss encode evolution foomaticdb fortran gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gui hal howl ieee1394 imap imlib ipv6 isdnlog jack java joystick jpeg kerberos libg++ libwww live mad maildir mbox mikmod mime mono motif mp3 mpeg musepack ncurses nls nptl nsplugin ntp nvidia objc ogg opengl pam pcre pdf pdflib perl png pop ppds pppd python qt3 qt4 quicktime readline real reflection rtsp samba scanner sdl session sid snmp spell spl spreadsheet sse sse2 ssl stream svg tcpd truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis webservices wifi win32codecs wma wxwindows xinerama xml xmms xorg xprint xv zlib elibc_glibc input_devices_synaptics input_devices_wacom input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_dummy"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 CJ Kucera 2006-08-14 06:07:06 UTC
Well, it looks like there's two bugreports here now.  The initial report looks like it's actually bombing out due to a gcc error, put the problem in the most recent comment is a sandbox error (the ld warnings don't seem to have actually affected the program's success or failure).  Should I open up a new bug for the latter (which is happening to me) or is there a way to split it off from this bug?
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2006-08-19 02:56:01 UTC
Regarding comment #3: re-emerge scons.

will check all the other issues as soon as I can.

Comment 6 N Addy 2006-08-26 23:53:41 UTC
I can confirm the first error.  In my case I did not use the 'sse' flag.
Comment 7 Emanuel 2006-08-29 12:04:14 UTC
The fisrt error also ocurred to me. I'm running an amd64 with ~amd64 flag
Comment 8 Eldad Zack (RETIRED) gentoo-dev 2006-10-07 08:24:38 UTC
I can't seem to reproduce this problem on my system (x86). I tried gcc 4.1.1 and it works as well.
Comment 9 Eldad Zack (RETIRED) gentoo-dev 2006-10-07 16:48:21 UTC
Can Jouni or someone with this problem provide the complete output without the -s flag to MAKEOPTS as I can't replicate the error on my box?
Comment 10 Eldad Zack (RETIRED) gentoo-dev 2006-11-13 15:20:49 UTC
only reopen with requested info, please.
Comment 11 Jouni Rinne 2006-12-05 13:54:43 UTC
Well, I finally found, not a fix, but a workaround to the problem: It seems that the ardour build scripts doesn't like the combination of gcc-3.4.6 (3.x.x ?) and binutils-2.17. Downgrading binutils (temporarily) to 2.16.1-r3 allowed ardour to compile.
(Also, I managed to compile it with gcc-4.1.1 and binutils-2.17, but because the rest of my system is still compiled with gcc-3.4.6, running ardour failed with 'unresolved symbols'-errors)
I got similar errors when trying to compile ardour2 (from 'proaudio' overlay), so the same workaround applies to it, too.
Comment 12 Chris Smith 2007-02-27 21:31:16 UTC
Can't compile ardour (slightly different error):
===============================================
gtk_ardour/imageframe_view.o: In function `ImageFrameView::ImageFrameView(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _GtkCanvasGroup*, ImageFrameTimeAxis*, ImageFrameTimeAxisGroup*, double, _GdkColor&, unsigned int, unsigned int, unsigned char*, unsigned int, unsigned int, unsigned int)':
imageframe_view.cc:(.text+0xf2f): undefined reference to `art_alloc(unsigned int)'
gtk_ardour/imageframe_view.o: In function `ImageFrameView::ImageFrameView(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _GtkCanvasGroup*, ImageFrameTimeAxis*, ImageFrameTimeAxisGroup*, double, _GdkColor&, unsigned int, unsigned int, unsigned char*, unsigned int, unsigned int, unsigned int)':
imageframe_view.cc:(.text+0x1563): undefined reference to `art_alloc(unsigned int)'
gtk_ardour/utils.o: In function `xpm2rgba(char const**, unsigned int&, unsigned int&)':
utils.cc:(.text+0x1cfb): undefined reference to `art_alloc(unsigned int)'
gtk_ardour/utils.o: In function `xpm2rgb(char const**, unsigned int&, unsigned int&)':
utils.cc:(.text+0x2047): undefined reference to `art_alloc(unsigned int)'
collect2: ld returned 1 exit status
scons: *** [gtk_ardour/ardour.bin] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/ardour-0.99.3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2982:   Called src_compile
  ardour-0.99.3.ebuild, line 60:   Called die
===============================================
Comment 13 Chris Smith 2007-02-28 01:56:56 UTC
Same failure now trying to recompile on my amd64 box.

Chris
Comment 14 N Addy 2007-02-28 02:48:10 UTC
Yep.  Same here on x86. 

FWIW, I'm on gcc-4.1.2 and binutils-2.17.
Comment 15 Chris Smith 2007-02-28 15:48:31 UTC
Since my reported errors are not the same as the OP should I open a new bug? I guess I'm not sure if this current issue (different than the OP) is now being looked at.
Comment 16 Thomas Scheiblauer 2007-03-02 20:37:01 UTC
Same here, since I did 'emerge -e world'.
I have same problem with kdelibs, by the way...

Comment 17 Chris Smith 2007-03-13 19:18:45 UTC
Is this being looked at?
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-08-12 04:24:41 UTC
Original bug in comment #0 and Comment #3 is caused by outdated gcc. 

- sandbox violations - completely unrelated and duplicate of multiple bugs
- Comment #12 - completely unrelated

So, please don't clutter this bug with off-topic noise.

@Jouni Rinne, Daniel: Please, upgrade to latest stable gcc and try again.

http://www.gentoo.org/doc/en/gcc-upgrading.xml