[MacPorts] #69586: R build fails

MacPorts noreply at macports.org
Mon Mar 25 19:21:12 UTC 2024


#69586: R build fails
---------------------------+--------------------
  Reporter:  ShadSterling  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+--------------------

Comment (by barracuda156):

 I think this is the problem:
 {{{
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libgcc/libgfortran.5.dylib': found architecture 'arm64',
 required architecture 'x86_64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libgcc/libquadmath.0.dylib': found architecture 'arm64',
 required architecture 'x86_64'
 }}}

 Why is gcc built for arm64?
 If you did not change `macports.conf` manually and did not pass
 `build_arch` on command line explicitly, this may be a bug in gcc port or
 something related. It is not related to `R`.

 You could do something like (assuming you want to have a build for x86_64
 from source):
 {{{
 sudo port -v -n -s upgrade --force libgcc13 build_arch="x86_64"
 }}}

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


More information about the macports-tickets mailing list