tags 1129867 patch
thanks
Hi. Here is a patch which fixes the bug.
Note: I've actually tested it. Without the patch the build fails 50%
of the time when I build the package on machines with 2 CPUs
(and it never fails with 1 CPU).
After applying the patch (tried 20 times each) it always build ok.
Thanks.
commit 1bf8dd461e09a37fc463887cfc18904d30258333
Author: Santiago Vila <[email protected]>
Date: Tue Mar 10 22:05:00 2026 +0100
Fix race condition in GNUmakefile. Closes: #1129867.
diff --git a/debian/patches/parallel-build.patch
b/debian/patches/parallel-build.patch
new file mode 100644
index 0000000..30656f8
--- /dev/null
+++ b/debian/patches/parallel-build.patch
@@ -0,0 +1,15 @@
+From: Santiago Vila <[email protected]>
+Subject: Add missing order-only prerequisite
+Bug-Debian: https://bugs.debian.org/1129867
+
+--- a/GNUmakefile
++++ b/GNUmakefile
+@@ -143,7 +143,7 @@
+ $(MWGPP) $< > $@
+
+ outfiles += $(OUTDIR)/lib/benchmark.ksh
+-$(OUTDIR)/lib/benchmark.ksh: lib/benchmark.ksh src/benchmark.sh
++$(OUTDIR)/lib/benchmark.ksh: lib/benchmark.ksh src/benchmark.sh |
$(OUTDIR)/lib
+ $(MWGPP) $< > $@
+
+ #outfiles += $(OUTDIR)/lib/init-msleep.sh
diff --git a/debian/patches/series b/debian/patches/series
index bfc2eed..44355d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
remove-git.patch
fix-check.patch
+parallel-build.patch