[Pkg-net-snmp-devel] Upstream V-5-7-patches changes break Debian builds

Sam Tannous stannous at cumulusnetworks.com
Wed Jul 20 14:25:35 UTC 2016


Hello All,


Any possibility of moving net-snmp to a community supported package?

I've stopped tracking debian net-snmp and now track upstream V5-7-patches

and noticed this nasty bug which probably only affects Debian building.

(From my upstream patch #1330)

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/20160720/4f93a6d1/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/20160720/4f93a6d1/attachment.obj>


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