Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156690 - media-sound/audacity compilation fails with a lot of "undefined reference"
Summary: media-sound/audacity compilation fails with a lot of "undefined reference"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 08:52 UTC by Thomas Demeter
Modified: 2007-01-20 11:04 UTC (History)
0 users

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 Thomas Demeter 2006-11-30 08:52:53 UTC
I've googled round the net with my problem, but I've found nothing useable.
The problem is with tis line:
i686-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 F
FT.o FileNames.o FreqWindow.o Help.o HistoryWindow.o ImageManipulation.o InterpolateAudio.o LabelD
ialog.o LabelTrack.o Languages.o LangChoice.o Legacy.o Matrix.o Menus.o Mix.o NoteTrack.o PitchNam
e.o PlatformCompatibility.o Printing.o Project.o Resample.o RingBuffer.o Shuttle.o ShuttleGui.o Sh
uttlePrefs.o SmartRecordDialog.o Spectrum.o Tags.o Theme.o TimeDialog.o TimeTrack.o Track.o TrackA
rtist.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/BassBoost.o effects/ChangeLength.o effects/ChangePitch.o effects/ChangeSpeed.o effects/Ch
angeTempo.o effects/ClickRemoval.o effects/Compressor.o effects/Echo.o effects/Equalization.o effe
cts/Fade.o effects/Filter.o effects/Invert.o effects/Leveller.o effects/Noise.o effects/NoiseRemov
al.o effects/Normalize.o effects/Phaser.o effects/Repair.o effects/Repeat.o effects/Reverse.o effe
cts/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/Exp
ortMP2.o export/ExportMP3.o export/ExportOGG.o export/ExportFLAC.o export/ExportPCM.o export/Expor
tCL.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/AudioIOPre
fs.o prefs/BatchPrefs.o prefs/DirectoriesPrefs.o prefs/FileFormatPrefs.o prefs/GUIPrefs.o prefs/Ke
yConfigPrefs.o prefs/MousePrefs.o prefs/PrefsDialog.o prefs/QualityPrefs.o prefs/SpectrumPrefs.o p
refs/ThemePrefs.o toolbars/ControlToolBar.o toolbars/DeviceToolBar.o toolbars/EditToolBar.o toolba
rs/MeterToolBar.o toolbars/MixerToolBar.o toolbars/SelectionBar.o toolbars/ToolBar.o toolbars/Tool
Dock.o toolbars/ToolManager.o toolbars/ToolsToolBar.o toolbars/TranscriptionToolBar.o widgets/tree
book.o widgets/AButton.o widgets/ASlider.o widgets/AttachableScrollBar.o widgets/ExpandingToolBar.
o widgets/Grabber.o widgets/Grid.o widgets/ImageRoll.o widgets/Meter.o widgets/MultiDialog.o widge
ts/Ruler.o widgets/TimeTextCtrl.o widgets/Warning.o xml/XMLFileReader.o xml/XMLWriter.o effects/ny
quist/Nyquist.o effects/nyquist/LoadNyquist.o  ../lib-src/libresample.a ../lib-src/libSoundTouch.a
 ../lib-src/libnyquist.a ../lib-src/allegro.a ../lib-src/portaudio-v19/lib/libportaudio.a ../lib-s
rc/portmixer/libportmixer.a libaudacity.a -lvorbisenc -lvorbisfile -lvorbis -logg -lmad -lsndfile
-lFLAC++ -lFLAC -lid3tag -lexpat -pthread -Wl,-O1 -Wl,--sort-common -s  -L/usr/X11R6/lib  -lwx_gtk
2u_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  -ljack

This line outputs a lot of "undefined reference". Here's the full log: http://yorirou.extra.hu/log/emerge_audacity.log (1.2MB).
It's happening with all audacity versions, and this problem also exists with and without the unicode flag.
I'm following the stable x86 branch, and I have the latest updates from all packages. I have wxGTK-2.6.2-r1 and wxpython-2.6.1.0 installed. I've tried the revdep-rebuild tool, but it didn't solved my problem.

