Dear maintainer,
I've prepared an NMU for openfoam (versioned as 4.1+dfsg1-2.2) and
uploaded it to DELAYED/7. Please feel free to tell me if I should cancel it.
This change works around gcc 8 seemingly using more memory,
which caused FTBFS on mips/mipsel.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
diff -Nru openfoam-4.1+dfsg1/debian/changelog openfoam-4.1+dfsg1/debian/changelog
--- openfoam-4.1+dfsg1/debian/changelog 2018-08-03 23:38:10.0 +0300
+++ openfoam-4.1+dfsg1/debian/changelog 2018-08-12 13:41:17.0 +0300
@@ -1,3 +1,11 @@
+openfoam (4.1+dfsg1-2.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build with -g1 on mips/mipsel to workaround address space
+limitations.
+
+ -- Adrian Bunk Sun, 12 Aug 2018 13:41:17 +0300
+
openfoam (4.1+dfsg1-2.1) unstable; urgency=low
* Non-maintainer upload.
diff -Nru openfoam-4.1+dfsg1/debian/rules openfoam-4.1+dfsg1/debian/rules
--- openfoam-4.1+dfsg1/debian/rules 2018-04-11 22:25:22.0 +0300
+++ openfoam-4.1+dfsg1/debian/rules 2018-08-12 13:41:17.0 +0300
@@ -3,6 +3,11 @@
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
VENDOR := $(shell dpkg-vendor --derives-from Ubuntu && echo Ubuntu || echo Debian)
+# less debug info to avoid running out of address space during build
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+export DEB_CXXFLAGS_MAINT_APPEND = -g1
+endif
+
%:
dh $@