[MacPorts] #53796: Missing file in lldb-4.0?

MacPorts noreply at macports.org
Tue Mar 14 14:13:53 UTC 2017


#53796: Missing file in lldb-4.0?
-----------------------+----------------------
  Reporter:  ksze      |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.1
Resolution:            |   Keywords:
      Port:  lldb-4.0  |
-----------------------+----------------------

Comment (by ksze):

 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
 fetches 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?

--
Ticket URL: <https://trac.macports.org/ticket/53796#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list