Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153749

Summary: media-sound/audacity-1.3.2 fails to build on ppc due to libsoundtouch compilation failure
Product: Gentoo Linux Reporter: Joe Jezak (RETIRED) <josejx>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: ppc
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: audacity-1.3.2-no-msse.patch

Description Joe Jezak (RETIRED) gentoo-dev 2006-11-01 14:27:23 UTC
Making all in SoundTouch
make[4]: Entering directory `/var/tmp/portage/media-sound/audacity-1.3.2/work/audacity-src-1.3.2-beta/lib-src/soundtouch/source/SoundTouch'
if /bin/sh ../../libtool --tag=CXX --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -msse -fcheck-new -I../../include  -MT AAFilter.lo -MD -MP -MF ".deps/AAFilter.Tpo" -c -o AAFilter.lo AAFilter.cpp; \
	then mv -f ".deps/AAFilter.Tpo" ".deps/AAFilter.Plo"; else rm -f ".deps/AAFilter.Tpo"; exit 1; fi
 powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT AAFilter.lo -MD -MP -MF .deps/AAFilter.Tpo -c AAFilter.cpp -o AAFilter.o
cc1plus: error: unrecognized command line option "-msse"
make[4]: *** [AAFilter.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.2/work/audacity-src-1.3.2-beta/lib-src/soundtouch/source/SoundTouch'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.2/work/audacity-src-1.3.2-beta/lib-src/soundtouch/source'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.2/work/audacity-src-1.3.2-beta/lib-src/soundtouch'
make[1]: *** [soundtouch-recursive] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.2/work/audacity-src-1.3.2-beta/lib-src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.3.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  audacity-1.3.2.ebuild, line 64:   Called die

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

****************************************************************************

It looks like -msse is set by default in lib-src/soundtouch/source/SoundTouch/Makefile.  Commenting this out seems to make it compile fine, I'm not sure how the sound herd wants to handle it.
Comment 1 Chris White (RETIRED) gentoo-dev 2006-11-01 21:29:21 UTC
Created attachment 101027 [details, diff]
audacity-1.3.2-no-msse.patch

Patches Makefile.am.  This is going to require inherit of autotools and running eautoreconf.
Comment 2 Chris White (RETIRED) gentoo-dev 2006-11-01 21:30:08 UTC
Comment on attachment 101027 [details, diff]
audacity-1.3.2-no-msse.patch

Woh, somehow some weird copy buffer thing happened.  Fixed the description :/
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2006-11-05 15:53:48 UTC
Fixed in cvs. thanks.