audacity bombs: i686-pc-linux-gnu-g++ -c -march=athlon-xp -O3 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/src -march=athlon-xp -O3 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA MeterToolBar.cpp -o obj/MeterToolBar.o MeterToolBar.cpp: In member function `virtual void MeterToolBar::OnPaint(wxPaintEvent&)': MeterToolBar.cpp:104: error: variable `wxPaintDC dc' has initializer but incomplete type MeterToolBar.cpp:109: error: no matching function for call to `MeterToolBar::DrawBackground(<type error>, int&, int&)' ToolBar.h:115: note: candidates are: void ToolBar::DrawBackground(wxDC&, int, int) make[1]: *** [obj/MeterToolBar.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.2/work/audacity-src-1.2.2/src' make: *** [audacity] Error 2 wxGTK is built like this: [ Found these USE variables for x11-libs/wxGTK-2.6.0-r1 ] U I - - gnome : Adds GNOME support + + gtk2 : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both. + + jpeg : Adds JPEG image support - - joystick : Add support for joysticks in all packages - - odbc : Adds ODBC Support (Open DataBase Connectivity) + + opengl : Adds support for OpenGL + + png : Adds support for libpng (PNG images) + + sdl : Adds support for Simple Direct Layer (media library) + + tiff : Adds support for the tiff image format - - wxgtk1 : <unknown> - - debug : Tells configure and the makefiles to build for debugging. Effects vary across pkages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - doc : Adds extra documentation (API, Javadoc, etc) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across pkages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - unicode : Adds support for Unicode - - dmalloc : <unknown> (note that unicode is off, GTK2 is on - it should work that way, right?) emerge info: Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc4 i686) ================================================================= System uname: 2.6.12-rc4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.11 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig digest distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex X a52 aalib alsa apache2 apm artworkextra async audiofile avi bash-completion beepmp berkdb bitmap-fonts bmp bonobo bzip2 bzlib calendar cdda cddb cdio cdparanoia cdr cdrom chroot crypt cscope css cups curl devfs26 dga dio distribution divx4linux dnd droproot dts dv dvb dvd dvdread emboss encode escreen esd ethereal exif faad fam fame ffmpeg fftw flac foomaticdb fortran fpx freetype ftp gd gdbm ggi gif gimp gimpprint gnuplot gphoto2 gpm graphviz gs gstreamer gtk gtk2 guile ieee1394 imagemagick imlib imlib2 ipv6 jack jp2 jpeg kde kdeenablefinal ladcca ladspa lcms libcaca libg++ libsamplerate libwww lua lzo lzw lzw-tiff mad matroska mikmod mjpeg mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mplayer mysql mysqli ncurses network nls nptl nptlonly nvidia offensive ogg oggvorbis opengl operanom2 oss pam pcre pdf pdflib perl plotutils png python quicktime readline real recode scanner sdl sendfile sharedmem slang sockets soundtouch sox speex spell ssl stream svg szip tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales uudeview v4l v4l2 vcd vcdimager vidix vim vim-pager vlm vorbis win32codecs wma123 wmf xine xml xml2 xmms xosd xpm xrandr xscreensaver xv xvid xvmc yv12 zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Could you try again after re-emerging wxGTK, please?
# emerge wxGTK --ask -v These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.6.0-r1 -debug -dmalloc -doc -gnome +gtk2 -joystick +jpeg -odbc +opengl +png +sdl +tiff -unicode -wxgtk1 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] Yes [...] >>> x11-libs/wxGTK-2.6.0-r1 merged. [...] # emerge audacity -v --ask These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/audacity-1.2.2 +encode +flac +mad +oggvorbis 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] Yes [...] i686-pc-linux-gnu-g++ -c -march=athlon-xp -O3 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/src -march=athlon-xp -O3 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA Menus.cpp -o obj/Menus.o Menus.cpp: In member function `void AudacityProject::CreateMenusAndCommands()': Menus.cpp:393: warning: `Remove' is deprecated (declared at /usr/include/wx-2.6/wx/arrstr.h:189) Menus.cpp: In member function `bool AudacityProject::MakeReadyToPlay()': Menus.cpp:867: warning: `wxUsleep' is deprecated (declared at /usr/include/wx-2.6/wx/utils.h:312) Menus.cpp:867: warning: `wxUsleep' is deprecated (declared at /usr/include/wx-2.6/wx/utils.h:312) i686-pc-linux-gnu-g++ -c -march=athlon-xp -O3 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/src -march=athlon-xp -O3 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA MeterToolBar.cpp -o obj/MeterToolBar.o MeterToolBar.cpp: In member function `virtual void MeterToolBar::OnPaint(wxPaintEvent&)': MeterToolBar.cpp:104: error: variable `wxPaintDC dc' has initializer but incomplete type MeterToolBar.cpp:109: error: no matching function for call to `MeterToolBar::DrawBackground(<type error>, int&, int&)' ToolBar.h:115: note: candidates are: void ToolBar::DrawBackground(wxDC&, int, int) make[1]: *** [obj/MeterToolBar.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.2/work/audacity-src-1.2.2/src' make: *** [audacity] Error 2
have the same problem here i even did an emerge -e wxGTK, but still the same error http://audacity.fuchsi.de/317 in the fifth post you can find a solution: in the file MeterToolBar.cpp you have to change the function MeterToolBar::OnPaint like this 1 2 void MeterToolBar::OnPaint(wxPaintEvent & evt) 3 { 4 //wxPaintDC dc(this); 5 6 int width, height; 7 GetSize(&width, &height); 8 9 //DrawBackground(dc, width, height); 10 } maybe someone could apply this to an ebuild
Re Comment #2: that's just a hack, not really a fix. Still, if someone needs audacity badly enough, that'd be the way to go.
22:03:57 < CIA-9> flameeyes * gentoo-x86/media-sound/audacity/ (5 files): 22:03:57 < CIA-9> Fixed dependency ok wxGTK 2.4 slot as per bug #92730. 22:03:57 < CIA-9> (Portage version: 2.0.51.21-r1) 22:03:57 < jeeves> CIA-9: http://bugs.gentoo.org/show_bug.cgi?id=92730 nor, P2, All, pythonhead@gentoo.org->sound@gentoo.org, NEW, pending, All audacity versions should depend on =wxGTK-2.4*
Works for me, thanks!
root@mercure:~# emerge audacity -va These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/audacity-1.2.2 +encode +flac +mad +oggvorbis 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) media-sound/audacity-1.2.2 to / >>> md5 files ;-) audacity-1.2.1.ebuild >>> md5 files ;-) audacity-1.2.3.ebuild >>> md5 files ;-) audacity-1.2.3-r1.ebuild >>> md5 files ;-) audacity-1.2.2.ebuild >>> md5 files ;-) files/digest-audacity-1.2.3-r1 >>> md5 files ;-) files/digest-audacity-1.2.1 >>> md5 files ;-) files/digest-audacity-1.2.2 >>> md5 files ;-) files/digest-audacity-1.2.3 >>> md5 files ;-) files/audacity.desktop >>> md5 src_uri ;-) audacity-src-1.2.2.tar.gz * Audacity will not build if wxGTK was compiled * with unicode support. If you are using a version of * wxGTK <= 2.4.2, you must set USE=-gtk2. In newer versions, * you must set USE=-unicode. !!! ERROR: media-sound/audacity-1.2.2 failed. !!! Function pkg_setup, Line 41, Exitcode 0 !!! wxGTK must be re-emerged without unicode suport !!! If you need support, post the topmost build error, NOT this status message. root@mercure:~# emerge wxGTK -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.6.0-r1 -debug +doc -gnome +gtk2 -joystick +jpeg +odbc +opengl +png +sdl +tiff -unicode -wxgtk1 0 kB Total size of downloads: 0 kB root@mercure:~# root@mercure:~# emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11.10-vs2.0-rc2_mercure_03_vs i686) ================================================================= System uname: 2.6.11.10-vs2.0-rc2_mercure_03_vs i686 AMD Athlon(tm) 4 Processor Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB" LC_ALL="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnowex X a52 aac aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cairo caps cdr cle266 cmov crypt cups curl cx8 dba de directfb divx4linux djbfft doc dpms dts dv dvb dvd dvdread elf emacs emboss encode escreen esd ethereal fbcon ffmpeg fftw flac font-server foomaticdb fortran fpu fpx ftp fxsr gd gdbm gif gnutls gpm graphviz gstreamer gtk gtk2 hdf5 imagemagick imlib ipv6 java javascript jbig jpeg kerberos krb4 lcms ldap libcaca libclamav libg++ libwww lirc live lzo mad matroska matrox mbox mca mce mikmod mmap mmx mng motif mp3 mpeg mpi msr mtrr mysql mythtv ncurses network nls nptl objc odbc ogg oggvorbis opengl oss pae pam pam_chroot pam_console pam_timestamp pat pcre pdflib perl pge plotutils png pnp posix postgres pse pse36 pwdb python qt quicktime readline real rrdtool rtc ruby samba sasl sdl sendfile sep serial skey slang sndfile snmp speex spell sse ssl streamzap svga sysfs syslog sysvipc tcpd tetex tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode v4l v4l2 vcd vidix vim vme vorbis win32codecs wmf xanim xine xinerama xml xml2 xmlrpc xmms xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # cat /etc/portage/package.use =app-emulation/wine-20050419 -doc x11-libs/wxGTK -unicode are you sure it is fixed ?