[MacPorts] #71068: R build fails due to g95 dependency, despite specifying gcc

MacPorts noreply at macports.org
Mon Dec 23 03:38:29 UTC 2024


#71068: R build fails due to g95 dependency, despite specifying gcc
------------------------+--------------------
  Reporter:  klausness  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.2
Resolution:             |   Keywords:  R g95
      Port:  R          |
------------------------+--------------------

Comment (by JDLH):

 Me too! I just encountered this problem on macOS Sonoma 14.7.2, Darwin
 kernal 23.6, command-line-tools 16.2:
 {{{
 % uname -v
 Darwin Kernel Version 23.6.0: Fri Nov 15 15:13:15 PST 2024;
 root:xnu-10063.141.1.702.7~1/RELEASE_ARM64_T6000
 % pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | /usr/bin/grep
 "version"
 version: 16.2.0.0.1.1733547573
 }}}

 To echo the other James, Please can the port files be updated with the
 fix?

 Also, Replying to [comment:10 barracuda156]:
 >
 > I am not sure why everyone keeps installing a semi-broken Xcode 16 when
 the native Xcode 15 would have worked perfectly fine, but the fix for R it
 trivial: just change Darwin 23 to Darwin 22 in the code chunks I
 referenced above. So that gcc14 is used.
 > However, that gonna require building R stuff from source.
 >
 > MacPorts should have informed users to avoid Xcode 16 on Sonoma. And as
 long as buildbots use one Xcode and end-users use another, incompatible
 one, there is no general fix for the issue.

 The [https://guide.macports.org/#installing.xcode MacPorts Guide, section
 2.1. "Install Xcode"] says,
 > Note
 >
 > Always make sure to install the latest available version of Xcode for
 your macOS release; using outdated versions of Xcode may cause port
 install failures. Also note that Xcode … is updated via the Mac App Store
 starting with 10.7.

 The App Store encourages me to keep installing new versions of the apps it
 installs. Thus, it's not surprising that Sonoma users will have the latest
 version of XCode installed.

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


More information about the macports-tickets mailing list