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

Bug 27804

Summary: Audacity 1.1.3 compilation failed (maybe wxGTK error)
Product: Gentoo Linux Reporter: Jaakko Holster <yaggo>
Component: Current packagesAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jaakko Holster 2003-09-02 15:41:28 UTC
Emerging Audacity 1.1.13 fails due to compilation error. As said in bug reports of previous 
version of Audacity, re-emerging wxGTk with USE='-gtk2' do not solve the problem. 
 
--- clip --- 
g++ -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I../lib-src/portaudio/pa_common 
-I../lib-src/portmixer/px_common -march=athlon-xp -O3 -pipe -fomit-frame-pointer 
-I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libsamplerate/src -Wall 
-Iinclude  -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  BlockFile.cpp -o obj/BlockFile.o 
g++ -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I../lib-src/portaudio/pa_common 
-I../lib-src/portmixer/px_common -march=athlon-xp -O3 -pipe -fomit-frame-pointer 
-I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libsamplerate/src -Wall 
-Iinclude  -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  FileFormats.cpp -o obj/FileFormats.o 
FileFormats.cpp: In function `wxString sf_header_name(int)': 
FileFormats.cpp:104: `SFC_GET_FORMAT_INFO' undeclared (first use this function) 
FileFormats.cpp:104: (Each undeclared identifier is reported only once for each 
   function it appears in.) 
FileFormats.cpp:245:6: warning: trigraph ??' ignored 
FileFormats.cpp:259:16: warning: trigraph ??' ignored 
make[1]: *** [obj/FileFormats.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/audacity-1.1.3/work/audacity-src-1.1.3/src' 
make: *** [audacity] Error 2 
 
!!! ERROR: media-sound/audacity-1.1.3 failed. 
!!! Function src_compile, Line 43, Exitcode 2 
!!! (no error message) 
 
 

Reproducible: Always
Steps to Reproduce:
1. # emerge audacity 
 
Actual Results:  
!!! ERROR: media-sound/audacity-1.1.3 failed. 
!!! Function src_compile, Line 43, Exitcode 2 
!!! (no error message) 

Expected Results:  
Audacity should have been emerged. 

Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4,2.3.2-r1, 2.4.21) 
================================================================= 
System uname: 2.4.21 i686 AMD Duron(tm) Processor 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache" 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms zlib gdbm berkdb slang 
readline arts aalib nas bonobo svga tcltk java guile mysql sdl gpm tcpd pam libwww ssl perl 
python esd imlib oggvorbis gtk qt motif mozilla gphoto2 cdr X alsa kde xv lirc opengl -gtk2"
Comment 1 FieldySnuts 2003-09-03 17:37:07 UTC
For me it does compile and install, with USE=-gtk2.

The problem is that it DOES build with gtk2, and the result is very poor. Many controls are invisible, and those that work are extremely difficult to use. I have to essentially blindly click around to find some options on that left toolbar thing with the mute and solo and... whatever is above it.
Comment 2 FieldySnuts 2003-09-07 14:37:20 UTC
Anybody home?
Comment 3 Jaakko Holster 2003-09-08 23:42:57 UTC
It fails also with USE=-gtk2: 
 
root ~# USE="-gtk2" nice emerge audacity 
-- clip -- 
FileFormats.cpp: In function `wxString sf_header_name(int)': 
FileFormats.cpp:104: `SFC_GET_FORMAT_INFO' undeclared (first use this function) 
FileFormats.cpp:104: (Each undeclared identifier is reported only once for each 
   function it appears in.) 
FileFormats.cpp:245:6: warning: trigraph ??' ignored 
FileFormats.cpp:259:16: warning: trigraph ??' ignored 
make[1]: *** [obj/FileFormats.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/audacity-1.1.3/work/audacity-src-1.1.3/src' 
make: *** [audacity] Error 2 
 
!!! ERROR: media-sound/audacity-1.1.3 failed. 
!!! Function src_compile, Line 43, Exitcode 2 
!!! (no error message) 
 
Comment 4 Luke Maurer (Jyrinx) 2003-09-16 13:33:26 UTC
Has anybody tried this with 1.2.0-pre1 (not in Portage yet, it seems)?
Comment 5 FieldySnuts 2003-09-19 19:16:15 UTC
Nah. I'm not going to mess with anything outside of portage. I hope this is fixed one day, but it looks like it isn't being seriously worked on.
Comment 6 Nick Hadaway 2003-10-17 21:13:24 UTC
This is definitely being seriously worked on.  grrr.

Here is the deal.

If you compile wxGTK with gtk2 enabled... and then change to -gtk2 and compile
audacity... it will fail... 

It WILL work if you have -gtk2 set when compiling both wxGTK and audacity.

The 1.2.0-pre series has not been added to portage due to the fact that the
vst plugin licensing isn't worked out yet.  When 1.2.0 is released (which
should be soon now) it'll be added to portage and I am hoping that they have
the background details worked out by then.

The problem with gtk2 has been acknowledged upstream with the 1.1.x and prior
series.  From what I understand the 1.2.x series will be compatible with
a gtk2 enabled wxGTK build.