[package - main-amd64-default][net/opensips31] Failed for opensips31-3.1.11_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 12:06:00 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     bambyster@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p74acf3311b89_s8bfb23abf8/logs/opensips31-3.1.11_3.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p74acf3311b89_s8bfb23abf8
Log:

=>> Building net/opensips31
build started at Wed Feb 28 12:05:44 UTC 2024
port directory: /usr/ports/net/opensips31
package name: opensips31-3.1.11_3
building for: FreeBSD main-amd64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500014 amd64
maintained by: bambyster@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 3205 Feb 27 01:01 /usr/ports/net/opensips31/Makefile
Ports top last git commit: 74acf3311b8
Ports top unclean checkout: no
Port dir last git commit: 5aed87b8861
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1500014
Job Id: 10




!!! Jail is newer than host. (Jail: 1500014, Host: 1500006) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500014
UNAME_v=FreeBSD 15.0-CURRENT 1500014
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for opensips31-3.1.11_3:
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     HTTP=on: Enable HTTP transport via libmicrohttpd
     LDAP=on: LDAP protocol support
     MEMCACHED=on: Build with memcached support
     MYSQL=off: MySQL database support
     PGSQL=on: PostgreSQL database support
     PYTHON=on: Python bindings or support
     RABBITMQ=on: RabbitMQ/AMQP support
     RADIUS=on: RADIUS protocol support
     REDIS=on: Redis key-value store database support
     SQLITE=off: SQLite database support
     TESTS=off: Install smoke tests
     TLS=on: Secure network connection support via TLS
     UNIXODBC=off: ODBC backend via unixODBC
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bambyster@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/net/opensips31/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/opensips31/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/opensips31/work/.cache  HOME=/wrkdirs/usr/ports/net/opensips31/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/opensips31/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/opensips31/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
BASEDIR=/wrkdirs/usr/ports/net/opensips31/work/stage  INSTALL_BIN="install  -s -m 555"  INSTALL_CFG="install  -m 0644"  INSTALL_DOC="install  -m 0644"  INSTALL_MODULES="install  -s -m 555"  JSON_BUILDER="pkgconf json-c"  NICER=0 PYTHON=/usr/local/bin/python3.9 PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/opensips31/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/opensips31/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/opensips31/work/.cache  HOME=/wrkdirs/usr/ports/net/opensips31/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/opensips31/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/opensips31/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBAS
E=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -pthread -DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -pthread  -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -pthread -DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -pthread -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " HTTP="" NO_HTTP="@comment " LDAP="" NO_LDAP="@comment " MEMCACHED="" NO_MEMCACHED="@comment " MYSQL="@comment " NO_MYSQL="" PGSQL="" NO_PGSQL="@comment " PYTHON="" NO_PYTHON="@comment " RABBITMQ="" NO_RABBITMQ="@comment " RADIUS="" NO_RADIUS="@comment " REDIS="" NO_REDIS="@comment " SQLITE="@comment " NO_SQLITE="" TESTS="@comment " NO_TESTS="" TLS="" NO_TLS="@comment " UNIXODBC="@comment " NO_UNIXODBC="" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3  PERL_VER=5.36  PERL5_MAN1=lib/pe
rl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/opensips31"  EXAMPLESDIR="share/examples/opensips31"  DATADIR="share/opensips31"  WWWDIR="www/opensips31"  ETCDIR="etc/opensips31"
--End PLIST_SUB--

--SUB_LIST--
 DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " HTTP="" NO_HTTP="@comment " LDAP="" NO_LDAP="@comment " MEMCACHED="" NO_MEMCACHED="@comment " MYSQL="@comment " NO_MYSQL="" PGSQL="" NO_PGSQL="@comment " PYTHON="" NO_PYTHON="@comment " RABBITMQ="" NO_RABBITMQ="@comment " RADIUS="" NO_RADIUS="@comment " REDIS="" NO_REDIS="@comment " SQLITE="@comment " NO_SQLITE="" TESTS="@comment " NO_TESTS="" TLS="" NO_TLS="@comment " UNIXODBC="@comment " NO_UNIXODBC="" PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/opensips31 DOCSDIR=/usr/local/share/doc/opensips31 EXAMPLESDIR=/usr/local/share/examples/opensips31  WWWDIR=/usr/local/www/open
