Bug#811050: dnssec-tools broken with perl 5.22

2016-01-18 Thread Petr Čech
Hi,
there are some file conflicts.

root@flora:~# dpkg -i --force-overwrite
/var/cache/apt/archives/libnet-dns-zonef*
(Reading database ... 275655 files and directories currently installed.)
Preparing to unpack .../libnet-dns-zonefile-fast-perl_1.24-1_all.deb ...
Unpacking libnet-dns-zonefile-fast-perl (1.24-1) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/share/man/man3/Net::DNS::ZoneFile::Fast.3pm.gz', which is also
in package dnssec-tools 2.2-1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/share/perl5/Net/DNS/ZoneFile/Fast.pm', which is also in package
dnssec-tools 2.2-1
Setting up libnet-dns-zonefile-fast-perl (1.24-1) ...

It runs, but I just crashed it with I think
#rollctl -signzone example.org
Jan 18 11:45:48 flora rollerd[7639]: unknown type 6 at
/usr/share/perl5/Net/DNS/SEC/Tools/dnssectools.pm line 339.

I really have to switch over to knot DNSSEC processing.

Cau
Petr

2016-01-18 11:34 GMT+01:00 Ondřej Surý <ond...@sury.org>:
> Hi Gregor and Petr,
>
> I just uploaded 2.2 to unstable. Could you try it? I don't run it
> everywhere as my primary signer is in my signature :)
>
> O.
> --
> Ondřej Surý <ond...@sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
>
> On Sun, Jan 17, 2016, at 18:43, gregor herrmann wrote:
>> Control: tag -1 + upstream fixed-upstream
>>
>> On Fri, 15 Jan 2016 08:02:34 +0100, Petr Čech wrote:
>>
>> > it seems because of changes in perl 5.22 rollrec/zonesigner/... fail with 
>> > following error messages:
>> >
>> > UNIVERSAL does not export anything at 
>> > /usr/share/perl5/Net/DNS/SEC/Tools/tooloptions.pm line 19.
>> > BEGIN failed--compilation aborted at 
>> > /usr/share/perl5/Net/DNS/SEC/Tools/tooloptions.pm line 19.
>> > Compilation failed in require at /usr/sbin/zonesigner line 52.
>> > BEGIN failed--compilation aborted at /usr/sbin/zonesigner line 52.
>>
>> Cf.
>> https://metacpan.org/pod/release/RJBS/perl-5.22.0/pod/perldelta.pod#use-UNIVERSAL-...-is-now-a-fatal-error
>>
>>   Importing functions from UNIVERSAL has been deprecated since v5.12,
>>   and is now a fatal error. use UNIVERSAL without any arguments is
>>   still allowed.
>>
>>
>> Seems to be fixed in the 2.2 tarball at
>> http://www.dnssec-tools.org/download/dnssec-tools-2.2.tar.gz
>> (by removing the line from tools/modules/tooloptions.pm).
>>
>> Cheers,
>> gregor
>>
>> --
>>  .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key
>>  0xBB3A68018649AA06
>>  : :' : Debian GNU/Linux user, admin, and developer -
>>  https://www.debian.org/
>>  `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation
>>  Europe
>>`-   NP: Ludwig Hirsch: Asta
>> Email had 1 attachment:
>> + signature.asc
>>   1k (application/pgp-signature)



Bug#811050: dnssec-tools broken with perl 5.22

2016-01-14 Thread Petr Čech
Package: dnssec-tools
Version: 2.1-1
Severity: grave
Tags: patch

Ahoj Ondro,
it seems because of changes in perl 5.22 rollrec/zonesigner/... fail with 
following error messages:

UNIVERSAL does not export anything at 
/usr/share/perl5/Net/DNS/SEC/Tools/tooloptions.pm line 19.
BEGIN failed--compilation aborted at 
/usr/share/perl5/Net/DNS/SEC/Tools/tooloptions.pm line 19.
Compilation failed in require at /usr/sbin/zonesigner line 52.
BEGIN failed--compilation aborted at /usr/sbin/zonesigner line 52.

Commenting out line 19 in /usr/share/perl5/Net/DNS/SEC/Tools/tooloptions.pm 
(#use UNIVERSAL qw (can);)
seems to fix the problem.

Čau
Petr


-- System Information:
Debian Release: stretch/sid
  APT prefers proposed-updates
  APT policy: (550, 'proposed-updates'), (550, 'stable'), (500, 
'stable-updates'), (500, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages dnssec-tools depends on:
ii  bind9utils   1:9.10.0.dfsg~rc2-1+b1
ii  libmailtools-perl2.13-1
ii  libnet-dns-perl  0.81-2+b1
ii  libnet-dns-sec-perl  0.21-1
ii  libtimedate-perl 2.3000-2
ii  perl 5.22.1-4

Versions of packages dnssec-tools recommends:
pn  bind9
ii  perl-tk  1:804.033-1+b1

dnssec-tools suggests no packages.

-- Configuration Files:
/etc/default/rollerd changed [not included]
/etc/dnssec-tools/dnssec-tools.conf changed [not included]
/etc/dnssec-tools/dnssec-tools.rollrec changed [not included]
/etc/logrotate.d/dnssec-tools changed [not included]

-- no debconf information