[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1022239: festival FTBFS: make[2]: *** [/usr/lib/speech_tools/config/rules/targets.mak:55: src] Error 2



Control: severity -1 wishlist

Samuel Thibault, le sam. 22 oct. 2022 17:06:07 +0200, a ecrit:
> Nilesh Patra, le sam. 22 oct. 2022 20:09:05 +0530, a ecrit:
> > Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot -j5
> 
> Ok, that's why. festival's makefile does not support parallel builds.
> That's why we do not pass any -j parameter to the explicit make call.
> 
> It seems that dpkg-buildpackage's -j option forcibly passes -j
> in MAKEFLAGS. Is there a way to prevent it from doing that, or
> should users just know whether they can use -j, and rather use
> DEB_BUILD_OPTIONS=parallel=nn if they don't know?

-J's documentation

“
       -J, --jobs-try[=jobs|auto]
           This option (since dpkg 1.18.2, long option since dpkg 1.18.8) is
           equivalent to the -j option except that it does not set the
           MAKEFLAGS environment variable, and as such it is safer to use with
           any package including those that are not parallel-build safe.

           auto is the default behavior (since dpkg 1.18.11). Setting the
           number of jobs to 1 will restore a serial behavior.
”

leads me into thinking that this is notabug from festival, and people
should be just using -J and not -j?

Samuel


Reply to: