Source: nng
Version: 1.11-1
Severity: serious
Tags: patch ftbfs

https://buildd.debian.org/status/fetch.php?pkg=nng&arch=arm64&ver=1.11-1%2Bb1&stamp=1768602634&raw=0
https://tests.reproducible-builds.org/debian/history/nng.html

Also checking through other past build failures on the buildds,
nng has frequent test failures - and it seems to be random what
test fails.

I suspect that different tests running in parallel somehow interact
in bad ways.

I am not 100% sure that this will fix it, but the following patch
to run the tests non-parallel seems stable for me:

--- nng-1.11/debian/rules       2024-04-24 04:14:06.000000000 +0300
+++ nng-1.11/debian/rules       2025-08-18 18:27:27.000000000 +0300
@@ -22,8 +22,8 @@
        dh_auto_build --buildsystem=cmake --builddir=build-shared
 
 override_dh_auto_test:
-       dh_auto_test --buildsystem=cmake --builddir=build-static
-       dh_auto_test --buildsystem=cmake --builddir=build-shared
+       dh_auto_test --buildsystem=cmake --builddir=build-static --no-parallel
+       dh_auto_test --buildsystem=cmake --builddir=build-shared --no-parallel
 
 override_dh_auto_install:
        dh_auto_install --buildsystem=cmake --builddir=build-static

Reply via email to