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

Ferenc Wágner wferi at moszumanska.debian.org
Fri Sep 8 22:04:25 UTC 2017


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

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

commit 7362bdad118b3b631808c193471f36a8da4e96c8
Author: Ferenc Wágner <wferi at debian.org>
Date:   Fri Sep 8 15:36:45 2017 +0200

    Provide a GCC 7 build with strict enough shlibs
    
    OpenSAML fails to build with GCC 7 with XMLTooling built with GCC 6,
    because its samlsign executable does not find a symbol whose mangling
    changed.  So build with GCC 7 from now on, and include a corresponding
    shlibs dependency to force OpenSAML pull in this build.
    
    This change must be left out of backports.
    
    Closes: #874654
---
 debian/control | 3 +++
 debian/rules   | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index dc043e4..9fe8e15 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,9 @@ Build-Depends:
  cxxtest,
  debhelper (>= 9),
  dh-autoreconf,
+# The samlsign executable needs the new GCC 7 mangling (see #853598 and
+# https://wiki.debian.org/GCC7).  Omit this and the shlibs for backports:
+ g++ (>=4:7),
  libboost-dev,
  libcurl4-openssl-dev,
  liblog4shib-dev,
diff --git a/debian/rules b/debian/rules
index 19924fd..b0e1e8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,3 +45,7 @@ override_dh_install:
 
 override_dh_installdocs:
 	dh_installdocs -A doc/README.txt doc/NOTICE.txt
+
+override_dh_makeshlibs:
+	# force the g++ >= 4:7 build prescribed in debian/control:
+	dh_makeshlibs -V'libxmltooling7 (>=1.6.0-5)'

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



More information about the Pkg-shibboleth-devel mailing list