[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813352: iroffer: FTBFS when using -pie and -Werror=format-security



Package: iroffer
Version: 1.4.b03
Severity: important
Tags: upstream

Dear Maintainer,

The iroffer does not build when using the -pie and -Werror=format-security
flags.

To verify this issue, do the following changes in debian/rules file:

----------------------------------------------------------
--- rules.orig  2016-02-01 01:09:45.731874079 -0200
+++ rules       2016-02-01 01:10:56.763872059 -0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
        dh $@
@@ -11,7 +11,7 @@
 
 override_dh_auto_build:
        dh_auto_build -- LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
-        CFLAGS="-O2 -g -fstack-protector-strong -Wformat"
+        CFLAGS="$(CFLAGS)"
 
 override_dh_auto_install:
        $(MAKE) install INSDIR=$(CURDIR)/debian/iroffer/usr/bin
----------------------------------------------------------

Regards,

Eriberto


Reply to: