Description of problem:
This problem is captured via the upstream bug report here: https://rt.cpan.org/Public/Bug/Display.html?id=96439#txn-1375388
but is seen both in Fedora 20 and 21 (rawhide) at this time.
Version-Release number of selected component (if applicable): 0.78 is released with this fix.
Steps to Reproduce:
1. my $buf = pack "H*", "63270000000100000000000100000200010000291000000080000000";
2. my $packet = new Net::DNS::Packet(\$buf, 0);
Can't call method "decode" on an undefined value at /usr/lib64/perl5/vendor_perl/Net/DNS/Domain.pm line 283, <> line 3.
Function works properly and prints out decoded data per script
Would like to see 0.78 pushed to both fc20 + rawhide to pick up this fix
0.78 does not fix it. Amavisd depends on Net::DNS, and my mail is broken as a result:
$ rpm -q perl-Net-DNS
$ sudo systemctl restart amavisd
Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details.
$ sudo systemctl status -l amavisd
Aug 01 15:19:27 hostname amavisd: ...propagated at /usr/share/perl5/base.pm line 84.
Aug 01 15:19:27 hostname amavisd: BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DNS/Resolver/UNIX.pm line 18.
Aug 01 15:19:27 hostname amavisd: Compilation failed in require at /usr/lib64/perl5/vendor_perl/Net/DNS/Resolver.pm line 35.
Aug 01 15:19:27 hostname amavisd: BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DNS/Resolver.pm line 38.
Aug 01 15:19:27 hostname amavisd: Compilation failed in require at (eval 96) line 52.
Aug 01 15:19:27 hostname amavisd: BEGIN failed--compilation aborted at (eval 96) line 52.
Aug 01 15:19:27 hostname amavisd: [FAILED]
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
this seems to have been fixed already. Tested with the current release 1.05