i tried to reopen this bug (bug #14796), but looks like that's an owner-only operation. anyway, this seems to be a similar mismatch problem. hi there... i seem to be having this problem too when trying to emerge audacity-1.1.1-r1; the exact broken references when emerging audacity are printed below. using wxGTK 2.4.0. here's my emerge info; nothing looks too troubling... Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm cups gif libg++ mikmod mmx mpeg nls pdflib qtmt truetype xmms xv zlib gtkhtml gdbm berkdb slang arts bonobo svga tcltk guile libwww esd imlib motif opengl X gtk -gnome kde avi crypt encode flash gd gpm gtk2 imap ipv6 java jikes jpeg mozilla mpg mysql ncurses oggvorbis pam perl png python qt quicktime readline samba scanner sdl spell ssl tcpd xml xml2 tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" (... lots of backtrace ...) 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 (... more inheritance stuffs ...) any ideas? i thought my system was so clean.. thanks all take care.. (ps: tried to change the severity to normal, since this doesn't seem like a blocker...) Reproducible: Always Steps to Reproduce:
did you do an upgrade form 2.2.x to 2.4.x?
re: comment #1 hi nick, yes, i did upgrade from 2.2 to 2.4. cheers, mike
hi nick, re #1, does upgrading seem like the likely cause? i'm not averse to ripping things out and remerging if that might make it work. let me know what you suspect. thanks. mike
at one point I had a non-working audacity with wxGTK-2.4.0 but that was due to too many upgrades at once... after an emerge -e world everything got much better. I never had a wxGTK-2.2 build problem though.
I'm receiving the same error at compile time, if it helps here is my #emerge info Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 apm avi crypt encode gif jpeg gnome libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib qtmt quicktime xml2 xmms xv zlib gdbm berkdb slang readline svga java sdl gpm tcpd pam ssl perl python esd imlib gtk opengl mozilla smooth - bci alsa -oss X gtk2 -kde -qt -arts -cups 3dnow truetype oggvorbis png spell xft " COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O2" CXXFLAGS="-march=athlon-tbird -O2" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
same over here... <snip> /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 </snip> good old emerge info: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r2,2.3.1-r2) ================================================================= System uname: 2.4.19 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/wget /etc/init.d /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/portage.local" USE="x86 oss apm crypt cups gif jpeg libwww mikmod mmx ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline aalib svga java guile mysql X sdl gpm tcpd pam ssl python esd imlib oggvorbis gtk qt motif opengl cdr sse sse2 -3dnow pcmcia pnp trusted pda gphoto2 dga fbcon -gnome libg++ tcltk tiff alsa dvd ggi mozilla xml perl samba -doc -kde xfs -gtkhtml encode avi mpeg -arts gtk2 usb ethereal" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Just worth a try. Could the other guys experiencing this try a: emerge ftpcube (which should compile) Does ftpcube run as normal user at your system? Regards, Tobias
yes, ftpcube runs as a user. I ended up forcing portage to install 2.2.x of wxGTK and that allowed audacity to merge, but while emerging ftpcube it upgraded wxGTK to 2.4.0 and now audacity refuses to open. so i tried to reemerge audacity and im stuck with the same compile error.
The main problem with your compiling is that you have gtk2 in your use variables. If wxGTK is compiled with gtk2 support (only available in 2.4.0, not 2.2.9) then Audacity will fail compiling. Also I have updated the 1.1.1-r1 ebuild to include a base .Audacity config file in /etc/skel. There is a note about it which displays during pkg_postinst.