Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 106982
Status: rejected
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: wmaton [...] ottix.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::DNS version 1.01 required--this is only version 0.83
Date: Wed, 9 Sep 2015 08:35:59 -0400 (EDT)
To: bug-Net-DNS [...] rt.cpan.org
From: "William F. Maton Sotomayor" <wmaton [...] ottix.net>
Hi After upgrading from an older DNS::SEC, I'm getting the following when trying a program afterwards: Net::DNS version 1.01 required--this is only version 0.83 at /usr/local/lib/perl5/site_perl/5.20.2/Net/DNS/SEC.pm line 37. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.20.2/Net/DNS/SEC.pm line 37. Compilation failed in require at grok.pl line 9. BEGIN failed--compilation aborted at grok.pl line 9. This was using CPAN to do the upgrades, here's what's installed now according to that: cpan[3]> install Net::DNS::SEC Net::DNS::SEC is up to date (1.01). cpan[4]> install Net::DNS Running install for module 'Net::DNS' NLNETLABS/Net-DNS-1.01.tar.gz Has already been unwrapped into directory /usr/src/perl/cpan/build/Net-DNS-1.01-zZERdi NLNETLABS/Net-DNS-1.01.tar.gz Has already been prepared NLNETLABS/Net-DNS-1.01.tar.gz Has already been made NLNETLABS/Net-DNS-1.01.tar.gz Has already been tested successfully NLNETLABS/Net-DNS-1.01.tar.gz Already done And was installed. This has happened before, but what I needed to do was revert to Net::DNS 0.83 by manually deleting anything Net::DNS and then installing 0.83 by hand. wfms
On 2015-09-09 05:36:28, wmaton@ottix.net wrote: Show quoted text
> > Hi > > After upgrading from an older DNS::SEC, I'm getting the following when > trying a program afterwards: > > Net::DNS version 1.01 required--this is only version 0.83 at > /usr/local/lib/perl5/site_perl/5.20.2/Net/DNS/SEC.pm line 37. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.20.2/Net/DNS/SEC.pm line 37. > Compilation failed in require at grok.pl line 9. > BEGIN failed--compilation aborted at grok.pl line 9. > > This was using CPAN to do the upgrades, here's what's installed now > according to that: > > cpan[3]> install Net::DNS::SEC > Net::DNS::SEC is up to date (1.01). > > > cpan[4]> install Net::DNS > Running install for module 'Net::DNS' > NLNETLABS/Net-DNS-1.01.tar.gz > Has already been unwrapped into directory > /usr/src/perl/cpan/build/Net-DNS-1.01-zZERdi > NLNETLABS/Net-DNS-1.01.tar.gz > Has already been prepared > NLNETLABS/Net-DNS-1.01.tar.gz > Has already been made > NLNETLABS/Net-DNS-1.01.tar.gz > Has already been tested successfully > NLNETLABS/Net-DNS-1.01.tar.gz > Already done > > And was installed. > > This has happened before, but what I needed to do was revert to > Net::DNS 0.83 by manually deleting anything Net::DNS and then > installing > 0.83 by hand. > > wfms
I don't understand how you got into this state -- Net::DNS::Sec does properly state its prerequisite on Net::DNS 1.01: https://metacpan.org/source/NLNETLABS/Net-DNS-SEC-1.01/META.json#L41 ...so if you installed it with a reasonably up-to-date cpan client, you should have had your Net::DNS upgraded.
From: rwfranks [...] acm.org
On Wed Sep 09 11:09:58 2015, ETHER wrote: Show quoted text
> > I don't understand how you got into this state -- Net::DNS::Sec does > properly state its prerequisite on Net::DNS 1.01: > > https://metacpan.org/source/NLNETLABS/Net-DNS-SEC-1.01/META.json#L41 > > ...so if you installed it with a reasonably up-to-date cpan client, > you should have had your Net::DNS upgraded.
The good news is that since 1.01 Net::DNS and Net::DNS::SEC are no longer tightly linked together. The version relationship is expressed in the META files. Obviously, this only works automatically if the cpan client acts on the information. If it does not, dependency violations are flagged as fatal errors. There should now no longer be any need to clear out outdated installations unless the library structure has changed in ways which frustrated the automated process.
Subject: Re: [rt.cpan.org #106982] Net::DNS version 1.01 required--this is only version 0.83
Date: Thu, 10 Sep 2015 16:22:17 -0400 (EDT)
To: Karen Etheridge via RT <bug-Net-DNS [...] rt.cpan.org>
From: "William F. Maton Sotomayor" <wmaton [...] ottix.net>
On Wed, 9 Sep 2015, Karen Etheridge via RT wrote: Show quoted text
> I don't understand how you got into this state -- Net::DNS::Sec does properly state its prerequisite on Net::DNS 1.01:
It is intereseting to have not only seen this behaviour, but to also duplicate it. FWIW, the capn client versions of both are 2.05 and 2.10. I should try it on another set of systems, one without and Net::DNS* and with an old one. That will take a while to test. Show quoted text
> ...so if you installed it with a reasonably up-to-date cpan client, you should have had your Net::DNS upgraded.
Indeed, but looks like it did break someplace. wfms
From: rwfranks [...] acm.org
On Thu Sep 10 16:22:38 2015, wmaton@ottix.net wrote: Show quoted text
> > FWIW, the capn client versions of both are 2.05 and 2.10. I should > try it > on another set of systems, one without and Net::DNS* and with an old > one. > That will take a while to test. >
There is no point in trying to reproduce this problem. It has (hopefully) been designed out already.