Your message dated Tue, 09 Jun 2015 22:38:45 +0000
with message-id <[email protected]>
and subject line Bug#780582: fixed in pcl 1.7.2-8
has caused the Debian Bug report #780582,
regarding pcl 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 [email protected]
immediately.)


-- 
780582: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780582
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pcl
Version: 1.7.2-7
Tags: sid patch
Severity: important
Justification: FTBFS
User: [email protected]
Usertags: mips-patch


While trying to build pcl on mips/mipsel architecture,
build fails with an error:

> [ 54%] Building CXX object 
> recognition/CMakeFiles/pcl_recognition.dir/src/cg/geometric_consistency.cpp.o
> cd /«PKGBUILDDIR»/build/recognition && /usr/bin/c++   
> -DEIGEN_USE_NEW_STDVECTOR -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET 
> -DPCLAPI_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -Dqh_QHpointer -g 
> -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -pthread -fopenmp -fPIC -isystem 
> /usr/include/eigen3 
> -I/«PKGBUILDDIR»/recognition/include/pcl/recognition/3rdparty -isystem 
> /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem 
> /usr/include/qt4/QtCore -I/«PKGBUILDDIR»/build/include 
> -I/«PKGBUILDDIR»/common/include -I/«PKGBUILDDIR»/io/include 
> -I/«PKGBUILDDIR»/search/include -I/«PKGBUILDDIR»/kdtree/include 
> -I/«PKGBUILDDIR»/octree/include -I/«PKGBUILDDIR»/features/include 
> -I/«PKGBUILDDIR»/filters/include -I/«PKGBUILDDIR»/registration/include 
> -I/«PKGBUILDDIR»/sample_consensus/include 
> -I/«PKGBUILDDIR»/recognition/include    -o 
> CMakeFiles/pcl_recognition.dir/src/cg/geometric_consistency.cpp.o -c 
> /«PKGBUILDDIR»/recognition/src/cg/geometric_consistency.cpp
> virtual memory exhausted: Cannot allocate memory
> make[3]: *** 
> [recognition/CMakeFiles/pcl_recognition.dir/src/cg/geometric_consistency.cpp.o]
>  Error 1

I was able to avoid this error adding
--param ggc-min-expand=20 to CXXFLAGS for mips and mipsel.

With this change I was able to build pcl for mipsel,
but for mips on cavium boards build failed with TERM signal
on documentation creation.

> cd /«PKGBUILDDIR»/build/doc/doxygen && /usr/bin/doxygen 
> /build/pcl-IE8AwS/pcl-1.7.2/build/doc/doxygen/doxyfile
.....
> make[3]: *** [doc/doxygen/CMakeFiles/doc] Terminated
> doc/doxygen/CMakeFiles/doc.dir/build.make:52: recipe for target 
> 'doc/doxygen/CMakeFiles/doc' failed
> make: *** [build] Terminated
> debian/rules:97: recipe for target 'build' failed
> CMakeFiles/Makefile2:6961: recipe for target 
> 'doc/doxygen/CMakeFiles/doc.dir/all' failed
> make[2]: *** [doc/doxygen/CMakeFiles/doc.dir/all] Terminated
> make[1]: *** [all] Terminated
> Makefile:150: recipe for target 'all' failed
> E: Caught signal Terminated: terminating immediately
> Build killed with signal TERM after 150 minutes of inactivity

If run this command manually,
it finish successfully, but it takes a lot of time.
> real    607m28.120s
> user    109m50.490s
> sys    496m40.580s

As on debian buildds build is run for architecture dependent
part of packages only ("build-arch"), I think that creation of documentation for
every architecture is not necessary.
Instead, we could disable documentation creation if
build is run with "build-arch" and use -DWITH_DOCS=ON only when
build is run with "build".
Also, there is no need to install doxygen if
not using it.


I attached the patch that contains all mentioned changes.
After applying this patch,
I was able to build pcl successfully for mips and mipsel on a few local boards.
The patch is attached.

Could you please consider including this patch?

Best Regards,
Dejan
diff -uNr pcl-1.7.2.orig/debian/control pcl-1.7.2/debian/control
--- pcl-1.7.2.orig/debian/control	2014-12-01 22:34:46.000000000 +0000
+++ pcl-1.7.2/debian/control	2015-03-13 12:07:26.000000000 +0000
@@ -7,8 +7,6 @@
 Priority: extra
 Build-Depends: debhelper (>= 9), dh-exec (>=0.3),
                cmake,
