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

MacPorts noreply at macports.org
Thu Jun 30 07:05:04 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:
 Keywords:          |       Port:  demeter
--------------------+-----------------------
 Example: https://build.macports.org/builders/ports-
 11_x86_64-builder/builds/77193

 It's using`-L/opt/local/lib/gcc11/gcc/x86_64-apple-darwin20/11.2.0
 -L/opt/local/lib/gcc11/gcc/x86_64-apple-darwin20/11.2.0/../../..` which I
 guess are directories installed by gcc11? There's no (direct) dependency
 however. It may be getting the flags from ifeffit?

 Needing to depend on gcc just to link against libfgortran doesn't seem
 ideal, nor does having to match the gcc variant of ifeffit. Not sure how
 the build system is supposed to figure out the right link flags for
 libgcc11 though?

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


More information about the macports-tickets mailing list