[Debichem-devel] Bug#964315: openms FTBFS on mipsel: cc1plus: out of memory

Adrian Bunk bunk at debian.org
Sun Jul 5 15:36:10 BST 2020


Source: openms
Version: 2.5.0+cleaned1-2
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/logs.php?pkg=openms&arch=mipsel

...
cc1plus: out of memory allocating 1087972 bytes after a total of 105656320 bytes
make[5]: *** [src/openms/CMakeFiles/OpenMS.dir/build.make:5266: src/openms/CMakeFiles/OpenMS.dir/source/ANALYSIS/ID/BayesianProteinInferenceAlgorithm.cpp.o] Error 1


Fix/Workaround:

--- debian/rules.old	2020-06-15 11:37:20.260388067 +0000
+++ debian/rules	2020-06-15 11:40:03.151168244 +0000
@@ -33,6 +33,11 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 
+ifneq (,$(filter $(DEB_HOST_ARCH), mipsel))
+  export DEB_CXXFLAGS_MAINT_APPEND += -g1
+endif
+
+
 %:
 	dh $@ --buildsystem=cmake --no-parallel
 



More information about the Debichem-devel mailing list