>>> Building on sparc64-2b under devel/tbb BDEPENDS = [lang/gcc/15,-c++;devel/cmake/core;lang/gcc/15;lang/gcc/15,-libs;devel/ninja] DIST = [devel/tbb:oneTBB-2022.1.0.tar.gz] FULLPKGNAME = tbb-2022.1.0 RDEPENDS = [lang/gcc/15,-libs] (Junk lock failure for sparc64-2b at 1766260048.24775) Received IO (Junk lock obtained for sparc64-2b at 1766260103.89) Received IO Woken up devel/tbb Short-cut: depends already handled by textproc/py-yaml >>> Running show-prepare-results in devel/tbb at 1766260110.28 ===> devel/tbb ===> Building from scratch tbb-2022.1.0 ===> tbb-2022.1.0 depends on: cmake-core-* -> cmake-core-3.31.8p0 ===> tbb-2022.1.0 depends on: ninja-* -> ninja-1.11.1p1v1 ===> tbb-2022.1.0 depends on: gcc->=15,<16 -> gcc-15.2.0p5 ===> tbb-2022.1.0 depends on: g++->=15,<16 -> g++-15.2.0p5 ===> tbb-2022.1.0 depends on: gcc-libs->=15,<16 -> gcc-libs-15.2.0p5 ===> Verifying specs: estdc++>=21 pthread m ===> found estdc++.21.0 pthread.28.1 m.10.1 cmake-core-3.31.8p0 g++-15.2.0p5 gcc-15.2.0p5 gcc-libs-15.2.0p5 ninja-1.11.1p1v1 (Junk lock released for sparc64-2b at 1766260118.66) Woken up net/ices distfiles size=3434602 >>> Running patch in devel/tbb at 1766260118.77 ===> devel/tbb ===> Checking files for tbb-2022.1.0 `/usr/ports/distfiles/oneTBB-2022.1.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for tbb-2022.1.0 ===> Patching for tbb-2022.1.0 ===> Applying OpenBSD patch patch-cmake_compilers_Clang_cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: cmake/compilers/Clang.cmake |--- cmake/compilers/Clang.cmake.orig |+++ cmake/compilers/Clang.cmake -------------------------- Patching file cmake/compilers/Clang.cmake using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-cmake_compilers_GNU_cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |fix build on sparc64 | |Index: cmake/compilers/GNU.cmake |--- cmake/compilers/GNU.cmake.orig |+++ cmake/compilers/GNU.cmake -------------------------- Patching file cmake/compilers/GNU.cmake using Plan A... Hunk #1 succeeded at 119. done ===> Applying OpenBSD patch patch-src_tbb_CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/tbb/CMakeLists.txt |--- src/tbb/CMakeLists.txt.orig |+++ src/tbb/CMakeLists.txt -------------------------- Patching file src/tbb/CMakeLists.txt using Plan A... Hunk #1 succeeded at 193. done ===> Applying OpenBSD patch patch-test_common_memory_usage_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: test/common/memory_usage.h |--- test/common/memory_usage.h.orig |+++ test/common/memory_usage.h -------------------------- Patching file test/common/memory_usage.h using Plan A... Hunk #1 succeeded at 86. Hunk #2 succeeded at 141. Hunk #3 succeeded at 158. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in devel/tbb at 1766260122.76 ===> devel/tbb ===> Generating configure for tbb-2022.1.0 ===> Configuring for tbb-2022.1.0 -- The CXX compiler identification is GNU 15.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/obj/ports/tbb-2022.1.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "2.4.3") -- Checking for one of the modules 'hwloc' -- Looking for getcontext -- Looking for getcontext - not found -- GNU Assembler version: 2.17 (2017) -- The C compiler identification is GNU 15.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/obj/ports/tbb-2022.1.0/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created -- HWLOC target HWLOC::hwloc_2 doesn't exist. The tbbbind_2_0 target cannot be created -- HWLOC target HWLOC::hwloc_2_5 doesn't exist. The tbbbind_2_5 target cannot be created -- Performing Test LINKER_HAS_NO_AS_NEEDED -- Performing Test LINKER_HAS_NO_AS_NEEDED - Success -- Configuring done (18.4s) -- Generating done (3.8s) 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/tbb-2022.1.0/build-sparc64 >>> Running build in devel/tbb at 1766260147.07 ===> devel/tbb ===> Building for tbb-2022.1.0 Change Dir: '/usr/obj/ports/tbb-2022.1.0/build-sparc64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/330] /usr/obj/ports/tbb-2022.1.0/bin/c++ -D__TBB_BUILD -D__TBB_RESUMABLE_TASKS_USE_THREADS=1 -D__TBB_USE_ITT_NOTIFY -I/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/../../include -O2 -pipe -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -flifetime-dse=1 -Wall -Wextra -Werror -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2017 -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -ffile-prefix-map=/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/= -ffile-prefix-map=../oneTBB-2022.1.0/= -pthread -MD -MT src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -c /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/address_waiter.cpp [2/330] /usr/obj/ports/tbb-2022.1.0/bin/c++ -D__TBB_BUILD -D__TBB_RESUMABLE_TASKS_USE_THREADS=1 -D__TBB_USE_ITT_NOTIFY -I/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/../../include -O2 -pipe -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -flifetime-dse=1 -Wall -Wextra -Werror -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2017 -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -ffile-prefix-map=/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/= -ffile-prefix-map=../oneTBB-2022.1.0/= -pthread -MD -MT src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -MF src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o.d -o src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -c /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/allocator.cpp [3/330] /usr/obj/ports/tbb-2022.1.0/bin/c++ -D__TBB_BUILD -D__TBB_RESUMABLE_TASKS_USE_THREADS=1 -D__TBB_USE_ITT_NOTIFY -I/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/../../include -O2 -pipe -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -flifetime-dse=1 -Wall -Wextra -Werror -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2017 -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -ffile-prefix-map=/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/= -ffile-prefix-map=../oneTBB-2022.1.0/= -pthread -MD -MT src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF src/tbb/CMakeFiles/tbb.dir/arena.cpp.o.d -o src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -c /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/arena.cpp FAILED: src/tbb/CMakeFiles/tbb.dir/arena.cpp.o /usr/obj/ports/tbb-2022.1.0/bin/c++ -D__TBB_BUILD -D__TBB_RESUMABLE_TASKS_USE_THREADS=1 -D__TBB_USE_ITT_NOTIFY -I/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/../../include -O2 -pipe -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -flifetime-dse=1 -Wall -Wextra -Werror -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2017 -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -ffile-prefix-map=/usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/= -ffile-prefix-map=../oneTBB-2022.1.0/= -pthread -MD -MT src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF src/tbb/CMakeFiles/tbb.dir/arena.cpp.o.d -o src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -c /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/arena.cpp In file included from /usr/local/include/c++/15.2.0/atomic:52, from /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/../../include/oneapi/tbb/detail/_utils.h:22, from /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/task_dispatcher.h:20, from /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/arena.cpp:17: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]', inlined from 'void std::atomic::store(bool, std::memory_order)' at /usr/local/include/c++/15.2.0/atomic:113:20, inlined from 'void tbb::detail::r1::concurrent_monitor_base::notify_one_relaxed() [with Context = long unsigned int]' at /usr/obj/ports/tbb-2022.1.0/oneTBB-2022.1.0/src/tbb/concurrent_monitor.h:300:53: /usr/local/include/c++/15.2.0/bits/atomic_base.h:477:25: error: 'void __atomic_store_1(volatile void*, unsigned char, int)' writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=] 477 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. *** Error 1 in devel/tbb (/usr/ports/devel/cmake/cmake.port.mk:40 'do-build': @cd /usr/obj/ports/tbb-2022.1.0/build-sparc64 && exec /usr/bin...) *** Error 2 in devel/tbb (/usr/ports/infrastructure/mk/bsd.port.mk:3063 '/usr/obj/ports/tbb-2022.1.0/build-sparc64/.build_done': @cd /usr/po...) *** Error 2 in devel/tbb (/usr/ports/infrastructure/mk/bsd.port.mk:2710 'build': @lock=tbb-2022.1.0; export _LOCKS_HELD=" tbb-2022.1.0"; ...) ===> Exiting devel/tbb 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 1766260214.19 max_stuck=49.44/waiting-for-lock #128=62.07/show-prepare-results=8.46/patch=4.00/configure=24.30/build=67.21 Error: job failed with 512 on sparc64-2b at 1766260214