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

YunQiang Su wzssyqa at gmail.com
Mon Oct 27 14:16:44 UTC 2014


On Mon, Oct 27, 2014 at 9:58 PM, Jonas Smedegaard <dr at jones.dk> wrote:
> 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))
>

Yes, using functions from make should be better.

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

I am not very familiar with cdbs, so no idea about it.

>
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private



-- 
YunQiang Su



More information about the pkg-multimedia-maintainers mailing list