On Mon, May 16, 2016 at 11:11:54AM +0200, Sebastiaan Couwenberg wrote: > On 05/16/2016 11:07 AM, Andreas Tille wrote: > > When reading the code it seems to me that actually a test whether this > > code works or not is intended and thus fixing the format is not in the > > intention of the authors. So I tried > > > > export DEB_BUILD_HARDENING_FORMAT:=0 > > DPKG_EXPORT_BUILDFLAGS = 1
DPKG_EXPORT_BUILDFLAGS is a thing only if you include /usr/share/dpkg/buildflags.mk, and anyway already done by debhelper in compat level 9. Dunno what DEB_BUILD_HARDENING_FORMAT is. > > > > but the build keeps on failing. Any idea? > > If you want to disable the format-security option, you can try this in > debian/rules: > > CFLAGS += -Wno-error=format-security Please use DEB_CFLAGS_MAINT_APPEND or DEB_CFLAGS_MAINT_STRIP (as that flags is added by dpkg-buildflags in first place) instead. See dpkg-buildflags(1). -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature