[package - main-amd64-default][mail/libsrs_alt] Failed for libsrs_alt-1.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 07 Aug 2024 16:59:40 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:     pi@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p46b3743b8469_s3a4b04e82df/logs/libsrs_alt-1.0_2.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p46b3743b8469_s3a4b04e82df
Log:

=>> Building mail/libsrs_alt
build started at Wed Aug  7 16:59:31 UTC 2024
port directory: /usr/ports/mail/libsrs_alt
package name: libsrs_alt-1.0_2
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 amd64
maintained by: pi@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 966 Aug  8  2023 /usr/ports/mail/libsrs_alt/Makefile
Ports top last git commit: 46b3743b846
Ports top unclean checkout: no
Port dir last git commit: a254074c95d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
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-30-g79e3edcd
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/06/.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-30-g79e3edcd
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 libsrs_alt-1.0_2:
     COMPAT_BASE64=off: MTA Friendly base64 compatibility mode
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
pi@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work/.cache  HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/libsrs_alt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/libsrs_alt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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/mail/libsrs_alt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work/.cache  HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/libsrs_alt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/libsrs_alt/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="ins
tall  -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--
SHLIB_MAJOR="1" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libsrs_alt"  EXAMPLESDIR="share/examples/libsrs_alt"  DATADIR="share/libsrs_alt"  WWWDIR="www/libsrs_alt"  ETCDIR="etc/libsrs_alt"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libsrs_alt DOCSDIR=/usr/local/share/doc/libsrs_alt EXAMPLESDIR=/usr/local/share/examples/libsrs_alt  WWWDIR=/usr/local/www/libsrs_alt ETCDIR=/usr/local/etc/libsrs_alt
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libsrs_alt-1.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-06] Installing pkg-1.21.3...
[main-amd64-default-job-06] Extracting pkg-1.21.3: .......... done
===>   libsrs_alt-1.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libsrs_alt-1.0_2
===========================================================================
=======================<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
===> Fetching all distfiles required by libsrs_alt-1.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by libsrs_alt-1.0_2 for building
=> SHA256 Checksum OK for libsrs_alt-1.0.tar.bz2.
===========================================================================
=======================<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
===> Fetching all distfiles required by libsrs_alt-1.0_2 for building
===>  Extracting for libsrs_alt-1.0_2
=> SHA256 Checksum OK for libsrs_alt-1.0.tar.bz2.
===========================================================================
=======================<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 libsrs_alt-1.0_2
===>  Applying FreeBSD patches for libsrs_alt-1.0_2 from /usr/ports/mail/libsrs_alt/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for libsrs_alt-1.0_2
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0/configure
configure: loading site script /usr/ports/Templates/config.site
<snip>
address.c:157:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
  157 | }
      | ^
--- libsrs_alt_la-srs_alt.lo ---
srs_alt.c:316:57: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  316 |     if(srs__hash(srs, -1, address, strlen(address), md, &n) != SRS_RESULT_OK)
      |                                                         ^~
./hash.h:28:92: note: passing argument to parameter 'md_len' here
   28 | srs_result srs__hash(srs_t *srs, int secret_no, char *data, uint data_len, char *md, uint *md_len);
      |                                                                                            ^
srs_alt.c:320:23: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  320 |     if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK)
      |                       ^~
./address.h:37:49: note: passing argument to parameter 'data' here
   37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
--- libsrs_alt_la-hash.lo ---
3 warnings generated.
 cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-hash.lo -MD -MP -MF .deps/libsrs_alt_la-hash.Tpo -c hash.c -o libsrs_alt_la-hash.o >/dev/null 2>&1
