Control: tag -1 + patch

Hi,

I could not reproduce this in a pbuilder sid/amd64 chroot and the
current Ubuntu trusty package (2.8.0-0ubuntu35). That's the same build
environment where I could reproduce the bug with the Debian source
package two days ago. So, I've investigated the differences, as
Steve suggested.

When looking at the commit log between the Ubuntu branch and the
Debian packaging one, I was surprised to see that our "Convert to
dh(1) and Multi-Arch, thanks to Steve Langasek" revision adds
the --parallel option to dh, while Ubuntu's debian/rules does not do
it. Perhaps Kees integrated a preliminary patch from Steve, that was
slightly different from the one that eventually made it into Ubuntu,
or something. I'm looking at it with my git-brz lens, so I've no idea
how this kind of cherry-picks is done with Bazaar.

Anyhow, getting rid of this option fixes the problem in my sid/amd64
and sid/i386 build environments.

I suspect different degrees of configured parallelism and/or available
CPU cores explain the differences we've seen occur on the buildd
network. FWIW, I'm myself using DEB_BUILD_OPTIONS='parallel=5'.

To end with, I'm not very skilled with Makefile's and all, but if
upstream build system does not support parallel builds, maybe there's
a way to forbid it entirely in there? This might avoid such problems
in the future.

Cheers,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc

diff --git a/debian/rules b/debian/rules
index 9aa5cd0..1c4319b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export DEB_HOST_ARCH_OS   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 %:
-	dh $@ --with=python2,python3,apache2 --parallel
+	dh $@ --with=python2,python3,apache2
 
 override_dh_auto_configure:
 	cd libraries/libapparmor && sh ./autogen.sh

Reply via email to