Bug#897826: openfoam: diff for NMU version 4.1+dfsg1-2.2

2018-08-12 Thread Adrian Bunk
On Sun, Aug 12, 2018 at 04:13:22PM +0200, Anton Gladky wrote:
> Hello Adrian,

Hi Anton,

> thank you for your work on OpenFoam. Please feel free
> to move the upload into the DELAYED/0.

thanks, done.

> Best regards
> 
> Anton

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



Bug#897826: openfoam: diff for NMU version 4.1+dfsg1-2.2

2018-08-12 Thread Anton Gladky
Hello Adrian,

thank you for your work on OpenFoam. Please feel free
to move the upload into the DELAYED/0.

Best regards

Anton


2018-08-12 15:08 GMT+02:00 Adrian Bunk :
> 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
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintain...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers



Bug#897826: openfoam: diff for NMU version 4.1+dfsg1-2.2

2018-08-12 Thread Adrian Bunk
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 $@