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

Bug 19344

Summary: Can't compile Audacity
Product: Gentoo Linux Reporter: Marc Herren <maildrop>
Component: Current packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of the emerge command

Description Marc Herren 2003-04-15 03:11:48 UTC
Emerging audacity-1.1.1-r1 fails with the following error : 

g++ -c -I../lib-src/portaudio/pa_common -O2 -mcpu=i686 -pipe -I../lib-src/expat
-I../lib-src/allegro -I../lib-src/libnyquist/nyx -Wall -Iinclude 
-I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  AColor.cpp -o obj/AColor.o
g++ -c -I../lib-src/portaudio/pa_common -O2 -mcpu=i686 -pipe -I../lib-src/expat
-I../lib-src/allegro -I../lib-src/libnyquist/nyx -Wall -Iinclude 
-I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  AStatus.cpp -o obj/AStatus.o
AStatus.cpp: In constructor `AStatus::AStatus(wxWindow*, int, const wxPoint&, 
   const wxSize&, double, AStatusListener*)':
AStatus.cpp:64: conversion from `const char[8]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp:65: conversion from `const char[9]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp:66: conversion from `const char[9]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp:67: conversion from `const char[9]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp:68: conversion from `const char[9]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp:69: conversion from `const char[9]' to `const wxString' is 
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t, 
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int) <near 
   match>
AStatus.cpp: In member function `void AStatus::SetField(const char*, int)':
AStatus.cpp:91: ambiguous overload for `wxString& != const char*&' operator
/usr/include/wx/string.h:1182: candidates are: bool operator!=(const wxString&, 
   const wxString&) <near match>
/usr/include/wx/string.h:1186:                 bool operator!=(const wxChar*, 
   const wxString&) <near match>
/usr/include/wx/string.h:1215:                 bool operator!=(wchar_t, const 
   wxString&) <near match>
/usr/include/wx/string.h:1216:                 bool operator!=(const wxString&, 
   wchar_t) <near match>
/usr/include/wx/string.h:1224:                 bool operator!=(const wxString&, 
   const wxWCharBuffer&) <near match>
/usr/include/wx/longlong.h:919:                 bool operator!=(long int, const 
   wxLongLong&) <near match>
/usr/include/wx/longlong.h:932:                 bool operator!=(long unsigned 
   int, const wxULongLong&) <near match>
AStatus.cpp:92: ambiguous overload for `wxString& = const char*&' operator
/usr/include/wx/string.h:275: candidates are: wxString& 
   wxString::operator=(int) <near match>
/usr/include/wx/string.h:516:                 wxString& 
   wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:518:                 wxString& 
   wxString::operator=(wchar_t) <near match>
/usr/include/wx/string.h:524:                 wxString& 
   wxString::operator=(const wxWCharBuffer&) <near match>
AStatus.cpp: In member function `virtual void AStatus::OnPaint(wxPaintEvent&)':
AStatus.cpp:157: ambiguous overload for `wxString& != const char[1]' operator
/usr/include/wx/string.h:1182: candidates are: bool operator!=(const wxString&, 
   const wxString&) <near match>
/usr/include/wx/string.h:1186:                 bool operator!=(const wxChar*, 
   const wxString&) <near match>
/usr/include/wx/string.h:1215:                 bool operator!=(wchar_t, const 
   wxString&) <near match>
/usr/include/wx/string.h:1216:                 bool operator!=(const wxString&, 
   wchar_t) <near match>
/usr/include/wx/string.h:1224:                 bool operator!=(const wxString&, 
   const wxWCharBuffer&) <near match>
/usr/include/wx/longlong.h:919:                 bool operator!=(long int, const 
   wxLongLong&) <near match>
/usr/include/wx/longlong.h:932:                 bool operator!=(long unsigned 
   int, const wxULongLong&) <near match>
AStatus.cpp:176: ambiguous overload for `wxString& != const char[1]' operator
/usr/include/wx/string.h:1182: candidates are: bool operator!=(const wxString&, 
   const wxString&) <near match>
/usr/include/wx/string.h:1186:                 bool operator!=(const wxChar*, 
   const wxString&) <near match>
/usr/include/wx/string.h:1215:                 bool operator!=(wchar_t, const 
   wxString&) <near match>
/usr/include/wx/string.h:1216:                 bool operator!=(const wxString&, 
   wchar_t) <near match>
/usr/include/wx/string.h:1224:                 bool operator!=(const wxString&, 
   const wxWCharBuffer&) <near match>
/usr/include/wx/longlong.h:919:                 bool operator!=(long int, const 
   wxLongLong&) <near match>
/usr/include/wx/longlong.h:932:                 bool operator!=(long unsigned 
   int, const wxULongLong&) <near match>
AStatus.cpp:190: no matching function for call to `wxString::Format(const 
   char[3], int)'
/usr/include/wx/string.h:735: candidates are: static wxString 
   wxString::Format(const wxChar*, ...)
AStatus.cpp: In member function `void AStatus::OnRateOther()':
AStatus.cpp:260: no matching function for call to `wxString::Printf(const 
   char[3], int)'
/usr/include/wx/string.h:730: candidates are: int wxString::Printf(const 
   wxChar*, ...)
AStatus.cpp:266: ambiguous overload for `wxString& != const char[1]' operator
/usr/include/wx/string.h:1182: candidates are: bool operator!=(const wxString&, 
   const wxString&) <near match>
/usr/include/wx/string.h:1186:                 bool operator!=(const wxChar*, 
   const wxString&) <near match>
/usr/include/wx/string.h:1215:                 bool operator!=(wchar_t, const 
   wxString&) <near match>
/usr/include/wx/string.h:1216:                 bool operator!=(const wxString&, 
   wchar_t) <near match>
/usr/include/wx/string.h:1224:                 bool operator!=(const wxString&, 
   const wxWCharBuffer&) <near match>
/usr/include/wx/longlong.h:919:                 bool operator!=(long int, const 
   wxLongLong&) <near match>
/usr/include/wx/longlong.h:932:                 bool operator!=(long unsigned 
   int, const wxULongLong&) <near match>
make[1]: *** [obj/AStatus.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/audacity-1.1.1-r1/work/audacity-src-1.1.1-3/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.1.1-r1 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge audacity
2.
3.




/etc/make.conf

USE="alsa -arts cdr dvd evo fbcon -gnome gphoto2 -gpm -gtk2 -gnome -kde mozilla
mysql -oss pda scanner usb"

CFLAGS="-march=pentium3 -mcpu=pentium4 -fomit-frame-pointer -O3 -pipe"
Comment 1 Marc Herren 2003-04-15 03:13:26 UTC
Created attachment 10667 [details]
Output of the emerge command
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-11 18:42:30 UTC
what version of wxGTK is that?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-06-13 16:15:48 UTC
re-emerge wxGTK and then audacity. this has been fixed a while back.

*** This bug has been marked as a duplicate of 14947 ***