Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123427 - emerge audacity 1.2.4b-r1 fails without an exiting error message.
Summary: emerge audacity 1.2.4b-r1 fails without an exiting error message.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL: http://www.msu.edu/~moserjus/3170-aud...
Whiteboard:
Keywords:
: 124060 124876 125516 125827 127583 129706 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-19 17:18 UTC by justin moser
Modified: 2006-10-31 08:07 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wxGTK-2.4.2-audacity.patch (wxGTK-2.4.2-audacity.patch,444 bytes, patch)
2006-03-02 04:18 UTC, Cristiano Chiucchiolo
Details | Diff
wxGTK-2.4.2-r5.ebuild (wxGTK-2.4.2-r5.ebuild,4.87 KB, text/plain)
2006-03-02 04:19 UTC, Cristiano Chiucchiolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description justin moser 2006-02-19 17:18:30 UTC
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
Comment 1 justin moser 2006-02-19 17:23:26 UTC
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
Comment 2 justin moser 2006-02-19 19:11:43 UTC
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 `
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 00:51:59 UTC
We can't fix something if there are no errors. Try with MAKEOPTS="-j1". Also, which wxGTK-2.4 version you have installed?
Comment 4 justin moser 2006-02-20 02:02:55 UTC
*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.
Comment 5 justin moser 2006-02-21 02:09:22 UTC
it is still dying at the same point. any ideas?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-21 02:13:10 UTC
(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. :)

Comment 7 justin moser 2006-02-21 02:20:29 UTC
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.
Comment 8 justin moser 2006-02-25 01:39:00 UTC
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"
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-02-25 07:06:37 UTC
*** Bug 124060 has been marked as a duplicate of this bug. ***
Comment 10 JoeSixpack 2006-03-01 12:15:09 UTC
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.
Comment 11 justin moser 2006-03-02 01:18:26 UTC
oooh. i'll be trying that out shortly. thanks
Comment 12 Cristiano Chiucchiolo 2006-03-02 04:14:05 UTC
It worked for me. I attached the patch and a modified ebuild.
Comment 13 Cristiano Chiucchiolo 2006-03-02 04:18:45 UTC
Created attachment 81098 [details, diff]
wxGTK-2.4.2-audacity.patch
Comment 14 Cristiano Chiucchiolo 2006-03-02 04:19:32 UTC
Created attachment 81099 [details]
wxGTK-2.4.2-r5.ebuild
Comment 15 justin moser 2006-03-03 03:01:34 UTC
dude you are wicked awesome. Chuck Norris should be bowing down to you by now. audacity emerged perfectly

thank you.

Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-03-03 15:44:56 UTC
Please, don't resolve bugs as fixed until they are actually fixed in portage.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-03-03 15:45:06 UTC
*** Bug 124876 has been marked as a duplicate of this bug. ***
Comment 18 justin moser 2006-03-03 16:11:50 UTC
hrm. sorry 
Comment 19 Chris Reitz 2006-03-04 16:30:47 UTC
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.
Comment 20 Chris Reitz 2006-03-04 18:16:40 UTC
sorry to do multiple posts, but the modified ebuild and patch work on my 32 bit machine as well.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-03-09 00:30:54 UTC
*** Bug 125516 has been marked as a duplicate of this bug. ***
Comment 22 active 2006-03-13 10:11:01 UTC
It works also for me on "x86" platform.
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 00:26:19 UTC
*** Bug 127583 has been marked as a duplicate of this bug. ***
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 00:26:39 UTC
*** Bug 125827 has been marked as a duplicate of this bug. ***
Comment 25 David Eads 2006-03-30 08:11:49 UTC
ust another confirmation that this patch worked on my AMD64 box.
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 10:12:55 UTC
*** Bug 129706 has been marked as a duplicate of this bug. ***
Comment 27 Mart Raudsepp gentoo-dev 2006-08-06 10:46:09 UTC
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.
Comment 28 Mart Raudsepp gentoo-dev 2006-08-09 06:09:16 UTC
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.
Comment 29 MATSUU Takuto (RETIRED) gentoo-dev 2006-10-31 08:07:25 UTC
audacity no longer depends on wxGTK-2.4*. close.