Your message dated Fri, 28 Apr 2017 12:19:44 +0000
with message-id <e1d44sc-0007w7...@fasolo.debian.org>
and subject line Bug#860014: fixed in mlpack 2.2.1-2
has caused the Debian Bug report #860014,
regarding mlpack FTBFS on mips and mipsel: error: 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.)


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


Package mlpack_2.2.0-1 FTBFS on mips and mipsel with following error:

> [ 48%] Building CXX object 
> src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/kfn_main.cpp.o
> cd /«PKGBUILDDIR»/obj-mipsel-linux-gnu/src/mlpack/methods/neighbor_search && 
> /usr/bin/g++  --param ggc-min-expand=20 -g0  -DARMA_32BIT_WORD 
> -DARMA_NO_DEBUG -DBOOST_TEST_DYN_LINK -DHAS_OPENMP -DNDEBUG -I/«PKGBUILDDIR» 
> -I/«PKGBUILDDIR»/src/mlpack/.. 
> -I/«PKGBUILDDIR»/obj-mipsel-linux-gnu/src/mlpack/..  -g -O2 
> -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
> -ftemplate-depth=1000 -O3 -fopenmp   -std=gnu++11 -o 
> CMakeFiles/mlpack_kfn.dir/kfn_main.cpp.o -c 
> /«PKGBUILDDIR»/src/mlpack/methods/neighbor_search/kfn_main.cpp
>
> cc1plus: out of memory allocating 769440 bytes after a total of 26099712 bytes
> src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_knn.dir/build.make:65: 
> recipe for target 
> 'src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_knn.dir/knn_main.cpp.o' 
> failed
> make[4]: *** 
> [src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_knn.dir/knn_main.cpp.o] 
> Error 1
> make[4]: Leaving directory '/«PKGBUILDDIR»/obj-mipsel-linux-gnu'
> CMakeFiles/Makefile2:2659: recipe for target 
> 'src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_knn.dir/all' failed
> make[3]: *** 
> [src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_knn.dir/all] Error 2
> make[3]: *** Waiting for unfinished jobs....
> virtual memory exhausted: Cannot allocate memory
> src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/build.make:65: 
> recipe for target 
> 'src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/kfn_main.cpp.o' 
> failed
> make[4]: *** 
> [src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/kfn_main.cpp.o] 
> Error 1
> make[4]: Leaving directory '/«PKGBUILDDIR»/obj-mipsel-linux-gnu'
> CMakeFiles/Makefile2:2696: recipe for target 
> 'src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/all' failed
> make[3]: *** 
> [src/mlpack/methods/neighbor_search/CMakeFiles/mlpack_kfn.dir/all] Error 2
> make[3]: Leaving directory '/«PKGBUILDDIR»/obj-mipsel-linux-gnu'
> Makefile:141: recipe for target 'all' failed
> make[2]: *** [all] Error 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=mlpack&arch=mipsel&ver=2.2.0-1&stamp=1490300651&raw=0

When ggc-min-expand is reduced from 20 to 5 and max-parallel from 2 to 1, 
package mlpack successfully passes for mips and mipsel.

I have created and attached a patch that contains the necessary changes.

Regards,
Radovan
--- mlpack-2.2.0_orig/debian/rules	2017-03-23 15:35:37.000000000 +0000
+++ mlpack-2.2.0/debian/rules	2017-04-10 06:25:25.000000000 +0000
@@ -31,8 +31,13 @@ SAVE_SPACE=yes
 endif
 
 ifeq ($(SAVE_SPACE),yes)
-export CXX=g++ --param ggc-min-expand=20 -g0
-DH_FLAGS += --max-parallel=2
+ifneq (, $(filter $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU),mips mipsel))
+	export CXX=g++ --param ggc-min-expand=5 -g0
+	DH_FLAGS += --max-parallel=1
+else
+	export CXX=g++ --param ggc-min-expand=20 -g0
+	DH_FLAGS += --max-parallel=2
+endif
 endif
 
 %:

--- End Message ---
--- Begin Message ---
Source: mlpack
Source-Version: 2.2.1-2