--- libsrs_alt_la-timestamp.lo ---
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF ".deps/libsrs_alt_la-timestamp.Tpo" -c -o libsrs_alt_la-timestamp.lo `test -f 'timestamp.c' || echo './'`timestamp.c;  then mv -f ".deps/libsrs_alt_la-timestamp.Tpo" ".deps/libsrs_alt_la-timestamp.Plo"; else rm -f ".deps/libsrs_alt_la-timestamp.Tpo"; exit 1; fi
--- libsrs_alt_la-address.lo ---
1 warning generated.
--- libsrs_alt_la-srs_alt.lo ---
3 warnings generated.
--- libsrs_alt_la-address.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-address.lo -MD -MP -MF .deps/libsrs_alt_la-address.Tpo -c address.c -o libsrs_alt_la-address.o >/dev/null 2>&1
--- libsrs_alt_la-srs_alt.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-srs_alt.lo -MD -MP -MF .deps/libsrs_alt_la-srs_alt.Tpo -c srs_alt.c -o libsrs_alt_la-srs_alt.o >/dev/null 2>&1
--- libsrs_alt_la-timestamp.lo ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF .deps/libsrs_alt_la-timestamp.Tpo -c timestamp.c  -fPIC -DPIC -o .libs/libsrs_alt_la-timestamp.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF .deps/libsrs_alt_la-timestamp.Tpo -c timestamp.c -o libsrs_alt_la-timestamp.o >/dev/null 2>&1
--- libsrs_alt_a-address.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-address.o -MD -MP -MF ".deps/libsrs_alt_a-address.Tpo" -c -o libsrs_alt_a-address.o `test -f 'address.c' || echo './'`address.c;  then mv -f ".deps/libsrs_alt_a-address.Tpo" ".deps/libsrs_alt_a-address.Po"; else rm -f ".deps/libsrs_alt_a-address.Tpo"; exit 1; fi
--- libsrs_alt_a-hash.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-hash.o -MD -MP -MF ".deps/libsrs_alt_a-hash.Tpo" -c -o libsrs_alt_a-hash.o `test -f 'hash.c' || echo './'`hash.c;  then mv -f ".deps/libsrs_alt_a-hash.Tpo" ".deps/libsrs_alt_a-hash.Po"; else rm -f ".deps/libsrs_alt_a-hash.Tpo"; exit 1; fi
--- libsrs_alt_a-address.o ---
address.c:157:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
  157 | }
      | ^
--- libsrs_alt_a-hash.o ---
hash.c:36:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   36 |     mHMAC_process(&hmac, data, data_len);
      |                          ^~~~
./../lib/hmac.h:46:47: note: passing argument to parameter 'data' here
   46 | int mHMAC_process(mHMAC *hmac, unsigned char *data, int data_len);
      |                                               ^
hash.c:37:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   37 |     mHMAC_end(&hmac, md);
      |                      ^~
./../lib/hmac.h:47:43: note: passing argument to parameter 'hash_buffer' here
   47 | int mHMAC_end(mHMAC *hmac, unsigned char *hash_buffer);
      |                                           ^
hash.c:66:24: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   66 |         srs__base64enc(md, n, buf, 128);
      |                        ^~
./address.h:37:49: note: passing argument to parameter 'data' here
   37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
--- libsrs_alt_a-srs_alt.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-srs_alt.o -MD -MP -MF ".deps/libsrs_alt_a-srs_alt.Tpo" -c -o libsrs_alt_a-srs_alt.o `test -f 'srs_alt.c' || echo './'`srs_alt.c;  then mv -f ".deps/libsrs_alt_a-srs_alt.Tpo" ".deps/libsrs_alt_a-srs_alt.Po"; else rm -f ".deps/libsrs_alt_a-srs_alt.Tpo"; exit 1; fi
--- libsrs_alt_a-hash.o ---
3 warnings generated.
--- libsrs_alt_a-timestamp.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-timestamp.o -MD -MP -MF ".deps/libsrs_alt_a-timestamp.Tpo" -c -o libsrs_alt_a-timestamp.o `test -f 'timestamp.c' || echo './'`timestamp.c;  then mv -f ".deps/libsrs_alt_a-timestamp.Tpo" ".deps/libsrs_alt_a-timestamp.Po"; else rm -f ".deps/libsrs_alt_a-timestamp.Tpo"; exit 1; fi
--- libsrs_alt_a-srs_alt.o ---
srs_alt.c:255:27: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  255 |         if(srs__base64enc(md, n, lbuf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK)
      |                           ^~
./address.h:37:49: note: passing argument to parameter 'data' here
   37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
srs_alt.c:316:57: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  316 |     if(srs__hash(srs, -1, address, strlen(address), md, &n) != SRS_RESULT_OK)
      |                                                         ^~
./hash.h:28:92: note: passing argument to parameter 'md_len' here
   28 | srs_result srs__hash(srs_t *srs, int secret_no, char *data, uint data_len, char *md, uint *md_len);
      |                                                                                            ^
srs_alt.c:320:23: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  320 |     if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK)
      |                       ^~
./address.h:37:49: note: passing argument to parameter 'data' here
   37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
