Bug#1017468: openfst: FTBFS in dh_auto_test due to excessive memory usage

Nick Rosbrook nick.rosbrook at canonical.com
Tue Aug 16 15:43:09 BST 2022


Package: openfst
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Dear Maintainer,

The openfst build was failing both locally and on Ubuntu build
infrastructure[1] during dh_auto_test. In both situations, the build
process was getting killed due to excessive memory usage. In Ubuntu, the
attached patch was applied to reduce the memory usage during
dh_auto_test.

  * debian/rules: Set --max-parallel=2 in override_dh_auto_test to avoid
    excessive memory usage resulting in FTBFS (LP: #1984137).

Thanks,
Nick

[1] https://launchpadlibrarian.net/617386196/buildlog_ubuntu-kinetic-amd64.openfst_1.7.9-4_BUILDING.txt.gz
-------------- next part --------------
diff -Nru openfst-1.7.9/debian/rules openfst-1.7.9/debian/rules
--- openfst-1.7.9/debian/rules	2022-04-05 08:03:00.000000000 -0400
+++ openfst-1.7.9/debian/rules	2022-08-09 16:50:53.000000000 -0400
@@ -37,6 +37,9 @@
 ifneq ($(findstring mips,$(DEB_BUILD_ARCH)),)
 override_dh_auto_test:
 	# Tests disabled on MIPS
+else
+override_dh_auto_test:
+	dh_auto_test --max-parallel=2
 endif
 
 override_dh_missing:


More information about the debian-science-maintainers mailing list