Warning: Error parsing file...

Richard L. Hamilton rlhamil at smart.net
Mon Jul 4 00:09:08 UTC 2022



> On Jul 3, 2022, at 6:38 PM, Michael Newman via macports-users <macports-users at lists.macports.org> wrote:
> 
> I recently had to reformat my boot drive, reinstall MacOS and restore from a CCC backup. After doing so I ran: 
> 
> sudo port -u upgrade outdated
> 
> And received many warnings like this:
> 
> --->  Scanning binaries for linking errors
> Warning: Error parsing file /opt/local/bin/msgcmp: Error opening or reading file
> Warning: Error parsing file /opt/local/bin/msgcomm: Error opening or reading file
> <snip>
> 
> What should I do about this?
> 
> Mike Newman
> Korat, Thailand
> 


port provides /opt/local/bin/msgcmp /opt/local/bin/msgcomm

will reveal that both files were provided by the port gettext.

So forcibly update the port

sudo port upgrade -n --force gettext

and that should fix those files. 



More information about the macports-users mailing list