<html>
    <head>
      <base href="https://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 --- - trivial (no options) CMake build fails"
   href="https://llvm.org/bugs/show_bug.cgi?id=23322">23322</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>trivial (no options) CMake build fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After checking out llvm, clang and lldb, the most basic CMake/Ninja build fails
as follows:

% mkdir build
% cd build
% cmake -GNinja ..
% ninja

...

[emaste@ref11-amd64 /scratch/tmp/emaste/llvm/build]$ ninja
[2/2] Python script sym-linking LLDB Python API
FAILED: cd /scratch/tmp/emaste/llvm/build/tools/lldb &&
/usr/local/bin/python2.7
/scratch/tmp/emaste/llvm/tools/lldb/scripts/finishSwigWrapperClasses.py
--buildConfig= --srcRoot=/scratch/tmp/emaste/llvm/tools/lldb
--targetDir=/scratch/tmp/emaste/llvm/build/tools/lldb/scripts
--cfgBldDir=/scratch/tmp/emaste/llvm/build/tools/lldb/scripts
--prefix=/scratch/tmp/emaste/llvm/build --cmakeBuildConfiguration=. -m
Program error: Invalid parameters entered, -h for help. 
You entered:
['--buildConfig=', '--srcRoot=/scratch/tmp/emaste/llvm/tools/lldb',
'--targetDir=/scratch/tmp/emaste/llvm/build/tools/lldb/scripts',
'--cfgBldDir=/scratch/tmp/emaste/llvm/build/tools/lldb/scripts',
'--prefix=/scratch/tmp/emaste/llvm/build', '--cmakeBuildConfiguration=.', '-m']
(-1)
ninja: build stopped: subcommand failed.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>