From e7ca711b3ed2b81782c750a08916253546df8944 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Mon, 19 Jul 2021 11:24:03 +0100 Subject: [PATCH] Summary: Make the build not run in parallel (fixes: #991133) The changes from Helmut to make cross-building work moved us from non-parallel to parallel builds. Unfortunately, the build system isn't parallel-build-safe (see, for example, the calls of make from within the Makefile), and this meant that in some circumstances the concordance file ended up empty. This package is very quick to build, so tell dh_auto_build to not attempt parallel building. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index bdde468..64fdebb 100755 --- a/debian/rules +++ b/debian/rules @@ -20,9 +20,9 @@ package=bible-kjv build: $(checkdir) - dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -- bible-index.c bible.data bible.data.conc 'LD=$$(CC)' + dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build --no-parallel -- bible-index.c bible.data bible.data.conc 'LD=$$(CC)' rm -f *.o - dh_auto_build -- bible 'LD=$$(CC)' + dh_auto_build --no-parallel -- bible 'LD=$$(CC)' cd debian && $(CC) -g -O2 -o randverse randverse.c touch build -- 2.30.2