Skip Menu |

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

Report information
The Basics
Id: 105698
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: devans [...] macports.org
Cc:
AdminCc:

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



Subject: Net-DNS 1.01 conflicts with Net-DNS-SEC 0.22
Date: Mon, 6 Jul 2015 15:49:36 -0700
To: bug-Net-DNS [...] rt.cpan.org
From: David Evans <devans [...] macports.org>
Net-DNS 1.01 includes a new set of RR's that previously were only available in Net-DNS-SEC. This is good. However, these records are still included in Net-DNS-SEC 0.22 causing an installation conflict. Not good! Suggest removing these RR's from Net-DNS-SEC to resolve the conflict. Dave Evans MacPorts Perl module maintainer (one of them anyway)
From: rwfranks [...] acm.org
On Mon Jul 06 18:49:46 2015, devans@macports.org wrote: Show quoted text
> Net-DNS 1.01 includes a new set of RR's that previously were only > available in Net-DNS-SEC. This is good. However, these records are still > included in Net-DNS-SEC 0.22 causing an installation conflict. Not > good! Suggest removing these RR's from Net-DNS-SEC to resolve the conflict. > > Dave Evans > MacPorts Perl module maintainer (one of them anyway)
We are well aware of that, and they will disappear very soon in Net::DNS::SEC 1.01. The conflict is more apparent than real. Compatibility checks have been done both for installation of 1.01 on top of existing 0.22 and installation of 0.22 on top of 1.01. If there were error messages, please provide details, which tools you used and what order you did the installation.
Subject: Re: [rt.cpan.org #105698] Net-DNS 1.01 conflicts with Net-DNS-SEC 0.22
Date: Tue, 7 Jul 2015 13:19:29 -0700
To: bug-Net-DNS [...] rt.cpan.org
From: David Evans <devans [...] macports.org>
On 7/7/15 4:30 AM, Dick Franks via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=105698 > > > On Mon Jul 06 18:49:46 2015, devans@macports.org wrote:
>> Net-DNS 1.01 includes a new set of RR's that previously were only >> available in Net-DNS-SEC. This is good. However, these records are still >> included in Net-DNS-SEC 0.22 causing an installation conflict. Not >> good! Suggest removing these RR's from Net-DNS-SEC to resolve the conflict. >> >> Dave Evans >> MacPorts Perl module maintainer (one of them anyway)
> We are well aware of that, and they will disappear very soon in Net::DNS::SEC 1.01. > > The conflict is more apparent than real. Compatibility checks have been done both for installation of 1.01 on top of existing 0.22 and installation of 0.22 on top of 1.01. > > If there were error messages, please provide details, which tools you used and what order you did the installation. > >
The errors are MacPorts specific. MacPorts does not allow two different ports (Perl modules in this case) to install identical file paths and issues an error at activation time. Assuming port p5.20-net-dns 1.01 has previously been installed, attempting to install p5.20-net-dns-sec 0.22 complains as follows: Error: org.macports.activate for port p5.20-net-dns-sec returned: Image error: /opt/local/lib/perl5/vendor_perl/5.20/Net/DNS/RR/CDNSKEY.pm is being used by the active p5.20-net-dns port. Please deactivate this port first, or use 'port -f activate p5.20-net-dns-sec' to force the activation. The reverse order would yield similar results but, since p5.20-net-dns is a dependency of p5.20-net-dns-sec, it is always installed first. I'll wait until Net::DNS::SEC 1.01 is released and update the two modules at the same time. Thanks for your reply.
Subject: Re: [rt.cpan.org #105698] Net-DNS 1.01 conflicts with Net-DNS-SEC 0.22
Date: Mon, 27 Jul 2015 10:23:55 +0200 (CEST)
To: bug-Net-DNS [...] rt.cpan.org
From: Havard Eidnes <he [...] NetBSD.org>
Hi, I'll just note that it's not just MacPorts of packaging systems which are picky not to let one package overwrite another package's files -- pkgsrc from NetBSD behaves the same way, and I'm going also to assume that this isn't exactly uncommon practice. To my eyes (and my pkgsrc installation) the following simple patch appears to fix the conflict. You may choose to install it instead of waiting for 1.01 of Net::DNS::SEC which has so far not materialized (nudge, nudge). Don't install the RR modules, these are now after version 1.01 of Net::DNS part of that package instead. This fixes CPAN problem report https://rt.cpan.org/Public/Bug/Display.html?id=105698 while we wait for 1.01 of Net::DNS::SEC. --- Makefile.PL.orig 2015-02-11 13:34:24.000000000 +0000 +++ Makefile.PL @@ -69,17 +69,6 @@ WriteMakefile( 'SEC/RSA.pm' => '$(INST_LIBDIR)/SEC/RSA.pm', 'SEC/Keyset.pm' => '$(INST_LIBDIR)/SEC/Keyset.pm', 'SEC/Private.pm' => '$(INST_LIBDIR)/SEC/Private.pm', - 'RR/CDNSKEY.pm' => '$(INST_LIBDIR)/RR/CDNSKEY.pm', - 'RR/CDS.pm' => '$(INST_LIBDIR)/RR/CDS.pm', - 'RR/DLV.pm' => '$(INST_LIBDIR)/RR/DLV.pm', - 'RR/DNSKEY.pm' => '$(INST_LIBDIR)/RR/DNSKEY.pm', - 'RR/DS.pm' => '$(INST_LIBDIR)/RR/DS.pm', - 'RR/KEY.pm' => '$(INST_LIBDIR)/RR/KEY.pm', - 'RR/NSEC.pm' => '$(INST_LIBDIR)/RR/NSEC.pm', - 'RR/NSEC3.pm' => '$(INST_LIBDIR)/RR/NSEC3.pm', - 'RR/NSEC3PARAM.pm' => '$(INST_LIBDIR)/RR/NSEC3PARAM.pm', - 'RR/RRSIG.pm' => '$(INST_LIBDIR)/RR/RRSIG.pm', - 'RR/SIG.pm' => '$(INST_LIBDIR)/RR/SIG.pm', 'KeysetStub.pm' => '$(INST_LIBDIR)/Keyset.pm', }, Regards, - Havard
Subject: Re: [rt.cpan.org #105698] Net-DNS 1.01 conflicts with Net-DNS-SEC 0.22
Date: Mon, 27 Jul 2015 10:23:55 +0200 (CEST)
To: bug-Net-DNS [...] rt.cpan.org
From: Havard Eidnes <he [...] NetBSD.org>
Hi, I'll just note that it's not just MacPorts of packaging systems which are picky not to let one package overwrite another package's files -- pkgsrc from NetBSD behaves the same way, and I'm going also to assume that this isn't exactly uncommon practice. To my eyes (and my pkgsrc installation) the following simple patch appears to fix the conflict. You may choose to install it instead of waiting for 1.01 of Net::DNS::SEC which has so far not materialized (nudge, nudge). Don't install the RR modules, these are now after version 1.01 of Net::DNS part of that package instead. This fixes CPAN problem report https://rt.cpan.org/Public/Bug/Display.html?id=105698 while we wait for 1.01 of Net::DNS::SEC. --- Makefile.PL.orig 2015-02-11 13:34:24.000000000 +0000 +++ Makefile.PL @@ -69,17 +69,6 @@ WriteMakefile( 'SEC/RSA.pm' => '$(INST_LIBDIR)/SEC/RSA.pm', 'SEC/Keyset.pm' => '$(INST_LIBDIR)/SEC/Keyset.pm', 'SEC/Private.pm' => '$(INST_LIBDIR)/SEC/Private.pm', - 'RR/CDNSKEY.pm' => '$(INST_LIBDIR)/RR/CDNSKEY.pm', - 'RR/CDS.pm' => '$(INST_LIBDIR)/RR/CDS.pm', - 'RR/DLV.pm' => '$(INST_LIBDIR)/RR/DLV.pm', - 'RR/DNSKEY.pm' => '$(INST_LIBDIR)/RR/DNSKEY.pm', - 'RR/DS.pm' => '$(INST_LIBDIR)/RR/DS.pm', - 'RR/KEY.pm' => '$(INST_LIBDIR)/RR/KEY.pm', - 'RR/NSEC.pm' => '$(INST_LIBDIR)/RR/NSEC.pm', - 'RR/NSEC3.pm' => '$(INST_LIBDIR)/RR/NSEC3.pm', - 'RR/NSEC3PARAM.pm' => '$(INST_LIBDIR)/RR/NSEC3PARAM.pm', - 'RR/RRSIG.pm' => '$(INST_LIBDIR)/RR/RRSIG.pm', - 'RR/SIG.pm' => '$(INST_LIBDIR)/RR/SIG.pm', 'KeysetStub.pm' => '$(INST_LIBDIR)/Keyset.pm', }, Regards, - Havard
From: rwfranks [...] acm.org
On Mon Jul 27 04:53:00 2015, he@NetBSD.org wrote: Show quoted text
> Hi, > > I'll just note that it's not just MacPorts of packaging systems which > are picky not to let one package overwrite another package's files -- > pkgsrc from NetBSD behaves the same way, and I'm going also to assume > that this isn't exactly uncommon practice. > > To my eyes (and my pkgsrc installation) the following simple > patch appears to fix the conflict. You may choose to install it > instead of waiting for 1.01 of Net::DNS::SEC which has so far not > materialized (nudge, nudge). > > > Don't install the RR modules, these are now after version 1.01 > of Net::DNS part of that package instead. This fixes CPAN problem > report https://rt.cpan.org/Public/Bug/Display.html?id=105698 while we > wait for 1.01 of Net::DNS::SEC. > > --- Makefile.PL.orig 2015-02-11 13:34:24.000000000 +0000 > +++ Makefile.PL > @@ -69,17 +69,6 @@ WriteMakefile( > 'SEC/RSA.pm' => '$(INST_LIBDIR)/SEC/RSA.pm', > 'SEC/Keyset.pm' => '$(INST_LIBDIR)/SEC/Keyset.pm', > 'SEC/Private.pm' => '$(INST_LIBDIR)/SEC/Private.pm', > - 'RR/CDNSKEY.pm' => '$(INST_LIBDIR)/RR/CDNSKEY.pm', > - 'RR/CDS.pm' => '$(INST_LIBDIR)/RR/CDS.pm', > - 'RR/DLV.pm' => '$(INST_LIBDIR)/RR/DLV.pm', > - 'RR/DNSKEY.pm' => '$(INST_LIBDIR)/RR/DNSKEY.pm', > - 'RR/DS.pm' => '$(INST_LIBDIR)/RR/DS.pm', > - 'RR/KEY.pm' => '$(INST_LIBDIR)/RR/KEY.pm', > - 'RR/NSEC.pm' => '$(INST_LIBDIR)/RR/NSEC.pm', > - 'RR/NSEC3.pm' => '$(INST_LIBDIR)/RR/NSEC3.pm', > - 'RR/NSEC3PARAM.pm' => '$(INST_LIBDIR)/RR/NSEC3PARAM.pm', > - 'RR/RRSIG.pm' => '$(INST_LIBDIR)/RR/RRSIG.pm', > - 'RR/SIG.pm' => '$(INST_LIBDIR)/RR/SIG.pm', > 'KeysetStub.pm' => '$(INST_LIBDIR)/Keyset.pm', > }, > > Regards, > > - Havard
The solution you advise was the pre-0.22 way of doing things. The goal is now to remove the RRs from Net::DNS::SEC. Unfortunately, the transition is not as clean as we would have liked. Recommended action is to install Net::DNS::SEC 1.00_02 which is what will become 1.01. As others may be following this conversation, please report the outcome. P.S. Consider us nudged.
Subject: Re: [rt.cpan.org #105698] Net-DNS 1.01 conflicts with Net-DNS-SEC 0.22
Date: Wed, 29 Jul 2015 15:30:41 -0700
To: bug-Net-DNS [...] rt.cpan.org
From: David Evans <devans [...] macports.org>
On 7/27/15 2:21 AM, Dick Franks via RT wrote: Show quoted text
> Recommended action is to install Net::DNS::SEC 1.00_02 which is what > will become 1.01. As others may be following this conversation, please > report the outcome. P.S. Consider us nudged.
I can confirm that Net::DNS::SEC 1.00_02, when used with DNS:SEC 1.01, does fix the original issue posted here. Both modules build, test and install using MacPorts without problems. Looking forward to the 1.01 release.
From: rwfranks [...] acm.org
On Wed Jul 29 18:30:53 2015, devans@macports.org wrote: Show quoted text
> > I can confirm that Net::DNS::SEC 1.00_02, when used with DNS:SEC 1.01, > does fix the original issue posted here. Both modules build, test and > install using MacPorts without problems.
Thanks for doing that. Show quoted text
> Looking forward to the 1.01 release.
This should happen on 3rd Aug