Package: openfst
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@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
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:

Reply via email to