Ronald Oussoren added the comment: Also the compiler invocations looks fine:
for the main build: ... clang -c -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-unused-value -Wno-empty-body -Qunused-arguments -I. -IInclude -I../Include -I/opt/python2.7/include/python2.7 -DPy_BUILD_CORE -o Python/_warnings.o ../Python/_warnings.c ... And for an extension: clang -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-unused-value -Wno-empty-body -Qunused-arguments -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/Users/ronald/Projects/python/rw/default/Modules/expat -I../Include -I. -IInclude -I/opt/python2.7/include/python2.7 -I/usr/local/include -I/Users/ronald/Projects/python/rw/default/Include -I/Users/ronald/Projects/python/rw/default/build2 -c /Users/ronald/Projects/python/rw/default/Modules/_elementtree.c -o build/temp.macosx-10.8-x86_64-3.4/Users/ronald/Projects/python/rw/default/Modules/_elementtree.o (Both should be a single line, not sure of that survives copy&paste) Both with -I/opt/python2.7/include and -I/opt/python2.7/include/python2.7 the build works correctly, and test_build_ext passes without problems. I have no idea why this failed on Brett's machine :-( ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18136> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com