[lldb-dev] [Bug 42514] New: lldb fails to configure when signing adhoc

via lldb-dev lldb-dev at lists.llvm.org
Thu Jul 4 20:06:39 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42514

            Bug ID: 42514
           Summary: lldb fails to configure when signing adhoc
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: jeremyhu at apple.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

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 <davide at freebsd.org>
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: https://reviews.llvm.org/D63745

    git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@364334
91177308-0d34-0410-b5e6-96231b3b80d8


The check added there needs to take adhoc signing into consideration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190705/e474fab7/attachment.html>


More information about the lldb-dev mailing list