Understaning rleaves, rdepof

Richard L. Hamilton rlhamil at smart.net
Sat Jan 29 16:56:05 UTC 2022


I don't have dovecot installed on any macOS (I actually  have it on Solaris 11 on a T5240 (!) obtained via eBay, but not yet set up), so I can't re-create that.

But looking at the dovecot Portfile, it seems the dependency on apache-solr8 is specific to the +solr variant (which you have, to be sure). So assuming your installation isn't a bit confused somehow, maybe port isn't always smart about showing variant-specific dependencies.

That's just a guess, though; I'm not nearly good enough with Tcl to understand the "port" code in any reasonable amount of time.

You do have apache-solr8 installed, right? (it's also possible to get dependency information for ports not installed, i.e. I can do "port echo rdepof:dovecot" even though I don't have dovecot installed) 

> On Jan 29, 2022, at 10:52, Gerben Wierda <gerben.wierda at rna.nl> wrote:
> 
> Thank you. That solves a lot of the mystery. I did encounter a small mystery:
> 
> gerben at hermione ~ % port installed rdepof:dovecot 
> The following ports are currently installed:
>   autoconf @2.71_1 (active)
>   automake @1.16.5_0 (active)
>   bison @3.8.2_2 (active)
>   bison-runtime @3.8.2_0 (active)
>   bzip2 @1.0.8_0 (active)
>   flex @2.6.4_0 (active)
>   gettext @0.21_0 (active)
>   gettext-runtime @0.21_0 (active)
>   gettext-tools-libs @0.21_0 (active)
>   libiconv @1.16_1 (active)
>   libtextstyle @0.21_0 (active)
>   libtool @2.4.6_13 (active)
>   lz4 @1.9.3_1 (active)
>   m4 @1.4.19_1 (active)
>   ncurses @6.3_0 (active)
>   openssl @3_2 (active)
>   openssl3 @3.0.1_0+legacy (active)
>   pkgconfig @0.29.2_0 (active)
>   xz @5.2.5_0 (active)
>   zlib @1.2.11_0 (active)
> gerben at hermione ~ % port installed rdependentof:apache-solr8
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> 
> Or, it seems port knows apache-solr8 is requested by dovecot but not the other way around.
> 
> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
> R&A IT Strategy <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/>
> 
>> On 29 Jan 2022, at 14:31, Richard L. Hamilton <rlhamil at smart.net <mailto:rlhamil at smart.net>> wrote:
>> 
>> You're using it wrong. Try for example
>> 
>> port installed rdepends:xorg-libx11
>> 
>> Note the colon (no spaces) between depends and the port name. Same for depends, depof, rdepof, and others; see the port man page for details.
>> 
>>> On Jan 29, 2022, at 07:20, Gerben Wierda via macports-users <macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>> wrote:
>>> 
>>>> On 29 Jan 2022, at 11:45, Gerben Wierda via macports-users <macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>> wrote:
>>>> 
>>>> I was cleaning up MacPorts on one system prior to an OS upgrade, and I noticed
>>>> 
>>>> root at hermione LaunchDaemons # port list rleaves      
>>>> root at hermione LaunchDaemons # port list rdepof xorg-libX11
>>>> xorg-libX11                    @1.7.2          x11/xorg-libX11
>>>> 
>>>> Now, as I understand it rleaves are the ports that are in your landscape that have nothing that depends on it. Accoriding to port there are no such ports. So, the port xorg-libX11 should have some sort of a dependency. But all my attempts to find it come up empty.
>>>> 
>>>> Cleaning up MacPorts remains a mystery to me. 
>>> 
>>> Adding to my confusion:
>>> 
>>> albus:MacPortsDev sysbh$ port installed depof dovecot
>>> The following ports are currently installed:
>>>   dovecot @2.3.17_0+apns+solr (active)
>>> albus:MacPortsDev sysbh$ port installed rdepof dovecot
>>> The following ports are currently installed:
>>>   dovecot @2.3.17_0+apns+solr (active)
>>> albus:MacPortsDev sysbh$ port installed rdepends dovecot
>>> The following ports are currently installed:
>>>   dovecot @2.3.17_0+apns+solr (active)
>>> albus:MacPortsDev sysbh$ port installed dependentof dovecot
>>> The following ports are currently installed:
>>>   dovecot @2.3.17_0+apns+solr (active)
>>> albus:MacPortsDev sysbh$ port installed rdependentof dovecot
>>> The following ports are currently installed:
>>>   dovecot @2.3.17_0+apns+solr (active)
>>> 
>>> Same for postfix for instance. Now, whatever pseudo-portname I give, the answer is always only the port itself. That cannot be right.
>>> 
>>>> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
>>>> R&A IT Strategy <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/>
>> -- 
>> eMail:				mailto:rlhamil at smart.net <mailto:rlhamil at smart.net>
>> 
>> 
>> 
>> 
> 

-- 
eMail:				mailto:rlhamil at smart.net




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220129/6d1dfe79/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2814 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220129/6d1dfe79/attachment.bin>


More information about the macports-users mailing list