We believe that the bug you reported is fixed in the latest version of
mlpack, 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 860...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barak A. Pearlmutter <b...@debian.org> (supplier of updated mlpack 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: SHA256

Format: 1.8
Date: Fri, 28 Apr 2017 11:59:24 +0100
Source: mlpack
Binary: libmlpack-dev libmlpack2 mlpack-bin mlpack-doc
Architecture: source amd64 all
Version: 2.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Barak A. Pearlmutter <b...@debian.org>
Description:
 libmlpack-dev - intuitive, fast, scalable C++ machine learning library 
(developme
 libmlpack2 - intuitive, fast, scalable C++ machine learning library (runtime l
 mlpack-bin - intuitive, fast, scalable C++ machine learning library (binaries)
 mlpack-doc - intuitive, fast, scalable C++ machine learning library (documenta
Closes: 860014
Changes:
 mlpack (2.2.1-2) unstable; urgency=medium
 .
   * Reduce build memory on architectures that need it (closes: #860014)
     Thanks to Radovan Birdic <radovan.bir...@imgtec.com> for the patch.
Checksums-Sha1:
 4e1c1fa2b4c16fcd59b9c7b33e68f5e99bf2ce60 2325 mlpack_2.2.1-2.dsc
 5fe6587c650e487d69e24fe36cebe0da77414dae 7028 mlpack_2.2.1-2.debian.tar.xz
 f4e4b2efca27bc2e400e76663dd6f2af66bdb078 431060 libmlpack-dev_2.2.1-2_amd64.deb
 d2b80771572c17c6ade6fe22a94c3f1a5d0cc2a3 11261718 
libmlpack2-dbgsym_2.2.1-2_amd64.deb
 e05b7a593f7b62e2851810421fc00f919ee1587d 760792 libmlpack2_2.2.1-2_amd64.deb
 25d5f0481822b1f314bdfa73b5ee1923580d8e53 67103206 
mlpack-bin-dbgsym_2.2.1-2_amd64.deb
 8793a1080887b4b7d0eab8104dc9912b9e70bbee 5386960 mlpack-bin_2.2.1-2_amd64.deb
 fc47beb139adddc4ece1f8bfe8ef2aee299021ab 121698 mlpack-doc_2.2.1-2_all.deb
 3ee602f9b27bbefb829b32ec4a7e0e45166da5a7 12589 mlpack_2.2.1-2_amd64.buildinfo
Checksums-Sha256:
 06fb26bdc5b7f48fe17cca5fbc72406e4a62f3fb264d885be338c21a76747b7a 2325 
mlpack_2.2.1-2.dsc
 cc78957c27a1c12fe0c18118f916c8313c2db28f1b3413c865daad567c82cf4a 7028 
mlpack_2.2.1-2.debian.tar.xz
 6042ac8c866ec62d87b050102cf10570fb6d4c24b5452ee2f806b1b6ff6ebef5 431060 
libmlpack-dev_2.2.1-2_amd64.deb
 c167d14b157fcbca6a491a495f9fbc1ee96095653c905a1f5648cfa3c483bb41 11261718 
libmlpack2-dbgsym_2.2.1-2_amd64.deb
 82ef12c8740fb37717827d674743ed1455a4b0c501ce09cdf94e3377dad28f6c 760792 
libmlpack2_2.2.1-2_amd64.deb
 dcae9cef19de910c5269995752174a59bfe41a2aaaec9d82e3a0a1bb601059ef 67103206 
mlpack-bin-dbgsym_2.2.1-2_amd64.deb
 0487037610aff7943bc77fc1bbdc56c32e18e467334b3b01b1e9086a845e56bc 5386960 
mlpack-bin_2.2.1-2_amd64.deb
 afdb7d9279d5ad60868d8f74f74257d69077c230d9e17f8109d95a987a9cc6b8 121698 
mlpack-doc_2.2.1-2_all.deb
 6d6fb9a567a34dc62def38cd1c2102f9bba257771a8b6a772692866c6ff138c7 12589 
mlpack_2.2.1-2_amd64.buildinfo
Files:
 49091abe6f79b4ed899b75972d746ab0 2325 libs optional mlpack_2.2.1-2.dsc
 2c14f8538843f0d1e496c4480a413124 7028 libs optional 
mlpack_2.2.1-2.debian.tar.xz
 32ed72fe05244910795bab9ece9a0f0e 431060 libdevel optional 
libmlpack-dev_2.2.1-2_amd64.deb
 bc03af7f16dea3b28aeaf69086013c93 11261718 debug extra 
libmlpack2-dbgsym_2.2.1-2_amd64.deb
 dcca3eb023426234a43fedfd627e8361 760792 libs optional 
libmlpack2_2.2.1-2_amd64.deb
 09a7b2de3c0b51183bbd827800b04e77 67103206 debug extra 
mlpack-bin-dbgsym_2.2.1-2_amd64.deb
 fe32ea2a65d872dc475af3b08fe1451b 5386960 science optional 
mlpack-bin_2.2.1-2_amd64.deb
 cdb17445235cae0ff30568cd599d1e02 121698 doc optional mlpack-doc_2.2.1-2_all.deb
 cc2f6712c3ef07621cfae22607cbaefc 12589 libs optional 
mlpack_2.2.1-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEZPQp426hHMLZZlRvEltXR14ZDRgFAlkDMC0ACgkQEltXR14Z
DRhQThAAh4xGKIV+z4ZBNkN/ScMkAkOFEb04O/uYs7Nbdd2wcGRblaJXuM/+0Hh3
weV7t4R87T1XdMpiTlTX7++ZCmACIxg9/he/TXO7XKVPiPBdQSyYMqlfFQBUyxPW
NSt4N6LV8LG3KoivZaJ+ypysja38C8Q/wWE7T18tAR30RFax9WQjBmZcY06K9wRo
sYK4ORmhXwHvXdG69/MsZalcsYkaXzCNZ3JzUa72Z/HX9XShmUSCFC5v7w+wEtNY
Osh1mSPB6j4qy9258p1Usy/5UiyJODaBMTLZDwMC+gPr1eOjdnQwZ1a3vx4JFTvH
XOTe+Xd3T9y2eZNuc1AEnlJFJnKAsemBjEYRl/ni1ux51lQTPa7M1vzd6/B5wvkk
ptpMVKpYe1WL6n05LqR/rLqMiTuwWGAlbTywHDK6uc6blFvvs7rU5Ae8OId7T7+U
8EgMFh8zrqv2748FlvdUvLJXsN/2BUCHx1MDwLIL+UQYReQniYzn43eQ+0NaksuS
LrWLh/0QdATn3dksNDZF8JBf3805HNRGdSMv+Fuk382db3sNQlC3MYHWAZGFDUuk
1A0DehC4XhycXdPi6+3P8EU7+RGq7XEHE+bnvE89y5uHZfyPrAwjSoHH1nHoOiFw
w3sbUvcghPRtVADdsGv+hd+6JXg+yvCQMVQaGR047WNkJ2xVYDM=
=YgMP
-----END PGP SIGNATURE-----

--- 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