[MacPorts] #63674: R @4.1.1 'recommended' set of packages does not build on MacOS 12.0.1 Monterey

MacPorts noreply at macports.org
Mon Oct 25 23:58:51 UTC 2021


#63674: R @4.1.1 'recommended' set of packages  does not build on MacOS 12.0.1
Monterey
------------------------------------+----------------------
 Reporter:  AP1010                  |      Owner:  (none)
     Type:  defect                  |     Status:  new
 Priority:  Normal                  |  Milestone:
Component:  ports                   |    Version:  2.7.1
 Keywords:  Monterey R recommended  |       Port:  R @4.1.1
------------------------------------+----------------------
 I am unable to build R on Monterey unless I specify `-recommended`.
 With `+recommended` (the default), the build fails with:


 {{{
 /opt/local/bin/clang-mp-13
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-4.1.1/include"
 -DNDEBUG   -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -fopenmp
 -fPIC  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64  -c mat.c -o mat.o
 In file included from magic.c:26:
 /opt/local/include/libomp/omp.h:483:39: error: expected 'match' clause on
 'omp declare variant' directive
     #pragma omp begin declare variant match(device={kind(host)})
  }}}
                                       ^

-- 
Ticket URL: <https://trac.macports.org/ticket/63674>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list