I've tried just about everything i could think of, short of compiling it in 32 bit (which i might actually try next). stripped custom cflags, disabled ccache, emerge other versions, change use flags. i have the same problem every time: the emerge job will just die while it's compiling, without exitting to an error message. so this is what my console output looks like ATM: [...] x86_64-pc-linux-gnu-g++ -c -march=k8 -O2 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/include -march=k8 -O2 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib64/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES effects/nyquist/LoadNyquist.cpp -o obj/effects/nyquist/LoadNyquist.o x86_64-pc-linux-gnu-g++ -c -march=k8 -O2 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/include -march=k8 -O2 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib64/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES effects/ladspa/LoadLadspa.cpp -o obj/effects/ladspa/LoadLadspa.o x86_64-pc-linux-gnu-g++ -c -march=k8 -O2 -pipe -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/include -march=k8 -O2 -pipe -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libresample/include -Wall -Iinclude -I/usr/lib64/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES effects/ladspa/LadspaEffect.cpp -o obj/effects/ladspa/LadspaEffect.o x86_64-pc-linux-gnu-g++ -o ../audacity obj/AColor.o obj/AStatus.o obj/AboutDialog.o obj/AudacityApp.o obj/AudioIO.o obj/Benchmark.o obj/ControlToolBar.o obj/DirManager.o obj/Envelope.o obj/EditToolBar.o obj/FFT.o obj/FormatSelection.o obj/FreqWindow.o obj/Help.o obj/HistoryWindow.o obj/ImageManipulation.o obj/Internat.o obj/LabelTrack.o obj/Languages.o obj/LangChoice.o obj/Legacy.o obj/Menus.o obj/MeterToolBar.o obj/Mix.o obj/MixerToolBar.o obj/NoteTrack.o obj/PitchName.o obj/PlatformCompatibility.o obj/Project.o obj/Resample.o obj/RingBuffer.o obj/Sequence.o obj/Spectrum.o obj/Tags.o obj/Track.o obj/TrackArtist.o obj/TrackPanel.o obj/ToolBar.o obj/UndoManager.o obj/WaveTrack.o obj/TimeTrack.o obj/commands/CommandManager.o obj/commands/Keyboard.o obj/effects/Effect.o obj/effects/SimpleMono.o obj/effects/TwoPassSimpleMono.o obj/effects/SimplePairedTwoTrack.o obj/effects/SoundTouchEffect.o obj/effects/LoadEffects.o obj/effects/Amplify.o obj/effects/BassBoost.o obj/effects/ChangePitch.o obj/effects/ChangeSpeed.o obj/effects/ChangeTempo.o obj/effects/ClickRemoval.o obj/effects/Compressor.o obj/effects/Echo.o obj/effects/Equalization.o obj/effects/Fade.o obj/effects/Filter.o obj/effects/Invert.o obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o obj/export/Export.o obj/export/ExportMultiple.o obj/export/ExportMP3.o obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o obj/widgets/ASlider.o obj/widgets/Meter.o obj/widgets/Ruler.o obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -L/usr/lib64 -pthread -Wl,-O1 -Wl,--sort-common -s -lwx_gtk2-2.4 -lpangox-1.0 thebeast ~ # Here is my emerge info as of my last install attempt: thebeast ~ # emerge info Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-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/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/mnt/nfs/portage/distfiles" FEATURES="autoconfig distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/mnt/nfs/portage/packages" PORTAGE_TMPDIR="/portage" PORTDIR="/mnt/nfs/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 arts berkdb bzip2 crypt dlloader expat gdbm gif gpm ithreads jpeg kde kdeenablefinal mad ncurses nls nptl nptlonly opengl pam perl pic png python readline sdl ssl tcpd truetype udev unicode userlocales vorbis zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS And in case it helps, i uploaded the emerge log for audacity so it can be read online: http://www.msu.edu/~moserjus/3170-audacity-1.2.4b-r1.log
BTW, i use package.use and package.keywords to configure a lot of masking and use flags. i know this ebuild is marked as testing, but figured it'd help the testing process if i posted my problem with it ;) for reference, these are the use flags i'm using for audacity: thebeast ~ # emerge -pv audacity These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/audacity-1.2.4b-r1 +encode +mad +vorbis 0 kB Total size of downloads: 0 kB
ooohh... finally an error message... sort of. i tried emerging it again (after remerging glibc without nptlonly set). it chunks at the spot, but there's an extra line: /usr/lib64/libwx_gtk2-2.4.so: undefined reference to `
We can't fix something if there are no errors. Try with MAKEOPTS="-j1". Also, which wxGTK-2.4 version you have installed?
*nod* yeah, if there was an error message i probably could have googled it and not needed to do a report. i know what you mean. the version of wxGTK is 2.4.2-r4. here's the use flags for it ATM: x11-libs/wxGTK-2.4.2-r4 -debug +gtk2 -odbc +opengl +unicode +wxgtk1 i already tried it without gtk2 and wxgtk1 set, i set those because i read somewhere on the forums that they might help. Emerging with MAKEOPTS="-j1" results in the same error, even with ccache disabled.
it is still dying at the same point. any ideas?
(In reply to comment #5) > it is still dying at the same point. any ideas? No, not really... and pretty hard to fix something if you don't know what's broken. :)
ok, hrm. interestingly i just got done trying to emerge it using the same setup as someone else used on the Gentoo forums (it worked for htem, even on AMD64). i guess it's my setup. you know, i still have a windows XP and audacity has a windows version. i'll just use that. (there's no "workaround" option for closing the bug report ;) but thank you for trying ot help, i appreciate it.
someone in the thread on the gentoo forums may have found the error message: x86_64-pc-linux-gnu-g++ -o ../audacity obj/AColor.o obj/AStatus.o obj/AboutDialog.o obj/AudacityApp.o obj/AudioIO.o obj/Benchmark.o obj/ControlToolBar.o obj/DirManager.o obj/Envelope.o obj/EditToolBar.o obj/FFT.o obj/FormatSelection.o obj/FreqWindow.o obj/Help.o obj/HistoryWindow.o obj/ImageManipulation.o obj/Internat.o obj/LabelTrack.o obj/Languages.o obj/LangChoice.o obj/Legacy.o obj/Menus.o obj/MeterToolBar.o obj/Mix.o obj/MixerToolBar.o obj/NoteTrack.o obj/PitchName.o obj/PlatformCompatibility.o obj/Project.o obj/Resample.o obj/RingBuffer.o obj/Sequence.o obj/Spectrum.o obj/Tags.o obj/Track.o obj/TrackArtist.o obj/TrackPanel.o obj/ToolBar.o obj/UndoManager.o obj/WaveTrack.o obj/TimeTrack.o obj/commands/CommandManager.o obj/commands/Keyboard.o obj/effects/Effect.o obj/effects/SimpleMono.o obj/effects/TwoPassSimpleMono.o obj/effects/SimplePairedTwoTrack.o obj/effects/SoundTouchEffect.o obj/effects/LoadEffects.o obj/effects/Amplify.o obj/effects/BassBoost.o obj/effects/ChangePitch.o obj/effects/ChangeSpeed.o obj/effects/ChangeTempo.o obj/effects/ClickRemoval.o obj/effects/Compressor.o obj/effects/Echo.o obj/effects/Equalization.o obj/effects/Fade.o obj/effects/Filter.o obj/effects/Invert.o obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o obj/export/Export.o obj/export/ExportMultiple.o obj/export/ExportMP3.o obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o obj/widgets/ASlider.o obj/widgets/Meter.o obj/widgets/Ruler.o obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lid3tag -L/usr/lib64 -pthread -lwx_gtk2-2.4 -lpangox-1.0 /usr/lib64/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status note the last line. i'm reopening the bug, but if that isn't it then go ahead and remark it "needinfo"
*** Bug 124060 has been marked as a duplicate of this bug. ***
I was having this problem for every combination of wxGTK version, audacity version, and use flags that I could think of. Here is the key line in the output: "/usr/lib64/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto'" I googled this and discovered this thread over at Redhat's bugzilla: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154958 It suggests applying this patch to solve the problem: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=113274 When I looked at the wxGTK-2.4.2-r4 sources, I saw that the change this patch wants to make has already been made to the sources. So, on a hunch, I applied the opposite of this patch (change + to - and - to +). Audacity (1.2.4b-r1) merged just fine after that.
oooh. i'll be trying that out shortly. thanks
It worked for me. I attached the patch and a modified ebuild.
Created attachment 81098 [details, diff] wxGTK-2.4.2-audacity.patch
Created attachment 81099 [details] wxGTK-2.4.2-r5.ebuild
dude you are wicked awesome. Chuck Norris should be bowing down to you by now. audacity emerged perfectly thank you.
Please, don't resolve bugs as fixed until they are actually fixed in portage.
*** Bug 124876 has been marked as a duplicate of this bug. ***
hrm. sorry
Just in case you are interested, I'm running a P4 HyperThread 32 bit system and I'm running into the same problem. same error message. Let me know if you need any other info.
sorry to do multiple posts, but the modified ebuild and patch work on my 32 bit machine as well.
*** Bug 125516 has been marked as a duplicate of this bug. ***
It works also for me on "x86" platform.
*** Bug 127583 has been marked as a duplicate of this bug. ***
*** Bug 125827 has been marked as a duplicate of this bug. ***
ust another confirmation that this patch worked on my AMD64 box.
*** Bug 129706 has been marked as a duplicate of this bug. ***
How far is the sound team to have audacity-1.3 that uses wxGTK-2.6 being stabilized, if that's an option at all? In the long run I want to get rid of wxGTK-2.4. The pragma interface/implementation stuff is well known to me from upstream work, I'll take a look. The problem is that changing these might potentially change ABI.
I believe bug #123323 fixed this, but it didn't go with a revision bump, and there haven't been any more revision bumps in the 2.4 SLOT either. Need to investigate in that regard, and perhaps revision bump with a couple other fixes. Till then a re-emerge of =wxGTK-2.4* should fix this - if not, please let me know! Personally I advocate audacity 1.3.0b+ and wxGTK-2.6, as I want to nuke 2.4 out of portage as soon as possible.
audacity no longer depends on wxGTK-2.4*. close.