[MacPorts] #65413: demeter @0.9.26 fails to build: library not found for -lgfortran

MacPorts noreply at macports.org
Thu Jun 30 12:43:45 UTC 2022


#65413: demeter @0.9.26 fails to build: library not found for -lgfortran
----------------------+-----------------------
  Reporter:  jmroot   |      Owner:  joefowler
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  demeter  |
----------------------+-----------------------

Comment (by cjones051073):

 Note though, libgcc/libgccX provides the runtime support under
 `/opt/local/lib/libgcc/` which is where ports should be looking for them.
 They should not be looking in areas like `/opt/local/lib/gcc11/gcc/x86_64
 -apple-darwin20/11.2.0`. These areas are a) only provided by the `gccX`
 ports, which are not intended to be needed by ports as a runtime dep, and
 also bakes the exact gcc version in to the path used, which is fragile as
 this can and does change on port updates.

 So it might also be that `demeter` needs to be educated to look for
 `libgfortran` in the correct location.

-- 
Ticket URL: <https://trac.macports.org/ticket/65413#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list