[Pkg-net-snmp-devel] Bug#852023: net-snmp: hardening -pie causes FTBFS in rdeps
Adrian Bunk
bunk at debian.org
Fri Jan 20 19:25:38 UTC 2017
Source: net-snmp
Version: 5.7.3+dfsg-1.6
Severity: serious
Tags: patch
Control: affects -1 src:nut
Rdeps of net-snmp (at least nut) FTBFS because since the disabling
of PIE in the hardening results in non-PIE static libraries.
PIE was disabled back in 2013 with a comment that it is required
to workaround a FTBFS, but the following change builds for me in
unstable:
--- debian/rules.old 2017-01-20 12:53:10.000000000 +0000
+++ debian/rules 2017-01-20 12:53:20.000000000 +0000
@@ -1,9 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-# TODO
-# without -pie build fails during perl module build somehow...
-export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIB_VERSION = 30
More information about the Pkg-net-snmp-devel
mailing list