<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - libxml2 cache entries pass test when invalid"
href="http://llvm.org/bugs/show_bug.cgi?id=19525">19525</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libxml2 cache entries pass test when invalid
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emanuelecestari@yahoo.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When building with all the 5 repos + lldb I noticed that if I set the cache
entries
[ code ]
LIBXML2_INCLUDE_DIR:PATH="/opt/lib64/libxml2/2.9.1/include/libxml2"
LIBXML2_LIBRARIES:PATH="/opt/lib64/libxml2/2.9.1/lib"
LIBXML2_XMLLINT_EXECUTABLE:FILEPATH="/opt/lib64/libxml2/2.9.1/bin/xmllint"
[ /code ]
the cmake test for libxml2 is ok but the target c-index-test it's being dropped
even if cmake itself says that the target can only link to a "real" library
[ code ]
WARNING: Target "c-index-test" requests linking to directory
"/opt/lib64/libxml2/2.9.1/lib". Targets may link only to libraries. CMake is
dropping the item.
[ /code ]
So there is clearly something wrong with the test for libxml2 and it's probably
something inside the lldb repository since this project requires libxml2
explicitly. Of course with
[ code ]
LIBXML2_INCLUDE_DIR:PATH="/opt/lib64/libxml2/2.9.1/include/libxml2"
LIBXML2_LIBRARIES:PATH="/opt/lib64/libxml2/2.9.1/lib/libxml2.so"
LIBXML2_XMLLINT_EXECUTABLE:FILEPATH="/opt/lib64/libxml2/2.9.1/bin/xmllint"
[ /code ]
Everything is ok and cmake says "the test is passed and c-index-test is being
kept" but this is to prove that the "cmake test" for this library serves no
purpose at all.
-----
this is about the r206684 from the svn trunk, I also posted my configuration
and softwares used in a dedicated discussion on llvm-dev here
<a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-April/072312.html">http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-April/072312.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>