Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179758 - media-sound/audacity-1.3.3 fails to link and it has an implicit dependency on jack-audio-connection-kit
Summary: media-sound/audacity-1.3.3 fails to link and it has an implicit dependency on...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 15:14 UTC by Maarten Maathuis
Modified: 2007-08-03 11:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Maathuis 2007-05-25 15:14:16 UTC
During linking some symbols are not found, they are related to jack, but audacity shouldn't even have a dependency on jack.

I have confirmed that this is not an --as-needed issue.

Reproducible: Always

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

Actual Results:  
x86_64-pc-linux-gnu-g++ -c -march=k8 -Os -pipe -msse3 -I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include -march=k8 -Os -pipe -msse3       -I../lib-src/libresample/include -I/usr/include/soundtouch   -I../lib-src/libnyquist/nyx  -I../lib-src/allegro -I../lib-src/FileDialog -Wall -fno-strict-aliasing -I./include -I.  -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA     effects/ladspa/LadspaEffect.cpp -o effects/ladspa/LadspaEffect.o
ar rcs libaudacity.a BlockFile.o Dither.o DirManager.o FileFormats.o Prefs.o SampleFormat.o Sequence.o Internat.o blockfile/LegacyBlockFile.o blockfile/LegacyAliasBlockFile.o blockfile/SilentBlockFile.o blockfile/SimpleBlockFile.o blockfile/PCMAliasBlockFile.o xml/XMLTagHandler.o 
x86_64-pc-linux-gnu-g++ -o ../audacity AColor.o AboutDialog.o AudacityApp.o AudioIO.o AutoRecovery.o BatchCommandDialog.o BatchCommands.o BatchProcessDialog.o Benchmark.o Dependencies.o Envelope.o FFT.o FileIO.o FileNames.o FreqWindow.o HistoryWindow.o ImageManipulation.o InterpolateAudio.o LabelDialog.o LabelTrack.o Languages.o LangChoice.o Legacy.o Matrix.o Menus.o Mix.o NoteTrack.o PitchName.o PlatformCompatibility.o Printing.o Project.o Resample.o RingBuffer.o Screenshot.o Shuttle.o ShuttleGui.o ShuttlePrefs.o SmartRecordDialog.o Snap.o Spectrum.o Tags.o Theme.o TimeDialog.o TimeTrack.o Track.o TrackArtist.o TrackPanel.o TrackPanelAx.o UndoManager.o UploadDialog.o VoiceKey.o WaveClip.o WaveTrack.o WrappedType.o commands/CommandManager.o commands/Keyboard.o effects/Effect.o effects/SimpleMono.o effects/SimplePairedTwoTrack.o effects/SoundTouchEffect.o effects/LoadEffects.o effects/Amplify.o effects/AutoDuck.o effects/BassBoost.o effects/ChangePitch.o effects/ChangeSpeed.o effects/ChangeTempo.o effects/ClickRemoval.o effects/Compressor.o effects/DtmfGen.o effects/Echo.o effects/Equalization.o effects/Fade.o effects/Invert.o effects/Leveller.o effects/Noise.o effects/NoiseRemoval.o effects/Normalize.o effects/Phaser.o effects/Repair.o effects/Repeat.o effects/Reverse.o effects/Silence.o effects/SpikeCleaner.o effects/StereoToMono.o effects/ToneGen.o effects/TruncSilence.o effects/TwoPassSimpleMono.o effects/Wahwah.o export/Export.o export/ExportMultiple.o export/ExportMP2.o export/ExportMP3.o export/ExportOGG.o export/ExportFLAC.o export/ExportPCM.o export/ExportCL.o import/Import.o import/ImportFLAC.o import/ImportLOF.o import/ImportMIDI.o import/ImportMP3.o import/ImportOGG.o import/ImportPCM.o import/ImportRaw.o import/RawAudioGuess.o prefs/AudioIOPrefs.o prefs/BatchPrefs.o prefs/DirectoriesPrefs.o prefs/FileFormatPrefs.o prefs/GUIPrefs.o prefs/KeyConfigPrefs.o prefs/MousePrefs.o prefs/PrefsDialog.o prefs/QualityPrefs.o prefs/SpectrumPrefs.o prefs/ThemePrefs.o toolbars/ControlToolBar.o toolbars/DeviceToolBar.o toolbars/EditToolBar.o toolbars/MeterToolBar.o toolbars/MixerToolBar.o toolbars/SelectionBar.o toolbars/ToolBar.o toolbars/ToolDock.o toolbars/ToolManager.o toolbars/ToolsToolBar.o toolbars/TranscriptionToolBar.o widgets/treebook.o widgets/AButton.o widgets/ASlider.o widgets/AttachableScrollBar.o widgets/ExpandingToolBar.o widgets/Grabber.o widgets/Grid.o widgets/ImageRoll.o widgets/LinkingHtmlWindow.o widgets/Meter.o widgets/MultiDialog.o widgets/Ruler.o widgets/TimeTextCtrl.o widgets/Warning.o xml/XMLFileReader.o xml/XMLWriter.o effects/nyquist/Nyquist.o effects/nyquist/LoadNyquist.o  effects/ladspa/LoadLadspa.o effects/ladspa/LadspaEffect.o ../lib-src/libresample.a ../lib-src/libnyquist.a ../lib-src/allegro.a ../lib-src/FileDialog.a ../lib-src/portaudio-v19/lib/libportaudio.a ../lib-src/portmixer/libportmixer.a libaudacity.a -lvorbisenc -lvorbisfile -lvorbis -logg -lmad -lsndfile -lFLAC++ -lFLAC -lid3tag -lSoundTouch -lexpat -L/usr/lib64 -pthread -Wl,-O1 -Wl,--as-needed  -L/usr/X11R6/lib64  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6  -lasound -ljack -lpthread -lrt   -lrt     -lm -lpthread
../lib-src/portaudio-v19/lib/libportaudio.a(pa_jack.o): In function `RealStop':
pa_jack.c:(.text+0x191f): undefined reference to `jack_port_lock'
pa_jack.c:(.text+0x19ef): undefined reference to `jack_port_unlock'
pa_jack.c:(.text+0x1a67): undefined reference to `jack_port_lock'
pa_jack.c:(.text+0x1b34): undefined reference to `jack_port_unlock'
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.3/work/audacity-src-1.3.3-beta/src'
make: *** [audacity] Error 2


Portage 2.1.2.8 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21.1-rt6 x86_64)
=================================================================
System uname: 2.6.21.1-rt6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Fri, 25 May 2007 14:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -Os -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/"
INSTALL_MASK="/usr/bin/emerge"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/local/portage /usr/local/nouveau /usr/local/pkgcore"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X accessibility alsa amd64 aotuv berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups curl dbus dhcp dri dvd dvdr eds emboss encode fam ffmpeg flac fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack jpeg ladspa ldap libg++ mad midi mikmod minimal mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse3 ssl svg tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wavpack xml xorg xv xvmc zlib" ALSA_CARDS="ice1724" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-25 15:41:13 UTC
Eh; maybe it shouldn't use the bundled portaudio in the first place.
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2007-06-04 16:46:32 UTC
Audacity has not support external portaudio src yet. 

I cannot reproduce this issue. What version of jack-audio-connection-kit do you use?
Comment 3 Maarten Maathuis 2007-06-04 17:07:37 UTC
I had jackd 0.105.1 (svn) installed, i reverted to 0.103.0 and it seems to work now, will poke again if the next jack release still causes a problem.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-08-03 11:36:01 UTC
Bug was reported with version that's not even in tree, comment #3. And it works for reporter now.