>>> Building on exopi-5 under devel/c2ffi BDEPENDS = [devel/ninja;devel/cmake;devel/llvm/16] DIST = [devel/c2ffi:c2ffi-16.0.0.0-097cbe61.tar.gz] FULLPKGNAME = c2ffi-16.0.0.0 RDEPENDS = [devel/llvm/16] Avoided depends for cmake-3.31.2v1 ninja-1.11.1p0v0 llvm-16.0.6p30 distfiles size=44232 >>> Running build in devel/c2ffi at 1734785820.69 ===> devel/c2ffi ===> Building from scratch c2ffi-16.0.0.0 ===> c2ffi-16.0.0.0 depends on: llvm->=16,<17 -> llvm-16.0.6p30 ===> c2ffi-16.0.0.0 depends on: cmake-* -> cmake-3.31.2v1 ===> c2ffi-16.0.0.0 depends on: ninja-* -> ninja-1.11.1p0v0 ===> Verifying specs: c++ c++abi pthread llvm16/lib/clang-cpp c m execinfo z ===> found c++.10.0 c++abi.7.0 pthread.27.1 llvm16/lib/clang-cpp.0.0 c.100.3 m.10.1 execinfo.3.0 z.7.1 ===> Checking files for c2ffi-16.0.0.0 `/exopi-cvs/ports/distfiles/c2ffi-16.0.0.0-097cbe61.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for c2ffi-16.0.0.0 ===> Patching for c2ffi-16.0.0.0 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |link with static libLLVMcore and libLLVMoption instead of whole libLLVM-16.so | |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 64. done ===> Applying OpenBSD patch patch-CMake_setup_post_project_cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |avoid -O3 | |Index: CMake/setup_post_project.cmake |--- CMake/setup_post_project.cmake.orig |+++ CMake/setup_post_project.cmake -------------------------- Patching file CMake/setup_post_project.cmake using Plan A... Hunk #1 succeeded at 11. 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: clang++ -> /usr/bin/clang++ ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for c2ffi-16.0.0.0 ===> Configuring for c2ffi-16.0.0.0 -- Config: -Release -- The C compiler identification is Clang 16.0.6 -- The CXX compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /exopi-obj/pobj/c2ffi-16.0.0.0/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CXX Compiler: Clang -- Building for Linux-x64 -- Found ZLIB: /usr/lib/libz.so.7.1 (found version "1.3.1.1") -- Found LLVM 16.0.6 -- LLVM installed in /usr/local/llvm16 -- Using LLVMConfig.cmake in: /usr/local/llvm16/lib/cmake/llvm -- c2ffi c++std: -std=c++17 ** C++ flags: -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label ** C++ debug flags: -O1 -ggdb2 -fno-omit-frame-pointer ** C++ rwdi flags: -O2 -ggdb2 -fno-omit-frame-pointer -DNDEBUG ** C++ release flags: -DNDEBUG ** Link flags: ** Link debug flags: ** ** This build: Release -- Configuring done (2.7s) -- Generating done (0.0s) 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: /exopi-obj/pobj/c2ffi-16.0.0.0/build-amd64 ===> Building for c2ffi-16.0.0.0 Change Dir: '/exopi-obj/pobj/c2ffi-16.0.0.0/build-amd64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/AST.cpp.o -MF CMakeFiles/c2ffi.dir/src/AST.cpp.o.d -o CMakeFiles/c2ffi.dir/src/AST.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/AST.cpp [2/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/Decl.cpp.o -MF CMakeFiles/c2ffi.dir/src/Decl.cpp.o.d -o CMakeFiles/c2ffi.dir/src/Decl.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/Decl.cpp [3/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/Expr.cpp.o -MF CMakeFiles/c2ffi.dir/src/Expr.cpp.o.d -o CMakeFiles/c2ffi.dir/src/Expr.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/Expr.cpp [4/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/OutputDriver.cpp.o -MF CMakeFiles/c2ffi.dir/src/OutputDriver.cpp.o.d -o CMakeFiles/c2ffi.dir/src/OutputDriver.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/OutputDriver.cpp [5/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/Template.cpp.o -MF CMakeFiles/c2ffi.dir/src/Template.cpp.o.d -o CMakeFiles/c2ffi.dir/src/Template.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/Template.cpp [6/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/Type.cpp.o -MF CMakeFiles/c2ffi.dir/src/Type.cpp.o.d -o CMakeFiles/c2ffi.dir/src/Type.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/Type.cpp [7/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/c2ffi.cpp.o -MF CMakeFiles/c2ffi.dir/src/c2ffi.cpp.o.d -o CMakeFiles/c2ffi.dir/src/c2ffi.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/c2ffi.cpp [8/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/drivers/JSON.cpp.o -MF CMakeFiles/c2ffi.dir/src/drivers/JSON.cpp.o.d -o CMakeFiles/c2ffi.dir/src/drivers/JSON.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/drivers/JSON.cpp /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/drivers/JSON.cpp:36:26: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, close); ^ /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/drivers/JSON.cpp:32:61: note: parameter of type 'bool' is declared here void write_object(const char *type, bool open, bool close, ...) { ^ 1 warning generated. [9/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/drivers/Null.cpp.o -MF CMakeFiles/c2ffi.dir/src/drivers/Null.cpp.o.d -o CMakeFiles/c2ffi.dir/src/drivers/Null.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/drivers/Null.cpp [10/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/drivers/Sexp.cpp.o -MF CMakeFiles/c2ffi.dir/src/drivers/Sexp.cpp.o.d -o CMakeFiles/c2ffi.dir/src/drivers/Sexp.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/drivers/Sexp.cpp [11/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -DCLANG_RESOURCE_DIRECTORY="R\"(/usr/local/llvm16/lib/clang/16)\"" -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/init.cpp.o -MF CMakeFiles/c2ffi.dir/src/init.cpp.o.d -o CMakeFiles/c2ffi.dir/src/init.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/init.cpp [12/13] /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -I/usr/local/llvm16/include -I/exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/include -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -std=c++17 -MD -MT CMakeFiles/c2ffi.dir/src/options.cpp.o -MF CMakeFiles/c2ffi.dir/src/options.cpp.o.d -o CMakeFiles/c2ffi.dir/src/options.cpp.o -c /exopi-obj/pobj/c2ffi-16.0.0.0/c2ffi-097cbe61ca02dc79ea60859aa056975131a9d985/src/options.cpp [13/13] : && /exopi-obj/pobj/c2ffi-16.0.0.0/bin/c++ -O2 -pipe -W -Wall -Wextra -pedantic-errors -Werror=return-type -Werror=unused-result -Wno-unused-parameter -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-unused-label -DNDEBUG -Xlinker --dependency-file=CMakeFiles/c2ffi.dir/link.d CMakeFiles/c2ffi.dir/src/AST.cpp.o CMakeFiles/c2ffi.dir/src/Decl.cpp.o CMakeFiles/c2ffi.dir/src/Expr.cpp.o CMakeFiles/c2ffi.dir/src/OutputDriver.cpp.o CMakeFiles/c2ffi.dir/src/Template.cpp.o CMakeFiles/c2ffi.dir/src/Type.cpp.o CMakeFiles/c2ffi.dir/src/c2ffi.cpp.o CMakeFiles/c2ffi.dir/src/drivers/JSON.cpp.o CMakeFiles/c2ffi.dir/src/drivers/Null.cpp.o CMakeFiles/c2ffi.dir/src/drivers/Sexp.cpp.o CMakeFiles/c2ffi.dir/src/init.cpp.o CMakeFiles/c2ffi.dir/src/options.cpp.o -o bin/c2ffi -Wl,-z,origin,-rpath,/usr/local/llvm16/lib: /usr/local/llvm16/lib/libLLVMCore.a /usr/local/llvm16/lib/libLLVMOption.a /usr/local/llvm16/lib/libclang-cpp.so.0.0 /usr/local/llvm16/lib/libLLVMBinaryFormat.a /usr/local/llvm16/lib/libLLVMRemarks.a /usr/local/llvm16/lib/libLLVMBitstreamReader.a /usr/local/llvm16/lib/libLLVMTargetParser.a /usr/local/llvm16/lib/libLLVMSupport.a -lexecinfo -lpthread -lm /usr/lib/libz.so.7.1 /usr/local/llvm16/lib/libLLVMDemangle.a -Wl,-rpath-link,/usr/local/llvm16/lib:/usr/X11R6/lib:/usr/local/lib && : >>> Running package in devel/c2ffi at 1734785937.31 ===> devel/c2ffi ===> Faking installation for c2ffi-16.0.0.0 -- Install configuration: "Release" -- Installing: /exopi-obj/pobj/c2ffi-16.0.0.0/fake-amd64/usr/local/bin/c2ffi -- Set non-toolchain portion of runtime path of "/exopi-obj/pobj/c2ffi-16.0.0.0/fake-amd64/usr/local/bin/c2ffi" to "/usr/local/llvm16/lib" ===> Building package for c2ffi-16.0.0.0 Create /exopi-cvs/ports/packages/amd64/all/c2ffi-16.0.0.0.tgz Creating package c2ffi-16.0.0.0 reading plist| checking dependencies| checking dependencies|devel/llvm/16,-main checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******* | 12% checksumming|*********** | 18% checksumming|************** | 24% checksumming|****************** | 29% checksumming|********************** | 35% checksumming|************************* | 41% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|************************************ | 59% checksumming|*************************************** | 65% checksumming|******************************************* | 71% checksumming|*********************************************** | 76% checksumming|************************************************** | 82% checksumming|****************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/c2ffi-16.0.0.0.tgz >>> Running clean in devel/c2ffi at 1734785940.82 ===> devel/c2ffi ===> Cleaning for c2ffi-16.0.0.0 >>> Ended at 1734785941.04 max_stuck=9.88/build=116.62/package=3.51/clean=0.25