[MacPorts] #63115: gcc11 is built for macOS 11.3 deployment target (was: R 4.1.0 does not configure on Big Sur M1)

MacPorts noreply at macports.org
Tue Jun 22 00:32:11 UTC 2021


#63115: gcc11 is built for macOS 11.3 deployment target
-----------------------+----------------------
  Reporter:  diekhans  |      Owner:  kjellpk
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  bigsur
      Port:  gcc11     |
-----------------------+----------------------
Changes (by ryandesign):

 * keywords:  arm64, bigsur => bigsur
 * cc: kencu (added)
 * port:  R => gcc11


Comment:

 The log shows:
 {{{
 ld: warning: dylib (/opt/local/lib/gcc11/libgfortran.dylib) was built for
 newer macOS version (11.3) than being linked (11.0)
 dyld: Library not loaded: @rpath/libgfortran.5.dylib
 }}}
 So gcc11 must've been built with macOS 11.3 and MacPorts 2.6.4, a version
 which incorrectly set the MACOSX_DEPLOYMENT_TARGET to 11.3 when it should
 have set it to 11.0. This bug was fixed in MacPorts 2.7.0. gcc11 and any
 other affected ports should be rebuilt, i.e. (perhaps in a conditional
 that applies only on macOS 11) their revision should be increased and a
 check should be added to the portfile to ensure that MacPorts >= 2.7.0 is
 being used.

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


More information about the macports-tickets mailing list