On Sat, 2014-03-01 at 12:01 +0400, Michael Tokarev wrote: > 01.03.2014 06:17, Cyril Brulebois wrote: > > Package: busybox > > Version: 1:1.20.0-7 > > Severity: normal > > Tags: patch > > > > Hi, > > > > the title and the attached patch say it all. > > Oh well. > > This come several times in the past for various packages, and it always > ends up in some strange place. > > I always build my packages in parallel mode locally and ofcourse > ensure they build fine that way. Because, well, I dislike waiting > for too long when my machine have many cores doing nothing. > > The way I alway do this is by passing -jX flag to dpkg-buildpackage, > sbuild, or just ./d/rules -jX, and so on. This ends up being a flag > for the top-level make (which calls d/rules) so the job server becomes > global. It is the easiest and most strightforward way. [...]
dpkg-buildpackage -j does *not* put -j on the debian/rules command line. It sets DEB_BUILD_OPTIONS. This is done precisely so that build daemons can use dpkg-buildpackage -j for everything but it will only result in a parallel make where the maintainer has checked that this works. Ben. -- Ben Hutchings If at first you don't succeed, you're doing about average.
signature.asc
Description: This is a digitally signed message part