[MacPorts] #66332: R @4.2.2_1: error when trying to install.packages possibly due to port/rpath configuration

MacPorts noreply at macports.org
Wed Nov 23 13:28:13 UTC 2022


#66332: R @4.2.2_1: error when trying to install.packages possibly due to
port/rpath configuration
---------------------------+--------------------
  Reporter:  MarcKaufmann  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+--------------------

Comment (by kencu):

 Oh, I see it. It is here in the Portfile... this is wrong:
 {{{
 # See https://trac.macports.org/ticket/64204 for more info
 # Remove after gcc has been fixed for arm
 if {${os.arch} eq "arm"} {
     configure.ldflags-append -Wl,-rpath ${prefix}/lib/libgcc
 }

 }}}

 and it needs to be this:
 {{{
 # See https://trac.macports.org/ticket/64204 for more info
 # Remove after gcc has been fixed for arm
 if {${os.arch} eq "arm"} {
     configure.ldflags-append -Wl,-rpath,${prefix}/lib/libgcc
 }
 }}}

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


More information about the macports-tickets mailing list