[ldns-users] pyLDNS Problems

Paul Wouters paul at xelerance.com
Mon Sep 19 16:10:18 UTC 2011


On Mon, 19 Sep 2011, Willem Toorop wrote:

> I found the culprit!

Excellent.

> I have fixed the issue by preserving the round trip time information
> when edns0 with size 4096 is tried. The fix is in revision r3551 and
> will be in the 1.6.11 release.

I've built it and confirm it is now fixed!

Though perhaps some EDNS backoff attempt would be good too? :)

Note, I still see these in 1.6.10, not sure if you addressed them:

contrib/python/ldns_wrapper.c: In function 'SWIG_PyInstanceMethod_New':
contrib/python/ldns_wrapper.c:1049:59: warning: unused parameter 'self'
contrib/python/ldns_wrapper.c:1049:75: warning: unused parameter 'func'
contrib/python/ldns_wrapper.c: In function '_PySwigObject_type':
contrib/python/ldns_wrapper.c:1829:7: warning: missing initializer
contrib/python/ldns_wrapper.c:1829:7: warning: (near initialization for 'tmp.tp_version_tag')
contrib/python/ldns_wrapper.c: In function '_PySwigPacked_type':
contrib/python/ldns_wrapper.c:2004:7: warning: missing initializer
contrib/python/ldns_wrapper.c:2004:7: warning: (near initialization for 'tmp.tp_version_tag')
contrib/python/ldns_wrapper.c: In function 'SWIG_Python_MustGetPtr':
contrib/python/ldns_wrapper.c:2666:63: warning: unused parameter 'argnum'
contrib/python/ldns_wrapper.c: In function 'ldns_wire2pkt_':
contrib/python/ldns_wrapper.c:3930:13: warning: unused variable 'resultobj'
contrib/python/ldns_wrapper.c: In function '_wrap_ldns_print_rr_rdf__varargs__':
contrib/python/ldns_wrapper.c:13081:115: warning: unused parameter 'varargs'
contrib/python/ldns_wrapper.c: In function 'swig_varlink_type':
contrib/python/ldns_wrapper.c:38843:7: warning: missing initializer
contrib/python/ldns_wrapper.c:38843:7: warning: (near initialization for 'tmp.tp_version_tag')

And some minor man page issues:

ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_new.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_derive_trust_tree_dnskey_rrset.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_contains_keys.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_print.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_derive_trust_tree_no_sig.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_derive_trust_tree_normal_rrset.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_print_sm.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_derive_trust_tree.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_free.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_export.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_clear.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_free.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_printf.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_new.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_buffer_new_frm_data.3.gz 60: warning: macro `\\0'.' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_depth.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_derive_trust_tree_ds_rrset.3.gz 131: warning: macro `normal'' not defined
ldns.x86_64: W: manual-page-warning /usr/share/man/man3/ldns_dnssec_trust_tree_add_parent.3.gz 131: warning: macro `normal'' not defined
ldns-devel.x86_64: W: no-manual-page-for-binary ldns-config

This one I'm unsure about. Is this needed and/or different from the system .so ?

ldns-python.x86_64: W: private-shared-object-provides /usr/lib/python2.7/site-packages/_ldns.so.1.6.10 _ldns.so.1()(64bit)

I still have sitelib vs sitearch issues on 1.6.10, but I assume that will be resolved in 1.6.11?
This might need more then just the: sed -i "s/0,0/1,0/" acx_python.m4
Perhaps it needs a similar fix as was done recently for unbound-python?

I pushed 1.6.10-2, that includes this fix plus the ldnsx.py module into rawhide:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3360890

Paul



More information about the ldns-users mailing list