>>> Building on sparc64-0d under telephony/baresip/restund
	BDEPENDS = [telephony/baresip/re;databases/mariadb,-main;devel/ninja;devel/cmake/core;lang/gcc/8]
	DIST = [telephony/baresip/restund:restund-3.9.0.tar.gz]
	FULLPKGNAME = restund-3.9.0
	RDEPENDS = [telephony/baresip/re;databases/mariadb,-main]
(Junk lock failure for sparc64-0d at 1741569717.56288)
Received IO
(Junk lock obtained for sparc64-0d at 1741569732.67)
Received IO
Woken up telephony/baresip/restund
Woken up telephony/baresip/restund
Woken up telephony/baresip/restund
>>> Running depends in telephony/baresip/restund at 1741569739.16
   last junk was in math/py-netcdf4
/usr/sbin/pkg_add -aI -Drepair mariadb-client-11.4.5v1 re-3.19.0
was: /usr/sbin/pkg_add -aI -Drepair cmake-core-3.31.5 gcc-8.4.0p26 mariadb-client-11.4.5v1 ninja-1.11.1p0v0 re-3.19.0
/usr/sbin/pkg_add -aI -Drepair mariadb-client-11.4.5v1 re-3.19.0
>>> Running show-prepare-results in telephony/baresip/restund at 1741569762.59
===> telephony/baresip/restund
===> Building from scratch restund-3.9.0
===> restund-3.9.0 depends on: cmake-core-* -> cmake-core-3.31.5
===> restund-3.9.0 depends on: ninja-* -> ninja-1.11.1p0v0
===> restund-3.9.0 depends on: gcc->=8,<9 -> gcc-8.4.0p26
===> restund-3.9.0 depends on: re-* -> re-3.19.0
===> restund-3.9.0 depends on: mariadb-client-* -> mariadb-client-11.4.5v1
===>  Verifying specs:  c crypto m mariadb pthread re ssl z
===>  found c.100.3 crypto.55.0 m.10.1 mariadb.31.0 pthread.27.1 re.16.0 ssl.58.0 z.7.1
cmake-core-3.31.5
gcc-8.4.0p26
mariadb-client-11.4.5v1
ninja-1.11.1p0v0
re-3.19.0
(Junk lock released for sparc64-0d at 1741569770.21)
distfiles size=183413
>>> Running build in telephony/baresip/restund at 1741569770.32
===> telephony/baresip/restund
===>  Checking files for restund-3.9.0
`/usr/ports/distfiles/restund-3.9.0.tar.gz' is up to date.
>> (SHA256) all files: OK
===>  Extracting for restund-3.9.0
===>  Patching for restund-3.9.0
===>   Applying OpenBSD patch patch-modules_mysql_ser_mysql_ser_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|cmake uses -I/usr/local/include/mysql which already contains the subdir
|
|Index: modules/mysql_ser/mysql_ser.c
|--- modules/mysql_ser/mysql_ser.c.orig
|+++ modules/mysql_ser/mysql_ser.c
--------------------------
Patching file modules/mysql_ser/mysql_ser.c using Plan A...
Hunk #1 succeeded at 6.
done
===>  Compiler link: gcc -> /usr/local/bin/egcc
===>  Compiler link: cc -> /usr/local/bin/egcc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for restund-3.9.0
===>  Configuring for restund-3.9.0
-- The C compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/obj/ports/restund-3.9.0/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found RE: /usr/local/lib/libre.so.16.0
-- Looking for backtrace
-- Looking for backtrace - not found
-- Found Backtrace: /usr/lib/libexecinfo.so.3.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.so.7.1 (found version "1.3.1.1")
-- Found OpenSSL: /usr/lib/libcrypto.so.55.0 (found suitable version "2.0.0", minimum required is "1.1.1")
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for res_init
-- Looking for res_init - not found
-- Looking for thrd_create
-- Looking for thrd_create - not found
-- Looking for threads.h
-- Looking for threads.h - not found
-- Looking for epoll_create
-- Looking for epoll_create - not found
-- Looking for kqueue
-- Looking for kqueue - found
-- Looking for sys/prctl.h
-- Looking for sys/prctl.h - not found
-- The CXX compiler identification is GNU 4.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/obj/ports/restund-3.9.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test atomic_test
-- Performing Test atomic_test - Failed
-- Performing Test atomic_test_lib
-- Performing Test atomic_test_lib - Failed
CMake Error at /usr/local/lib/cmake/re/re-config.cmake:293 (message):
  No builtin or libatomic support
Call Stack (most recent call first):
  CMakeLists.txt:79 (find_package)


-- Configuring incomplete, errors occurred!
*** Error 1 in telephony/baresip/restund (/usr/ports/infrastructure/mk/bsd.port.mk:3030 'do-configure': @cd /usr/obj/ports/restund-3.9.0/bui...)
*** Error 2 in telephony/baresip/restund (/usr/ports/infrastructure/mk/bsd.port.mk:3050 '/usr/obj/ports/restund-3.9.0/build-sparc64/.configure_done')
*** Error 2 in telephony/baresip/restund (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=restund-3.9.0;  export _LOCKS_HELD=" ...)
===> Exiting telephony/baresip/restund 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 1741569825.39
max_stuck=5.33/waiting-for-lock #228=21.61/depends=23.41/show-prepare-results=7.74/build=55.15
Error: job failed with 512 on sparc64-0d at 1741569825