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@lists.llvm.org
          Reporter: jerem...@apple.com
                CC: jdevliegh...@apple.com, llvm-b...@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 <dav...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to