Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 73248
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Developers for the x86 Architecture <x86@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andras BALI <drewie@freemail.hu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
audacity.patch patch for %ebx problem patch basic 2005-07-09 05:10 0000 957 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73248 depends on: Show dependency tree
Bug 73248 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-03 12:01 0000
When I try to emerge audacity 1.2.3, it fails with the following error message.

Reproducible: Always
Steps to Reproduce:
1. emerge audacity

Actual Results:  
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H
-I. -I. -I../../config -I../../include   -O3 -fcheck-new -I../../include  -MT
cpu_detect_x86_gcc.lo -MD -MP -MF ".deps/cpu_detect_x86_gcc.Tpo" \
  -c -o cpu_detect_x86_gcc.lo `test -f 'cpu_detect_x86_gcc.cpp' || echo
'./'`cpu_detect_x86_gcc.cpp; \
then mv -f ".deps/cpu_detect_x86_gcc.Tpo" ".deps/cpu_detect_x86_gcc.Plo"; \
else rm -f ".deps/cpu_detect_x86_gcc.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -O3
-fcheck-new -I../../include -MT cpu_detect_x86_gcc.lo -MD -MP -MF
.deps/cpu_detect_x86_gcc.Tpo -c cpu_detect_x86_gcc.cpp
cpu_detect_x86_gcc.cpp: In function `uint detectCPUextensions()':
cpu_detect_x86_gcc.cpp:137: error: PIC register `%ebx' clobbered in `asm'
make[4]: *** [cpu_detect_x86_gcc.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch/source/SoundTouch'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch/source'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch'
make[1]: *** [soundtouch/source/SoundTouch/.libs/libSoundTouch.a] Error 2
make[1]: Leaving directory
`/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.2.3 failed.
!!! Function src_compile, Line 72, Exitcode 2



Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 23 2004, 16:14:47)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/trunk /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa audiofile avi berkdb bitmap-fonts bonobo cddb
cdparanoia cdr crypt cups curl curlwrappers divx4linux dvd dvdread edl eds
encode escreen esd evo exif f77 fam fbcon flac foomaticdb fortran freetype ftp
gdbm gif gimpprint gnome gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal icq
imagemagick imap imlib jabber java javascript jce jpeg lcms ldap libg++ libwww
live lua lufsusermount lzo lzw lzw-tiff mad maildir matroska mbox mikmod mmx mng
motif mozcalendar mozilla mozsvg mozxmlterm mp3 mpeg mplayer msn mysql ncurses
network nntp nptl nvidia oggvorbis opengl oscar oss pam pcap pcre pda pdf pdflib
perl png ppds python quicktime readline rtc samba sdl slang sockets softmmu
spell sse ssl stroke svg t1lib tcltk tetex theora tiff truetype usb v4l v4l2
videos wmf x86 xine xml xml2 xmms xosd xpm xsl xv xvid xvmc yahoo zlib zvbi"

------- Comment #1 From Brian Tarricone 2004-12-04 15:19:09 0000 -------
yep, i'm getting the exact same error here as well.

not sure if this is helpful, but the end of audacity's configure output is as follows:

Configured to build tests/resample-sndfile using libsndfile

Configured to build tests/compareresample to compare against
Erik de Castro Lopo's libsamplerate library.

Type 'configure --help' to see options.

Type 'make' to build libresample and tests.

Finished configure:
  with    libsndfile=system
  with    libresample
  with    libid3tag (system)
  with    libmad (system)
  with    LADSPA plug-ins
  with    Nyquist plug-ins
  with    vorbis (system)
  with    portmixer
  with    portaudio v18
  with    soundtouch
  with    help
prefix=/usr

Note: portaudio v18 only supports OSS.  If your system supports
ALSA, you may want to reconfigure --with-portaudio=v19, though
portaudio v19 is newer and possibly less stable.


my emerge --info:

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun 17 2004, 02:12:09)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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="-march=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acpi4linux alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl directfb dvd dvdr dvdread encode f77 fam fbcon ffmpeg flac flash foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib innodb jack java joystick jpeg kerberos krb4 ldap libcaca libg++ libwww mad matroska mikmod mmx mmxext motif mpeg mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline rtc samba sasl sdl slang speex spell sqlite sse ssl stencil-buffer svga tcltk tcpd tetex theora tiff truetype ungif usb v4l2 x86 xchattext xfs xml xml2 xv xvid xvmc zlib"

------- Comment #2 From akriel 2004-12-07 20:58:04 0000 -------
USE-gtk2 
Did not work for me I have tried three diffrent times.

------- Comment #3 From Arie Huijzer 2004-12-11 11:54:07 0000 -------
This problem seems to be caused by GCC-3.4.x:
With GCC-3.3.2 audacity-1.2.3 compiles without problems:

I did some tests:
1.  USE='-gtk2' no effect
2.  ADD= '-fstack-protector' to CFLAGS: no effect, removed it from CFLAGS
3.  USE='-gtk2 -unicode' emerge -bv wxGTK and then USE="flac -gtk2 -unicode" emerge -bv =audacity-1.2.3 (with f-stack-protector ):  no effect 
4.  set gcc-config to 3.3.2 (instead of 3.4.3)
     USE='-gtk2 -unicode' emerge -v wxGTK                                                                          
     USE="flac -unicode" emerge -bv =audacity-1.2.3, audacity compiles and  runs
5.  set gcc-config to 3.4.3
     USE='-gtk2 -unicode' emerge -v wxGTK                                                                          
     USE="flac -unicode" emerge -bv =audacity-1.2.3, audacity same compilation problem
6.  set gcc-config to 3.4.3
     USE='-gtk2 -unicode' emerge -v wxGTK                                                                          
     set gcc-config to 3.3.2
     USE="flac -unicode" emerge -bv =audacity-1.2.3, audacity compiles and  runs 


Some detail:

The error message of audacity:
cpu_detect_x86_gcc.cpp: In function `uint detectCPUextensions()':
cpu_detect_x86_gcc.cpp:137: error: PIC register `%ebx' clobbered in `asm'
make[4]: *** [cpu_detect_x86_gcc.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch/source/SoundTouch'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch/source'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src/soundtouch'
make[1]: *** [soundtouch/source/SoundTouch/.libs/libSoundTouch.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.3/work/audacity-src-1.2.3/lib-src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.2.3 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

my emerge info  (with gcc-3.3.x enabled):
Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.3.2, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686)
System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 25 2004, 08:35:54)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/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 arts artswrappersuid atlas audiofile avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fftw foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib java jpeg kde ldap libaudiofile libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sndfile spell sse ssl svga tcltk tcpd theora tiff truetypeunicode usb wifi wxwindows x86 xine xml2 xmms xv xvid zlib"

------- Comment #4 From Richard Ash 2004-12-31 09:19:01 0000 -------
This is no t as simple as a gcc 3.4.x problem - I can emerge audacity 1.2.3
using gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0,
pie-8.7.7)
without problems.

