Bug 224579 - media-sound/qtractor-0.1.3 - undefined reference to `qtractorLadspaPluginParam::isInteger() const
Bug#: 224579 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: proaudio@gentoo.org Reported By: ddrtist@gmail.com
Component: Applications
URL: 
Summary: media-sound/qtractor-0.1.3 - undefined reference to `qtractorLadspaPluginParam::isInteger() const
Keywords:  
Status Whiteboard: 
Opened: 2008-06-02 08:10 0000
Description:   Opened: 2008-06-02 08:10 0000
media-sound/qtractor-0.1.3, compiled with the USE flags: "dssi* libsamplerate
mad osc* sse vorbis -debug -ladspa -rubberband%" gets about 99% through the
make stage then abruptly fails.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. USE=""dssi libsamplerate mad osc sse vorbis -debug -ladspa -rubberband"
emerge qtractor

Actual Results:  
Fails during make stage of ebuild.

Expected Results:  
Finish compilation and install software.

dssi USE flag may be part of the problem, as errors such as
qtractorDssiPlugin.o:(.rodata._ZTV23qtractorDssiPluginParam[vtable for
qtractorDssiPluginParam]+0x48): undefined reference to
`qtractorLadspaPluginParam::isInteger() const' were seen at the final linking
during the make stage. dssi package compiles fine, however.

emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r7 x86_64 AMD Turion(tm) 64 Mobile Technology ML-37
Timestamp of tree: Sun, 01 Jun 2008 05:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 apm arts audiofile bash-completion
bzip2 cairo cddb cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread
ffmpeg firefox flac fortran freewnn gdbm gif glib gpm gstreamer gtk hal
htmlhandbook iconv ieee1394 immqt isdnlog jack java javascript joystick jpeg
kde lame lcms libsamplerate libwww lua mad matroska midi mmx modplug mp3 mpeg
mudflap musepack ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia
pcre pdf perl png pppd pulseaudio python qt3 qt4 readline reflection samba sdl
session sndfile sockets speex spell spl sqlite sse sse2 ssl svg tcpd theora
tiff truetype type1 unicode usb vcd vorbis wifi wma wxwindows x264 xine
xinerama xinetd xml xorg xpm xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" 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" APACHE2_MODULES="actions alias auth_basic auth_digest
authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter
headers ident imagemap include info log_config logio mem_cache mime mime_magic
negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
setenvif so speling status unique_id userdir usertrack vhost_alis"
ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" INPUT_DEVICES="keyboard mouse synaptics
joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU"
VIDEO_CARDS="radeon fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Tatsh 2008-06-02 08:12:26 0000 -------
make stage failure (not complete):
x86_64-pc-linux-gnu-g++  -o qtractor main.o qtractorAudioBuffer.o
qtractorAudioC                                                                 
                                 lip.o qtractorAudioConnect.o
qtractorAudioEngine.o qtractorAudioFile.o qtractorA                            
                                                                     
udioListView.o qtractorAudioMadFile.o qtractorAudioMeter.o
qtractorAudioMonitor.                                                          
                                        o qtractorAudioPeak.o
qtractorAudioSndFile.o qtractorAudioVorbisFile.o qtractorC                     
                                                                            
lip.o qtractorClipCommand.o qtractorClipSelect.o qtractorCommand.o
qtractorConne                                                                  
                                ct.o qtractorConnections.o qtractorDocument.o
qtractorDssiPlugin.o qtractorEngin                                             
                                                     e.o
qtractorEngineCommand.o qtractorFileListView.o qtractorFiles.o qtractorInstr   
                                                                               
               ument.o qtractorLadspaPlugin.o qtractorMessages.o
qtractorMeter.o qtractorMidiCl                                                 
                                                 ip.o qtractorMidiConnect.o
qtractorMidiCursor.o qtractorMidiEditor.o qtractorMid                          
                                                                       
iEditCommand.o qtractorMidiEditEvent.o qtractorMidiEditList.o
qtractorMidiEditSe                                                             
                                     lect.o qtractorMidiEditTime.o
qtractorMidiEditView.o qtractorMidiEngine.o qtract                             
                                                                    
orMidiFile.o qtractorMidiListView.o qtractorMidiMeter.o qtractorMidiMonitor.o
qt                                                                             
                     ractorMidiSequence.o qtractorMixer.o qtractorMmcEvent.o
qtractorOptions.o qtract                                                       
                                           orPlugin.o qtractorPluginCommand.o
qtractorPluginListView.o qtractorRubberBand.o                                  
                                                                
qtractorScrollView.o qtractorSession.o qtractorSessionCommand.o qtractorSession
                                                                               
                  Cursor.o qtractorSessionDocument.o qtractorSpinBox.o
qtractorThumbView.o qtracto                                                    
                                              rTimeScale.o
qtractorTimeStretch.o qtractorTimeStretcher.o qtractorTrack.o qtrac            
                                                                               
      torTrackButton.o qtractorTrackCommand.o qtractorTrackList.o
qtractorTrackTime.o                                                            
                                       qtractorTrackView.o qtractorTracks.o
qtractorVstPlugin.o qtractorBusForm.o qtrac                                    
                                                              torClipForm.o
qtractorConnectForm.o qtractorExportForm.o qtractorInstrumentForm.             
                                                                               
     o qtractorMainForm.o qtractorMidiEditorForm.o qtractorMidiToolsForm.o
qtractorOp                                                                     
                             tionsForm.o qtractorPluginForm.o
qtractorPluginSelectForm.o qtractorSessionForm.                                
                                                                  o
qtractorShortcutForm.o qtractorTrackForm.o moc_qtractorAudioListView.o moc_qtr 
                                                                               
                 actorAudioMeter.o moc_qtractorCommand.o moc_qtractorConnect.o
moc_qtractorConnec                                                             
                                     tions.o moc_qtractorFileListView.o
moc_qtractorFiles.o moc_qtractorMessages.o mo                                  
                                                               
c_qtractorMeter.o moc_qtractorMidiEditor.o moc_qtractorMidiEditEvent.o
moc_qtrac                                                                      
                            torMidiEditList.o moc_qtractorMidiEditTime.o
moc_qtractorMidiEditView.o moc_qtra                                            
                                                      ctorMidiListView.o
moc_qtractorMidiMeter.o moc_qtractorMixer.o moc_qtractorPlugi                  
                                                                               
nListView.o moc_qtractorScrollView.o moc_qtractorSlider.o moc_qtractorSpinBox.o
                                                                               
                   moc_qtractorThumbView.o moc_qtractorTrackButton.o
moc_qtractorTrackList.o moc_qt                                                 
                                                 ractorTrackTime.o
moc_qtractorTrackView.o moc_qtractorTracks.o moc_qtractorBusFo                 
                                                                               
 rm.o moc_qtractorClipForm.o moc_qtractorConnectForm.o moc_qtractorExportForm.o
m                                                                              
                    oc_qtractorInstrumentForm.o moc_qtractorMainForm.o
moc_qtractorMidiEditorForm.o                                                   
                                                moc_qtractorMidiToolsForm.o
moc_qtractorOptionsForm.o moc_qtractorPluginForm.o m                           
                                                                      
oc_qtractorPluginSelectForm.o moc_qtractorSessionForm.o
moc_qtractorShortcutForm                                                       
                                           .o moc_qtractorTrackForm.o
qrc_qtractor.o    -L/usr/lib64/qt4 -L/usr/local/lib -                          
                                                                       
L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -ljack -lasound -lsndfile -logg
-lvorb                                                                         
                         is -lvorbisenc -lvorbisfile -lmad -lsamplerate -llo
-lQtXml -L/usr/lib64/qt4 -pt                                                   
                                               hread -pthread -lQtGui -lpng
-lSM -lICE -pthread -pthread -lXi -lXrender -lXrand                            
                                                                      r
-lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -l 
                                                                               
                 z -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl
qtractorDssiPlugin.o: In function
`qtractorDssiPluginParam::~qtractorDssiPluginP                                 
                                                                 aram()':
