[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037682: gr-gsm: FTBFS randomly when built in parallel



tags 1037682 patch
retitle 1037682 gr-gsm: FTBFS randomly when built in parallel
thanks

The attached patch (in "git am" format) should fix this.
In case it helps, I've also created the following equivalent Merge
Request in Salsa:

https://salsa.debian.org/debian-hamradio-team/gr-gsm/-/merge_requests/3

I've tested it on machines with 2 CPUs and the failure rate went from 100% to 0%.

Thanks.
>From 139d1b577545b088323e29662267aacfb446b9e3 Mon Sep 17 00:00:00 2001
From: Santiago Vila <sanvila@debian.org>
Date: Thu, 2 Oct 2025 00:55:00 +0200
Subject: [PATCH] debian/rules: Use --no-parallel globally. Closes: #1037682.

---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index b9336b4..8126553 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 export DEB_HOST_MULTIARCH
 
 %:
-	HOME=$(CURDIR)/debian/tmp dh $@ --with python3 --with numpy3
+	HOME=$(CURDIR)/debian/tmp dh $@ --with python3 --with numpy3 --no-parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPYTHON_EXECUTABLE:STRING="/usr/bin/python3"
@@ -23,7 +23,7 @@ override_dh_auto_install:
 # The test suite have race conditions when running in parallel, see
 # <URL: https://github.com/ptrkrysik/gr-gsm/issues/324 >
 override_dh_auto_test:
-	- dh_auto_test --no-parallel
+	- dh_auto_test
 
 debian/copyright:
 	cme update dpkg-copyright
-- 
2.47.3


Reply to: