>>> Building on sparc64-2c under devel/woboq_codebrowser BDEPENDS = [devel/llvm/16;lang/gcc/8;lang/gcc/8,-libs;devel/ninja;devel/cmake] 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-2c at 1735917929.75) >>> Running depends in devel/woboq_codebrowser at 1735917929.84 /usr/sbin/pkg_add -aI -Drepair llvm-16.0.6p32 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p32 ninja-1.11.1p0v0 /usr/sbin/pkg_add -aI -Drepair llvm-16.0.6p32 New and changed readme(s): /usr/local/share/doc/pkg-readmes/llvm-16 >>> Running show-prepare-results in devel/woboq_codebrowser at 1735918091.12 ===> devel/woboq_codebrowser ===> Building from scratch woboq_codebrowser-2.1pl20231117 ===> woboq_codebrowser-2.1pl20231117 depends on: cmake-* -> cmake-3.31.2v1 ===> woboq_codebrowser-2.1pl20231117 depends on: ninja-* -> ninja-1.11.1p0v0 ===> woboq_codebrowser-2.1pl20231117 depends on: llvm->=16,<17 -> llvm-16.0.6p32 ===> 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 cmake-3.31.2v1 gcc-8.4.0p25 gcc-libs-8.4.0p25 llvm-16.0.6p32 ninja-1.11.1p0v0 (Junk lock released for sparc64-2c at 1735918101.24) distfiles size=214421 >>> Running patch in devel/woboq_codebrowser at 1735918101.33 ===> devel/woboq_codebrowser ===> 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 1735918105.00 ===> 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.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- 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.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- 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.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- Configuring done (51.2s) -- Generating done (0.3s) 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 1735918159.29 ===> 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 1735919533.72 max_stuck=369.18/depends=161.29/show-prepare-results=10.20/patch=3.68/configure=54.25/build=1374.54 Error: job failed with 512 on sparc64-2c at 1735919533