[MacPorts] #53173: py-pyobjc: fails to build on 10.6, uses 10.7 SDK; stdarg.h: No such file or directory
MacPorts
noreply at macports.org
Wed Dec 28 18:40:43 CET 2016
#53173: py-pyobjc: fails to build on 10.6, uses 10.7 SDK; stdarg.h: No such file or
directory
-------------------------+-----------------------
Reporter: mojca | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard | Port: py-pyobjc
-------------------------+-----------------------
It looks suspicious that the build is trying to use the 10.7 SDK:
{{{
/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
i386
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m
-c Modules/objc/OC_NSBundleHack.m -o
build/temp.macosx-10.6-i386-3.6/Modules/objc/OC_NSBundleHack.o
-DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g
-fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W
-Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import
-Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-
src/powerpc -isysroot /Developer/SDKs/MacOSX10.7.sdk
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/Python.h:75,
from Modules/objc/pyobjc.h:11,
from Modules/objc/OC_NSBundleHack.m:1:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/bytearrayobject.h:9:20:
error: stdarg.h: No such file or directory
}}}
Here's the [https://build.macports.org/builders/ports-10.6_i386_legacy-
builder/builds/13135 full log].
--
Ticket URL: <https://trac.macports.org/ticket/53173>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list