On Sun, May 10, 2015 at 18:49:25 +0100, Wookey wrote: > I'm happy if you change this - it seems like fixing a bug to me, but I > will just throw in this observation from recent arm64 archive-rebuilds, that > -j and DEB_BUILD_OPTIONS=parallel= are not exactly the same. Is that > expected? If not then it should perhaps be considered/investigated in > case other builds are sensitive to the difference? > > here is a message from Ed Grimley-Evans, checking the FTBFS: > ----------- > freecdb illustrates the problem repeatably: > > works: > DEB_BUILD_OPTIONS=parallel=4 dpkg-buildpackage -b > > fails: > dpkg-buildpackage -b -j4 > > I haven't worked out precisely what goes wrong, but it seems to have > something to do with a version of "debian/implicit" from 2005/2006, > which was perhaps written with the assumption that dependencies are > built one at a time in order. The whole package is that old, in fact. > > Anyway, what's the bug? Are packages that won't build with > "dpkg-buildpackage -j4" buggy, or is it a bug that man pages suggest > using "dpkg-buildpackage -j4" rather than > "DEB_BUILD_OPTIONS=parallel=4 dpkg-buildpackage -b"? > ---------------- > > This seems to be reproducible even on a dual-core amd64 machine. > dpkg-buildpackage -j is buggy. It sets MAKEFLAGS whether the package supports parallel builds or not. Whereas setting DEB_BUILD_OPTIONS lets the package know it's allowed to use more processes if it wants to / can, but doesn't have to. Cheers, Julien
Attachment:
signature.asc
Description: Digital signature