How do i find missing dependents using the port command?
Gerben Wierda
gerben.wierda at rna.nl
Tue Sep 28 16:24:55 UTC 2021
> On 28 Sep 2021, at 17:48, Bill Cole <macportsusers-20171215 at billmail.scconsult.com> wrote:
>
> On 2021-09-28 at 10:27:12 UTC-0400 (Tue, 28 Sep 2021 16:27:12 +0200)
> Gerben Wierda via macports-users <gerben.wierda at rna.nl>
> is rumored to have said:
>
>> [snip]
>>
>> What is the way to find this out using a port command?
>
> In principle, 'port rdeps <portname>' will show you a recursive tree of dependencies for any port. Also, 'port rdependents <portname>' will show you all ports that are dependents (recursively) of any *installed* port.
>
> In practice, those are sometimes not exactly correct, because they depend on port maintainers noticing dependencies and stating them in the Portfile. For example, the error message you showed implies that certbot depends on chardet indirectly via the acme package, but that is not reflected in the MacPorts dependency map. The Changelog for certbot indicates that this dependency was added upstream in v1.18.0 and removed in 1.19.0, so the current MacPorts dependency map is correct not to show it NOW, but for most of August, that dependency existed in the code but not in the Portfile.
So, the error appeared because I did the cleanup when that was the case. Quick fix: add py39-chardet and get certbot 1.18.0 working again. Real fix: update port definitions and then certbot (to 1.19.0)
(Have done the quick fix first because updating the tree and everything I am running requires proper attention)
Thanks,
Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A Enterprise Architecture <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210928/a27d53d0/attachment.htm>
More information about the macports-users
mailing list