Here's my emerge --info:
diamond ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.17-gentoo-r8-yorirou i686)
=================================================================
System uname: 2.6.17-gentoo-r8-yorirou i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 30 Nov 2006 15:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.po.opole.pl http://gentoo.blueyonder.co.uk http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="hu_HU.utf-8"
LC_ALL="hu_HU.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="hu en"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile bash-completion bcmath berkdb bidi bitmap-fonts bluetooth browserplugin bzip2 cdb cddb cdr cjk clamav cli cracklib crypt cups curl custom-cflags dbus dlloader dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd exif ffmpeg firefox flac flash foomaticdb fortran ftp gd gdbm geoip gif glx gmp gnome gpm gstreamer gtk gtk2 hal hou iconv idn imagemagick imap imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber jack java javascript jikes jpeg jpeg2k kde kernel_linux lcms libcaca libg++ libwww linguas_en linguas_hu lm_sensors mad matroska memlimit mhash migemo mikmod mime mmx mng mono motif mozilla mp3 mpeg mplayer msn mysql mysqli ncurses nls nocd nowin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcre pdf perl php png postgres pppd profile python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml sockets sou spell spl sql sse sse2 ssl szip tcpd theora threads tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vorbis win32codecs wmf xine xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xpm xv xvid zip zlib"
Unset:  CTARGET, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Demeter 2006-12-05 09:34:55 UTC
I tried all versions fro the portage, and the "original" version from the audacity's page, and the problem the same.
Have someone an idea?
Comment 2 Alexis Ballier gentoo-dev 2006-12-14 11:44:34 UTC
 * Your CXXFLAGS contains "-fvisibility-inlines-hidden" which can break packages.
 * 
 * Before you file a bug, please remove these flags and 
 * re-compile the package in question as well as all its dependencies

That's what I get when I try to build with your c(xx)flags.
However, even with these ones I can't reproduce that bug. (audacity 1.3.2-r1)
Comment 3 Thomas Demeter 2006-12-19 10:41:11 UTC
(In reply to comment #2)
>  * Your CXXFLAGS contains "-fvisibility-inlines-hidden" which can break
> packages.
>  * 
>  * Before you file a bug, please remove these flags and 
>  * re-compile the package in question as well as all its dependencies
> 
> That's what I get when I try to build with your c(xx)flags.
> However, even with these ones I can't reproduce that bug. (audacity 1.3.2-r1)
> 
I tried without the -fvisibility-inlines-hiddeb flag, but the error is the same. I think the problem may be around my wxGTK or wxpython, but I don't have an idea where to start the digging. Can someone help me?
Comment 4 Yuri Schlesner 2007-01-15 03:30:07 UTC
I can confirm this bug too. Here's my emerge --info:





Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(tm)
Last Sync: Fri, 05 Jan 2007 06:00:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="pt_BR.UTF-8"
LINGUAS="pt_BR en"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X aac acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol audiofile bash-completion berkdb bitmap-fonts blender-game browserplugin bzip2 cairo cddb cdparanoia cdr cgi cli cracklib crypt cscope cups curl dbus dlloader doomsday dri dvd dvdr dvdread eds elibc_glibc emboss encode enscript exif fam fastcgi ffmpeg firefox flac fontconfig ftp gd gdbm ggi gif gimp gimpprint gnutls gphoto2 gpm gtk hal iconv imagemagick inkjar input_devices_keyboard input_devices_mouse insecure-savers ipv6 isdnlog jabber jack javascript jpeg kdeenablefinal kernel_linux kqemu lcms libcaca libg++ linguas_en linguas_pt_BR lua mad mikmod mime mmap mmx mmxext mng modplug mozbranding mozdevelop mozilla mp3 mp4 mpeg msn multiuser mysql ncurses nls nptl nptlonly nsplugin nvidia ogg openal openexr opengl pam pcre pda pdf perl php png posix ppds pppd python qt3 qt4 quicktime readline real reflection samba sdl server session sndfile sockets sox speex spell spl sqlite sse ssl svg tabs tcl tcltk tcpd theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia vim-pager vim-with-x vorbis win32codecs wma wmf x264 xine xml xorg xpm xprint xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Thomas Demeter 2007-01-20 11:04:11 UTC
With the new wxGTK (2.4.2-r4 and 2.6.3.3) and the new wxpython (2.4.2.4-r3 and 2.6.3.3) the audacity-1.3.0b compiles and works fine. Thanks!