[MacPorts] #61004: py38-sip +universal: fatal error: 'stdio.h' file not found

MacPorts noreply at macports.org
Sun Aug 16 19:15:11 UTC 2020


#61004: py38-sip +universal: fatal error: 'stdio.h' file not found
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  michaelld
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-sip
------------------------+-----------------------
 Building py38-sip with the +universal variant fails because it uses an
 invalid `-isysroot`:

 {{{
 :info:configure MacOS/X universal binaries will be created using
 :info:configure
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/.
 }}}

 {{{
 :info:build /usr/bin/clang -c -arch x86_64 -arch i386 -arch x86_64 -arch
 i386 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
 -Os -Wall -W -DNDEBUG -I. -o main.o main.c
 :info:build main.c:20:10: fatal error: 'stdio.h' file not found
 :info:build #include <stdio.h>
 :info:build          ^~~~~~~~~
 :info:build 1 error generated.
 }}}

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


More information about the macports-tickets mailing list