Bug#766993: jackd2: FTBFS with DEB_BUILD_PARALLEL=1 DEB_BUILD_OPTIONS="parallel=4"

Jonas Smedegaard dr at jones.dk
Mon Oct 27 13:58:43 UTC 2014


Quoting YunQiang Su (2014-10-27 14:32:43)
> When building jackd2 with DEB_BUILD_PARALLEL=1 DEB_BUILD_OPTIONS="parallel=4",
> it fails:
> 
> CFLAGS="-g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -fvisibility=hidden -Wall" CXXFLAGS="-g -O2
> -fstack-protector-strong -Wformat -Werror=format-security
> -fvisibility=hidden -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2"
> LDFLAGS="-Wl,-z,relro" -j4 ./waf-light configure --prefix=/usr
> --classic --libdir=/usr/lib/mips64el-linux-gnuabi64 --alsa --dbus
> /bin/sh: 1: -j4: not found
> 
> The attached patch can fix it.

Thanks!

If I understand your patch correctly (have only read it briefly) the 
first lines are better written without making shell calls, like this:

WAF_EXTRA_ARGS = $(filter-out -j%,$(DEB_MAKE_EXTRA_ARGS))
WAF_JOBS = $(filter -j%,$(DEB_MAKE_EXTRA_ARGS))

...and even better by using underlying variable instead of extracting 
from DEB_MAKE_EXTRA_ARGS.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141027/85e2cc94/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list