#41646: Python 3.3.3 upgrade staging error ----------------------------+------------------- Reporter: samuelandjw@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: python33 | ----------------------------+------------------- Comment (by nad@…): This is getting off-topic here since the problem doesn't seem to be in MacPorts itself. I'm sure others here know more about this than I do. But you could try simply compiling that one file that fails and see if you can isolate things. Copying and pasting from the log while adding a `-v` to the clang call: {{{ mkdir /tmp/test && cd /tmp/test curl -O http://hg.python.org/cpython/raw- file/v3.3.3/Mac/PythonLauncher/FileSettings.h curl -O http://hg.python.org/cpython/raw- file/v3.3.3/Mac/PythonLauncher/FileSettings.m rm -f ./FileSettings.o /usr/bin/clang -v -pipe -Os -arch x86_64 -Wno-unused-result -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -o FileSettings.o -c ./FileSettings.m }}} I get: {{{ ignoring nonexistent directory "/usr/local/include" #include "..." search starts here: #include <...> search starts here: /usr/bin/../lib/clang/5.0/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. }}} Hmm, do you have anything in `/usr/local/include`? Note that `FileSettings.h` does an `#import <Foundation/Foundation.h>`. I trace the chain of imports as: {{{ /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h 8:#import <Foundation/NSObjCRuntime.h> /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h 200:#import <objc/objc.h> /usr/include/objc/objc.h 33:#include <objc/objc-api.h> }}} Good luck! -- Ticket URL: <https://trac.macports.org/ticket/41646#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X