Bug#882293: koules: sometimes parallel FTBFS

Adrian Bunk bunk at debian.org
Tue Nov 21 07:51:24 UTC 2017


Source: koules
Version: 1.4-24
Severity: important
Tags: patch

db compat 10 defaults to parallel, and this sometimes
causes koules to FTBFS:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/koules.html

...
rm -f libxlib.a
ar clq libxlib.a  init.o mem.o       interface.o shmbitmap.o text.o font8x8.o
rm -f libxlib.a
ranlib libxlib.a
ranlib: 'libxlib.a': No such file
ar clq libxlib.a  init.o mem.o       interface.o shmbitmap.o text.o font8x8.o
Makefile:1086: recipe for target 'libxlib.a' failed
make[3]: *** [libxlib.a] Error 1


To reproduce:
  while dpkg-buildpackage -b -J100 ; do true; done


While fixing the Makefiles would be the preferred solution,
the following to revert to the compat < 10 default of
non-parallel building would be a sufficient workaround:

--- debian/rules.old	2017-11-21 07:35:34.000000000 +0000
+++ debian/rules	2017-11-21 07:35:53.000000000 +0000
@@ -5,7 +5,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ --no-parallel
 
 override_dh_auto_configure:
 	xmkmf -a



More information about the Pkg-games-devel mailing list