[MacPorts] #64928: upt @0.12: The package List::Util could not be found by frontend cpan
MacPorts
noreply at macports.org
Tue Apr 5 14:38:37 UTC 2022
#64928: upt @0.12: The package List::Util could not be found by frontend cpan
-------------------------+----------------------
Reporter: ryandesign | Owner: Korusuke
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: upt |
-------------------------+----------------------
Comment (by reneeotten):
Replying to [comment:1 ryandesign]:
> I think I've understood that "Config" and "charnames" are things bundled
with perl already so I don't need to worry about making ports for those.
So it's just List::Util and Test::More. But I don't understand why upt
says it can't find them when they're right there on metacpan. Is upt
looking at a different web site?
`upt` is looking at `https://fastapi.metacpan.org/v1/release/<name>`,
where `name` is the package name that has the `::` replaced by `-`. I'm by
no means a Perl expert, but it seems to me the issue here is that
`List::Utils` is not the actual package name, but a module provided by
`Scalar-List-Utils`; so that's likely what you'll need to package.
Regarding the varying error message - I cannot really remember anymore
from a few summers ago, but the recursive option might not be
deterministic (i.e., it appears to check the dependencies in a semi-random
order). One could look into that to find out if that's indeed true and fix
it.
--
Ticket URL: <https://trac.macports.org/ticket/64928#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list