[MacPorts] #56299: rb-cocoa: fatal error: 'string.h' file not found

MacPorts noreply at macports.org
Tue Jul 27 19:47:12 UTC 2021


#56299: rb-cocoa: fatal error: 'string.h' file not found
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  kimuraw
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  rb-cocoa    |
-------------------------+----------------------

Comment (by cooljeanius):

 Different error on Big Sur:
 {{{
 cc -O3 -I./include -DMACOSX -arch ppc -arch i386  -c src/types.c -o
 src/types.o
 In file included from src/types.c:26:
 In file included from ./include/ffi.h:83:
 In file included from
 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/limits.h:21:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/limits.h:63:
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/sys/cdefs.h:828:2:
 error: Unsupported architecture
 #error Unsupported architecture
  ^
 }}}
 (presumably from the `-arch ppc` flag)

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


More information about the macports-tickets mailing list