-               doxygen,
-               doxygen-latex,
 	       python-sphinx,
 	       libboost-system-dev,
 	       libboost-filesystem-dev,
@@ -26,6 +24,8 @@
 	       libxmu-dev,
 	       libxi-dev,
 	       libvtk5-qt4-dev
+Build-Depends-Indep: doxygen,
+		     doxygen-latex
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pcl.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/pcl.git
diff -uNr pcl-1.7.2.orig/debian/rules pcl-1.7.2/debian/rules
--- pcl-1.7.2.orig/debian/rules	2014-12-01 15:32:27.000000000 +0000
+++ pcl-1.7.2/debian/rules	2015-03-13 12:05:42.000000000 +0000
@@ -11,6 +11,13 @@
 CFLAGS+=$(CPPFLAGS)
 CXXFLAGS+=$(CPPFLAGS)
 
+DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+	CXXFLAGS+=--param ggc-min-expand=20
+endif
+
+BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON)
+
 # Multiarch.
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
@@ -32,7 +39,7 @@
 	-DBUILD_tools=ON -DBUILD_tracking=ON -DBUILD_visualization=ON   \
 	-DBUILD_apps_cloud_composer=OFF -DBUILD_apps_modeler=ON            \
 	-DBUILD_apps_point_cloud_editor=ON -DBUILD_apps_in_hand_scanner=ON \
-	-DWITH_DOCS=ON 
+	$(BUILD_DOC)
 
 override_dh_install:
 	mkdir -p debian/tmp/usr/share/doc/libpcl1.7-dbg && cp debian/README.Debug debian/tmp/usr/share/doc/libpcl1.7-dbg/

--- End Message ---
--- Begin Message ---
Source: pcl
Source-Version: 1.7.2-8

We believe that the bug you reported is fixed in the latest version of
pcl, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (supplier of updated pcl 
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 [email protected])


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

Format: 1.8
Date: Tue, 09 Jun 2015 10:55:56 +0200
Source: pcl
Binary: libpcl-dev libpcl1.7 libpcl1.7-dbg libpcl-common1.7 libpcl-apps1.7 
libpcl-features1.7 libpcl-filters1.7 libpcl-io1.7 libpcl-kdtree1.7 
libpcl-keypoints1.7 libpcl-octree1.7 libpcl-registration1.7 
libpcl-sample-consensus1.7 libpcl-search1.7 libpcl-segmentation1.7 
libpcl-surface1.7 libpcl-tracking1.7 libpcl-visualization1.7 
libpcl-outofcore1.7 libpcl-people1.7 libpcl-recognition1.7 pcl-tools libpcl-doc
Architecture: source amd64 all
Version: 1.7.2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Description:
 libpcl-apps1.7 - Point Cloud Library - apps library
 libpcl-common1.7 - Point Cloud Library - common library
 libpcl-dev - Point Cloud Library - development files
 libpcl-doc - Point Cloud Library - documentation
 libpcl-features1.7 - Point Cloud Library - features library
 libpcl-filters1.7 - Point Cloud Library - filters library
 libpcl-io1.7 - Point Cloud Library - I/O library
 libpcl-kdtree1.7 - Point Cloud Library - kdtree library
 libpcl-keypoints1.7 - Point Cloud Library - keypoints library
 libpcl-octree1.7 - Point Cloud Library - octree library
 libpcl-outofcore1.7 - Point Cloud Library - outofcore library
 libpcl-people1.7 - Point Cloud Library - people library
 libpcl-recognition1.7 - Point Cloud Library - recognition library
 libpcl-registration1.7 - Point Cloud Library - registration library
 libpcl-sample-consensus1.7 - Point Cloud Library - sample consensus library
 libpcl-search1.7 - Point Cloud Library - search library
 libpcl-segmentation1.7 - Point Cloud Library - segmentation library
 libpcl-surface1.7 - Point Cloud Library - surface library
 libpcl-tracking1.7 - Point Cloud Library - tracking library
 libpcl-visualization1.7 - Point Cloud Library - visualization library
 libpcl1.7  - Point Cloud Library -- metapackage
 libpcl1.7-dbg - Point Cloud Library - debugging symbols
 pcl-tools  - Point Cloud Library - point cloud processing tools
