[proaudio] JACK debug build error |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
ahoy all,
with jack-1.9.9.5 and the debug use flag enabled, the following error comes up on install:
>>> Configuring source in /var/tmp/portage/media-sound/jack-audio-connection-kit-1.9.9.5/work/jack-1.9.9.5 ...
* Running "./waf configure --prefix=/usr --destdir=/var/tmp/portage/media-sound/jack-audio-connection-kit-1.9.9.5/image/ --alsa --dbus -d debug --firewire" ...
waf [commands] [options]
Main commands (example: ./waf build -j4)
build : executes the build
clean : cleans the project
configure: configures the project
dist : makes a tarball for redistributing the sources
distcheck: checks if the project compiles (tarball from 'dist')
distclean: removes the build directory
install : installs the targets on the system
list : lists the targets to execute
step : executes tasks in a step-by-step fashion, for debugging
uninstall: removes the targets installed
update : updates the plugins from the *waflib/extras* directory
waf: error: no such option: -d
the fix is a simple change from "-d debug" to "--debug" in src_configure(), and i have attached an attempt at a patch file to fix the ebuild.
hopefully someone can apply this to the overlay.
thanks, w
*** jack-audio-connection-kit-1.9.9.5.ebuild 2013-01-30 10:18:18.010288061 -0500
--- /var/lib/layman/pro-audio/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-1.9.9.5.ebuild 2013-01-30 09:40:21.087569730 -0500
***************
*** 52,58 ****
use alsa && myconf="${myconf} --alsa"
use dbus && myconf="${myconf} --dbus"
! use dbus && myconf="${myconf} --classic"
! use debug && myconf="${myconf} --debug"
use doc && myconf="${myconf} --doxygen"
use freebob && myconf="${myconf} --freebob"
use ieee1394 && myconf="${myconf} --firewire"
--- 52,58 ----
use alsa && myconf="${myconf} --alsa"
use dbus && myconf="${myconf} --dbus"
! use dbus && myconf="${myconf} --classic"
! use debug && myconf="${myconf} -d debug"
use doc && myconf="${myconf} --doxygen"
use freebob && myconf="${myconf} --freebob"
use ieee1394 && myconf="${myconf} --firewire"