<html>
<head>
<base href="https://bugs.freedesktop.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 - Meson build (ninja) loops infinitely when --native-file is used to specify llvm version"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111121">111121</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Meson build (ninja) loops infinitely when --native-file is used to specify llvm version
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>shtetldik@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Recently, Mesa master build started behaving weirdly for me, when I specify
llvm config explicitly using --native-file option for Meson.
The way I do it is like this:
local native_config
local llvm_ver=9
read -r -d '' native_config <<EOF
[binaries]
llvm-config = "/usr/bin/llvm-config-${llvm_ver}"
EOF
...
LC_ALL=C.UTF-8 meson "$src_dir" \
...
--native-file=<(echo "$native_config") \
...
It used to work fine until now, but now it configures OK, but when I run:
LC_ALL=C.UTF-8 ninja
It starts looping without end, always doing:
[0/1] Regenerating build files.
Is it a ninja bug or I'm doing something wrong?
That's what I have for meson/ninja (from Debian testing):
meson --version
0.51.1
ninja --version
1.8.2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>