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?)