From: Matthew Vernon Date: Mon, 19 Jul 2021 10:24:03 +0000 (+0100) Subject: Summary: Make the build not run in parallel (fixes: #991133) X-Git-Tag: archive/debian/4.33~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=commitdiff_plain;h=e7ca711b3ed2b81782c750a08916253546df8944;p=bible-kjv.git 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. --- 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