>>> Building on sparc64-2d under devel/woboq_codebrowser BDEPENDS = [devel/llvm/16;devel/cmake;lang/gcc/8,-libs;devel/ninja;lang/gcc/8] DIST = [devel/woboq_codebrowser:woboq_codebrowser-2.1pl20231117-1808e96d.tar.gz] FULLPKGNAME = woboq_codebrowser-2.1pl20231117 RDEPENDS = [lang/gcc/8,-libs;devel/llvm/16] Avoided depends for gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p30 cmake-3.30.5v1 ninja-1.11.1p0v0 distfiles size=214421 >>> Running patch in devel/woboq_codebrowser at 1733152573.66 ===> devel/woboq_codebrowser ===> Building from scratch woboq_codebrowser-2.1pl20231117 ===> woboq_codebrowser-2.1pl20231117 depends on: cmake-* -> cmake-3.30.5v1 ===> woboq_codebrowser-2.1pl20231117 depends on: ninja-* -> ninja-1.11.1p0v0 ===> woboq_codebrowser-2.1pl20231117 depends on: llvm->=16,<17 -> llvm-16.0.6p30 ===> woboq_codebrowser-2.1pl20231117 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> woboq_codebrowser-2.1pl20231117 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p25 ===> Verifying specs: estdc++>=17 pthread c m llvm16/lib/clang-cpp estdc++>=19 ===> found estdc++.19.0 pthread.27.1 c.100.3 m.10.1 llvm16/lib/clang-cpp.0.0 ===> Checking files for woboq_codebrowser-2.1pl20231117 `/usr/ports/distfiles/woboq_codebrowser-2.1pl20231117-1808e96d.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for woboq_codebrowser-2.1pl20231117 ===> Patching for woboq_codebrowser-2.1pl20231117 ===> Applying OpenBSD patch patch-generator_main_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |add pledge(2) and unveil(2) to codebrowser_generator | |Index: generator/main.cpp |--- generator/main.cpp.orig |+++ generator/main.cpp -------------------------- Patching file generator/main.cpp using Plan A... Hunk #1 succeeded at 43. Hunk #2 succeeded at 373. done ===> Applying OpenBSD patch patch-indexgenerator_indexer_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |add pledge(2) and unveil(2) to codebrowser_indexgenerator. | |Index: indexgenerator/indexer.cpp |--- indexgenerator/indexer.cpp.orig |+++ indexgenerator/indexer.cpp -------------------------- Patching file indexgenerator/indexer.cpp using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 230. done ===> Compiler link: gcc -> /usr/local/bin/clang-16 ===> Compiler link: cc -> /usr/local/bin/clang-16 ===> Compiler link: clang -> /usr/local/bin/clang-16 ===> Compiler link: g++ -> /usr/local/bin/clang++-16 ===> Compiler link: c++ -> /usr/local/bin/clang++-16 ===> Compiler link: clang++ -> /usr/local/bin/clang++-16 >>> Running configure in devel/woboq_codebrowser at 1733152585.06 ===> devel/woboq_codebrowser ===> Generating configure for woboq_codebrowser-2.1pl20231117 ===> Configuring for woboq_codebrowser-2.1pl20231117 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The CXX compiler identification is Clang 16.0.6 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at generator/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /usr/lib/libz.so.7.1 (found version "1.3.1.1") -- Found LLVM 16.0.6 in /usr/local/llvm16 -- Using LLVMConfig.cmake in: /usr/local/llvm16/lib/cmake/llvm -- Found Clang in /usr/local/llvm16 CMake Deprecation Warning at indexgenerator/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Configuring done (50.2s) -- Generating done (0.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER_AR CMAKE_ASM_COMPILER_RANLIB CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64 >>> Running build in devel/woboq_codebrowser at 1733152638.64 ===> devel/woboq_codebrowser ===> Building for woboq_codebrowser-2.1pl20231117 Change Dir: '/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/main.cpp [2/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/projectmanager.cpp [3/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/annotator.cpp [4/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/generator.cpp [5/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/preprocessorcallback.cpp [6/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/filesystem.cpp [7/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/qtsupport.cpp [8/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/commenthandler.cpp [9/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator/projectmanager_systemprojects.cpp [10/13] /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator -I/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/generator -isystem /usr/local/llvm16/include -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -std=gnu++17 -MD -MT generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -MF generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o.d -o generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -c /usr/obj/ports/woboq_codebrowser-2.1pl20231117/codebrowser-1808e96d4c62417952389d536576d53bb6da4053/generator/inlayhintannotator.cpp [11/13] : && /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -Wl,--as-needed generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -o generator/codebrowser_generator -Wl,-z,origin,-rpath,/usr/local/llvm16/lib: /usr/local/llvm16/lib/libclang-cpp.so.0.0 /usr/local/llvm16/lib/libLLVM-16.so -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : FAILED: generator/codebrowser_generator : && /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -Wl,--as-needed generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -o generator/codebrowser_generator -Wl,-z,origin,-rpath,/usr/local/llvm16/lib: /usr/local/llvm16/lib/libclang-cpp.so.0.0 /usr/local/llvm16/lib/libLLVM-16.so -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/local/llvm16/lib/libLLVM-16.so: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/llvm16/lib/libLLVM-16.so: warning: sprintf() is often misused, please use snprintf() generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `locationToString(clang::SourceLocation, clang::SourceManager&)': main.cpp:(.text+0xf0): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `main': main.cpp:(.text+0x188): undefined reference to `clang::tooling::FixedCompilationDatabase::loadFromCommandLine(int&, char const* const*, std::__1::basic_string, std::__1::allocator >&, llvm::Twine const&)' main.cpp:(.text+0x1294): undefined reference to `clang::tooling::CompilationDatabase::loadFromDirectory(llvm::StringRef, std::__1::basic_string, std::__1::allocator >&)' main.cpp:(.text+0x1aac): undefined reference to `llvm::vfs::InMemoryFileSystem::addFile(llvm::Twine const&, long long, std::__1::unique_ptr >, std::__1::optional, std::__1::optional, std::__1::optional, std::__1::optional)' main.cpp:(.text+0x1c50): undefined reference to `clang::tooling::getAbsolutePath(llvm::StringRef)' main.cpp:(.text+0x2368): undefined reference to `clang::tooling::JSONCompilationDatabase::loadFromFile(llvm::StringRef, std::__1::basic_string, std::__1::allocator >&, clang::tooling::JSONCommandLineSyntax)' main.cpp:(.text+0x260c): undefined reference to `clang::tooling::getAbsolutePath(llvm::StringRef)' main.cpp:(.text+0x3548): undefined reference to `llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::__1::optional)' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZL14proceedCommandNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEEEN4llvm9StringRefESA_PN5clang11FileManagerE12DatabaseType': main.cpp:(.text+0x3fa0): undefined reference to `clang::tooling::getClangSyntaxOnlyAdjuster()' main.cpp:(.text+0x40a4): undefined reference to `clang::tooling::getClangStripOutputAdjuster()' main.cpp:(.text+0x44f0): undefined reference to `clang::tooling::ToolInvocation::ToolInvocation(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >, std::__1::unique_ptr >, clang::FileManager*, std::__1::shared_ptr)' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x108): undefined reference to `vtable for llvm::cl::OptionValue, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x10c): undefined reference to `vtable for llvm::cl::OptionValue, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x114): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x118): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >::~opt()': main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev]+0x14): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev]+0x18): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserDiagnosticClient::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&)': main.cpp:(.text._ZN23BrowserDiagnosticClient16HandleDiagnosticEN5clang17DiagnosticsEngine5LevelERKNS0_10DiagnosticE[_ZN23BrowserDiagnosticClient16HandleDiagnosticEN5clang17DiagnosticsEngine5LevelERKNS0_10DiagnosticE]+0x210): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserASTVisitor::VisitTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)': main.cpp:(.text._ZN17BrowserASTVisitor34VisitTemplateSpecializationTypeLocEN5clang29TemplateSpecializationTypeLocE[_ZN17BrowserASTVisitor34VisitTemplateSpecializationTypeLocEN5clang29TemplateSpecializationTypeLocE]+0xc8): undefined reference to `clang::QualType::getAsString() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserASTVisitor::VisitFunctionDecl(clang::FunctionDecl*)': main.cpp:(.text._ZN17BrowserASTVisitor17VisitFunctionDeclEPN5clang12FunctionDeclE[_ZN17BrowserASTVisitor17VisitFunctionDeclEPN5clang12FunctionDeclE]+0x418): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::registerInterestingDefinition(clang::SourceRange, clang::NamedDecl*)': annotator.cpp:(.text+0xca0): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::generate(clang::Sema&, bool)': annotator.cpp:(.text+0x20ac): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' annotator.cpp:(.text+0x3a18): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' annotator.cpp:(.text+0x3d88): undefined reference to `llvm::sys::Process::GetEnv(llvm::StringRef)' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::registerReference(clang::NamedDecl*, clang::SourceRange, Annotator::TokenType, Annotator::DeclType, std::__1::basic_string, std::__1::allocator >, clang::NamedDecl*)': annotator.cpp:(.text+0x641c): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' annotator.cpp:(.text+0x6920): undefined reference to `llvm::Twine::str() const' annotator.cpp:(.text+0x6a04): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::getReferenceAndTitle(clang::NamedDecl*)': annotator.cpp:(.text+0x7bd4): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::getTypeRef(clang::QualType)': annotator.cpp:(.text+0x96ec): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o: In function `Generator::generate(llvm::StringRef, std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > const&, char const*, char const*, llvm::StringRef, llvm::StringRef, std::__1::set, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > > const&)': generator.cpp:(.text+0xc14): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroExpands(clang::Token const&, clang::MacroDefinition const&, clang::SourceRange, clang::MacroArgs const*)': preprocessorcallback.cpp:(.text+0x610): undefined reference to `llvm::Twine::str() const' preprocessorcallback.cpp:(.text+0x71c): undefined reference to `clang::Lexer::getSpelling(clang::Token const&, clang::SourceManager const&, clang::LangOptions const&, bool*)' preprocessorcallback.cpp:(.text+0x9cc): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroDefined(clang::Token const&, clang::MacroDirective const*)': preprocessorcallback.cpp:(.text+0xf68): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroUndefined(clang::Token const&, clang::MacroDefinition const&, clang::MacroDirective const*)': preprocessorcallback.cpp:(.text+0x12a8): undefined reference to `llvm::Twine::str() const' preprocessorcallback.cpp:(.text+0x1578): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::Defined(clang::Token const&, clang::MacroDefinition const&, clang::SourceRange)': preprocessorcallback.cpp:(.text+0x1eec): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o:preprocessorcallback.cpp:(.text+0x21bc): more undefined references to `llvm::Twine::str() const' follow generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o: In function `QtSupport::handleSignalOrSlot(clang::Expr*, clang::Expr*)': qtsupport.cpp:(.text+0xa20): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o: In function `_ZNSt3__19remove_ifB7v160006IPPN5clang13CXXMethodDeclEZN9QtSupport18handleSignalOrSlotEPNS1_4ExprES7_E3$_0EET_S9_S9_T0_': qtsupport.cpp:(.text+0x1384): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' qtsupport.cpp:(.text+0x14a8): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o: In function `parseDeclarationReference(llvm::StringRef, clang::Sema&, bool)': commenthandler.cpp:(.text+0x6c): undefined reference to `clang::SourceManager::createFileID(std::__1::unique_ptr >, clang::SrcMgr::CharacteristicKind, int, unsigned int, clang::SourceLocation)' clang-16: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error 1 in devel/woboq_codebrowser (/usr/ports/devel/cmake/cmake.port.mk:50 'do-build': @cd /usr/obj/ports/woboq_codebrowser-2.1pl202311...) *** Error 2 in devel/woboq_codebrowser (/usr/ports/infrastructure/mk/bsd.port.mk:3065 '/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/.build_done') *** Error 2 in devel/woboq_codebrowser (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=woboq_codebrowser-2.1pl20231117; expor...) ===> Exiting devel/woboq_codebrowser with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1733153926.92 max_stuck=339.29/patch=11.46/configure=53.58/build=1288.34 Error: job failed with 512 on sparc64-2d at 1733153926 >>> Building on sparc64-2d under devel/woboq_codebrowser BDEPENDS = [devel/llvm/16;lang/gcc/8,-libs;devel/cmake;lang/gcc/8;devel/ninja] DIST = [devel/woboq_codebrowser:woboq_codebrowser-2.1pl20231117-1808e96d.tar.gz] FULLPKGNAME = woboq_codebrowser-2.1pl20231117 RDEPENDS = [devel/llvm/16;lang/gcc/8,-libs] (Junk lock obtained for sparc64-2d at 1733192471.61) >>> Running depends in devel/woboq_codebrowser at 1733192471.70 /usr/sbin/pkg_add -aI -Drepair cmake-3.30.5v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p30 ninja-1.11.1p0v0 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.30.5v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p30 ninja-1.11.1p0v0 /usr/sbin/pkg_add -aI -Drepair cmake-3.30.5v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p30 ninja-1.11.1p0v0 >>> Running show-prepare-results in devel/woboq_codebrowser at 1733192479.39 ===> devel/woboq_codebrowser cmake-3.30.5v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p30 ninja-1.11.1p0v0 (Junk lock released for sparc64-2d at 1733192479.83) distfiles size=214421 >>> Running patch in devel/woboq_codebrowser at 1733192479.89 ===> devel/woboq_codebrowser >>> Running configure in devel/woboq_codebrowser at 1733192480.42 ===> devel/woboq_codebrowser >>> Running build in devel/woboq_codebrowser at 1733192480.92 ===> devel/woboq_codebrowser ===> Building for woboq_codebrowser-2.1pl20231117 Change Dir: '/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/3] : && /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -Wl,--as-needed generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -o generator/codebrowser_generator -Wl,-z,origin,-rpath,/usr/local/llvm16/lib: /usr/local/llvm16/lib/libclang-cpp.so.0.0 /usr/local/llvm16/lib/libLLVM-16.so -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : FAILED: generator/codebrowser_generator : && /usr/obj/ports/woboq_codebrowser-2.1pl20231117/bin/c++ -O2 -pipe -fno-exceptions -fno-rtti -DNDEBUG -Wl,--as-needed generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o generator/CMakeFiles/codebrowser_generator.dir/filesystem.cpp.o generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o generator/CMakeFiles/codebrowser_generator.dir/projectmanager_systemprojects.cpp.o generator/CMakeFiles/codebrowser_generator.dir/inlayhintannotator.cpp.o -o generator/codebrowser_generator -Wl,-z,origin,-rpath,/usr/local/llvm16/lib: /usr/local/llvm16/lib/libclang-cpp.so.0.0 /usr/local/llvm16/lib/libLLVM-16.so -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/local/llvm16/lib/libLLVM-16.so: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/llvm16/lib/libLLVM-16.so: warning: sprintf() is often misused, please use snprintf() generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `locationToString(clang::SourceLocation, clang::SourceManager&)': main.cpp:(.text+0xf0): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `main': main.cpp:(.text+0x188): undefined reference to `clang::tooling::FixedCompilationDatabase::loadFromCommandLine(int&, char const* const*, std::__1::basic_string, std::__1::allocator >&, llvm::Twine const&)' main.cpp:(.text+0x1294): undefined reference to `clang::tooling::CompilationDatabase::loadFromDirectory(llvm::StringRef, std::__1::basic_string, std::__1::allocator >&)' main.cpp:(.text+0x1aac): undefined reference to `llvm::vfs::InMemoryFileSystem::addFile(llvm::Twine const&, long long, std::__1::unique_ptr >, std::__1::optional, std::__1::optional, std::__1::optional, std::__1::optional)' main.cpp:(.text+0x1c50): undefined reference to `clang::tooling::getAbsolutePath(llvm::StringRef)' main.cpp:(.text+0x2368): undefined reference to `clang::tooling::JSONCompilationDatabase::loadFromFile(llvm::StringRef, std::__1::basic_string, std::__1::allocator >&, clang::tooling::JSONCommandLineSyntax)' main.cpp:(.text+0x260c): undefined reference to `clang::tooling::getAbsolutePath(llvm::StringRef)' main.cpp:(.text+0x3548): undefined reference to `llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::__1::optional)' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZL14proceedCommandNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEEEN4llvm9StringRefESA_PN5clang11FileManagerE12DatabaseType': main.cpp:(.text+0x3fa0): undefined reference to `clang::tooling::getClangSyntaxOnlyAdjuster()' main.cpp:(.text+0x40a4): undefined reference to `clang::tooling::getClangStripOutputAdjuster()' main.cpp:(.text+0x44f0): undefined reference to `clang::tooling::ToolInvocation::ToolInvocation(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >, std::__1::unique_ptr >, clang::FileManager*, std::__1::shared_ptr)' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x108): undefined reference to `vtable for llvm::cl::OptionValue, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x10c): undefined reference to `vtable for llvm::cl::OptionValue, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x114): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x118): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >::~opt()': main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev]+0x14): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' main.cpp:(.text._ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev[_ZN4llvm2cl3optINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEELb0ENS0_6parserIS8_EEED2Ev]+0x18): undefined reference to `vtable for llvm::cl::opt, std::__1::allocator >, false, llvm::cl::parser, std::__1::allocator > > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJNS0_15FormattingFlagsENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_': main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x134): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' main.cpp:(.text._ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_[_ZN4llvm2cl4listINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbNS0_6parserIS8_EEEC2IJA2_cNS0_10value_descENS0_4descENS0_18NumOccurrencesFlagEEEEDpRKT_]+0x138): undefined reference to `vtable for llvm::cl::parser, std::__1::allocator > >' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserDiagnosticClient::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&)': main.cpp:(.text._ZN23BrowserDiagnosticClient16HandleDiagnosticEN5clang17DiagnosticsEngine5LevelERKNS0_10DiagnosticE[_ZN23BrowserDiagnosticClient16HandleDiagnosticEN5clang17DiagnosticsEngine5LevelERKNS0_10DiagnosticE]+0x210): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserASTVisitor::VisitTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)': main.cpp:(.text._ZN17BrowserASTVisitor34VisitTemplateSpecializationTypeLocEN5clang29TemplateSpecializationTypeLocE[_ZN17BrowserASTVisitor34VisitTemplateSpecializationTypeLocEN5clang29TemplateSpecializationTypeLocE]+0xc8): undefined reference to `clang::QualType::getAsString() const' generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o: In function `BrowserASTVisitor::VisitFunctionDecl(clang::FunctionDecl*)': main.cpp:(.text._ZN17BrowserASTVisitor17VisitFunctionDeclEPN5clang12FunctionDeclE[_ZN17BrowserASTVisitor17VisitFunctionDeclEPN5clang12FunctionDeclE]+0x418): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::registerInterestingDefinition(clang::SourceRange, clang::NamedDecl*)': annotator.cpp:(.text+0xca0): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::generate(clang::Sema&, bool)': annotator.cpp:(.text+0x20ac): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' annotator.cpp:(.text+0x3a18): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' annotator.cpp:(.text+0x3d88): undefined reference to `llvm::sys::Process::GetEnv(llvm::StringRef)' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::registerReference(clang::NamedDecl*, clang::SourceRange, Annotator::TokenType, Annotator::DeclType, std::__1::basic_string, std::__1::allocator >, clang::NamedDecl*)': annotator.cpp:(.text+0x641c): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' annotator.cpp:(.text+0x6920): undefined reference to `llvm::Twine::str() const' annotator.cpp:(.text+0x6a04): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::getReferenceAndTitle(clang::NamedDecl*)': annotator.cpp:(.text+0x7bd4): undefined reference to `clang::NamedDecl::getQualifiedNameAsString() const' generator/CMakeFiles/codebrowser_generator.dir/annotator.cpp.o: In function `Annotator::getTypeRef(clang::QualType)': annotator.cpp:(.text+0x96ec): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/generator.cpp.o: In function `Generator::generate(llvm::StringRef, std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > const&, char const*, char const*, llvm::StringRef, llvm::StringRef, std::__1::set, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > > const&)': generator.cpp:(.text+0xc14): undefined reference to `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::__1::error_code&, llvm::sys::fs::OpenFlags)' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroExpands(clang::Token const&, clang::MacroDefinition const&, clang::SourceRange, clang::MacroArgs const*)': preprocessorcallback.cpp:(.text+0x610): undefined reference to `llvm::Twine::str() const' preprocessorcallback.cpp:(.text+0x71c): undefined reference to `clang::Lexer::getSpelling(clang::Token const&, clang::SourceManager const&, clang::LangOptions const&, bool*)' preprocessorcallback.cpp:(.text+0x9cc): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroDefined(clang::Token const&, clang::MacroDirective const*)': preprocessorcallback.cpp:(.text+0xf68): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::MacroUndefined(clang::Token const&, clang::MacroDefinition const&, clang::MacroDirective const*)': preprocessorcallback.cpp:(.text+0x12a8): undefined reference to `llvm::Twine::str() const' preprocessorcallback.cpp:(.text+0x1578): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o: In function `PreprocessorCallback::Defined(clang::Token const&, clang::MacroDefinition const&, clang::SourceRange)': preprocessorcallback.cpp:(.text+0x1eec): undefined reference to `llvm::Twine::str() const' generator/CMakeFiles/codebrowser_generator.dir/preprocessorcallback.cpp.o:preprocessorcallback.cpp:(.text+0x21bc): more undefined references to `llvm::Twine::str() const' follow generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o: In function `QtSupport::handleSignalOrSlot(clang::Expr*, clang::Expr*)': qtsupport.cpp:(.text+0xa20): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/qtsupport.cpp.o: In function `_ZNSt3__19remove_ifB7v160006IPPN5clang13CXXMethodDeclEZN9QtSupport18handleSignalOrSlotEPNS1_4ExprES7_E3$_0EET_S9_S9_T0_': qtsupport.cpp:(.text+0x1384): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' qtsupport.cpp:(.text+0x14a8): undefined reference to `clang::QualType::getAsString(clang::PrintingPolicy const&) const' generator/CMakeFiles/codebrowser_generator.dir/commenthandler.cpp.o: In function `parseDeclarationReference(llvm::StringRef, clang::Sema&, bool)': commenthandler.cpp:(.text+0x6c): undefined reference to `clang::SourceManager::createFileID(std::__1::unique_ptr >, clang::SrcMgr::CharacteristicKind, int, unsigned int, clang::SourceLocation)' clang-16: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error 1 in devel/woboq_codebrowser (/usr/ports/devel/cmake/cmake.port.mk:50 'do-build': @cd /usr/obj/ports/woboq_codebrowser-2.1pl202311...) *** Error 2 in devel/woboq_codebrowser (/usr/ports/infrastructure/mk/bsd.port.mk:3065 '/usr/obj/ports/woboq_codebrowser-2.1pl20231117/build-sparc64/.build_done') *** Error 2 in devel/woboq_codebrowser (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=woboq_codebrowser-2.1pl20231117; expor...) ===> Exiting devel/woboq_codebrowser with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1733192486.72 max_stuck=6.82/depends=7.72/show-prepare-results=0.50/patch=0.49/configure=0.50/build=5.88 Error: job failed with 512 on sparc64-2d at 1733192486