Your message dated Tue, 20 Jun 2017 16:53:10 +0000
with message-id <e1dnmos-00030g...@fasolo.debian.org>
and subject line Bug#865310: fixed in sfcgal 1.3.1-2
has caused the Debian Bug report #865310,
regarding sfcgal: Reduce build-time memory usage on mips/mipsel
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.)


-- 
865310: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865310
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sfcgal
Version: 1.3.1-1
Severity: important
Tags: patch

https://buildd.debian.org/status/fetch.php?pkg=sfcgal&arch=mips&ver=1.3.1-1&stamp=1497851040&raw=0

...
cc1plus: out of memory allocating 5842196 bytes after a total of 57806848 bytes
src/CMakeFiles/SFCGAL.dir/build.make:1241: recipe for target 
'src/CMakeFiles/SFCGAL.dir/algorithm/union.cpp.o' failed
make[3]: *** [src/CMakeFiles/SFCGAL.dir/algorithm/union.cpp.o] Error 1
...


On mips/mipsel only 2 GB address space are available for userspace.

The following change addresses this by reducing the amount of
debug info generated to what is required for backtraces:

--- debian/rules.old    2017-06-19 22:17:14.000000000 +0000
+++ debian/rules        2017-06-19 23:42:31.000000000 +0000
@@ -6,9 +6,15 @@
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# reduce debug info to fix FTBFS on archs with few address space
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+    CMAKECXXFLAGS="-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -O2 -g1 -DNDEBUG'"
+endif
+
 # main packaging script based on dh7 syntax
 %:
        dh $@ --with pkgkde_symbolshelper --parallel
@@ -16,6 +22,7 @@
 override_dh_auto_configure:
        dh_auto_configure -- \
                -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+               $(CMAKECXXFLAGS) \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
                -DCMAKE_VERBOSE_MAKEFILE=ON \

--- End Message ---
--- Begin Message ---
Source: sfcgal
Source-Version: 1.3.1-2

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

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated sfcgal 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, 20 Jun 2017 17:56:28 +0200
Source: sfcgal
Binary: libsfcgal1 libsfcgal-osg1 libsfcgal-dev sfcgal-dbg
Architecture: source amd64
Version: 1.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Description:
 libsfcgal-dev - Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations 
