>>> Building on octeon-2 under math/flann BDEPENDS = [devel/cmake;devel/ninja;archivers/lz4;math/hdf5] DIST = [math/flann:flann-lib-flann-1.9.2.tar.gz] FULLPKGNAME = flann-1.9.2p0 RDEPENDS = [archivers/lz4] (Junk lock obtained for octeon-2 at 1737244946.81) >>> Running depends in math/flann at 1737244946.88 last junk was in net/zabbix,-main /usr/sbin/pkg_add -aI -Drepair hdf5-1.14.4.3p0 lz4-1.10.0 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 hdf5-1.14.4.3p0 lz4-1.10.0 ninja-1.11.1p0v0 /usr/sbin/pkg_add -aI -Drepair hdf5-1.14.4.3p0 lz4-1.10.0 >>> Running show-prepare-results in math/flann at 1737244955.10 ===> math/flann ===> Building from scratch flann-1.9.2p0 ===> flann-1.9.2p0 depends on: hdf5-* -> hdf5-1.14.4.3p0 ===> flann-1.9.2p0 depends on: cmake-* -> cmake-3.31.2v1 ===> flann-1.9.2p0 depends on: ninja-* -> ninja-1.11.1p0v0 ===> flann-1.9.2p0 depends on: lz4-* -> lz4-1.10.0 ===> Verifying specs: c++ c++abi pthread lz4 m ===> found c++.10.0 c++abi.7.0 pthread.27.1 lz4.3.3 m.10.1 cmake-3.31.2v1 hdf5-1.14.4.3p0 lz4-1.10.0 ninja-1.11.1p0v0 (Junk lock released for octeon-2 at 1737244961.81) distfiles size=34641759 >>> Running patch in math/flann at 1737244961.95 ===> math/flann ===> Checking files for flann-1.9.2p0 `/ports/distfiles/flann-lib-flann-1.9.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for flann-1.9.2p0 ===> Patching for flann-1.9.2p0 ===> Applying OpenBSD patch patch-cmake_flann_pc_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |https://github.com/flann-lib/flann/issues/466 | |Index: cmake/flann.pc.in |--- cmake/flann.pc.in.orig |+++ cmake/flann.pc.in -------------------------- Patching file cmake/flann.pc.in using Plan A... Hunk #1 succeeded at 8. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in math/flann at 1737244973.09 ===> math/flann ===> Generating configure for flann-1.9.2p0 ===> Configuring for flann-1.9.2p0 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 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: /pobj/flann-1.9.2/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: /pobj/flann-1.9.2/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find HDF5 (missing: HDF5_DIR) -- Found HDF5: /usr/local/lib/libhdf5.so.7.0;/usr/lib/libz.so.7.1;/usr/lib/libm.so.10.1 (found version "1.14.4-3") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'liblz4' -- Found liblz4, version 1.10.0 -- Install prefix: /usr/local -- Build type: Release -- Building C bindings: ON -- Building examples: OFF -- Building tests: OFF -- Building documentation: OFF -- Building python bindings: OFF -- Building matlab bindings: OFF -- Building CUDA library: OFF -- Using OpenMP support: OFF -- Using MPI support: OFF -- Configuring done (28.7s) -- 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: /pobj/flann-1.9.2/build-mips64 >>> Running build in math/flann at 1737245004.24 ===> math/flann ===> Building for flann-1.9.2p0 Change Dir: '/pobj/flann-1.9.2/build-mips64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/10] /pobj/flann-1.9.2/bin/c++ -DFLANN_STATIC -DFLANN_USE_CUDA -D_FLANN_VERSION=1.9.2 -I/pobj/flann-1.9.2/flann-1.9.2/src/cpp -I/usr/local/include -O2 -pipe -DNDEBUG -Wall -Wno-unknown-pragmas -Wno-unused-function -fPIC -MD -MT src/cpp/CMakeFiles/flann_cpp_s.dir/flann/flann_cpp.cpp.o -MF src/cpp/CMakeFiles/flann_cpp_s.dir/flann/flann_cpp.cpp.o.d -o src/cpp/CMakeFiles/flann_cpp_s.dir/flann/flann_cpp.cpp.o -c /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann_cpp.cpp In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann_cpp.cpp:30: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.hpp:45: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/all_indices.h:43: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/autotuned_index.h:36: /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/nn/index_testing.h:253:11: warning: variable 'p1' set but not used [-Wunused-but-set-variable] float p1; ^ 1 warning generated. [2/10] : && /usr/local/bin/cmake -E rm -f lib/libflann_cpp_s.a && /usr/bin/ar qc lib/libflann_cpp_s.a src/cpp/CMakeFiles/flann_cpp_s.dir/flann/flann_cpp.cpp.o && /usr/bin/ranlib lib/libflann_cpp_s.a && : [3/10] /pobj/flann-1.9.2/bin/c++ -DFLANN_EXPORTS -D_FLANN_VERSION=1.9.2 -I/pobj/flann-1.9.2/flann-1.9.2/src/cpp -I/usr/local/include -O2 -pipe -DNDEBUG -fPIC -Wall -Wno-unknown-pragmas -Wno-unused-function -MD -MT src/cpp/CMakeFiles/flann_cpp.dir/flann/flann_cpp.cpp.o -MF src/cpp/CMakeFiles/flann_cpp.dir/flann/flann_cpp.cpp.o.d -o src/cpp/CMakeFiles/flann_cpp.dir/flann/flann_cpp.cpp.o -c /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann_cpp.cpp In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann_cpp.cpp:30: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.hpp:45: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/all_indices.h:43: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/autotuned_index.h:36: /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/nn/index_testing.h:253:11: warning: variable 'p1' set but not used [-Wunused-but-set-variable] float p1; ^ 1 warning generated. [4/10] : && /pobj/flann-1.9.2/bin/c++ -fPIC -O2 -pipe -DNDEBUG -shared -Wl,-soname,libflann_cpp.so.0.0 -o lib/libflann_cpp.so.0.0 src/cpp/CMakeFiles/flann_cpp.dir/flann/flann_cpp.cpp.o -Wl,-z,origin,-rpath,/usr/local/lib: /usr/local/lib/liblz4.so.3.3 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : [5/10] /usr/local/bin/cmake -E cmake_symlink_library lib/libflann_cpp.so.0.0 lib/libflann_cpp.so.0.0 lib/libflann_cpp.so && : [6/10] /pobj/flann-1.9.2/bin/c++ -DFLANN_STATIC -D_FLANN_VERSION=1.9.2 -I/pobj/flann-1.9.2/flann-1.9.2/src/cpp -I/usr/local/include -O2 -pipe -DNDEBUG -Wall -Wno-unknown-pragmas -Wno-unused-function -fPIC -MD -MT src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o -MF src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o.d -o src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o -c /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.cpp In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.cpp:31: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.h:603: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.hpp:45: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/all_indices.h:43: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/autotuned_index.h:36: /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/nn/index_testing.h:253:11: warning: variable 'p1' set but not used [-Wunused-but-set-variable] float p1; ^ 1 warning generated. [7/10] : && /usr/local/bin/cmake -E rm -f lib/libflann_s.a && /usr/bin/ar qc lib/libflann_s.a src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o && /usr/bin/ranlib lib/libflann_s.a && : [8/10] /pobj/flann-1.9.2/bin/c++ -DFLANN_EXPORTS -D_FLANN_VERSION=1.9.2 -I/pobj/flann-1.9.2/flann-1.9.2/src/cpp -I/usr/local/include -O2 -pipe -DNDEBUG -fPIC -Wall -Wno-unknown-pragmas -Wno-unused-function -MD -MT src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o -MF src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o.d -o src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o -c /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.cpp In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.cpp:31: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.h:603: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/flann.hpp:45: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/all_indices.h:43: In file included from /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/algorithms/autotuned_index.h:36: /pobj/flann-1.9.2/flann-1.9.2/src/cpp/flann/nn/index_testing.h:253:11: warning: variable 'p1' set but not used [-Wunused-but-set-variable] float p1; ^ 1 warning generated. [9/10] : && /pobj/flann-1.9.2/bin/c++ -fPIC -O2 -pipe -DNDEBUG -shared -Wl,-soname,libflann.so.0.0 -o lib/libflann.so.0.0 src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o -Wl,-z,origin,-rpath,/usr/local/lib: /usr/local/lib/liblz4.so.3.3 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : FAILED: lib/libflann.so.0.0 : && /pobj/flann-1.9.2/bin/c++ -fPIC -O2 -pipe -DNDEBUG -shared -Wl,-soname,libflann.so.0.0 -o lib/libflann.so.0.0 src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o -Wl,-z,origin,-rpath,/usr/local/lib: /usr/local/lib/liblz4.so.3.3 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : src/cpp/CMakeFiles/flann.dir/flann/flann.cpp.o: In function `create_parameters(FLANNParameters*)': flann.cpp:(.text+0xc0): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' flann.cpp:(.text+0xf8): relocation truncated to fit: R_MIPS_GOT_DISP against `flann::anyimpl::base_any_policy* flann::anyimpl::get_policy()::policy' flann.cpp:(.text+0x160): relocation truncated to fit: R_MIPS_GOT_DISP against `flann::anyimpl::base_any_policy* flann::anyimpl::get_policy()::policy' flann.cpp:(.text+0x1ec): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' flann.cpp:(.text+0x224): relocation truncated to fit: R_MIPS_GOT_DISP against `flann::anyimpl::base_any_policy* flann::anyimpl::get_policy()::policy' flann.cpp:(.text+0x314): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' flann.cpp:(.text+0x34c): relocation truncated to fit: R_MIPS_GOT_DISP against `flann::anyimpl::base_any_policy* flann::anyimpl::get_policy()::policy' flann.cpp:(.text+0x43c): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' flann.cpp:(.text+0x474): relocation truncated to fit: R_MIPS_GOT_DISP against `flann::anyimpl::base_any_policy* flann::anyimpl::get_policy()::policy' flann.cpp:(.text+0x570): relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned long)' flann.cpp:(.text+0x5a8): additional relocation overflows omitted from the output /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. c++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error 1 in math/flann (/ports/devel/cmake/cmake.port.mk:50 'do-build': @cd /pobj/flann-1.9.2/build-mips64 && exec /usr/bin/env -i LIBfla...) *** Error 2 in math/flann (/ports/infrastructure/mk/bsd.port.mk:3065 '/pobj/flann-1.9.2/build-mips64/.build_done': @cd /ports/math/flann && ...) *** Error 2 in math/flann (/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=flann-1.9.2p0; export _LOCKS_HELD=" flann-1.9.2p0"; /...) ===> Exiting math/flann with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1737249134.78 max_stuck=1968.65/depends=8.24/show-prepare-results=6.76/patch=11.22/configure=31.15/build=4130.58 Error: job failed with 512 on octeon-2 at 1737249134