[MacPorts] #45251: request for lldb

MacPorts noreply at macports.org
Thu Sep 1 01:51:02 PDT 2016


#45251: request for lldb
--------------------------+----------------------
  Reporter:  rjvbertin@…  |      Owner:  larryv@…
      Type:  request      |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  lldb         |
--------------------------+----------------------

Comment (by rjvbertin@…):

 Either way, the existing codesigning instructions in the buildsystem do
 not appear to work through `port build`:

 {{{
 > port -nvok build lldb-3.8
 ...
 cd /opt/local/var/macports/build/_opt_local_site-
 ports_lang_llvm-3.8/lldb-3.8/work/build/tools/lldb/tools/debugserver/source/MacOSX
 && /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/debugserver.dir/link.txt --verbose=ON
 /opt/local/bin/clang++-mp-3.7   -O3 -march=native -std=c++11 -DNDEBUG
 -stdlib=libc++  -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-
 parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
 -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
 -Wdelete-non-virtual-dtor -std=c++11 -Wno-deprecated-declarations -Wno-
 unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-
 extension  -fno-exceptions -fno-rtti -Wno-gnu-zero-variadic-macro-
 arguments -Wno-zero-length-array -Wno-extended-offsetof -arch x86_64
 -mmacosx-version-min=10.9 -Wl,-search_paths_first
 -Wl,-headerpad_max_install_names  -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-rpath, at loader_path
 -Wl,-rpath, at loader_path/ -stdlib=libc++
 -Wl,-sectcreate,__TEXT,__info_plist,/opt/local/var/macports/build
 /_opt_local_site-
 ports_lang_llvm-3.8/lldb-3.8/work/llvm-3.8.1.src/tools/lldb/tools/debugserver/source/../resources
 /lldb-debugserver-Info.plist  -Wl,-dead_strip
 CMakeFiles/debugserver.dir/HasAVX.s.o
 CMakeFiles/debugserver.dir/CFBundle.cpp.o
 CMakeFiles/debugserver.dir/CFData.cpp.o
 CMakeFiles/debugserver.dir/CFString.cpp.o
 CMakeFiles/debugserver.dir/Genealogy.cpp.o
 CMakeFiles/debugserver.dir/MachException.cpp.o
 CMakeFiles/debugserver.dir/MachProcess.mm.o
 CMakeFiles/debugserver.dir/MachTask.mm.o
 CMakeFiles/debugserver.dir/MachThread.cpp.o
 CMakeFiles/debugserver.dir/MachThreadList.cpp.o
 CMakeFiles/debugserver.dir/MachVMMemory.cpp.o
 CMakeFiles/debugserver.dir/MachVMRegion.cpp.o
 CMakeFiles/debugserver.dir/mach_excServer.c.o
 CMakeFiles/debugserver.dir/mach_excUser.c.o
 CMakeFiles/debugserver.dir/debugserver_vers.c.o  -o
 ../../../../../../bin/debugserver
 ../../../../../../lib/liblldbDebugserverCommon.a
 ../../../../../../lib/liblldbUtility.a
 ../../../../../../lib/liblldbDebugserverMacOSX_I386.a
 ../../../../../../lib/liblldbDebugserverMacOSX_X86_64.a -framework Cocoa
 -Wl,-rpath, at executable_path/../lib
 cd /opt/local/var/macports/build/_opt_local_site-
 ports_lang_llvm-3.8/lldb-3.8/work/build/bin && /opt/local/bin/cmake -E env
 CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
 codesign --force --sign lldb_codesign debugserver
 lldb_codesign: no identity found
 make[2]: *** [bin/debugserver] Error 1
 make[2]: *** Deleting file `bin/debugserver'
 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_site-
 ports_lang_llvm-3.8/lldb-3.8/work/build'
 make[1]: ***
 [tools/lldb/tools/debugserver/source/MacOSX/CMakeFiles/debugserver.dir/all]
 Error 2

 }}}

 The signing does work when running make by hand in the debugserver's build
 directory (`port work lldb-3.8`/build/tools/lldb/tools/debugserver) , but
 it doesn't yield a functional (sanctioned) debugserver executable. Of
 course I didn't reboot after each different signing attempt ...

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


More information about the macports-tickets mailing list