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

MacPorts noreply at macports.org
Wed Oct 9 02:50:11 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 barracuda156):

 Replying to [comment:2 jmroot]:
 > Why is a good question, but the dependency is definitely there.
 > macOS 14.7 x86_64, Xcode + CLTs 16.0:
 > {{{
 > % port deps R
 > Full Name: R @4.4.1_3+aqua+builtin_lapack+cairo+g95+openmp+tcltk+x11
 > Build Dependencies:   pkgconfig, g95, clang-16
 > Library Dependencies: bzip2, curl, gnutar, gzip, icu, ld64, less,
 libiconv,
 >                       libjpeg-turbo, libpng, pcre, pcre2, readline,
 texinfo,
 >                       tiff, unzip, xz, zip, zlib, cairo, pango, glib2,
 freetype,
 >                       fontconfig, gettext-runtime, tcl, tk, xorg-libice,
 >                       xorg-libsm, xorg-libX11, xorg-libXt, libomp
 > Runtime Dependencies: clang-16
 > }}}

 Looks like whoever was handling Xcode 16 bug, blacklisted gcc13 for it,
 but did not set the correct alternative, so MacPorts for some reason falls
 back to a pre-historic g95.

 I use Xcode 15 on Sonoma, and as you can see, +gcc13 is correctly picked.

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


More information about the macports-tickets mailing list