[MacPorts] #66453: R: incorrect info re compiler in the portfile

MacPorts noreply at macports.org
Mon Dec 12 11:31:09 UTC 2022

#66453: R: incorrect info re compiler in the portfile
 Reporter:  barracuda156  |      Owner:  i0ntempest
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:                |       Port:  R
 The portfile has:

 # Note: gcc cannot be used for the C compiler. It will give:
 #:info:build In file included from /usr/include/dispatch/dispatch.h:51:0,
 #:info:build                  from
 #:info:build                  from
 #:info:build                  from langprefs.c:30:
 #:info:build /usr/include/dispatch/object.h:143:15: error: expected
 identifier or '(' before '^' token
 #:info:build  typedef void (^dispatch_block_t)(void);
 #:info:build                ^
 #:info:build /usr/include/dispatch/object.h:362:3: error: unknown type
 name 'dispatch_block_t'
 #:info:build    dispatch_block_t notification_block);
 #:info:build    ^
 # However, use of compiler.blacklist *gcc* would remove the GCC Fortran
 compilers too.

 This may be true for some versions of macOS, but this is false in general.
 GCC certainly ''can'' be used as the C compiler with R.

 P. S. Also I wonder, why no `universal` for R?

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

More information about the macports-tickets mailing list