#53796 closed defect (fixed)
Missing file in lldb-4.0?
Reported by: | ksze (Kal Sze) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | larryv (Lawrence Velázquez) | |
Port: | lldb-4.0 |
Description
- macOS Sierra 10.12.3
- MacPorts 2.4.1
At the end of installing lldb-4.0, I get this confusing message:
---> Installing lldb-4.0 @4.0.0_0 ---> Activating lldb-4.0 @4.0.0_0 Please follow the instructions in /opt/local/lldb-4.0/code-signing.txt and then codesign the debugserver with: sudo codesign --force --deep --preserve-metadata=identifier,entitlements,resource-rules,requirements,flags,team-identifier --sign <identity> /opt/local/libexec/llvm-4.0/bin/debugserver
However, this is no /opt/local/lldb-4.0/code-signing.txt
file:
$ less /opt/local/lldb-4.0/code-signing.txt /opt/local/lldb-4.0/code-signing.txt: No such file or directory
Change History (5)
comment:1 Changed 8 years ago by ksze (Kal Sze)
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Cc: | jeremyhu removed |
---|---|
Keywords: | missing-file removed |
Owner: | set to jeremyhu |
Status: | new → assigned |
comment:3 Changed 8 years ago by ksze (Kal Sze)
The last paragraph in the code-signing.txt
file also seems a bit confusing.
When you build your LLDB for the first time, the Xcode GUI will prompt you for permission to use the "lldb_codesign" keychain. Be sure to click "Always Allow" on your first build. From here on out, the "lldb_codesign" will be trusted and you can build from the command line without having to authorize. Also the first time you debug using a LLDB that was built with this code signing certificate, you will need to authenticate once.
What does it mean when it says "When you build your LLDB for the first time"?
Is that when I port install lldb-4.0
? But that just makes MacPorts fetch the prebuilt binary archive (lldb-4.0-4.0.0_0.darwin_16.x86_64.tbz2
). Nothing is built from scratch in the process and there is no Xcode GUI that prompts me for permission to use lldb_codesign.
Should I still run this?
sudo codesign --force --deep --preserve-metadata=identifier,entitlements,resource-rules,requirements,flags,team-identifier --sign <identity> /opt/local/libexec/llvm-4.0/bin/debugserver
Should I open a separate ticket?
comment:4 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Ignore the last paragraph as it isn't relevant to you. After creating your key, yes, you should sign the binary.
Note: See
TracTickets for help on using
tickets.
I'm *guessing* the message really means
/opt/local/share/doc/lldb-4.0/code-signing.txt
?