Some notes: everyone else reporting this problem is accepting ~x86 on
everything, I'm just accepting some packages, so presumably it is something
else from ~x86 causes the problem in conjunction with gcc 3.4.x.

So I updated to ~x86 versions of:
binutils, autoconf, automake, libtool.
Audacity ebuild still works fine.
I'll try updating some other things later.

My emerge (updated) info is:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9nfs i686)
=================================================================
System uname: 2.6.9nfs i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake:
sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9.3
Binutils: sys-devel/binutils-2.15.92.0.2-r2
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.10-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -msse -mmmx -m3dnow -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.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="-O3 -march=athlon-xp -pipe -msse -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo
http://gentoo.mirror.sdv.fr  http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl acpi alsa apm avi berkdb bitmap-fonts bzlib cdr crypt cups
curl dbase dvd dvdr encode exif faac faad fam fftw flac foomaticdb fortran ftp
gdbm gif gimpprint gnome gphoto2 gpl gpm gstreamer gtk gtk2 guile imagemagick
imap imlib ipv6 jack java jpeg kerbos libwww live mad mikmod mmx motif mozilla
mpeg ncurses network nls oggvorbis opengl pam pdflib perl png portaudio ppds
python quicktime readline real samba scanner sdl shared slang sndfile spell sse
ssl svga tcpd tetex tidy tiff truetype usb wxwindows xine xml xml2 xmms xv xvid
zlib"

