<div dir="ltr">just a quick update, I moved on by commenting out the lines 40-42 in build/tools/lldb/scripts/cmake_install.cmake:<div><br></div><div><div>if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)</div><div>  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE DIRECTORY FILES "/opt/llvm/build/lib/python2.7")</div><div>endif()</div></div><div><br></div><div>Quack</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 July 2018 at 23:25, Quaquaraquà <span dir="ltr"><<a href="mailto:nuquaquaraqua@gmail.com" target="_blank">nuquaquaraqua@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>the target is built fine, with no warnings or other related
      messages. I tried to dig a bit, but I wasn't able to understand
      how it is supposed to be built . The only refs I've found are
      inside lldbUtility, protected by a guard on LLVM_BUILD_STATIC
      which does seem to be defined nowhere, and
      scripts/install_custom_python.<wbr>py which seems to be mostly
      concerning windows.</p>
    <p>Quack<br>
    </p><div><div class="h5">
    <br>
    <div class="m_5879321161688159603moz-cite-prefix">On 18/07/18 18:39, Ted Woodward wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div class="m_5879321161688159603WordSection1">
        <p class="MsoNormal"><span style="color:windowtext">It should be
            built by the “lldb” target. What does that do?<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><u></u> <u></u></span></p>
        <div>
          <p class="MsoNormal"><span style="color:windowtext">--<u></u><u></u></span></p>
          <p class="MsoNormal"><span style="color:windowtext">Qualcomm
              Innovation Center, Inc.<u></u><u></u></span></p>
          <p class="MsoNormal"><span style="color:windowtext">The
              Qualcomm Innovation Center, Inc. is a member of Code
              Aurora Forum, a Linux Foundation Collaborative Project<u></u><u></u></span></p>
        </div>
        <p class="MsoNormal"><span style="color:windowtext"><u></u> <u></u></span></p>
        <div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
          <div>
            <div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> lldb-dev
                  [<a class="m_5879321161688159603moz-txt-link-freetext" href="mailto:lldb-dev-bounces@lists.llvm.org" target="_blank">mailto:lldb-dev-bounces@<wbr>lists.llvm.org</a>] <b>On Behalf
                    Of </b>Quaquaraquà via lldb-dev<br>
                  <b>Sent:</b> Wednesday, July 18, 2018 11:29 AM<br>
                  <b>To:</b> <a class="m_5879321161688159603moz-txt-link-abbreviated" href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
                  <b>Subject:</b> Re: [lldb-dev] Cannot install from
                  source<u></u><u></u></span></p>
            </div>
          </div>
          <p class="MsoNormal"><u></u> <u></u></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">Indeed that
            folder is not present. Python 2.7 is installed and it is the
            default version of the system, I'm not changing its setting
            in the build.<u></u><u></u></p>
          <div>
            <p class="MsoNormal">On 18/07/18 18:19, Ted Woodward wrote:<u></u><u></u></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">When I do a build on Linux, in
              <build>/lib I see a directory called python2.7, with
              a subdirectory site-packages. Do you not see this?<u></u><u></u></p>
            <p class="MsoNormal"> <u></u><u></u></p>
            <p class="MsoNormal">Are you building with a different
              python version than 2.7.x?<u></u><u></u></p>
            <p class="MsoNormal"> <u></u><u></u></p>
            <p class="MsoNormal">--<u></u><u></u></p>
            <p class="MsoNormal">Qualcomm Innovation Center, Inc.<u></u><u></u></p>
            <p class="MsoNormal">The Qualcomm Innovation Center, Inc. is
              a member of Code Aurora Forum, a Linux Foundation
              Collaborative Project<u></u><u></u></p>
            <p class="MsoNormal"> <u></u><u></u></p>
            <div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
              <div>
                <div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
                  <p class="MsoNormal"><b>From:</b> lldb-dev [<a href="mailto:lldb-dev-bounces@lists.llvm.org" target="_blank">mailto:lldb-dev-bounces@<wbr>lists.llvm.org</a>]
                    <b>On Behalf Of </b>nu quaquaraqua via lldb-dev<br>
                    <b>Sent:</b> Wednesday, July 18, 2018 8:17 AM<br>
                    <b>To:</b> <a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
                    <b>Subject:</b> [lldb-dev] Cannot install from
                    source<u></u><u></u></p>
                </div>
              </div>
              <p class="MsoNormal"> <u></u><u></u></p>
              <div>
                <p class="MsoNormal">Dear folks,<u></u><u></u></p>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal">I am trying to build &
                    install LLVM, Clang and LLDB from source. Now the
                    build completes fine, while the target `install'
                    fails: <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal">-- Up-to-date:
                      /opt/llvm/6.0.1/include/lldb/<wbr>Host/Config.h<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">CMake Error at
                      tools/lldb/scripts/cmake_<wbr>install.cmake:41 (file):<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">  file INSTALL cannot find "/<span style="font-size:12.0pt;background:white">opt</span>/llvm/build/lib/python2.<wbr>7".<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">Call Stack (most recent call
                      first):<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"> 
                      tools/lldb/cmake_install.<wbr>cmake:51 (include)<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">  tools/cmake_install.cmake:49
                      (include)<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">  cmake_install.cmake:65
                      (include)<u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"> <u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal"> <u></u><u></u></p>
                  </div>
                  <div>
                    <p class="MsoNormal">make: *** [Makefile:140:
                      install] Error 1<u></u><u></u></p>
                  </div>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal">I am on branch `release 6.0', out
                    of source build, all the defaults with the exception
                    of the build type set to Release, custom prefix
                    path, and target to build X86. The system is a Linux
                    Fedora v28.<u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal">Suggestions on how to move on?
                    :-)<br>
                    <br>
                    Yours,<u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal">Quack<u></u><u></u></p>
                </div>
              </div>
            </div>
          </blockquote>
          <p class="MsoNormal"><u></u> <u></u></p>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>