[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)
LLVM Continuous Integration via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 27 16:29:10 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/builds/25512
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
134.959 [231/8/5186] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyTypeDumper.cpp.o
134.981 [230/8/5187] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyTypedefDumper.cpp.o
134.982 [229/8/5188] Linking CXX executable bin/llvm-offload-wrapper
134.986 [228/8/5189] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyVariableDumper.cpp.o
135.006 [227/8/5190] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/StreamUtil.cpp.o
135.012 [226/8/5191] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/TypeReferenceTracker.cpp.o
135.039 [225/8/5192] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/YAMLOutputStyle.cpp.o
135.050 [224/8/5193] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/llvm-profgen.cpp.o
135.056 [223/8/5194] Building CXX object tools/llvm-profgen/CMakeFiles/llvm-profgen.dir/PerfReader.cpp.o
135.061 [222/8/5195] Building CXX object tools/lldb/tools/lldb-mcp/CMakeFiles/lldb-mcp.dir/lldb-mcp.cpp.o
FAILED: tools/lldb/tools/lldb-mcp/CMakeFiles/lldb-mcp.dir/lldb-mcp.cpp.o
/opt/ccache/bin/g++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/tools/lldb/tools/lldb-mcp -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/tools/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include -I/usr/include/python3.10 -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/../clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/tools/lldb/../clang/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-stringop-truncation -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/lldb/tools/lldb-mcp/CMakeFiles/lldb-mcp.dir/lldb-mcp.cpp.o -MF tools/lldb/tools/lldb-mcp/CMakeFiles/lldb-mcp.dir/lldb-mcp.cpp.o.d -o tools/lldb/tools/lldb-mcp/CMakeFiles/lldb-mcp.dir/lldb-mcp.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp: In function ‘int main(int, char**)’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp:66:60: error: ‘MCPTransport’ is not a member of ‘lldb_protocol::mcp’; did you mean ‘Transport’?
66 | auto transport_up = std::make_unique<lldb_protocol::mcp::MCPTransport>(
| ^~~~~~~~~~~~
| Transport
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp:66:73: error: no matching function for call to ‘make_unique<<expression error> >(lldb::IOObjectSP&, lldb::IOObjectSP&, std::string, main(int, char**)::<lambda(llvm::StringRef)>)’
66 | auto transport_up = std::make_unique<lldb_protocol::mcp::MCPTransport>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
67 | input, output, std::string(client_name),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | [&](llvm::StringRef message) { llvm::errs() << message << '\n'; });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/STLExtras.h:37,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/FormatProviders.h:17,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/lldb-private-enumerations.h:15,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/lldb-private.h:12,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Host/Terminal.h:12,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Host/File.h:13,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp:10:
/usr/include/c++/11/bits/unique_ptr.h:961:5: note: candidate: ‘template<class _Tp, class ... _Args> typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...)’
961 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
/usr/include/c++/11/bits/unique_ptr.h:961:5: note: template argument deduction/substitution failed:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/tools/lldb-mcp/lldb-mcp.cpp:66:73: error: template argument 1 is invalid
66 | auto transport_up = std::make_unique<lldb_protocol::mcp::MCPTransport>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
67 | input, output, std::string(client_name),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | [&](llvm::StringRef message) { llvm::errs() << message << '\n'; });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/STLExtras.h:37,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/FormatProviders.h:17,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/lldb-private-enumerations.h:15,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/lldb-private.h:12,
from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Host/Terminal.h:12,
```
</details>
https://github.com/llvm/llvm-project/pull/155708
More information about the lldb-commits
mailing list