[opensaml2] 01/05: Provide a GCC 7 build with strict enough shlibs

Ferenc Wágner wferi at moszumanska.debian.org
Sat Sep 9 20:48:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

wferi pushed a commit to branch debian/master
in repository opensaml2.

commit 7051f3920b9da9898b36fee4312a6c71fb3ae423
Author: Ferenc Wágner <wferi at debian.org>
Date:   Sat Sep 9 18:13:15 2017 +0200

    Provide a GCC 7 build with strict enough shlibs
    
    The Shibboleth SP fails to build with GCC 7 with OpenSAML built with
    GCC 6, because libsaml9 embeds references to XMLTooling symbols names
    without ABI tags.  Build with GCC 7 to refresh these embedded symbols.
---
 debian/control | 3 +++
 debian/rules   | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index de054e9..4ac4554 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,9 @@ Build-Depends:
  cxxtest,
  debhelper (>= 9),
  dh-autoreconf,
+# The shibd executable needs the new GCC 7 mangling of XMLTooling symbols,
+# some of which are provided transitively by libsaml.  Not for backports:
+ g++ (>=4:7),
  libboost-dev,
  liblog4shib-dev,
  libxerces-c-dev,
diff --git a/debian/rules b/debian/rules
index 8467214..97c43fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,3 +29,7 @@ override_dh_install:
 
 override_dh_installdocs:
 	dh_installdocs -A doc/NOTICE.txt doc/README.txt
+
+override_dh_makeshlibs:
+	# force the g++ >= 4:7 build prescribed in debian/control:
+	dh_makeshlibs -V'libsaml9 (>=2.6.0-5)'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/opensaml2.git



More information about the Pkg-shibboleth-devel mailing list