Closes: 780582
Changes:
 pcl (1.7.2-8) unstable; urgency=medium
 .
   * Appy ggc-min-expand+disable-WITH_DOCS.diff (Closes: #780582), Thanks Dejan
     Latinovic.
   * Update architectures on libopenni-dev dependency
Checksums-Sha1:
 cfd74dd2e0e749e85bfed3506919394b40d49158 3774 pcl_1.7.2-8.dsc
 6fed84d947084be09956592a1e1309e0e690d522 33536 pcl_1.7.2-8.debian.tar.xz
 09735e860e38650ee965993967c64559e2922b32 272548 
libpcl-apps1.7_1.7.2-8_amd64.deb
 97cb15fd3f710f21d8346d12a6083a89392ba3b1 226386 
libpcl-common1.7_1.7.2-8_amd64.deb
 d75c60fd73489d5b8ebf1a23b774ba61c1da56b7 1016572 libpcl-dev_1.7.2-8_amd64.deb
 76be7544980eec6a51ef4ca5219128cd6b437365 16274204 libpcl-doc_1.7.2-8_all.deb
 72ac74059b5381d934a05bb505605eec89bf299e 2563560 
libpcl-features1.7_1.7.2-8_amd64.deb
 5b50d7d077a3401cd5ce1307e803c4834394a3d1 967862 
libpcl-filters1.7_1.7.2-8_amd64.deb
 2c32faf072a6fc5c8a1ea03a004973dc5cd14c84 573782 libpcl-io1.7_1.7.2-8_amd64.deb
 63bbe4883b5733ff78d7e624f67076bcf6986bdb 248460 
libpcl-kdtree1.7_1.7.2-8_amd64.deb
 33447309b87a32d0fb1149103c8f930602860c5f 297966 
libpcl-keypoints1.7_1.7.2-8_amd64.deb
 c80fc49467d607440adcff9922ff6cf8fe4ec8c4 234430 
libpcl-octree1.7_1.7.2-8_amd64.deb
 d950866e8230c96d58b1d7bcad69bf55c585050e 84040 
libpcl-outofcore1.7_1.7.2-8_amd64.deb
 43298276d3fee9373c2a00f8be156b1f375a7498 62894 
libpcl-people1.7_1.7.2-8_amd64.deb
 acf5c4b520f398d6dd8330be3a28c485cfe81a71 732044 
libpcl-recognition1.7_1.7.2-8_amd64.deb
 19b082e855616cd2b5fa6b0cb63e31e0b03507ab 409170 
libpcl-registration1.7_1.7.2-8_amd64.deb
 52e761561ec60a0991aaedbd8064e7e61896552c 1064008 
libpcl-sample-consensus1.7_1.7.2-8_amd64.deb
 821358856c2175229f9d60aac4ef2aa815d9ff6c 275630 
libpcl-search1.7_1.7.2-8_amd64.deb
 7a6f4a967aa3296b782892a2f1419b5fc26d97d6 1136120 
libpcl-segmentation1.7_1.7.2-8_amd64.deb
 6ba9617a57532f6c1adce2720281cf1b0592540d 730972 
libpcl-surface1.7_1.7.2-8_amd64.deb
 c8b7bee83319920c1b3d8973fd1b3610f67bc928 457948 
libpcl-tracking1.7_1.7.2-8_amd64.deb
 9cb2d70fb83b7ccdc044fdfa2aa75f47b3619301 368688 
libpcl-visualization1.7_1.7.2-8_amd64.deb
 edcf48b8834a9435db0bc7edf0969b683bca8982 473846834 
libpcl1.7-dbg_1.7.2-8_amd64.deb
 071ad70e6045f0edc85234f715d6f516cf6b3188 55336 libpcl1.7_1.7.2-8_amd64.deb
 fce9f3f39ca405def4c107996bc7604d0b65a064 4818612 pcl-tools_1.7.2-8_amd64.deb
Checksums-Sha256:
 3a134b758a68b69c9396066f43298e4eee6023c2f9cf89e2cfedaead7058cece 3774 
pcl_1.7.2-8.dsc
 a9df5de292dd9bbee2cf79695fa2119b3c8efd032ee3fef041a7ecb771abf6f5 33536 
pcl_1.7.2-8.debian.tar.xz
 1f5064659e7110f93be4b9cb349ecea7fb6e963546ae0ca17cc2b00c01a8bb1e 272548 
libpcl-apps1.7_1.7.2-8_amd64.deb
 8c5c06b6c422c0d43ab62bfb171f90f8250fba4aa26436cf6cee3b80a11bdf6f 226386 
libpcl-common1.7_1.7.2-8_amd64.deb
 7a62f73ff36b71fd0c76a15e87bc6189def9111f5d3d73d7279fc3e3016d5417 1016572 
libpcl-dev_1.7.2-8_amd64.deb
 3ba3b5fbd629319ca89f58b299d59d27e423238b158c8833b829fe2433505b55 16274204 
libpcl-doc_1.7.2-8_all.deb
 087f7b626fb35f17de97b1c88354abc0ee7a59fd7d65c92d82a6cadc2b027632 2563560 
libpcl-features1.7_1.7.2-8_amd64.deb
 4e09a5f356515a307797d2afa1b29cc60d0210672d8e290175ec134b5539a34c 967862 
libpcl-filters1.7_1.7.2-8_amd64.deb
 6d0e0a634e66c9750c611b15d0b9ee63c97306217d90732b123c1c84b255195f 573782 
libpcl-io1.7_1.7.2-8_amd64.deb
 ae7d97e9cf420de57166e8d9897cbfd6346a12d7a89ace1b158b3d30dd8db6b0 248460 
libpcl-kdtree1.7_1.7.2-8_amd64.deb
 c2849fb5a028689c20f01b83650c8173895aeab003055f5f42d5f5987e147f0a 297966 
libpcl-keypoints1.7_1.7.2-8_amd64.deb
 032092d6f8b3d886d90745a37f8cf8d7a623991d5df18ebd2f2081322eff34aa 234430 
libpcl-octree1.7_1.7.2-8_amd64.deb
 2b05dd3c779c3b294bdfc490aacca27ed180d5c6dc73095d374aa3ce06685e30 84040 
libpcl-outofcore1.7_1.7.2-8_amd64.deb
 841a14ec38f30ea7d737da1e18be0d07ef008cb7183c5be83b4aaa16c2943043 62894 
libpcl-people1.7_1.7.2-8_amd64.deb
 787a32d5dc53adb9cc9171096cf885ad13eae94d9ed66315dac5cc61381ec657 732044 
libpcl-recognition1.7_1.7.2-8_amd64.deb
 9c4e78f7da704ea18dafe8e109b018175ab6ffc6da518a2fe1760893d278ab98 409170 
libpcl-registration1.7_1.7.2-8_amd64.deb
 321579a427619aa0ae2118e109b0bd65ed954f55fbf46acd7ffa9a94e4cf5a9c 1064008 
libpcl-sample-consensus1.7_1.7.2-8_amd64.deb
 7c5b35f99e7c0f7841800d1d90ef9348d9fed0b5ea08189fe65db2de11e192fd 275630 
libpcl-search1.7_1.7.2-8_amd64.deb
 5567b2a46656d6843878c292c592fda488656095fe4e80aa11957905ee4ee366 1136120 
libpcl-segmentation1.7_1.7.2-8_amd64.deb
 89e5966080289f19563b98357c702ea76a458fd4cce27348b446113d1fae64b8 730972 
libpcl-surface1.7_1.7.2-8_amd64.deb
 15b910481fae898756a0ad8c36fe48f15611606a27a84082759110b66cd480d9 457948 
libpcl-tracking1.7_1.7.2-8_amd64.deb
 48f1e9d6738c8a725cce3ead2f5f02d53c13e413e3e9dcf6f947154745f402fa 368688 
libpcl-visualization1.7_1.7.2-8_amd64.deb
 e8c63e27715afa16a6529cfd4858fc0fc1d3f8d894da149b967ec82f4cf5ee1a 473846834 
libpcl1.7-dbg_1.7.2-8_amd64.deb
 90445bb460554a6edd8181ab3ea83739b97b15a628a9c2eb7c72ad9ab35517bb 55336 
libpcl1.7_1.7.2-8_amd64.deb
 57056c66b1c4c5c938f06a5a0cd556fd46a8cef2cf6fda6aef0dd23785d94c58 4818612 
pcl-tools_1.7.2-8_amd64.deb
Files:
 39782aad27753f58569e797a8406a12d 3774 libs extra pcl_1.7.2-8.dsc
 421b66c43dc78f43655b98ae5766c9d0 33536 libs extra pcl_1.7.2-8.debian.tar.xz
 17a678f76af2e8b3ffe3d7ac69b52c72 272548 libs extra 
libpcl-apps1.7_1.7.2-8_amd64.deb
 798edea9ad3f4327a397fd32a5993517 226386 libs extra 
libpcl-common1.7_1.7.2-8_amd64.deb
 f33f006831134012dc2f78f357a672bc 1016572 libdevel extra 
libpcl-dev_1.7.2-8_amd64.deb
 80e1330ac96af513184cda8d382e8da5 16274204 doc extra libpcl-doc_1.7.2-8_all.deb
 0efa9992b90d95cc554e2f070a2f97f2 2563560 libs extra 
libpcl-features1.7_1.7.2-8_amd64.deb
 a8501e9ec502504ff30d99daf02291bb 967862 libs extra 
libpcl-filters1.7_1.7.2-8_amd64.deb
 3abb3f6602dbee220f0d2bb19a97e6b0 573782 libs extra 
libpcl-io1.7_1.7.2-8_amd64.deb
 7cdd06d63070124e4b0be748b6a9febc 248460 libs extra 
libpcl-kdtree1.7_1.7.2-8_amd64.deb
 735b5d2f2ff30bce329b3901e4e0b2c5 297966 libs extra 
libpcl-keypoints1.7_1.7.2-8_amd64.deb
 ae71a68d7660cec0a441afec72f60ce9 234430 libs extra 
libpcl-octree1.7_1.7.2-8_amd64.deb
 d43c03b22053b2978a5d88a03df4629c 84040 libs extra 
libpcl-outofcore1.7_1.7.2-8_amd64.deb
 528068e175a92e11cf77bfb3bea7361a 62894 libs extra 
libpcl-people1.7_1.7.2-8_amd64.deb
 5e0e85190fff87d82acecde0784870d8 732044 libs extra 
libpcl-recognition1.7_1.7.2-8_amd64.deb
 52d95f91ef38b8fd62f0fbcde2cf7f30 409170 libs extra 
libpcl-registration1.7_1.7.2-8_amd64.deb
 b4ed1040c349c46d9813d18001064a4f 1064008 libs extra 
libpcl-sample-consensus1.7_1.7.2-8_amd64.deb
 7b24ba8e6692b45f8d3cab885d8db09b 275630 libs extra 
libpcl-search1.7_1.7.2-8_amd64.deb
 640415f1d5acc8cd2ac3d2d2d7f3c46d 1136120 libs extra 
libpcl-segmentation1.7_1.7.2-8_amd64.deb
 12986115a59cc269ae70e120f3880ba1 730972 libs extra 
libpcl-surface1.7_1.7.2-8_amd64.deb
 8fda232f7cb84229cbee7bf2e893208e 457948 libs extra 
libpcl-tracking1.7_1.7.2-8_amd64.deb
 acb68d1d17f39afc505f93bdaef80291 368688 libs extra 
libpcl-visualization1.7_1.7.2-8_amd64.deb
 b875c5f8a7c407d0003e0604bb3998c3 473846834 debug extra 
libpcl1.7-dbg_1.7.2-8_amd64.deb
 a9eccb527618d1dc6a3099b07b83508e 55336 libs extra libpcl1.7_1.7.2-8_amd64.deb
 7d88cd21e2fc7fae1f0bd855c4596b59 4818612 libs extra pcl-tools_1.7.2-8_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVd0CWAAoJEFv/3MJY5pQz0NwQAJeOXm2ZUJTSNrWWrl/ROO/Z
VU1/DIt0Svftb04+3bdBMoo+vqxBf/u6VovIDgRN+Uv6GNE4F/TuFpvCn0PcK70I
Jp8ijvsSMwUKtkUPgDdmfdK+OI1ebMEsELARNm8YXMh12HRXdED9X2vYf9Ktg/6d
TLyIoBDWbl6SSkk4jYWjDZGnSVVjCHklghMWgeK4AkUale66ePPgjhwK9Q22xvrn
tFv5wJeYuDEnwpR71Z3I+Mf9UdX3hBxkF1CgMfEbIcjiSsyq5xPcbX0/ecIK2AxT
CV3ukJ4Yb2af8D7u/ufI4hRHBO7wfaAJpfKRxoJBX/waOTO2iMZpwf9h4C9pF6pD
5k7FAzUQEoBX6TZeVRxagP6qWLJhrxfiLAnzrWM95wNackI7aFjtEa5fxbQN0700
6wG2hqTYZK6pkQsOb8vHw7DgS7UydiKqE7hrwXnB/6XaDNjBJ9LowbkYVPyPUNuS
/wzylGfGi9tZ0PzjRuJiLYTiMjjXBg5cg9NanZWUpmeQ/KdGX5PimUFNNHMCFIuz
tC2SwTIVC6y9llYfaptSWz4iHp1wdH42p7QJ4WnwpV6AZFfisipbRsG9tU1BibwP
p3FTZ3eDK5QczcszlHvmsyw5UmcchOZJaojW95oGxFgAdHycNjyfKn17siVpS6SH
tTh53zcFIb9R08mdlziP
=Ey9l
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to