sips31 ETCDIR=/usr/local/etc/opensips31
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   opensips31-3.1.11_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-amd64-default-job-10] Installing pkg-1.20.9_1...
[main-amd64-default-job-10] Extracting pkg-1.20.9_1: .......... done
===>   opensips31-3.1.11_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of opensips31-3.1.11_3
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by opensips31-3.1.11_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by opensips31-3.1.11_3 for building
=> SHA256 Checksum OK for opensips-3.1.11.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by opensips31-3.1.11_3 for building
===>  Extracting for opensips31-3.1.11_3
=> SHA256 Checksum OK for opensips-3.1.11.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for opensips31-3.1.11_3
===>  Applying FreeBSD patches for opensips31-3.1.11_3 from /usr/ports/net/opensips31/files
===========================================================================
<snip>
[main-amd64-default-job-10] Extracting e2fsprogs-libuuid-1.47.0: .......... done
===>   opensips31-3.1.11_3 depends on shared library: libuuid.so - found (/usr/local/lib/libuuid.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: libmicrohttpd.so - not found
===>   Installing existing package /packages/All/libmicrohttpd-1.0.1.pkg
[main-amd64-default-job-10] Installing libmicrohttpd-1.0.1...
[main-amd64-default-job-10] `-- Installing gnutls-3.7.10_2...
[main-amd64-default-job-10] |   `-- Installing gmp-6.3.0...
[main-amd64-default-job-10] |   `-- Extracting gmp-6.3.0: .......... done
[main-amd64-default-job-10] |   `-- Installing libtasn1-4.19.0_1...
[main-amd64-default-job-10] |   `-- Extracting libtasn1-4.19.0_1: .......... done
[main-amd64-default-job-10] |   `-- Installing nettle-3.9.1...
[main-amd64-default-job-10] |   `-- Extracting nettle-3.9.1: .......... done
[main-amd64-default-job-10] |   `-- Installing p11-kit-0.25.3_1...
[main-amd64-default-job-10] |   | `-- Installing glib-2.78.4,2...
[main-amd64-default-job-10] |   |   `-- Installing libiconv-1.17_1...
[main-amd64-default-job-10] |   |   `-- Extracting libiconv-1.17_1: .......... done
[main-amd64-default-job-10] |   |   `-- Installing libxml2-2.11.7...
[main-amd64-default-job-10] |   |   `-- Extracting libxml2-2.11.7: .......... done
[main-amd64-default-job-10] |   |   `-- Installing pcre2-10.43...
[main-amd64-default-job-10] |   |   `-- Extracting pcre2-10.43: .......... done
[main-amd64-default-job-10] |   | `-- Extracting glib-2.78.4,2: .......... done
[main-amd64-default-job-10] |   `-- Extracting p11-kit-0.25.3_1: .......... done
[main-amd64-default-job-10] `-- Extracting gnutls-3.7.10_2: .......... done
[main-amd64-default-job-10] Extracting libmicrohttpd-1.0.1: .......... done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
===>   opensips31-3.1.11_3 depends on shared library: libmicrohttpd.so - found (/usr/local/lib/libmicrohttpd.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: libmemcached.so - not found
===>   Installing existing package /packages/All/libmemcached-1.1.4_1.pkg
[main-amd64-default-job-10] Installing libmemcached-1.1.4_1...
[main-amd64-default-job-10] `-- Installing cyrus-sasl-2.1.28_4...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[main-amd64-default-job-10] `-- Extracting cyrus-sasl-2.1.28_4: .......... done
[main-amd64-default-job-10] `-- Installing libevent-2.1.12...
[main-amd64-default-job-10] `-- Extracting libevent-2.1.12: .......... done
[main-amd64-default-job-10] Extracting libmemcached-1.1.4_1: .......... done
=====
Message from cyrus-sasl-2.1.28_4:

--
You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
===>   opensips31-3.1.11_3 depends on shared library: libmemcached.so - found (/usr/local/lib/libmemcached.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: librabbitmq.so - not found
===>   Installing existing package /packages/All/rabbitmq-c-0.13.0.pkg
[main-amd64-default-job-10] Installing rabbitmq-c-0.13.0...
[main-amd64-default-job-10] `-- Installing popt-1.19_1...
[main-amd64-default-job-10] `-- Extracting popt-1.19_1: .......... done
[main-amd64-default-job-10] Extracting rabbitmq-c-0.13.0: .......... done
===>   opensips31-3.1.11_3 depends on shared library: librabbitmq.so - found (/usr/local/lib/librabbitmq.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: libradiusclient-ng.so - not found
===>   Installing existing package /packages/All/radiusclient-0.5.6_3.pkg
[main-amd64-default-job-10] Installing radiusclient-0.5.6_3...
[main-amd64-default-job-10] Extracting radiusclient-0.5.6_3: .......... done
=====
Message from radiusclient-0.5.6_3:

--
===>   NOTICE:

The radiusclient port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   opensips31-3.1.11_3 depends on shared library: libradiusclient-ng.so - found (/usr/local/lib/libradiusclient-ng.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: libhiredis.so - not found
===>   Installing existing package /packages/All/hiredis-1.0.2.pkg
[main-amd64-default-job-10] Installing hiredis-1.0.2...
[main-amd64-default-job-10] Extracting hiredis-1.0.2: .......... done
===>   opensips31-3.1.11_3 depends on shared library: libhiredis.so - found (/usr/local/lib/libhiredis.so)
===>   Returning to build of opensips31-3.1.11_3
===>   opensips31-3.1.11_3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   opensips31-3.1.11_3 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   opensips31-3.1.11_3 depends on shared library: libldap.so.2 - not found
===>   Installing existing package /packages/All/openldap26-client-2.6.7.pkg
[main-amd64-default-job-10] Installing openldap26-client-2.6.7...
[main-amd64-default-job-10] Extracting openldap26-client-2.6.7: .......... done
=====
Message from openldap26-client-2.6.7:

--
The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.
===>   opensips31-3.1.11_3 depends on shared library: libldap.so.2 - found (/usr/local/lib/libldap.so.2)
===>   Returning to build of opensips31-3.1.11_3
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for opensips31-3.1.11_3
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for opensips31-3.1.11_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/opensips31/work/opensips-3.1.11'
grep: trailing backslash (\)
Generating parser
yacc -d -b cfg cfg.y
Generating parser
yacc -d -b cfg cfg.y
yacc: 2 shift/reduce conflicts.
yacc: 2 shift/reduce conflicts.
Generating lexer
flex --never-interactive cfg.lex
grep: trailing backslash (\)
Compiling action.c
cc -O2 -pipe  -pthread -DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC  -DQ_MALLOC  -DHP_MALLOC  -DDBG_MALLOC  -DNO_DEBUG  -DUSE_UMUTEX   -DNAME='"opensips31"' -DVERSION='"3.1.11"' -DARCH='"amd64"' -DOS='"freebsd"' -DCOMPILER='"cc 17.0.6"' -D__CPU_amd64 -D__OS_freebsd -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips31/"'  -DVERSIONTYPE='"git"' -DTHISREVISION='"c51486e3a"' -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_NETINET_IN_SYSTM -DHAVE_KQUEUE -DHAVE_SELECT -c action.c -o action.o
Compiling async.c
cc -O2 -pipe  -pthread -DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC  -DQ_MALLOC  -DHP_MALLOC  -DDBG_MALLOC  -DNO_DEBUG  -DUSE_UMUTEX   -DNAME='"opensips31"' -DVERSION='"3.1.11"' -DARCH='"amd64"' -DOS='"freebsd"' -DCOMPILER='"cc 17.0.6"' -D__CPU_amd64 -D__OS_freebsd -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips31/"'  -DVERSIONTYPE='"git"' -DTHISREVISION='"c51486e3a"' -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_NETINET_IN_SYSTM -DHAVE_KQUEUE -DHAVE_SELECT -c async.c -o async.o
Compiling bin_interface.c
cc -O2 -pipe  -pthread -DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST  -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DF_MALLOC  -DQ_MALLOC  -DHP_MALLOC  -DDBG_MALLOC  -DNO_DEBUG  -DUSE_UMUTEX   -DNAME='"opensips31"' -DVERSION='"3.1.11"' -DARCH='"amd64"' -DOS='"freebsd"' -DCOMPILER='"cc 17.0.6"' -D__CPU_amd64 -D__OS_freebsd -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips31/"'  -DVERSIONTYPE='"git"' -DTHISREVISION='"c51486e3a"' -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_NETINET_IN_SYSTM -DHAVE_KQUEUE -DHAVE_SELECT -c bin_interface.c -o bin_interface.o
In file included from async.c:26:
In file included from ./mem/shm_mem.h:25:
In file included from ./mem/../statistics.h:155:
In file included from ./mem/../locking.h:65:
./mem/../lock_ops.h:150:1: error: static declaration of '_umtx_op_err' follows non-static declaration
  150 | _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2)
      | ^
/usr/include/sys/umtx.h:138:5: note: previous declaration is here
  138 | int _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2);
      |     ^
In file included from action.c:48:
In file included from ./action.h:30:
In file included from ./parser/msg_parser.h:57:
In file included from ./parser/parse_body.h:27:
In file included from ./parser/../mem/mem.h:37:
In file included from ./parser/../mem/common.h:50:
In file included from ./parser/../mem/hp_malloc.h:29:
In file included from ./parser/../mem/../statistics.h:155:
In file included from ./parser/../mem/../locking.h:65:
./parser/../mem/../lock_ops.h:150:1: error: static declaration of '_umtx_op_err' follows non-static declaration
  150 | _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2)
      | ^
/usr/include/sys/umtx.h:138:5: note: previous declaration is here
  138 | int _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2);
      |     ^
In file included from bin_interface.c:28:
In file included from ./pt.h:31:
In file included from ./pt_load.h:25:
In file included from ./statistics.h:155:
In file included from ./locking.h:65:
./lock_ops.h:150:1: error: static declaration of '_umtx_op_err' follows non-static declaration
  150 | _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2)
      | ^
/usr/include/sys/umtx.h:138:5: note: previous declaration is here
  138 | int _umtx_op_err(void *obj, int op, u_long val, void *uaddr, void *uaddr2);
      |     ^
1 error generated.
gmake[1]: *** [Makefile.rules:25: async.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
gmake[1]: *** [Makefile.rules:25: action.o] Error 1
gmake[1]: *** [Makefile.rules:25: bin_interface.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/opensips31/work/opensips-3.1.11'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/opensips31