(dev
 libsfcgal-osg1 - Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations 
(Ope
 libsfcgal1 - Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations
 sfcgal-dbg - Debug symbols for SFCGAL
Closes: 865310
Changes:
 sfcgal (1.3.1-2) unstable; urgency=medium
 .
   * Apply patch to reduce build-time memory usage on mips/mipsel.
     Thanks to Adrian Bunk.
     (closes: #865310)
   * Bump Standards-Version to 4.0.0, no changes.
   * Add autopkgtest to test installability.
   * Use pkg-info.mk variables instead of dpkg-parsechangelog output.
Checksums-Sha1:
 7a1c736fb3c873560a94da43a13742cdd4a1ac3b 2256 sfcgal_1.3.1-2.dsc
 08f5a4f6286f96ba5743cfb4d24e6c63a4e0d9a1 120896 sfcgal_1.3.1-2.debian.tar.xz
 87096b7e5eedea5f5be3e29bc2a8daf35f2f00ca 63676 libsfcgal-dev_1.3.1-2_amd64.deb
 1fe9f9cc0738cba76c55c05bd2d0836ed41155c4 52064 libsfcgal-osg1_1.3.1-2_amd64.deb
 b0e7c803e7794b3efbb4dc27d0fe06800d1ed269 1600174 libsfcgal1_1.3.1-2_amd64.deb
 a91ea21a6e34b130d00e6ffd26a281fce9912e99 50286158 sfcgal-dbg_1.3.1-2_amd64.deb
 be2c1dfe06d7baae317fb5c2878ada4faef23c94 21235 sfcgal_1.3.1-2_amd64.buildinfo
Checksums-Sha256:
 c556b2a8f294a9db914eb11aa834c8b09d501933d41ecc51f3edaa05d25c2a05 2256 
sfcgal_1.3.1-2.dsc
 8bdbbb7ed7461b76faa6aa13a7bbd28b34753eabfc5ca592442493e0b4aeb83f 120896 
sfcgal_1.3.1-2.debian.tar.xz
 62750c234eb38a4cc43ab0c21031a949fab66a10a9e29c9ec1cb4d1bea5bf281 63676 
libsfcgal-dev_1.3.1-2_amd64.deb
 f1a1194236baa06a556699e8eda1385eb3905cdafbb34217f00f5b340ffbcb32 52064 
libsfcgal-osg1_1.3.1-2_amd64.deb
 b29fa0ce3105dc5383f0e2808ef06741ba8a0e25f612cc5e0e583ac9fcaa8d0e 1600174 
libsfcgal1_1.3.1-2_amd64.deb
 67a568cb15c0a8e3e0efac8c7ee35ac4f79158e1f32ff72d9b16cc96d3f3b5dd 50286158 
sfcgal-dbg_1.3.1-2_amd64.deb
 bcfacd7c2624d606af266465fed94ee0156a896b506d4ce76b9c11ba34d6142d 21235 
sfcgal_1.3.1-2_amd64.buildinfo
Files:
 77b0f0992a3c5116cf0707e70ff41ebb 2256 science optional sfcgal_1.3.1-2.dsc
 a1a47dfe0ea2270bfd59c11c036b65f4 120896 science optional 
sfcgal_1.3.1-2.debian.tar.xz
 763db0eae6f207932dd0dd5e3a3ceb7d 63676 libdevel optional 
libsfcgal-dev_1.3.1-2_amd64.deb
 b5c36b4e74611361683c6bdf21791169 52064 libs optional 
libsfcgal-osg1_1.3.1-2_amd64.deb
 eff41b216bd3e62b4572d5f6ec538395 1600174 libs optional 
libsfcgal1_1.3.1-2_amd64.deb
 23404b185ba6b7e42ba1af6aaca1075e 50286158 debug extra 
sfcgal-dbg_1.3.1-2_amd64.deb
 2ccac00c6e7e61688c1e1fb892c332cf 21235 science optional 
sfcgal_1.3.1-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAllJTCEACgkQZ1DxCuiN
SvEAQg/+IghADW50v9/diXnvflTbTKSvpz0YWeVSeECM5VxGFU9B3/iRsPDGBrKh
dJ9izWBAZBK2NYJMaYacQSJPqtg9Lgmoz5TRgM/p7AISIPJPqJXd65MHA2I8gLJX
ny0MppWTJGvzbx/aHhFS7SayWuAxFqjBu9YCTyn4KQuPwiaTIs++Bf+0uFKRxUxA
KcmftbYCNESSOPFKRmsFRg6zoXJ+MJwGkrtV7oBFbn9ataojKYGrOUJzwa3wiTTj
ykMBI/PGaANYLYZjLnMXQz8vndouanhs8Lf3I9qHwxqvqkd+Fi19/p7RlKrnKQev
m5ws3MfGUIBg8fXBSwM0BDrkc0q2LlawTXQHl4XBUMAceI37Tg+h15ApZaeZxb/J
vp3l0IQpv0cYYxjbEazOijUh3tafPgDfEhnIjTGq9+0Vy1j0iGoXlyytDxaC/CkX
Y0sreuUc8xi2zC6PSwlhWznb4JJzVWvNYPPDL5wzdrd72NqbRIYeGjl5/8uo6wSw
E7JFGglUU7ApqLYnJahMA/+jSBK97fBJjgzprYJmJrtF4G+bBV+SgVlkOCD3B42m
8+yTaS9nxbvOKSEd++2/XrDG60GrkCPqJOn6aCxWhcuhobPin+bwDw5uaNxvJRik
of3J9ulM3QYXG9nUI4hRaUaHPkOIh6GsXsFTNUggflcZhxJ94dU=
=lrfk
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to