tags 1070900 bookworm
thanks
Hi.
This is now happening in bookworm as well, where it always
fail for me on systems with 2 CPUs (tried 8 times), and it never
fails for me on systems with 1 CPU (tried 20 times).
This supports the theory of race condition (or Makefile bug,
depending on how you look at it).
In my desktop PC (which has 12 threads) I tried this:
sbuild -j2 -d bookworm valentina
and it failed at the first try, so maybe that's enough
to reproduce the problem in a general way.
So, my suggested workaround would be to force -j1 in the
install target (the one which fails), as in the attached patch
(beware: not tested).
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -49,7 +49,8 @@ override_dh_auto_test-indep:
# rename puzzle -> valentina-puzzle
# rename tape -> valentina-tape
# normalize paths embedded in example files
-execute_after_dh_install-arch:
+override_dh_install-arch:
+ dh_install -- -j1
chrpath --replace /usr/lib/valentina \
debian/valentina/usr/bin/valentina \
debian/valentina/usr/bin/puzzle \