--- libsrs_alt_a-address.o ---
1 warning generated.
--- libsrs_alt.la ---
/bin/sh ../libtool --tag=CC --mode=link cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o libsrs_alt.la -rpath /usr/local/lib -version-info 1:0 libsrs_alt_la-address.lo  libsrs_alt_la-hash.lo libsrs_alt_la-srs_alt.lo  libsrs_alt_la-timestamp.lo ../lib/libcompat.la 
cc -shared  .libs/libsrs_alt_la-address.o .libs/libsrs_alt_la-hash.o .libs/libsrs_alt_la-srs_alt.o .libs/libsrs_alt_la-timestamp.o -Wl,--whole-archive ../lib/.libs/libcompat.a -Wl,--no-whole-archive   -Wl,-soname -Wl,libsrs_alt.so.1 -o .libs/libsrs_alt.so.1.0.0
(cd .libs && rm -f libsrs_alt.so.1 && ln -s libsrs_alt.so.1.0.0 libsrs_alt.so.1)
(cd .libs && rm -f libsrs_alt.so && ln -s libsrs_alt.so.1.0.0 libsrs_alt.so)
rm -fr .libs/libsrs_alt.lax
--- libsrs_alt_a-srs_alt.o ---
3 warnings generated.
--- libsrs_alt.la ---
mkdir .libs/libsrs_alt.lax
rm -fr .libs/libsrs_alt.lax/libcompat.a
mkdir .libs/libsrs_alt.lax/libcompat.a
(cd .libs/libsrs_alt.lax/libcompat.a && ar x /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0/src/../lib/.libs/libcompat.a)
--- libsrs_alt.a ---
rm -f libsrs_alt.a
ar cru libsrs_alt.a libsrs_alt_a-address.o  libsrs_alt_a-hash.o libsrs_alt_a-srs_alt.o  libsrs_alt_a-timestamp.o ../lib/libcompat.a
ranlib libsrs_alt.a
--- libsrs_alt.la ---
ar cru .libs/libsrs_alt.a  libsrs_alt_la-address.o libsrs_alt_la-hash.o libsrs_alt_la-srs_alt.o libsrs_alt_la-timestamp.o .libs/libsrs_alt.lax/libcompat.a/libcompat_la-sha1.o .libs/libsrs_alt.lax/libcompat.a/libcompat_la-hmac.o 
ranlib .libs/libsrs_alt.a
rm -fr .libs/libsrs_alt.lax
creating libsrs_alt.la
(cd .libs && rm -f libsrs_alt.la && ln -s ../libsrs_alt.la libsrs_alt.la)
Making all in .
--- srs.o ---
--- test.o ---
--- srs.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.      -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT srs.o -MD -MP -MF ".deps/srs.Tpo" -c -o srs.o srs.c;  then mv -f ".deps/srs.Tpo" ".deps/srs.Po"; else rm -f ".deps/srs.Tpo"; exit 1; fi
--- test.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.      -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o test.c;  then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi
In file included from test.c:4:
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   41 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
test.c:31:9: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   31 |         exit(0);
      |         ^
test.c:31:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
test.c:35:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   35 |     n = srs__base64enc(argv[1], strlen(argv[1]), buf, 256);
      |                        ^~~~~~~
./src/address.h:37:49: note: passing argument to parameter 'data' here
   37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
test.c:44:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   44 |     n = srs__base32enc(argv[1], strlen(argv[1]), buf, 256);
      |                        ^~~~~~~
./src/address.h:39:49: note: passing argument to parameter 'data' here
   39 | extern srs_result srs__base32enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len);
      |                                                 ^
--- srs.o ---
srs.c:392:1: warning: non-void function does not return a value [-Wreturn-type]
  392 | }
      | ^
srs.c:492:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  492 |         while((ns = accept(s, (struct sockaddr *)&cs, &csl)) > 0)
      |                                                       ^~~~
/usr/include/sys/socket.h:682:69: note: passing argument to parameter here
  682 | int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                         ^
srs.c:574:66: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
  574 |         printf("srs - libsrs_alt library http://srs.mirtol.com/\n<A9>2004 Miles Wilton\n\n");
      |                                                                  ^~~~
srs.c:595:9: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  595 |         wait(NULL);
      |         ^
--- test.o ---
4 warnings generated.
--- test ---
/bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o test src/.libs/libsrs_alt.a -lcompat test.o lib/libcompat.a 
mkdir .libs
cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o test test.o  src/.libs/libsrs_alt.a -lcompat lib/libcompat.a
--- srs.o ---
4 warnings generated.
--- srs ---
/bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o srs src/.libs/libsrs_alt.a srs.o lib/libcompat.a 
--- test ---
ld: error: undefined symbol: ftime
>>> referenced by test.c
>>>               test.o:(main)
>>> referenced by test.c
>>>               test.o:(main)
>>> referenced by test.c
>>>               test.o:(main)
>>> did you mean: ctime
>>> defined in: /lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [test] Error code 1

make[2]: stopped making "all-am" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
--- srs ---
cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o srs srs.o  src/.libs/libsrs_alt.a lib/libcompat.a
make[2]: 1 error

make[2]: stopped making "all-am" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
*** [all-recursive] Error code 1

make[1]: stopped making "all-recursive" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
make[1]: 1 error

make[1]: stopped making "all-recursive" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
*** [all] Error code 2

make: stopped making "all" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
make: 1 error

make: stopped making "all" in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0
===> 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 making "build" in /usr/ports/mail/libsrs_alt