------- Comment #5 From Nick Hadaway 2005-01-04 00:05:42 0000 -------
Please see bug #60151.  I'm not having any problems compiling and using it
either.
I am running an ~x86 system updated as of 5 minutes ago.

------- Comment #6 From Simone Piunno 2005-01-15 05:30:03 0000 -------
In my case it fails with a completely different error:

x86_64-pc-linux-gnu-g++ -o ../audacity obj/AColor.o obj/AStatus.o obj/AboutDialog.o obj/AudacityApp.o obj/AudioIO.o obj/Benchmark.o obj/ControlToolBar.o obj/DirManager.o obj/Envelope.o obj/EditToolBar.o obj/FFT.o obj/FormatSelection.o obj/FreqWindow.o obj/Help.o obj/HistoryWindow.o obj/ImageManipulation.o obj/Internat.o obj/LabelTrack.o obj/Languages.o obj/LangChoice.o obj/Legacy.o obj/Menus.o obj/MeterToolBar.o obj/Mix.o obj/MixerToolBar.o obj/NoteTrack.o obj/PitchName.o obj/PlatformCompatibility.o obj/Project.o obj/Resample.o obj/RingBuffer.o obj/Sequence.o obj/Spectrum.o obj/Tags.o obj/Track.o obj/TrackArtist.o obj/TrackPanel.o obj/ToolBar.o obj/UndoManager.o obj/WaveTrack.o obj/TimeTrack.o obj/commands/CommandManager.o obj/commands/Keyboard.o obj/effects/Effect.o obj/effects/SimpleMono.o obj/effects/SimplePairedTwoTrack.o obj/effects/SoundTouchEffect.o obj/effects/LoadEffects.o obj/effects/Amplify.o obj/effects/BassBoost.o obj/effects/ChangePitch.o obj/effects/ChangeSpeed.o obj/effects/ChangeTempo.o obj/effects/Compressor.o obj/effects/Echo.o obj/effects/Equalization.o obj/effects/Fade.o obj/effects/Filter.o obj/effects/Invert.o obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o obj/export/Export.o obj/export/ExportMultiple.o obj/export/ExportMP3.o obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o obj/widgets/ASlider.o obj/widgets/Meter.o obj/widgets/Ruler.o obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o  obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -lFLAC -lFLAC++ -pthread -lwx_gtk2d-2.4
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status


roentgen ~ # emerge info
Portage 2.0.51-r12 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-mm2 x86_64)
=================================================================
System uname: 2.6.10-mm2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 21 2004, 18:31:36)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/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="amd64 X aalib acl acpi adns alsa apache2 app-crypt/gnupg:idea app-crypt/gpgme:smime arts artswrappersuidaudiofile avi bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash caps cdr crypt cups curl dev-dotnet/mono:nptl dev-util/eric:idl divx4linux doc dvd dvdr emul-linux-x86 encode esd f77 fam flac font-server fortran fpx gd gdbm gdm gif gimpprint gphoto2 gpm graphviz gstreamer gtk gtk2 guile icq imagemagick imap imlib ipv6 ithreads jabber jack java jbig jp2 jpeg junit kde kde-base/kdeadmin:foreign-package kde-base/kdeadmin:foreign-sysvinit kde-base/kdemultimedia:cdparanoia ladcca lcms ldap libcaca libwww live lzo lzw lzw-tiff mad maildir makecheck media-sound/museseq:fluidsynth mikmod motif mozilla mpeg multilib mysql ncurses net-misc/openssh:X509 net-misc/openssh:chroot net-misc/openssh:sftplogging net-misc/openssh:skey net-www/apache:threads net-www/mozilla-firefox:xprint net-www/mozilla:mozp3p net-www/mozilla:mozsvg network nls nptl nsl nvidia oggvorbis opengl oss pam pcre pdflib perl png python qt readline rrdtool rtc samba sasl sdl slang speex spell ssl sys-devel/libperl:threads tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vim-with-x wmf xine xml xml2 xmms xpm xprint xrandr xv xvid xvmc zeo zlib linguas_en linguas_it"
Unset:  LDFLAGS

