Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90735 - ardour 0.9_beta29 ebuild fails in scons with complaint about glibc
Summary: ardour 0.9_beta29 ebuild fails in scons with complaint about glibc
Status: RESOLVED DUPLICATE of bug 94020
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: 2005-04-28 09:31 UTC by Brian O'Reilly
Modified: 2005-10-30 14:05 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 Brian O'Reilly 2005-04-28 09:31:38 UTC
ardour 0.9_beta29 ebuild fails with scons claiming a problem with glibc:

g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -Wall -DENABLE_NLS -DHAVE_CONFIG_H -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Ilibs/soundtouch -Ilibs -c -o libs/soundtouch/AAFilter.o libs/soundtouch/AAFilter.cc
sed 's/@JACK_BACKEND@/alsa_pcm:playback_/g' < ardour.rc.in > ardour.rc
*** glibc detected *** double free or corruption (out): 0x00002aaaace80fc0 ***
*** glibc detected *** double free or corruption (out): 0x00002aaaad080b20 ***
scons: *** [ardour.rc] Error -6
scons: *** [libs/soundtouch/AAFilter.o] Error -6
scons: building terminated because of errors.
>>> Test phase [not enabled]: media-sound/ardour-0.9_beta29

>>> Install ardour-0.9_beta29 into /var/tmp/portage/ardour-0.9_beta29/image/ category media-sound
scons: Reading SConscript files ...
Checking for C header file alsa/asoundlib.h... yes
Checking for C header file libintl.h... yes
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h... no
Checking for C function getmntent()... yes
Checking for jack_client_open()...failed
Checking for C header file wordexp.h... yes
Checking for C header file sys/vfs.h... yes
Checking for executable gtk-config ...yes
scons: done reading SConscript files.
scons: Building targets ...
Install file: "ardour_system.rc" as "/var/tmp/portage/ardour-0.9_beta29/image/etc/ardour/ardour_system.rc"
sed 's/@JACK_BACKEND@/alsa_pcm:playback_/g' < ardour.rc.in > ardour.rc
*** glibc detected *** double free or corruption (out): 0x00007fffffff73b0 ***
scons: *** [ardour.rc] Error -6
scons: building terminated because of errors.

This is the first ardour release (afaict) that uses scons. This is the info on the system where the failure is occurring:

Portage 2.0.51.20-r5 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.1-r3
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.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/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="amd64 X aalib acpi adns alsa arts berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dvd fam flac font-server foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jabber jack java jp2 jpeg junit kde ldap libwww lzw lzw-tiff mad maildir mikmod motif mozilla mp3 mpeg ncurses network nls odbc ogg opengl oss pam pda pdflib perl pic png postgres python qt readline ruby samba sdl slang speex ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

infiltrator ~ # gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3-20050110 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3-20050110 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3-20050110/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3-20050110/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)


Reproducible: Always
Steps to Reproduce:
1.emerge -u ardour
2.build fails in scons
3.

Actual Results:  
the ardour ebuild fails 

Expected Results:  
ardour should have built
Comment 1 uriahheep 2005-05-18 11:03:59 UTC
i get the same error.. just thought you'd like to know ;)
no need to paste the same thing i guess..
Comment 2 Bruce Bertrand 2005-09-02 12:05:12 UTC
This is a scons error. You probably have scons 0.96.9 (which is masked as ~)
Try re-emerging/downgrading to scons 0.96.1
Comment 3 Dario Lopez-Kästen 2005-10-13 07:06:05 UTC
I get access violations with ardour 0.99 and scons 0.96.1, when compiling ardour.

Last of output :

<...snip lots of lines (more that 1025 lines)...>

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/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)

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/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.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-sound_-_ardour-0.99-7519.log"

unlink:    /usr/lib/scons/SCons/__init__.pyc
open_wr:   /usr/lib/scons/SCons/__init__.pyc
unlink:    /usr/lib/scons/SCons/Script/__init__.pyc
open_wr:   /usr/lib/scons/SCons/Script/__init__.pyc
unlink:    /usr/lib/scons/SCons/Debug.pyc
<...snip lots of lines...>
open_wr:   /usr/lib/scons/SCons/Tool/yacc.pyc
unlink:    /usr/lib/scons/SCons/dblite.pyc
open_wr:   /usr/lib/scons/SCons/dblite.pyc
--------------------------------------------------------------------------------w

INFO:
walter ~ # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
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/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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo
http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo"
LANG="sv_SE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo
browserplugin cdr crypt cups directfb divx4linux doc dvd dvread eds emboss
encode esd fam foomaticdb fortran gb gd gdbm gif gnome gnustep gpm gstreamer gtk
gtk2 guile hal howl imagemagick imlib ipv6 jack java jpeg junit kde libg++
libwww mad mikmod mono motif mozilla mp3 mpeg ncurses nls nvidia odbc ogg
oggvorbis opengl oracle oss pam pcmcia pdflib perl png python qt quicktime
readline sdl slang spell ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode userlocales vorbis xml xml2 xmms xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS

GCC Version:

walter ~ # gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-30 14:03:28 UTC

*** This bug has been marked as a duplicate of 94020 ***
Comment 5 SpanKY gentoo-dev 2005-10-30 14:05:01 UTC
comment #3 is completely unrelated