[Pkg-net-snmp-devel] Bug introduced in upstream V5-7-patches breaks debian builds

Sam Tannous stannous at cumulusnetworks.com
Wed Jul 20 00:55:19 UTC 2016


In V5-7-patches branch, recent changes to the configuration system (7c38dba08,
9e4b85d67 ) introduced bugs for Debian build systems since debian
dpkg-buildflags produces  " Werror=format-security" and not just "-Werror".

The existing "sed" expression in configure.ac only removes the "-Werror"
leaving a
dangling "=format-security" which fails in dh_auto_configure (as part of a
dpkg-buildpackage).

The patch looks a little odd because of m4 "absorbs" the square brackets in
the regular expression.

Instead of square brackets to collect the string after the "-Werror", we
need to use the quadrigraphs @<:@ and @:>@ for [ and ] respectively.

I've tested this by merging latest upstream V5-7-patches into my branch and
building with
dpkg-buildpackage -uc -us on latest Debian Jessie (Linux debian-stable
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux).

Regards,
Sam Tannous
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20160719/6c4666cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian-build-fix.diffs
Type: application/octet-stream
Size: 594 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20160719/6c4666cc/attachment.obj>


More information about the Pkg-net-snmp-devel mailing list