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 jeremyhu@apple.com
CC jdevlieghere@apple.com, llvm-bugs@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@freebsd.org](mailto:davide@freebsd.org)>
[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](https://reviews.llvm.org/D63745)
git-svn-id: [https://llvm.org/svn/llvm-project/lldb/trunk@364334](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.