Source: icinga
Version: 1.13.4-1
Severity: normal
Tags: patch

Dear Maintainer,

icinga (1.13.4-1) FTBFS on Ubuntu because they include
-Wl,-Bsymbolic-functions in LDFLAGS. [0]

The attached patch strips -Wl,-Bsymbolic-functions from LDFLAGS which
should resolve this issue.

[0] 
https://launchpadlibrarian.net/299806145/buildlog_ubuntu-zesty-amd64.icinga_1.13.4-1_BUILDING.txt.gz

Kind Regards,

Bas
>From 78c328f4a09bb6982417a4eeefb1fdc50ec08cc9 Mon Sep 17 00:00:00 2001
From: Bas Couwenberg <sebas...@xs4all.nl>
Date: Sun, 25 Dec 2016 14:49:44 +0100
Subject: Strip -Bsymbolic-functions from LDFLAGS, causes FTBFS on Ubuntu.

---
 debian/changelog | 6 ++++++
 debian/rules     | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 10a3edf..2f36682 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+icinga (1.13.4-2) UNRELEASED; urgency=medium
+
+  * Strip -Bsymbolic-functions from LDFLAGS, causes FTBFS on Ubuntu.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Sun, 25 Dec 2016 14:49:10 +0100
+
 icinga (1.13.4-1) unstable; urgency=high
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index ce5d1af..f974e88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+export DEB_LDFLAGS_STRIP="-Wl,-Bsymbolic-functions"
+
 export AUTOHEADER=true
 
 b := $(shell pwd)/debian
-- 
2.1.4

Reply via email to