severity 653424 wishlist
retitle 653424 Please consider making the build -jX safe
thanks

[WRT to your subject line, the conventional acronym is "FTB*F*S"]

On Tue, 2011-12-27 at 23:37 -0500, John L. Males wrote:
> When trying to build Debian Security Fix man2html_1.6f+repack-1
> +squeeze1 receive the following error shortly after starting
> build from source:
> 
> touch configure-stamp
> dpkg-buildpackage: error: debian/rules build gave error exit
> status 2
> keypunch@pwsdhhuesloejsgegsjwilastwhsk:/data/system/nc6400/debian/6.x.x-squeeze/SecurityUpdates/realtimestamps/man2html-1.6f
> +repack tty1 $ date ; time dpkg-buildpackage -rfakeroot -j2

There's your problem.  You can't assume that any given Debian package
(or upstream software, for that matter) is -jX safe (for j > 1).  You
can configure your environment to request that if a package has been set
up to know that it can build in parallel then it do so, but that
interface is not simply passing -j on the command line - if you do so
and things break, you get to keep the pieces[tm].

See
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options  
for the supported way of performing such builds.  I'm therefore downgrading and 
retitling this report and will leave it to the maintainers to decide how they 
wish to proceed.

Regards,

Adam




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to