[package - main-amd64-default][net/yate] Failed for yate-6.4.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 28 Dec 2021 18:17:03 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:     nc@FreeBSD.org
Log URL:        http://beefy18.nyi.freebsd.org/data/main-amd64-default/p1b3c44d137ce_s0af4ce4547/logs/yate-6.4.0_1.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p1b3c44d137ce_s0af4ce4547
Log:

=>> Building net/yate
build started at Tue Dec 28 18:16:39 UTC 2021
port directory: /usr/ports/net/yate
package name: yate-6.4.0_1
building for: FreeBSD main-amd64-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400045 amd64
maintained by: nc@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400045
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400045
UNAME_v=FreeBSD 14.0-CURRENT 1400045
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for yate-6.4.0_1:
     AMRNB=off: Adaptive Multi-Rate Narrowband support
     DAHDI=off: Dahdi support
     DOCS=on: Build and/or install documentation
     H323=off: H323 software channel/protocol support
     ILBC=off: iLBC narrowband speech codec support
     MYSQL=off: MySQL database support
     PGSQL=off: PostgreSQL database support
     SCTP=on: Stream Control Transmission Protocol support
     SPANDSP=off: SpanDSP faxing support
     SQLITE=off: SQLite database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
nc@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-fdsize  --without-libqt4  --with-zlib=/usr --without-amrnb --disable-dahdi --without-openh323 --disable-ilbc --without-mysql --without-libpq --enable-sctp --without-spandsp --without-sqlite --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/yate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/yate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/yate/work/.cache  HOME=/wrkdirs/usr/ports/net/yate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/yate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/yate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/yate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/yate/work/.cache  HOME=/wrkdirs/usr/ports/net/yate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/yate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpat
 h=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 "  MANPREFIX="/usr/local" 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--
VERSION="6.4.0" PORTDOCS="" AMRNB="@comment " NO_AMRNB="" DAHDI="@comment " NO_DAHDI="" DOCS="" NO_DOCS="@comment " H323="@comment " NO_H323="" ILBC="@comment " NO_ILBC="" MYSQL="@comment " NO_MYSQL="" PGSQL="@comment " NO_PGSQL="" SCTP="" NO_SCTP="@comment " SPANDSP="@comment " NO_SPANDSP="" SQLITE="@comment " NO_SQLITE="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/yate-6.4.0"  EXAMPLESDIR="share/examples/yate"  DATADIR="share/yate"  WWWDIR="www/yate"  ETCDIR="etc/yate"
--End PLIST_SUB--

--SUB_LIST--
AMRNB="@comment " NO_AMRNB="" DAHDI="@comment " NO_DAHDI="" DOCS="" NO_DOCS="@comment " H323="@comment " NO_H323="" ILBC="@comment " NO_ILBC="" MYSQL="@comment " NO_MYSQL="" PGSQL="@comment " NO_PGSQL="" SCTP="" NO_SCTP="@comment " SPANDSP="@comment " NO_SPANDSP="" SQLITE="@comment " NO_SQLITE="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/yate DOCSDIR=/usr/local/share/doc/yate-6.4.0 EXAMPLESDIR=/usr/local/share/examples/yate  WWWDIR=/usr/local/www/yate ETCDIR=/usr/local/etc/yate
--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
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400045
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   yate-6.4.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-amd64-default-job-10] Installing pkg-1.17.5...
[main-amd64-default-job-10] Extracting pkg-1.17.5: .......... done
===>   yate-6.4.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of yate-6.4.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by yate-6.4.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by yate-6.4.0_1 for building
=> SHA256 Checksum OK for yate-6.4.0-1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by yate-6.4.0_1 for building
===>  Extracting for yate-6.4.0_1
=> SHA256 Checksum OK for yate-6.4.0-1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
[main-amd64-default-job-10] Extracting speex-1.2.0,1: .......... done
===>   yate-6.4.0_1 depends on shared library: libspeex.so - found (/usr/local/lib/libspeex.so)
===>   Returning to build of yate-6.4.0_1
===>   yate-6.4.0_1 depends on shared library: libgsm.so - not found
===>   Installing existing package /packages/All/gsm-1.0.19.pkg
[main-amd64-default-job-10] Installing gsm-1.0.19...
[main-amd64-default-job-10] Extracting gsm-1.0.19: .......... done
=====
Message from gsm-1.0.19:

--
===>   NOTICE:

The gsm 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
===>   yate-6.4.0_1 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so)
===>   Returning to build of yate-6.4.0_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for yate-6.4.0_1
configure: loading site script /usr/ports/Templates/config.site
checking for local operating system type... FreeBSD
checking for libraries directory name... lib
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++10 accepts -g... yes
checking for gcc... gcc10
checking whether we are using the GNU C compiler... yes
checking whether gcc10 accepts -g... yes
checking for gcc10 option to accept ISO C89... none needed
checking for gawk... (cached) /usr/bin/awk
checking for sed command to use... sed -E
checking how to run the C preprocessor... cpp10
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for gcc printf format typechecks... yes
checking for -Wno-overloaded-virtual flag... yes
checking if ld supports reporting unresolved symbols... yes
checking if instruction blocks return values... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for arpa/inet.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for malloc... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_ntoa... (cached) yes
checking for memmove... (cached) yes
checking for strerror... (cached) yes
checking for getcwd... (cached) yes
checking for prctl... no
checking for sockaddr.sa_len presence... yes
checking for tm.tm_gmtoff presence... yes
checking for integer timezone variable... no
checking for poll... yes
checking for pthread_mutexattr_settype in -lpthread... yes
checking for dlopen in default libs... yes
checking for pthread_mutexattr_settype declaration... no
checking for pthread_mutex_timedlock... yes
checking for sem_timedwait... yes
checking for inet_ntop... (cached) yes
checking for inet_pton... yes
checking for gethostbyname_r... yes
checking for gethostbyname2_r... yes
checking for gethostbyname2... yes
checking for pthread_kill_other_threads_np declaration... no
checking for pthread_setaffinity_np declaration... no
checking for sched_setaffinity declaration... yes
checking whether to use inline functions... auto
checking whether to use atomic integer operations... yes
checking whether to use sse2 operations... no
checking for basic SCTP support... yes
checking for netinet/sctp.h usability... yes
checking whether sctp_connectx has 4 arguments... yes
checking whether sctp_setadaptation struct is present... yes
checking whether sctp_sack_info struct is present... yes
checking whether SCTP_UNCONFIRMED is present... yes
checking whether SCTP_PF is present... yes
checking for resolver library... yes 
checking for dn_skipname... yes
checking whether to use the internal regexp library... yes
checking for Wanpipe new generic headers... no
checking for Wanpipe old generic headers... no
checking for Wanpipe linux headers... no
checking for sound card headers... yes
checking for ALSA headers... yes
checking for gsm.h in /usr/local/include... yes
checking for iLBC miniwebrtc in libs... yes
checking for iSAC float in libs... yes
checking for G.722 miniwebrtc in libs... yes
checking for speex.h in /usr/local/include/speex... yes
checking for Pwlib in /usr/local... no  RTTI: none
checking for OpenSSL using pkg-config... no
checking for zlib in /usr... yes
checking for libusb in /usr... no
checking for mallinfo in malloc.h... no
checking for coredumper.h in /usr/local... no
checking whether to enable RTTI support... none
checking if shared libraries should be executable... yes
checking for doxygen version... no
checking for kdoc version... no
configure: creating ./config.status
config.status: creating packing/rpm/yate.spec
config.status: creating packing/portage/yate.ebuild
config.status: creating yate.pc
config.status: creating yateversn.h
config.status: creating yateiss.inc
config.status: creating Makefile
config.status: creating engine/Makefile
config.status: creating modules/Makefile
config.status: creating modules/test/Makefile
config.status: creating clients/Makefile
config.status: creating clients/qt4/Makefile
config.status: creating libs/ilbc/Makefile
config.status: creating libs/ysip/Makefile
config.status: creating libs/yrtp/Makefile
config.status: creating libs/ysdp/Makefile
config.status: creating libs/yiax/Makefile
config.status: creating libs/yjabber/Makefile
config.status: creating libs/yscript/Makefile
config.status: creating libs/ymgcp/Makefile
config.status: creating libs/ysig/Makefile
config.status: creating libs/ypbx/Makefile
config.status: creating libs/ymodem/Makefile
config.status: creating libs/yasn/Makefile
config.status: creating libs/ysnmp/Makefile
config.status: creating libs/miniwebrtc/Makefile
config.status: creating libs/yradio/Makefile
config.status: creating share/Makefile
config.status: creating share/scripts/Makefile
config.status: creating share/skins/Makefile
config.status: creating share/sounds/Makefile
config.status: creating share/help/Makefile
config.status: creating share/data/Makefile
config.status: creating conf.d/Makefile
config.status: creating yate-config
config.status: creating run
===========================================================================
=======================<phase: build          >============================
===>  Building for yate-6.4.0_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/yate/work/yate-6.4.0-1'
gmake -C ./engine all
gmake[2]: Entering directory '/wrkdirs/usr/ports/net/yate/work/yate-6.4.0-1/engine'
g++10 -Wall   -I.. -I.. -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing  -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -DATOMIC_OPS -DHAVE_GMTOFF  -c TelEngine.cpp
g++10 -Wall   -I.. -I.. -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing  -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -c ObjList.cpp
g++10 -Wall   -I.. -I.. -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing  -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -c HashList.cpp
g++10 -Wall   -I.. -I.. -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing  -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -DMUTEX_HACK -DHAVE_TIMEDLOCK -DHAVE_TIMEDWAIT -c Mutex.cpp
g++10 -Wall   -I.. -I.. -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing  -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN   -DSCHED_AFFINITY  -c Thread.cpp
Thread.cpp: In static member function 'static int TelEngine::ThreadPrivate::setAffinity(TelEngine::ThreadPrivate*, const TelEngine::DataBlock&)':
Thread.cpp:528:23: error: 'SYS_gettid' was not declared in this scope; did you mean 'SYS_getuid'?
  528 |  tid = (pid_t)syscall(SYS_gettid);
      |                       ^~~~~~~~~~
      |                       SYS_getuid
Thread.cpp: In static member function 'static int TelEngine::ThreadPrivate::getAffinity(TelEngine::ThreadPrivate*, TelEngine::DataBlock&)':
Thread.cpp:596:23: error: 'SYS_gettid' was not declared in this scope; did you mean 'SYS_getuid'?
  596 |  tid = (pid_t)syscall(SYS_gettid);
      |                       ^~~~~~~~~~
      |                       SYS_getuid
gmake[2]: *** [Makefile:115: Thread.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/yate/work/yate-6.4.0-1/engine'
gmake[1]: *** [Makefile:356: library] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/yate/work/yate-6.4.0-1'
*** Error code 1

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