<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - lit: unable to parse tools/lldb/lit/lit.cfg"
href="https://bugs.llvm.org/show_bug.cgi?id=36997">36997</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lit: unable to parse tools/lldb/lit/lit.cfg
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matthias.krueger@famsik.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Hi, I'm trying to run a "check-all" but lit crashes due to broken lldb lit
config:
[ 90%/10/1/11,17.496] Running all regression tests
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/llvm/config.py:334:
note: using clang: /home/matthias/LLVM/LLVM_dev/stage_3_tests/objects/bin/clang
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/llvm/config.py:334:
note: using clang: /home/matthias/LLVM/LLVM_dev/stage_3_tests/objects/bin/clang
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/TestingConfig.py:101:
fatal: unable to parse config file
'/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/tools/lldb/lit/lit.cfg',
traceback: Traceback (most recent call last):
File
"/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/TestingConfig.py",
line 88, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File
"/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/tools/lldb/lit/lit.cfg", line
125, in <module>
if re.match(r'icc', config.cc):
File "/usr/lib/python2.7/re.py", line 141, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
FAILED: CMakeFiles/check-all
I have python 2.7.14 installed (also regex module 2018.02.21-1)
This is my build script:
<a href="https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh#L361">https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh#L361</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>