------- Comment #7 From Colin Tinker 2005-01-24 14:11:52 0000 -------
x86_64-pc-linux-gnu-g++ -o ../audacity obj/AColor.o obj/AStatus.o
obj/AboutDialog.o obj/AudacityApp.o obj/AudioIO.o obj/Benchmark.o
obj/ControlToolBar.o obj/DirManager.o obj/Envelope.o obj/EditToolBar.o
obj/FFT.o obj/FormatSelection.o obj/FreqWindow.o obj/Help.o obj/HistoryWindow.o
obj/ImageManipulation.o obj/Internat.o obj/LabelTrack.o obj/Languages.o
obj/LangChoice.o obj/Legacy.o obj/Menus.o obj/MeterToolBar.o obj/Mix.o
obj/MixerToolBar.o obj/NoteTrack.o obj/PitchName.o obj/PlatformCompatibility.o
obj/Project.o obj/Resample.o obj/RingBuffer.o obj/Sequence.o obj/Spectrum.o
obj/Tags.o obj/Track.o obj/TrackArtist.o obj/TrackPanel.o obj/ToolBar.o
obj/UndoManager.o obj/WaveTrack.o obj/TimeTrack.o obj/commands/CommandManager.o
obj/commands/Keyboard.o obj/effects/Effect.o obj/effects/SimpleMono.o
obj/effects/SimplePairedTwoTrack.o obj/effects/SoundTouchEffect.o
obj/effects/LoadEffects.o obj/effects/Amplify.o obj/effects/BassBoost.o
obj/effects/ChangePitch.o obj/effects/ChangeSpeed.o obj/effects/ChangeTempo.o
obj/effects/Compressor.o obj/effects/Echo.o obj/effects/Equalization.o
obj/effects/Fade.o obj/effects/Filter.o obj/effects/Invert.o
obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o
obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o
obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o
obj/export/Export.o obj/export/ExportMultiple.o obj/export/ExportMP3.o
obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o
obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o
obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o
obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o
obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o
obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o
obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o
obj/widgets/ASlider.o obj/widgets/Meter.o obj/widgets/Ruler.o
obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o 
obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o
obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o
../lib-src/expat/expat.a ../lib-src/allegro/allegro.a
../lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a
../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a
../lib-src/portaudio/pa_unix_oss/portaudio.a
../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad
-lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -lFLAC -lFLAC++ -pthread
-lwx_gtk2d-2.4
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so:
undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so:
undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libwx_gtk2d-2.4.so:
undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status

I get this error also

------- Comment #8 From stomarti@geekmail.de 2005-01-27 08:19:35 0000 -------
After upgrading to gtk+-2.6.1 both audacity-1.2.2 and audacity-1.2.3 failed to
compile.

reemerging wxGTK after the gtk+ upgrade solved the problem.

audacity-1.2.2 and 1.2.3 compile cleanly here

------- Comment #9 From Colin Tinker 2005-01-27 12:42:22 0000 -------
reemerging wxGTK after the gtk+ upgrade solved the problem.

This worked for me as well, thanks for the tip.

