Dovecot will not compile (Sonoma 14.7.5, MacPorts 2.10.7, Intel). cstddef.h not found.

Gerben Wierda gerben.wierda at rna.nl
Wed Jun 25 19:29:25 UTC 2025


My understanding is that reclaim does only remove unused stuff.

At some point I have many versions of python on my systems, and not only that different systems had ports that were using different versions of supporting ports (like python 3.9 versus 3.10). As these were ‘used’ they are not removed by reclaim.

So, the only way to get a fully clean (no ports installed at all) MacPorts is

sudo port -f uninstall installed
sudo port -N reclaim

After which you can reinstall your ports. A port that used to rely on python 3.9 gets freshly configured to use 3.10, where simply updating the port keeps the old choice in place.

G


> On 25 Jun 2025, at 19:53, Saj Goonatilleke <sg at redu.cx> wrote:
> 
> (Sorry, I know this is not your actual question, and that your actual question was already answered by jmr...)
> 
> On Thu, 26 Jun 2025, at 01:57, Gerben Wierda wrote:
>> When I update my MacPorts collection, I use a script that cleans 
>> MacPorts, then installs everything anew. That way, if for instance a 
>> port switches by  default from, say one version to another version of 
>> something it needs (say python) my port doesn’t keep the old version of 
>> that support (like python) around needlessly.
> 
> Is this not what 'port reclaim' does?
> (without needing to install everything anew)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250625/6b7bb654/attachment.htm>


More information about the macports-users mailing list