Your message dated Wed, 14 Dec 2016 14:25:20 +0100
with message-id <1481721920.3388.18.ca...@43-1.org>
and subject line Re: Bug#832575: dune-grid FTBFS on mips, mipsel (virtual 
memory exhausted)
has caused the Debian Bug report #832575,
regarding dune-grid FTBFS on mips, mipsel (virtual memory exhausted)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
832575: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832575
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dune-grid
Version: 2.4.1-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch

Hi,

Package dune-grid FTBFS on mips and mipsel with following error:
virtual memory exhausted: Cannot allocate memory

build logs:
https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=mips&ver=2.4.1-1&stamp=1466966398
https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=mipsel&ver=2.4.1-1&stamp=1456760195

I tried to reduce ggc-min-expand to 20, and with this change package compiles 
for me.

With attached patch I was able to build dune-grid successfully for both mips 
and mipsel.

Regards,
Daniel
--- dune-grid-2.4.1.orig/configure.ac
+++ dune-grid-2.4.1/configure.ac
@@ -22,6 +22,16 @@ AC_SUBST([LDADD], '$(top_builddir)/dune/
 # make DUNE_GRID_LIBDIR available as it is needed for the alberta libs
 AC_SUBST(DUNE_GRID_LIBDIR, '$(top_builddir)/lib')

+# Check the platform information.
+AC_CANONICAL_HOST
+case "${host_cpu}" in
+    mips | mipsel)
+        AC_SUBST([TEST_CXXFLAGS], ["--param ggc-min-expand=20"])
+    ;;
+    *)
+    ;;
+esac
+
 DUNE_SUMMARY_ALL

 # write output
--- dune-grid-2.4.1.orig/dune/grid/test/Makefile.am
+++ dune-grid-2.4.1/dune/grid/test/Makefile.am
@@ -63,7 +63,7 @@ EXTRA_PROGRAMS = $(ALBERTA_EXTRA_PROGS)

 # output coverage
 #COVERAGE = -fprofile-arcs -ftest-coverage
-AM_CXXFLAGS = $(COVERAGE)
+AM_CXXFLAGS = $(COVERAGE) @TEST_CXXFLAGS@
 AM_CPPFLAGS = @AM_CPPFLAGS@ -DHAVE_DUNE_GRID=1

 # The directory where the example grid files used for testing are located

--- End Message ---
--- Begin Message ---
Version: 2.5.0~rc2-1

The last upload to unstable built on mips{,el}.

Ansgar

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to