"port upgrade" error message usability

Julien Salort listes at salort.eu
Sun Jan 30 15:16:12 UTC 2022

Le 30/01/2022 à 10:30, Andrew Janke a écrit :

> I'm the primary maintainer for Octave.app (https://octave-app.org/), a 
> "native Mac app" distribution of GNU Octave 
> (https://www.gnu.org/software/octave/index), and I'm getting more in 
> to MacPorts recently because Octave.app is currently built on Homebrew 
> and I'm considering migrating it to MacPorts, because I want to 
> continue supporting macOS 10.14 with it. (10.15+ breaks some apps, so 
> I want to be able to support the diehards (like me) who are sticking 
> with 10.14).) 

That's very interesting. Maybe you will be able to help fix the Octave port.

I haven't been able to install it on Monterey. It seems to be a linking 
problem, but the Octave Portfile is too complex for me to try and fix 
it. There are open tickets for this issue, which have been opened for 
nearly a year:


also for arm64:


The log says:

:info:destroot dyld[24113]: Library not loaded: @rpath/libgfortran.5.dylib
:info:destroot   Referenced from: 
:info:destroot   Reason: tried: 
(no such file), 
(no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), 
'/usr/lib/libgfortran.5.dylib' (no such file)
:info:destroot Command failed: ./run-octave -cli -q -f -H --eval 'try; 
pkg prefix 
pkg global_list 
pkg -verbose -global rebuild; disp(lasterror.message); catch; exit(1); 

Someone proposed a workaround by manually changing to the actual path, 
and it seems to work. If someone could explain clearly what this @rpath 
thing actually is, and if there is a way to fix it globally, I would be 
interested to know.


More information about the macports-dev mailing list