repairing broken port

Fielding, Eric J (329A) eric.j.fielding at
Tue Sep 26 13:56:36 UTC 2017


Thanks for the fast reply! I didn’t see anything in Trac about this, so I had guessed that I had done something wrong in my installation. From what you say, this is not a pilot error.


From: Marius Schamschula <lists at>
Date: Tuesday, September 26, 2017 at 6:47 AM
To: "Eric J. Fielding" <eric.j.fielding at>
Cc: "macports-users at" <macports-users at>
Subject: Re: repairing broken port


I looks like py-matplotlib-basemap needs a revision bump. If no one beats me to it, I should get around to this in the afternoon.

Marius Schamschula

On Sep 26, 2017, at 8:42 AM, Fielding, Eric J (329A) <eric.j.fielding at<mailto:eric.j.fielding at>> wrote:

I have a file that shows up as broken in the automatic scan of the port command:

--->  Scanning binaries for linking errors
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port:
     py27-matplotlib-basemap @1.0.7

I tried uninstalling and installing again “py27-matplotlib-basemap”, but that does not fix this file. I checked the file “” with “otool –L” and I see that it is linked to an obsolete version of the “libgeos” library (the installed version is libgeos-3.6.2.dylib):

% otool -L /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
                /opt/local/lib/libgeos_c.1.dylib (compatibility version 11.0.0, current version 11.0.0)
                /opt/local/lib/libgeos-3.5.0.dylib (compatibility version 0.0.0, current version 0.0.0)
                /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)

How do I get the “” to update correctly? Should I manually remove it to force MacPorts to rebuild it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list