qtractorDssiPlugin.cpp:(.text+0xbc): undefined reference to
`qtractorLadspaPlugi                                                           
                                       nParam::~qtractorLadspaPluginParam()'
qtractorDssiPlugin.o: In function
`qtractorDssiPluginParam::qtractorDssiPluginPa                                 
                                                                
ram(qtractorDssiPlugin*, unsigned long)':
qtractorDssiPlugin.cpp:(.text+0xf5): undefined reference to
`qtractorLadspaPlugi                                                           
                                      
nParam::qtractorLadspaPluginParam(qtractorLadspaPlugin*, unsigned long)'
qtractorDssiPlugin.o: In function
`qtractorDssiPluginParam::qtractorDssiPluginPa                                 
                                                                
ram(qtractorDssiPlugin*, unsigned long)':
qtractorDssiPlugin.cpp:(.text+0x115): undefined reference to
`qtractorLadspaPlug                                                            
                                     
inParam::qtractorLadspaPluginParam(qtractorLadspaPlugin*, unsigned long)'
qtractorDssiPlugin.o: In function `qtractorDssiPlugin::~qtractorDssiPlugin()':
qtractorDssiPlugin.cpp:(.text+0x19c): undefined reference to
`qtractorLadspaPlug                                                            
                                      in::~qtractorLadspaPlugin()'
...
collect2: ld returned 1 exit status
make[1]: *** [qtractor] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-sound/qtractor-0.1.3/work/qtr                          
                                                                       
actor-0.1.3'
make: *** [qtractor] Error 2
 * 
 * ERROR: media-sound/qtractor-0.1.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2569:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if
rele                                                                           
                       vant.
 * A complete build log is located at
'/var/tmp/portage/media-sound/qtractor-0.1                                     
                                                            
.3/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-sound/qtrac                                            
                                                     
tor-0.1.3/temp/environment'.
 * 

 * Messages for package media-sound/qtractor-0.1.3:

 * 
 * ERROR: media-sound/qtractor-0.1.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2569:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if
rele                                                                           
                       vant.
 * A complete build log is located at
'/var/tmp/portage/media-sound/qtractor-0.1                                     
                                                            
.3/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-sound/qtrac                                            
                                                     
tor-0.1.3/temp/environment'.
 * 
 * GNU info directory index is up-to-date.

------- Comment #2 From Alexis Ballier 2008-06-02 21:09:47 0000 -------
well... in fact it seems upstream recommends ladspa as mandatory, I've made it
that way, and this should fix your compile failures.
Thanks for the report!