<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, May 26, 2016 at 12:07 AM Sylvestre Ledru <<a href="mailto:sylvestre@debian.org">sylvestre@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<div>Le 09/05/2016 à 16:59, Paweł Bylica a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">On Mon, May 9, 2016 at 4:46 PM Sylvestre Ledru
<<a href="mailto:sylvestre@debian.org" target="_blank">sylvestre@debian.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le
09/05/2016 à 07:34, Paweł Bylica a écrit :<br>
> llvm-3.8-dev is broken:<br>
><br>
> CMake Error at
/usr/share/llvm-3.8/cmake/LLVMConfig.cmake:178 (include):<br>
> include could not find load file:<br>
><br>
> /usr/share/llvm/cmake/LLVMExports.cmake<br>
Brad King helped me and it should be fixed in the next few
days/weeks.<br>
</blockquote>
<div><br>
</div>
<div>Will the fix be included in the next build?</div>
</div>
</div>
</blockquote></div><div bgcolor="#FFFFFF" text="#000000">
It should be included now.</div></blockquote><div><br></div><div>Sorry to inform about that but the packages are in worse condition than before:</div><div><ol><li>Firstly, the cmake shared files have been moved from /usr/share/llvm/cmake to /usr/lib/llvm-3.8/share/llvm/cmake. The previous location was searched by cmake by default so cmake was able to find LLVM package without any additional help.</li><li>The cmake shared files refers at least one non-existing/not-installed libraries:<br></li></ol><div><div> CMake Error at /usr/lib/llvm-3.8/share/llvm/cmake/LLVMExports.cmake:1034 (message):</div><div> The imported target "PollyISL" references the file</div><div> </div><div> "/usr/lib/llvm-3.8/lib/libPollyISL.a"</div><div> </div><div> but this file does not exist. Possible reasons include:</div><div> </div><div> * The file was deleted, renamed, or moved to another location.</div><div> </div><div> * An install or uninstall procedure did not complete successfully.</div><div> </div><div> * The installation package was faulty and contained</div><div> </div><div> "/usr/lib/llvm-3.8/share/llvm/cmake/LLVMExports.cmake"</div><div> </div><div> but not all the files it references.</div><div> </div><div> Call Stack (most recent call first):</div><div> /usr/lib/llvm-3.8/share/llvm/cmake/LLVMConfig.cmake:173 (include)</div><div> CMakeLists.txt:30 (find_package)</div></div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> llvm-3.7-dev is ok.<br>
><br>
> Why is it so error prone for so many years?<br>
Because the migration from autotool to cmake wasn't trivial,
because it<br>
wasn't part of my priorities.<br>
Thanks to Andrew's work, we moved to cmake, it is normal
that we are<br>
experiencing difficulties.<br>
Anyway, help is welcome: I am no cmake expert.<br>
</blockquote>
<div><br>
</div>
<div>I'm happy to help. But I'm not Debian packaging expert.
Can you provide some information how to build and test the
packages locally (preferably add that information to <a href="http://llvm.org/apt/" target="_blank"></a><a href="http://llvm.org/apt/" target="_blank">http://llvm.org/apt/</a>)?</div>
</div>
</div>
</blockquote></div><div bgcolor="#FFFFFF" text="#000000">
Pablo wrote some great documentation on how to build the packages:<br>
<a href="http://llvm.org/apt/building-pkgs.html" target="_blank">http://llvm.org/apt/building-pkgs.html</a><br>
<br>
Cheers,<br>
Sylvestre<br>
<br>
</div>
</blockquote></div></div>