Your message dated Tue, 05 Sep 2017 15:26:06 +0000
with message-id <e1dpfjq-0006pq...@fasolo.debian.org>
and subject line Bug#873841: fixed in opengrm-ngram 1.3.2-3
has caused the Debian Bug report #873841,
regarding opengrm-ngram: Fix mips/mipsel FTBFS by reducing g++ memory usage
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.)


-- 
873841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873841
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: opengrm-ngram
Version: 1.3.2-2
Severity: serious
Tags: patch

https://buildd.debian.org/status/package.php?p=opengrm-ngram&suite=sid

...
libtool: compile:  g++ -DHAVE_CONFIG_H -I./../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -c 
hist-arc.cc  -fPIC -DPIC -o .libs/hist-arc.o
...
virtual memory exhausted: Cannot allocate memory
Makefile:481: recipe for target 'hist-arc.lo' failed
make[4]: *** [hist-arc.lo] Error 1


Fix:

--- debian/rules.old    2017-08-30 11:17:38.431222040 +0000
+++ debian/rules        2017-08-30 11:19:57.964547509 +0000
@@ -1,5 +1,12 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# reduce g++ memory usage to fix FTBFS
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=10
+endif
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall
 include /usr/share/dpkg/buildflags.mk



The mips64el FTBFS is unrelated, this is likely caused by the
known gcc-7 breakage on mips64el (#871514).

--- End Message ---
--- Begin Message ---
Source: opengrm-ngram
Source-Version: 1.3.2-3

We believe that the bug you reported is fixed in the latest version of
opengrm-ngram, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 873...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giulio Paci <giuliop...@gmail.com> (supplier of updated opengrm-ngram package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 05 Sep 2017 07:05:53 +0200
Source: opengrm-ngram
Binary: libngram-tools libngram-dev libngram2
Architecture: source
Version: 1.3.2-3
Distribution: unstable
Urgency: medium
Maintainer: Giulio Paci <giuliop...@gmail.com>
Changed-By: Giulio Paci <giuliop...@gmail.com>
Description:
 libngram-dev - OpenGRM n-gram Language Modeling toolkit - development files
 libngram-tools - OpenGRM n-gram Language Modeling toolkit
 libngram2  - OpenGRM n-gram Language Modeling toolkit - runtime library
Closes: 873841
Changes:
 opengrm-ngram (1.3.2-3) unstable; urgency=medium
 .
   [ Adrian Bunk ]
   * Fix mips/mipsel FTBFS by reducing g++ memory usage (Closes: #873841).
 .
   [ Giulio Paci ]
   * Use the mips/mipsel g++ memory usage reduction strategy on sh4.
Checksums-Sha1:
 0e5992b42f503db3f164a4ca547faa924f02c5e8 1844 opengrm-ngram_1.3.2-3.dsc
 56928ae06cb73929774a788082b5f7e3a42ebe49 10180 
opengrm-ngram_1.3.2-3.debian.tar.xz
 b545be36512a8be7c87f1905525bdcd6912d5d70 6566 
opengrm-ngram_1.3.2-3_source.buildinfo
Checksums-Sha256:
 4b8f668ae5e47992efd569804f60b294aca2f40384e4daeafdce2a7032f5b75e 1844 
opengrm-ngram_1.3.2-3.dsc
 a0c923f1b06bdf82d3326dde1f025d6c2b6a02267e0f456b0743ae72dc4610ea 10180 
opengrm-ngram_1.3.2-3.debian.tar.xz
 300af28e0da3d2c6440c57bcf771f3664107e92ac5a37b1eedf90ecc3e6e2a07 6566 
opengrm-ngram_1.3.2-3_source.buildinfo
Files:
 ea4061282cd4215039d80ef2b24dfe2c 1844 science optional 
opengrm-ngram_1.3.2-3.dsc
 c11961782af7ed1565f41d81708aabb0 10180 science optional 
opengrm-ngram_1.3.2-3.debian.tar.xz
 1504ca37947f51ff97dc2af2c02a7a91 6566 science optional 
opengrm-ngram_1.3.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE/Zzi2Nd1S3irJ5u9LDtDb+rGgQEFAlmurD8ACgkQLDtDb+rG
gQE5bwf6AtDcfT4VLF54ruZR2mVZNUfZu2NdliZrKRZnmPer1mVUiDbs4yrH4zDO
npbeW/IsijV47kSy6e17NKSavpDFAx+4vuX0JFs7pLn13NsxxqGDqWEJEDl645ZN
fpGRqLLdjgAxfHAoeeFQoq1hqiVRdXLKjrUyv5nlP6y3t1enHO29tFWfBoAlOv4Y
J3yu9RRKAPyCxryJiewefdQzNOoBrpdDhjNGa07jgeKxS0iF8HGZ83WWFfnd0Zrg
p1O256xZjnpcKBcupAiaZO4tQFRWtXrA7XMcI5fD6sdYvGmhyQwsCM2hta3dfVu2
QdIbXmigzbh+4H/zYivJBmGCUwdh7w==
=Zii+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to