------- Comment #10 From Richard Ash 2005-04-12 11:01:20 0000 -------
The fix for the original error (error: PIC register `%ebx' clobbered in `asm')
is to compile without the -fPIC CFLAG for the soundtouch library. Ebuild ought
to be updated to filter this Cflag on x86 (not everywhere - it may be needed
for portaudio on amd64)

------- Comment #11 From Petr Duchon 2005-04-24 05:25:46 0000 -------
audacity 1.2.1 doesn't compile too:

ml/XMLFileReader.o obj/xml/XMLTagHandler.o  obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/soundtouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -pthread -lwx_gtk2-2.4
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1.2.1/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.2.1 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

sodomizatko SORT $ emerge -pv audacity

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-sound/audacity-1.2.1  -encode -flac +mad +oggvorbis 0 kB 

Total size of downloads: 0 kB

sodomizatko SORT $ emerge --version
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
sodomizatko SORT $ uname -a
Linux sodomizatko 2.6.11-gentoo-r6 #1 Tue Apr 19 20:58:38 CEST 2005 i686 AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux



------- Comment #12 From Brian Tarricone 2005-04-24 06:23:32 0000 -------
Petr Duchon: That's not an Audacity build problem.  You probably upgraded from
gtk 2.4 to gtk 2.6 without recompiling wxGTK.

------- Comment #13 From Jan Brinkmann (RETIRED) 2005-05-16 07:37:52 0000 -------
  11 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
  audacity-1.2.3.ebuild:
  -x86 because of bad assembly.


marking as upstream since it has -x86 because of bad assembly code.

------- Comment #14 From Richard Ash 2005-05-17 16:11:44 0000 -------
It only fails to compile if you try and build the in-line assembly with -fPIC
in
your CFLAGS. The supplied make files don't put -fPIC in the CFLAGS, and so it
only shows up if you mess with them externally. The audacity-help and
audacity-devel lists have received preciesely no email about this problem - not
even a note that the package has been masked. I happened to notice this because
I run gentoo, and so put myself on the watch list.
Everyone else who has tried to build audacity on x86 gentoo without -fPIC has
suceeded or failed for unrelated reasons (usually wxGTK / GTK mismatch).
I'm not convinced that filtering out unsuitable use flags is really an upstream
issue - if you just get the tarball, ./configure and make, it works.

richard@audacityteam.org

------- Comment #15 From Kito (RETIRED) 2005-05-18 13:00:49 0000 -------
Richard is correct. We need to filter -fPIC in CFLAGS for x86. If noone gets to
this before I do, should be 
taken care of soon. In the meantime, x86 users take -fPIC out of your CFLAGS
when you emerge.

------- Comment #16 From Diego E. 'Flameeyes' Pettenò 2005-05-18 13:26:01 0000 -------
I don't see anyone having -fPIC in their CFLAGS, and if they had, this bug was 
going to be INVALIDed, as -fPIC in CFLAGS is a pebkac. 
 
Filtering -fPIC flag in ebuild is *not* going to be good, as it will a 
statement that the flag is supported for some packages, which is not the case. 
 

------- Comment #17 From Kito (RETIRED) 2005-05-18 14:56:02 0000 -------
Ok, but the fact remains it 'just works' out of the box, even on a Gentoo
system, when built outside of 
portage. This doesn't seem appropriate to expect upstream to fix IMHO.

------- Comment #18 From Diego E. 'Flameeyes' Pettenò 2005-05-18 15:04:56 0000 -------
But anyway the solution is *not* to avoid using -fPIC flag on a library, as 
all the libraries are supposed to build with PIC anyway. 
 
The solution is not for UPSTREAM but it's neither simply fixed as for now. 
I have no clue on x86 asm, we need someone who knows it to find out the 
problem and fix it for gentoo. 
  

------- Comment #19 From Richard Ash 2005-05-18 16:51:14 0000 -------
The offending code is an import into the audacity tree of SoundTouch by Olli
Parviainen (http://www.iki.fi/oparviai/soundtouch). Currently the version is
1.2.2pre2, but I think it may have been altered in audacity.

The 1.2.1 version of the library is in portage in it's own right
(media-libs/libsoundtouch). Interstingly this does
emake CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS"
in order to override the library's own CFLAGS.

I'm currently trying to find a configuration that actually breaks audacity build
in order to try that with soundtouch. CFLAGS="-fPIC" emerge audacity using gcc
3.3.5 worked, so I've switched to 3.4.3 and will try that.

------- Comment #20 From Kito (RETIRED) 2005-05-18 19:51:21 0000 -------
I just bumped libsoundtouch to 1.3.0, don't have any x86 machines to test...
anyone care to see if this 
fixes the x86 assembly issues?

------- Comment #21 From Matt Zukowski 2005-05-28 13:23:44 0000 -------
I'm having a similar problem. Right before the emerge fails I get this message:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:
warning: libstdc++.so.5, needed by
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../libwx_gtk2-2.4.so, may
conflict with libstdc++.so.6

I thought this might be related to the slew of gcc/libtool bugs popping up
lately, but fix_libtool_files.sh didn't help. Also, as per the above suggestion
emerging libsoundtouch 1.3.0 didn't help either.


------- Comment #22 From Richard Ash 2005-05-28 15:06:52 0000 -------
Different bug - you have got a version of wxGTK built by GCC 3.3.x against
libstdc++.so.5, and are now trying to build audacity using GCC 3.4.x against
libstdc++.so.6, which may not be compatible.

Solution is to remerge wxGTK 2.4.2, so you get a version that matches your
current compiler / libstdc++.

libsoundtocuh isn't directly relevant to audacity - audacity always builds
against the internal tree not the system library. The reason for getting it to
work was to find what versions don't cause problems on their own, as a basis to
get audacity working.
On that note, I've emerged libsoundtouch on two x86 machines (both stable) here
with no problems, but as audacity also builds fine, I'm not sure how much that
tells us.

------- Comment #23 From Matt Zukowski 2005-06-02 18:28:41 0000 -------
unfortunately the above advice (recompiling wxGTK) didn't work :(

------- Comment #24 From Tobias Sager 2005-06-08 03:53:44 0000 -------
Merged audacity-1.2.3-r1 without problems.
You should add ~x86 to the ebuild and package.mask it..

<snip>
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.2.5-r2,glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 28 2005, 15:16:09)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.5, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.18, 2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-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/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="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/
ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LANG="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo bzip2 cdr chroot
crypt cups curl dga dillo directfb divx4linux dvd emboss encode esd ethereal fam
fbcon flac font-server foomaticdb fortran freetds gd gdbm ggi gif gphoto2 gpm
gtk gtk2 gtkhtml guile idea imagemagick imlib ipv6 java javascript jce jpeg
junit libg++ libwww mad maildir mbox mikmod mjpeg motif mp3 mpeg mysql ncurses
nls offensive ogg oggvorbis opengl oss pam pcmcia pda pdflib perl php png pnp
python qt quicktime readline real samba sdl slang speex spell sse ssl svga tcltk
tcpd tetex tiff truetype truetype-fonts trusted type1-fonts unicode usb vorbis
xface xfs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
</snip>

------- Comment #25 From Kasper Jordaens 2005-06-16 06:56:10 0000 -------
merging audacity-1.2.3-r1 on ppc workes fine, but nowhere I could set
"--with-portaudio=v19". So I added  "--with-portaudio=v19 \" to the ebuild  just
below "--with-libsndfile=system \" and rebuilded the digests

ebuild /usr/portage/media-sound/audacity/audacity-1.2.3-r1.ebuild digest


emerging gave an error at the portaudio source

------- Comment #26 From Kasper Jordaens 2005-06-16 06:56:10 0000 -------
merging audacity-1.2.3-r1 on ppc workes fine, but nowhere I could set
"--with-portaudio=v19". So I added  "--with-portaudio=v19 \" to the ebuild  just
below "--with-libsndfile=system \" and rebuilded the digests

ebuild /usr/portage/media-sound/audacity/audacity-1.2.3-r1.ebuild digest


emerging gave an error at the portaudio source…
(at the configure state)

USE="libsamplerate encode" emerge  --verbose  audacity

[...]

configure: configuring in lib-src/portaudio-v19
configure: running /bin/sh ‘./configure’ –prefix=/usr ‘–prefix=/usr’
‘–host=powerpc-unknown-linux-gnu’ ‘–mandir=/usr/share/man’
‘–infodir=/usr/share/info’ ‘–datadir=/usr/share’ ‘–sysconfdir=/etc’
‘–localstatedir=/var/lib’ ‘–with-libmad=system’ ‘–with-vorbis=system’
‘–with-libflac=system’ ‘–with-system’ ‘–with-id3tag=system’
‘–with-libsndfile=system’ ‘–with-portaudio=v19&#8242; ‘CFLAGS=-O2 -mtune=G4 -maltivec
-mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -pipe’ ‘CXXFLAGS=-O2
-mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer
-pipe’ ‘host_alias=powerpc-unknown-linux-gnu’ –cache-file=/dev/null –srcdir=.
configure: warning: CFLAGS=-O2 -mtune=G4 -maltivec -mabi=altivec
-fno-strict-aliasing -fomit-frame-pointer -pipe: invalid host type
configure: warning: CXXFLAGS=-O2 -mtune=G4 -maltivec -mabi=altivec
-fno-strict-aliasing -fomit-frame-pointer -pipe: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh ‘./configure’ failed for lib-src/portaudio-v19

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/audacity-1.2.3-r1/work/audacity-src-1.2.3/config.log

!!! ERROR: media-sound/audacity-1.2.3-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

going back to the directory where emerge left off (I saw everything but
portaudio was configured)
/var/tmp/portage/audacity-1.2.3-r1/work/audacity-src-1.2.3/lib-src/portaudio-v19/

I just typed ./configure

Going back to 

/var/tmp/portage/audacity-1.2.3-r1/work/audacity-src-1.2.3/

i just typed: 
make 
make install 

et voila

Audacity 1.2.3-r1 with portaudio v19 supporting alsa (and jack) 

This is not a really nice hack and I sugggest someone with a little more
knowledge could add a portaudio USE-flag? 

------- Comment #27 From FieldySnuts 2005-07-05 13:09:51 0000 -------
I have the same problems as #6 and #11.

I merged latest ~x86 wxGTK (funny I thought ebuilds were to be lowercase only
sigh), x11-libs/wxGTK-2.6.0-r1, only 3 days ago and I still see these problems.

Is there an actual fix, or are we stuck?

------- Comment #28 From FieldySnuts 2005-07-09 05:04:26 0000 -------
marienz on #gentoo had me try some things which solved the problem for me. My
only remaining problem is that the font for the time bar near the top is very
large, however I do not know if this is related.

I had two installs of wxGTK, 2.4.0-something (sorry I don't remember), that one
was old enough to not even be in portage anymore. This was compiled with gcc
3.3. The other wxGTK was 2.6.0-r1. Audacity tries to use 2.4.

wxGTK 2.4.0-something had been compiled with gcc 3.3. Audacity was being
compiled with 3.4, and he thought this was a problem. I removed the old
2.4.0-something, which wasn't even slotted (this was before slots). Then I
merged wxGTK-2.4.2-r3, then tried audacity again, and it worked.

I hope this can help.

------- Comment #29 From basic 2005-07-09 05:10:18 0000 -------
Created an attachment (id=62988) [details]
patch for %ebx problem

here's a patch for the %ebx problem. Please test

------- Comment #30 From Richard Ash 2005-08-06 12:01:31 0000 -------
@Kasper Jordaens - portaudio v19 isn't released and so isn't really stable
enough to go in the ebuild yet. This has been asked about before. I would
recommend getting a newer snapshot from the portaudio home page as well - the
one in the audacity tarball is over a year old.

@FieldySnuts - merging wxwidgets 2.6 won't help, as the ebuild sets 
WX_GTK_VER="2.4" to only use wxGTK 2.4.x. There's a good reason for this - the
upstream code only supports build against wxwidgets 2.4 for audacity 1.2.x
releases (audacity 1.3 and higher will support wxwidgets 2.6)

to solve the problem,
emerge "=wxGTK-2.4.2-r3"

to rebuild the package that audacity is using. revdep-rebuild should also pick
this up (?)

------- Comment #31 From Mark Loeser 2005-09-17 00:31:05 0000 -------
sound herd: the patch attached to this bug looks good to me. If one of you
doesn't apply it in the next few days, I'll go ahead and fix it. After which,
the ebuild doesn't need to be -x86 anymore and can move to ~x86

------- Comment #32 From Mark Loeser 2005-09-17 12:46:37 0000 -------
Fixed in the tree, please test.

------- Comment #33 From Richard Ash 2005-09-17 15:10:41 0000 -------
Builds fine for me. This (or 1.2.4 next month) should really go stable as there
is a bug that causes data loss in 1.2.2 and previous (will permenantly destroy
projects).

------- Comment #34 From Rudo Thomas 2005-09-18 02:05:46 0000 -------
Works for me too :) 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug