Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688116 - media-sound/ardour-9999 merges some files to path /--with-backends=alsa,jack
Summary: media-sound/ardour-9999 merges some files to path /--with-backends=alsa,jack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-15 16:15 UTC by jospezial
Modified: 2019-09-20 11:18 UTC (History)
0 users

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


Attachments
config.log (config.log,114.64 KB, text/plain)
2019-06-15 16:23 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2019-06-15 16:15:22 UTC
media-sound/ardour-9999 misinterprets the line

$(usex jack "--with-backends=alsa,jack" "--with-backends=alsa  --libjack=weak") \

from the ebuild as path to install some files to /--with-backends=alsa,jack
The jack backend is built but not the alsa backend.

 * Contents of media-sound/ardour-9999:
/--with-backends=alsa,jack
/--with-backends=alsa,jack/a-comp.lv2
/--with-backends=alsa,jack/a-comp.lv2/a-comp#stereo.ttl
/--with-backends=alsa,jack/a-comp.lv2/a-comp.so
/--with-backends=alsa,jack/a-comp.lv2/a-comp.ttl
/--with-backends=alsa,jack/a-comp.lv2/manifest.ttl
/--with-backends=alsa,jack/a-comp.lv2/presets.ttl
/--with-backends=alsa,jack/a-delay.lv2
/--with-backends=alsa,jack/a-delay.lv2/a-delay.so
/--with-backends=alsa,jack/a-delay.lv2/a-delay.ttl
/--with-backends=alsa,jack/a-delay.lv2/manifest.ttl
/--with-backends=alsa,jack/a-delay.lv2/presets.ttl
/--with-backends=alsa,jack/a-eq.lv2
/--with-backends=alsa,jack/a-eq.lv2/a-eq.so
/--with-backends=alsa,jack/a-eq.lv2/a-eq.ttl
/--with-backends=alsa,jack/a-eq.lv2/manifest.ttl
/--with-backends=alsa,jack/a-exp.lv2
/--with-backends=alsa,jack/a-exp.lv2/a-exp#stereo.ttl
/--with-backends=alsa,jack/a-exp.lv2/a-exp.so
/--with-backends=alsa,jack/a-exp.lv2/a-exp.ttl
/--with-backends=alsa,jack/a-exp.lv2/manifest.ttl
/--with-backends=alsa,jack/a-fluidsynth.lv2
/--with-backends=alsa,jack/a-fluidsynth.lv2/a-fluidsynth.so
/--with-backends=alsa,jack/a-fluidsynth.lv2/a-fluidsynth.ttl
/--with-backends=alsa,jack/a-fluidsynth.lv2/manifest.ttl
/--with-backends=alsa,jack/a-reverb.lv2
/--with-backends=alsa,jack/a-reverb.lv2/a-reverb.so
/--with-backends=alsa,jack/a-reverb.lv2/a-reverb.ttl
/--with-backends=alsa,jack/a-reverb.lv2/manifest.ttl
/--with-backends=alsa,jack/reasonablesynth.lv2
/--with-backends=alsa,jack/reasonablesynth.lv2/manifest.ttl
/--with-backends=alsa,jack/reasonablesynth.lv2/reasonablesynth.so
/--with-backends=alsa,jack/reasonablesynth.lv2/reasonablesynth.ttl
/etc
/etc/ardour6
/etc/ardour6/ardour.keys
/etc/ardour6/ardour.menus
/etc/ardour6/clearlooks.rc
/etc/ardour6/default_ui_config
/etc/ardour6/system_config
/etc/ardour6/trx.menus
/usr
/usr/bin
/usr/bin/ardour6
/usr/bin/ardour6-lua
/usr/lib64
/usr/lib64/ardour6
/usr/lib64/ardour6/ardour-6.0.pre0.2023
/usr/lib64/ardour6/ardour-exec-wrapper
/usr/lib64/ardour6/ardour-vst-scanner
...

ardour-5.12 does not do that.
Comment 1 Andreas Sturmlechner gentoo-dev 2019-06-15 16:20:07 UTC
Nice...
Comment 2 jospezial 2019-06-15 16:23:43 UTC
Created attachment 579872 [details]
config.log

# project  configured on Sat Jun 15 15:19:46 2019 by
# waf 1.6.11 (abi 98, python 20710f0 on linux2)
# using /var/tmp/portage/media-sound/ardour-9999/work/ardour-9999/waf --prefix=/usr --libdir=/usr/lib64 --destdir=/var/tmp/portage/media-sound/ardour-9999/image/ --prefix=/usr --configdir=/etc --nls --optimize --lv2 --with-backends=alsa,jack --fpu-optimization configure
#
Comment 3 jospezial 2019-06-15 16:30:29 UTC
>>> Configuring source in /var/tmp/portage/media-sound/ardour-9999/work/ardour-9999 ...
'CCFLAGS=-march=native -O2 -pipe -lboost_system' 'LINKFLAGS=-march=native -O2 -pipe -lboost_system -Wl,-O1 -Wl,--as-needed' 'PKGCONFIG=x86_64-pc-linux-gnu-pkg-config' '/var/tmp/portage/media-sound/ardour-9999/work/ardour-9999/waf' '--prefix=/usr' '--libdir=/usr/lib64' '--destdir=/var/tmp/portage/media-sound/ardour-9999/image/' '--prefix=/usr' '--configdir=/etc' '--nls' '--optimize' '--lv2' '--with-backends=alsa,jack' '--fpu-optimization' 'configure'
Setting top to                           : /var/tmp/portage/media-sound/ardour-9999/work/ardour-9999 
Setting out to                           : /var/tmp/portage/media-sound/ardour-9999/work/ardour-9999/build 
Checking for 'gcc' (c compiler)          : x86_64-pc-linux-gnu-gcc 
Checking for 'g++' (c++ compiler)        : x86_64-pc-linux-gnu-g++ 

Global Configuration 
 * Install prefix                                    : /usr 
 * Debuggable build                                  : False 
 * Build documentation                               : False 

Ardour Configuration 
 * Will build against private GTK dependency stack   : no 
 * Will rely on libintl built into libc              : yes 
 * Will build against private Ardour dependency stack : no 
Checking for function dlopen                         : yes 
Checking for boost library >= 1.39                   : ok 
Checking for program pkg-config                      : x86_64-pc-linux-gnu-pkg-config 
Checking for 'alsa'                                  : yes 
Checking for 'glib-2.0' >= 2.28                      : yes 
Checking for 'gthread-2.0' >= 2.2                    : yes 
Checking for 'glibmm-2.4' >= 2.32.0                  : yes 
Checking for 'sndfile' >= 1.0.18                     : yes 
Checking for 'giomm-2.4' >= 2.2                      : yes 
Checking for 'libcurl' >= 7.0.0                      : yes 
Checking for 'libarchive' >= 3.0.0                   : yes 
Checking for 'liblo' >= 0.26                         : yes 
Checking for 'taglib' >= 1.6                         : yes 
Checking for 'vamp-sdk' >= 2.1                       : yes 
Checking for 'vamp-hostsdk' >= 2.1                   : yes 
Checking for 'rubberband'                            : yes 
Checking for  sndfile RF64=>RIFF support             : Found 
Checking for clang                                   : no 
Checking for 'libudev'                               : yes 
Checking for 'fftw3f'                                : yes 
Checking for 'aubio' >= 0.3.2                        : yes 
Checking for 'aubio' >= 0.4.0                        : yes 
Checking for 'libxml-2.0'                            : yes 
Checking for 'sigc++-2.0' >= 2.0                     : yes 
Checking for function getmntent                      : yes 
Checking for header execinfo.h                       : yes 
Checking for header unistd.h                         : yes 
Checking for function posix_memalign                 : yes 
Checking for function localtime_r                    : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/weak_ptr.hpp               : yes 
Checking for 'cppunit' >= 1.12.0                     : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/weak_ptr.hpp               : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/weak_ptr.hpp               : yes 
Checking for 'libusb-1.0'                            : yes 
Checking for header cwiid.h                          : not found 
You are missing the cwiid headers needed to compile wiimote support
Checking for 'pangomm-1.4' >= 1.4                    : yes 
Checking for 'cairomm-1.0' >= 1.8.4                  : yes 
Checking for 'jack' >= 0.121.0                       : yes 
Checking for JACK metadata API                       : ok 
Checking for jack_port_rename()                      : ok 
Checking for program gas,as,gcc                      : /usr/bin/as 
Checking for 'lrdf' >= 0.4.0                         : yes 
Checking for 'samplerate' >= 0.1.0                   : yes 
Checking for 'lv2' >= 1.2.0                          : yes 
Checking for 'lv2' >= 1.10.0                         : yes 
Checking for 'serd-0' >= 0.14.0                      : yes 
Checking for 'sord-0' >= 0.8.0                       : yes 
Checking for 'sratom-0' >= 0.2.0                     : yes 
Checking for 'lilv-0' >= 0.24.2                      : yes 
Checking for 'suil-0' >= 0.6.0                       : yes 
Checking for 'ogg' >= 1.1.2                          : yes 
Checking for 'flac' >= 1.2.1                         : yes 
Checking for header sys/vfs.h                        : yes 
Checking for header sys/statvfs.h                    : yes 
Checking for header unistd.h                         : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/weak_ptr.hpp               : yes 
Checking for header boost/scoped_ptr.hpp             : yes 
Checking for header boost/ptr_container/ptr_list.hpp : yes 
Checking for 'gtkmm-2.4' >= 2.8                      : yes 
Checking for 'gtk+-2.0' >= 2.12.1                    : yes 
Checking for 'samplerate' >= 0.1.7                   : yes 
Checking for 'fftw3f' >= 3.3.5                       : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/format.hpp                 : yes 
Checking for 'lv2' >= 1.0.0                          : yes 
Checking for 'cairo' >= 1.12.0                       : yes 
Checking for 'gthread-2.0' >= 2.10.1                 : yes 
Checking for 'gtk+-2.0' >= 2.18                      : yes 
Checking for 'x11' >= 1.1                            : yes 
Checking for 'pangoft2' >= 1.36.8                    : yes 
Checking for 'fontconfig'                            : yes 
Checking for header boost/shared_ptr.hpp             : yes 
Checking for header boost/weak_ptr.hpp               : yes 
session-utils depend on the dummy backend.
 * build session-utils                               : no 
