Hi everybody, 

I've tried to build a new package with the mentioned replacement function 
"netdns_dn_expand", but unfortunately I still get the same error: 

Jun 27 20:23:31 smaint postfix/policyd-weight[19518]: warning: child: err: 
Undefined subroutine &main::netdns_dn_expand called at /usr/sbin/policyd-weight 
line 3590, <GEN9> line 26.#012

So, this indicates that there is no such function available. I've digged a 
little deeper into this and it seems like dn_expand is gone since Net-DNS-0.73,
relased on 29th November 2003, the changelog[1] mentiones:

-- cut --
Fix rt.cpan.org 13243 and 13191 

    The escaped characters test failed on some system because the 
    the systems dn_expand instead of the supplied dn_expand 
    was used after the makemaker magic linked DNS.xs.

    This was fixed by renaming the dn_expand that comes with the
    library to netdns_dn_expand.
-- cut --

It seems like upstream authors of Net-DNS removed dn_expand but did not add the
replacement function to the netdns_dn_expand to the perl module. 

*) dn_expand available:
http://search.cpan.org/~nlnetlabs/Net-DNS-0.72/lib/Net/DNS/Packet.pm

*) dn_expand not available, nor netdns_dn_expand
http://search.cpan.org/~nlnetlabs/Net-DNS-0.73/lib/Net/DNS/Packet.pm

This makes it hart to add a fix to policyd-weight :)

@Ondřej
Could you please ask upstream/report the issue? 

Thank you,
Werner Detter

[1] Changelog
http://cpansearch.perl.org/src/NLNETLABS/Net-DNS-0.73/Changes

[2] Version Overview
http://search.cpan.org/~nlnetlabs/Net-DNS-0.72/
http://search.cpan.org/~nlnetlabs/Net-DNS-0.73/


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to