<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - lldb fails to configure when signing adhoc"
   href="https://bugs.llvm.org/show_bug.cgi?id=42514">42514</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb fails to configure when signing adhoc
          </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>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeremyhu@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In MacPorts, we build lldb using -DLLDB_CODESIGN_IDENTITY=- and have our users
sign it themselves after it is installed.

With the update to r365158, lldb is failing to configure with:

-- lldb debugserver:
/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_macports-ports_lang_llvm-devel/lldb-devel/work/build/./bin/debugserver
CMake Error at tools/lldb/tools/debugserver/source/CMakeLists.txt:155
(message):
  Certificate for debugserver not found.  Run scripts/macos-setup-codesign.sh
  or use the system debugserver passing -DLLDB_USE_SYSTEM_DEBUGSERVER=ON to
  CMake

This regressed in:

commit cb1c23cd40cea52c0816004dfa4fe1f81ce93deb
Author: Davide Italiano <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>>
Date:   Tue Jun 25 17:13:24 2019 +0000

    [CMake] Check that a certificate for lldb is present at build time.

    Reviewers: JDevlieghere, sgraenitz, aprantl, friss

    Subscribers: mgorny, lldb-commits

    Tags: #lldb

    Differential Revision: <a href="https://reviews.llvm.org/D63745">https://reviews.llvm.org/D63745</a>

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/lldb/trunk@364334">https://llvm.org/svn/llvm-project/lldb/trunk@364334</a>
91177308-0d34-0410-b5e6-96231b3b80d8


The check added there needs to take adhoc signing into consideration.</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>