[MacPorts] #64204: R: 4.1.2 fails to build on macOS 12.0.1 on M1 mac

MacPorts noreply at macports.org
Mon May 30 21:33:22 UTC 2022


#64204: R: 4.1.2 fails to build on macOS 12.0.1 on M1 mac
-----------------------+------------------------
  Reporter:  colmconn  |      Owner:  i0ntempest
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:  fixed     |   Keywords:  arm64
      Port:  R         |
-----------------------+------------------------

Comment (by kencu):

 Iain's latest fixes look good to me:
 {{{
 % gfortran-mp-11 hello.f90

 % ./a.out
  Hello World!

 % otool -L a.out
 a.out:
         @rpath/libgfortran.5.dylib (compatibility version 6.0.0, current
 version 6.0.0)
         @rpath/libgcc_s.1.1.dylib (compatibility version 1.0.0, current
 version 1.1.0)
         @rpath/libquadmath.0.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1311.100.3)

 % otool -l a.out | grep LC_RPATH -A 2
           cmd LC_RPATH
       cmdsize 40
          path /opt/local/lib/libgcc (offset 12)
 --
           cmd LC_RPATH
       cmdsize 32
          path @loader_path (offset 12)
 --
           cmd LC_RPATH
       cmdsize 72
          path /opt/local/lib/gcc11/gcc/x86_64-apple-darwin21/11.3.0
 (offset 12)
 --
           cmd LC_RPATH
       cmdsize 40
          path /opt/local/lib/gcc11 (offset 12)

 }}}

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


More information about the macports-tickets mailing list