Subject: | Circular dependency between Astro-FITS-Header and Starlink-AST |
Date: | Tue, 13 Jun 2017 11:19:11 -0500 |
To: | bug-Astro-FITS-Header [...] rt.cpan.org |
From: | John Marino <draco [...] marino.st> |
Using the machine readable meta.json files to build a dependency tree,
and considering "recommends" as full requirements, my program discovered
a circular dependency between Astro-FITS-Header and Starlink-AST.
except of Astro-FITS-Header-3.07/META.json (prereqs):
"runtime" : {
"recommends" : {
"Astro::FITS::CFITSIO" : "0",
"Starlink::AST" : "0"
}
}
except of Starlink-AST-1.05/META.json (prereqs):
"runtime" : {
"recommends" : {
"Astro::FITS::CFITSIO" : "0",
"Astro::FITS::Header" : "0",
"Tk" : "0",
"Tk::Zinc" : "0"
}
}
so the meta.json files say that Astro::FITS::Header needs Starlink::AST to run and that Starlink::AST needs Astro::FITS::Header to run. This kind of circular dependency is impossible to resolve when runtime dependencies are required to be in place before building starts. Surely this is error of the Astro-FITS-Header meta.json file?
Regards,
John