Checking for 'dbus-1'                                : yes 
Checking for function readline                       : yes 
 * Build documentation                               : False 
 * Debuggable build                                  : False 
 * Export all symbols (backtrace)                    : False 
 * Install prefix                                    : /usr 
 * Strict compiler flags                             : [] 
 * Internal Shared Libraries                         : True 
 * Use External Libraries                            : False 
 * Library exports hidden                            : True 
 * Free/Demo copy                                    : False 
 * ALSA DBus Reservation                             : True 
 * Architecture flags                                : None 
 * Aubio                                             : True 
 * AudioUnits                                        : False 
 * Build target                                      : x86_64 
 * Canvas Test UI                                    : False 
 * Beatbox test app                                  : False 
 * CoreAudio                                         : False 
 * CoreAudio 10.5 compat                             : False 
 * Debug RT allocations                              : False 
 * Debug Symbols                                     : False 
 * Denormal exceptions                               : False 
 * FLAC                                              : True 
 * FPU optimization                                  : True 
 * Freedesktop files                                 : False 
 * Libjack linking                                   : link 
 * Libjack metadata                                  : True 
 * Lua Binding Doc                                   : False 
 * LV2 UI embedding                                  : True 
 * LV2 support                                       : True 
 * LV2 extensions                                    : True 
 * LXVST support                                     : True 
 * Mac VST support                                   : False 
 * NI-Maschine                                       : False 
 * OGG                                               : True 
 * Phone home                                        : True 
 * Process thread timing                             : False 
 * Program name                                      : Ardour 
 * Samplerate                                        : True 
 * PT format                                         : False 
 * PTW32 Semaphore                                   : False 
 * Threaded WaveViews                                : True 
 * Translation                                       : True 
 * Unit tests                                        : False 
 * Windows VST support                               : False 
 * Wiimote support                                   : False 
 * Windows key                                       : Mod4><Super 
 * PortAudio Backend                                 : False 
 * CoreAudio/Midi Backend                            : False 
 * ALSA Backend                                      : False 
 * Dummy backend                                     : False 
 * JACK Backend                                      : True 
 * Buildstack                                        : -system- 
 * Mac i386 Architecture                             : False 
 * Mac ppc Architecture                              : False 
 * C compiler flags                                  : ['-I/var/tmp/portage/media-sound/ardour-9999/work/ardour-9999', '-march=native', '-O2', '-pipe', '-lboost_system', '-DHAVE_RF64_RIFF', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-pipe', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DPROGRAM_NAME="Ardour"', '-DPROGRAM_VERSION="6"', '-Wstrict-prototypes', '-Wmissing-prototypes'] 
 * C++ compiler flags                                : ['-I/var/tmp/portage/media-sound/ardour-9999/work/ardour-9999', '-march=native', '-O2', '-pipe', '-std=c++11', '-lboost_system', '-DHAVE_RF64_RIFF', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-pipe', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DPROGRAM_NAME="Ardour"', '-DPROGRAM_VERSION="6"', '-Woverloaded-virtual', '-Wno-unused-local-typedefs', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG'] 
 * Linker flags                                      : ['-march=native', '-O2', '-pipe', '-lboost_system', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-march=native', '-O2', '-pipe', '-lboost_system', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed'] 

'configure' finished successfully (10.202s)
>>> Source configured.
Comment 4 Andreas Schürch gentoo-dev 2019-06-22 17:38:52 UTC
It's a bit weird... 
It seems to work if you just put the "$(usex jack" line at the beginning of the parameters of waf-utils_src_configure.
I don't see any other sideffects by now. Do you?
Comment 5 Andreas Schürch gentoo-dev 2019-06-22 20:40:07 UTC
Ok, it helped for the "missing backends issue", but it still created bogus directories! I guess it's because of --lv2.
I got it to work without it like this:
        waf-utils_src_configure \
                $(usex doc "--docs" '') \
                $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
                $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa  --libjack=weak") \
                --destdir="${D}" \
                --prefix=/usr \
                --configdir=/etc \
                --nls \
                --optimize
Comment 6 Andreas Schürch gentoo-dev 2019-09-20 11:18:20 UTC
fix committed