Skip Menu |

This queue is for tickets about the Shipwright CPAN distribution.

Report information
The Basics
Id: 54280
Status: resolved
Priority: 0/
Queue: Shipwright

People
Owner: Nobody in particular
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

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



Subject: dependencies on secondary modules in other dists not handled correctly
Two bugs, really. test case: shipwright create -r fs:foo; shipwright import -r fs:foo cpan:XML::SAX::Writer XML::SAX::Writer depends on XML::SAX::Exception, which is included in XML::SAX, and is not findable directly by CPAN. XML::SAX::Writer is installable via CPAN, however, because it depends on XML::Filter::BufferText, which pulls in XML::SAX::Base, which pulls in XML::SAX::Exception, thus satisfying the dependency. So, you would think that adding a direct installation of XML::SAX (which includes the Exception module) would fix things. shipwright create -r fs:foo; shipwright import -r fs:foo cpan:XML::SAX::Base; shipwright import -r fs:foo cpan:XML::SAX::Writer; However, the presence of XML::SAX::Exception in the local repos is not recognized by Shipwright. So, 1.) direct installation of XML::SAX::Writer does not work, and 2.) even installing the necessary module directly beforehand doesn't work (maybe because its presence isn't being recorded in the map.yml?)
ahh, the problem is caused by XML::SAX::Exception, which is an "UNAUTHORIZED RELEASE". you can safely --skip XML::SAX::Exception to do the import, it's the right way to handle this situation. On Wed Feb 03 19:39:13 2010, rbuels wrote: Show quoted text
> Two bugs, really. > test case: > > shipwright create -r fs:foo; > shipwright import -r fs:foo cpan:XML::SAX::Writer > > XML::SAX::Writer depends on XML::SAX::Exception, which is included in > XML::SAX, and is not findable directly by CPAN. > > XML::SAX::Writer is installable via CPAN, however, because it depends on > XML::Filter::BufferText, which pulls in XML::SAX::Base, which pulls in > XML::SAX::Exception, thus satisfying the dependency. > > So, you would think that adding a direct installation of XML::SAX (which > includes the Exception module) would fix things. > > shipwright create -r fs:foo; > shipwright import -r fs:foo cpan:XML::SAX::Base; > shipwright import -r fs:foo cpan:XML::SAX::Writer; > > However, the presence of XML::SAX::Exception in the local repos is not > recognized by Shipwright. > > So, 1.) direct installation of XML::SAX::Writer does not work, and 2.) > even installing the necessary module directly beforehand doesn't work > (maybe because its presence isn't being recorded in the map.yml?) >