<div dir="ltr">LLDBWrapPython.cpp is a generated file. It's normal that the file doesn't exist if you're doing a clean build.  But it's unusual that it's calling <span style="font-family:arial,sans-serif;font-size:13px">"/home/mg11/src/p4play/build/</span><u style="font-family:arial,sans-serif;font-size:13px"></u><span style="font-family:arial,sans-serif;font-size:13px">t</span><span style="font-family:arial,sans-serif;font-size:13px">ools/lldb/scripts/</span><u style="font-family:arial,sans-serif;font-size:13px"></u><span style="font-family:arial,sans-serif;font-size:13px">LLDBWrapPyth</span><span style="font-family:arial,sans-serif;font-size:13px">on.cpp" a *target*, and not a file.  I'm also not sure why I've never seen this message before, maybe it's platform specific?  Still, my first thought is that there's a bug in the CMake, because that shouldn't be a target, it should be a file, which is generated when building some other target.  Either way, I would suggest just trying to debug the CMake a little.  Find the target that supposedly generates that file, then find the place where add_dependency is called.  Make sure that the dependency is specifying the target and not the file.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 21, 2014 at 3:41 AM, Matthew Gardiner <span dir="ltr"><<a href="mailto:mg11@csr.com" target="_blank">mg11@csr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks<br>
<br>
I've been having trying to get the lldb python tests working. My setup is linux Fedora Core 20 64 bit. I tried to follow some of Todd Fiala's troubleshooting tips earlier using the autoconf/make route, and I got bogged down with some faults (see [lldb-dev] Problems running the lldb tests on Fedora Core 20 - 64bit (email originally titled "Add kalimba as a platform.").<br>

<br>
So I thought I'd try the cmake/ninja route and see if things are different. I invoked cmake as follows:<br>
<br>
$ cmake ../llvm/ -G Ninja -DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_CXX1Y=ON -DCMAKE_BUILD_TYPE="Debug"<br>
<br>
<br>
However then I see the following diagnostic from cmake:<br>
<br>
-- Configuring done<br>
CMake Warning (dev) at tools/lldb/source/CMakeLists.<u></u>txt:297 (add_dependencies):<br>
  Policy CMP0046 is not set: Error on non-existent dependency in<br>
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.<br>
  Use the cmake_policy command to set the policy and suppress this warning.<br>
<br>
  The dependency target<br>
  "/home/mg11/src/p4play/build/<u></u>tools/lldb/scripts/<u></u>LLDBWrapPython.cpp" of<br>
  target "liblldb" does not exist.<br>
This warning is for project developers.  Use -Wno-dev to suppress it.<br>
<br>
-- Generating done<br>
-- Build files have been written to: /home/mg11/src/p4play/build<br>
<br>
So should I be alarmed by<br>
<br>
"<br>
  The dependency target<br>
  "/home/mg11/src/p4play/build/<u></u>tools/lldb/scripts/<u></u>LLDBWrapPython.cpp" of<br>
  target "liblldb" does not exist.<br>
"<br>
<br>
?<br>
<br>
What does this mean?<br>
<br>
thanks<br>
Matt<br>
<br>
<br>
<br>
<br>
<br>
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom<br>

More information can be found at <a href="http://www.csr.com" target="_blank">www.csr.com</a>. Keep up to date with CSR on our technical blog, <a href="http://www.csr.com/blog" target="_blank">www.csr.com/blog</a>, CSR people blog, <a href="http://www.csr.com/people" target="_blank">www.csr.com/people</a>, YouTube, <a href="http://www.youtube.com/user/CSRplc" target="_blank">www.youtube.com/user/CSRplc</a>, Facebook, <a href="http://www.facebook.com/pages/CSR/191038434253534" target="_blank">www.facebook.com/pages/CSR/<u></u>191038434253534</a>, or follow us on Twitter at <a href="http://www.twitter.com/CSR_plc" target="_blank">www.twitter.com/CSR_plc</a>.<br>

New for 2014, you can now access the wide range of products powered by aptX at <a href="http://www.aptx.com" target="_blank">www.aptx.com</a>.<br>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div><br></div>