[Pkg-dns-devel] Bug#811230: Bug#811230: FTBFS: passes -Wdate-time to swig which choke on it

Robert Edmonds edmonds at debian.org
Mon Jan 25 05:10:29 UTC 2016


Martin Michlmayr wrote:
> Package: ldns
> Version: 1.6.17-7
> Severity: serious
> 
> Same as #809055 - maybe you find some info there.

Somewhat similar, the ldns and unbound build systems are not quite
identical.  Here is the diff submitted upstream for #809055:

https://www.nlnetlabs.nl/bugs-script/attachment.cgi?id=320&action=diff

> > /usr/bin/swig -python  -o contrib/python/ldns_wrapper.c -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -I/usr/include/python2.7 ./contrib/python/ldns.i
> > swig error : Unrecognized option -Wdate-time

I get a successful build with the attached patch.  It causes the above
lines of the build output to become:

> /usr/bin/swig -python  -o contrib/python/ldns_wrapper.c -I/usr/include/python2.7 ./contrib/python/ldns.i 

-- 
Robert Edmonds
edmonds at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile.in-Don-t-pass-CPPFLAGS-to-swig-Closes-81123.patch
Type: text/x-diff
Size: 883 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20160125/316f9e02/attachment.patch>


More information about the pkg-dns-devel mailing list