[lldb-dev] lldb test suite on macOS 10.13 (High Sierra)
Pavel Labath via lldb-dev
lldb-dev at lists.llvm.org
Wed Nov 15 07:17:05 PST 2017
Hello lldb-dev,
We've just updated our mac buildbot to 10.13.1 (from 10.10.x), and
we're having trouble with the lldb test suite. All of the tests are
failing with the following error:
/Users/lldb_build/lldbSlave/buildDir/llvm/tools/lldb/packages/Python/lldbsuite/test/crashinfo.c:15:10:
fatal error: 'Python/Python.h' file not found
#include <Python/Python.h>
^~~~~~~~~~~~~~~~~
1 error generated.
Traceback (most recent call last):
File "/Users/lldb_build/lldbSlave/buildDir/scripts/../llvm/tools/lldb/test/dotest.py",
line 7, in <module>
lldbsuite.test.run_suite()
File "/Users/lldb_build/lldbSlave/buildDir/llvm/tools/lldb/packages/Python/lldbsuite/test/dotest.py",
line 1120, in run_suite
configuration.setupCrashInfoHook()
File "/Users/lldb_build/lldbSlave/buildDir/llvm/tools/lldb/packages/Python/lldbsuite/test/configuration.py",
line 51, in setupCrashInfoHook
raise Exception('command failed: "{}"'.format(cmd))
Exception: command failed: "SDKROOT= xcrun clang
/Users/lldb_build/lldbSlave/buildDir/llvm/tools/lldb/packages/Python/lldbsuite/test/crashinfo.c
-o /Users/lldb_build/lldbSlave/buildDir/llvm/tools/lldb/packages/Python/lldbsuite/test/crashinfo.so
-framework Python -Xlinker -dylib"
It seems that this is happening because the buildbot is missing the
/System/Library/Frameworks/Python.framework/Headers symlink (this link
is present on my mac machine, which is still on 10.12). The rest of
the framework seems to be there (e.g. the file
/System/Library/Frameworks/Python.framework/Versions/Current/include/python2.7/Python.h
is present), just this symlink is missing. I cannot even create it
manually as System Integrity Protection will not let me do that.
Do you have any idea what went wrong?
thanks,
pl
PS: If it helps anything, the version reported by clang is:
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin17.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
More information about the lldb-dev
mailing list