[Git][debian-gis-team/sfcgal][master] 4 commits: Reduce debug info also on arm64 to fix a build failure

Bas Couwenberg gitlab at salsa.debian.org
Sun Dec 8 18:10:17 GMT 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / sfcgal


Commits:
9d53dfe7 by Bas Couwenberg at 2019-12-06T09:25:40Z
Reduce debug info also on arm64 to fix a build failure

- - - - -
5ba4d0fd by Bas Couwenberg at 2019-12-08T16:35:51Z
Add gmpxx to `sfcgal-config --libs`.

Add libgmp-dev to libsfcgal-dev dependencies.

- - - - -
15711f29 by Bas Couwenberg at 2019-12-08T17:41:55Z
Update symbols for other architectures.

- - - - -
3036c7b4 by Bas Couwenberg at 2019-12-08T17:42:06Z
Set distribution to unstable.

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/libsfcgal1.symbols
- debian/patches/series
- + debian/patches/sfcgal-config.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+sfcgal (1.3.7-4) unstable; urgency=medium
+
+  [ Gianfranco Costamagna ]
+  * Reduce debug info also on arm64 to fix a build failure
+
+  [ Bas Couwenberg ]
+  * Add gmpxx to `sfcgal-config --libs`.
+  * Add libgmp-dev to libsfcgal-dev dependencies.
+  * Update symbols for other architectures.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 08 Dec 2019 18:41:57 +0100
+
 sfcgal (1.3.7-3) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/control
=====================================
@@ -40,6 +40,7 @@ Architecture: any
 Section: libdevel
 Depends: libsfcgal1 (= ${binary:Version}),
          libcgal-dev (>= 4.10.1),
+         libgmp-dev,
          ${misc:Depends}
 Description: Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations (development)
  SFCGAL is a C++ wrapper library around CGAL with the aim of


=====================================
debian/libsfcgal1.symbols
=====================================
The diff for this file was not included because it is too large.

=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 no-c++98.patch
 fix-ftbfs-with-cgal-5.x.patch
 fix-linker-error.patch
+sfcgal-config.patch


=====================================
debian/patches/sfcgal-config.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Add gmpxx to `sfcgal-config --libs`.
+ Fixes link errors:
+ .
+ /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSFCGAL.so: undefined reference to `operator>>(std::istream&, __mpz_struct*)'
+ /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSFCGAL.so: undefined reference to `operator<<(std::ostream&, __mpz_struct const*)'
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/sfcgal-config.in
++++ b/sfcgal-config.in
+@@ -38,7 +38,7 @@ case $1 in
+ 	echo -I${prefix}/include 
+ 	;;
+     --libs)
+-	echo -L${libdir} -l at SFCGAL_LIB_NAME@
++	echo -L${libdir} -l at SFCGAL_LIB_NAME@ -lgmpxx
+ 	;;
+     --ldflags)
+ 	echo -L${libdir}


=====================================
debian/rules
=====================================
@@ -13,7 +13,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 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))
+ifneq (,$(filter $(DEB_HOST_ARCH),arm64 mips mipsel))
     CMAKECXXFLAGS="-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -O2 -g1 -DNDEBUG'"
 endif
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/compare/2487b282cf76c57de31f57e2b39525af2b8104b4...3036c7b4c9af062fd019629727e9689a7c68a036

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/sfcgal/compare/2487b282cf76c57de31f57e2b39525af2b8104b4...3036c7b4c9af062fd019629727e9689a7c68a036
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20191208/de436630/attachment-0001.html>


More information about the Pkg-grass-devel mailing list