On Tue, Dec 20, 2016 at 03:26:03PM -0500, Peter Colberg wrote: > Control: tags -1 pending > > On Sat, Dec 17, 2016 at 07:11:55PM +0000, Santiago Vila wrote: > > debian/rules build-indep > > dh build-indep --parallel --with=sphinxdoc > > dh_testdir -i -O--parallel > > dh_update_autotools_config -i -O--parallel > > dh_auto_configure -i -O--parallel > > debian/rules override_dh_auto_build > > [...] > > debian/rules override_dh_auto_test > > make[1]: Entering directory '/<<PKGBUILDDIR>>' > > env JULIA_CPU_CORES=1 JULIA_TEST_MAXRSS_MB=500 HOME=/tmp make -C test ... > > This issue is due to my broken logic in debian/rules: > > # Set number of parallel workers for tests > ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) > TESTS_ENV += JULIA_CPU_CORES=$(patsubst parallel=%,%,$(filter > parallel=%,$(DEB_BUILD_OPTIONS))) > else ifeq (,$(filter parallel,$(DEB_BUILD_OPTIONS))) > TESTS_ENV += JULIA_CPU_CORES=2 > endif > # Restart workers exceeding maximum resident memory size (requires > JULIA_CPU_CORES >= 2) > TESTS_ENV += JULIA_TEST_MAXRSS_MB=500 > > I assumed that the number of processes is ≥ 2 for parallel builds, but > this is no longer the case since debhelper 10 always passes "parallel". > I will upload a new version soon that ensures JULIA_CPU_CORES ≥ 2. > > By the way, Graham, can we increase debhelper compat level to 10?
Aha, so I guess that the fact that I always have this: $ENV{'DEB_BUILD_OPTIONS'} = 'parallel=1'; in my .sbuildrc is one of the reasons the build failed in my autobuilders, right? [ Sometimes I have the feeling that I'm the only one building packages with only one CPU... ] Thanks a lot.