[package - main-powerpc64le-default][net/ss5] Failed for ss5-3.8.9.8_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 03 Jul 2023 13:53:08 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:     raffaele.delorenzo@libero.it
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p8c7f3e19a83a_se495600ce3/logs/ss5-3.8.9.8_3.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p8c7f3e19a83a_se495600ce3
Log:

=>> Building net/ss5
build started at Mon Jul  3 13:51:27 UTC 2023
port directory: /usr/ports/net/ss5
package name: ss5-3.8.9.8_3
building for: FreeBSD main-powerpc64le-default-job-22 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 powerpc
maintained by: raffaele.delorenzo@libero.it
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400088
Jail OSVERSION: 1400092
Job Id: 22




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400092
UNAME_v=FreeBSD 14.0-CURRENT 1400092
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-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 ss5-3.8.9.8_3:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
raffaele.delorenzo@libero.it
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-binpathbase=/usr/local/sbin  --with-docpathbase=/usr/local/share/doc  --with-confpathbase=/usr/local/etc  --with-libpath=/usr/local/lib --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/ss5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ss5/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ss5/work/.cache  HOME=/wrkdirs/usr/ports/net/ss5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/ss5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ss5/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--
DATADIR=/usr/local/share/ss5 EXAMPLESDIR=/usr/local/share/examples/ss5 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/ss5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ss5/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ss5/work/.cache  HOME=/wrkdirs/usr/ports/net/ss5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/ss5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ss5/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  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  "  MANPR
 EFIX="/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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ss5"  EXAMPLESDIR="share/examples/ss5"  DATADIR="share/ss5"  WWWDIR="www/ss5"  ETCDIR="etc/ss5"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ss5 DOCSDIR=/usr/local/share/doc/ss5 EXAMPLESDIR=/usr/local/share/examples/ss5  WWWDIR=/usr/local/www/ss5 ETCDIR=/usr/local/etc/ss5
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400092
PYTHONBASE=/usr/local
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    >============================
===>   ss5-3.8.9.8_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_2.pkg
[main-powerpc64le-default-job-22] Installing pkg-1.19.1_2...
[main-powerpc64le-default-job-22] Extracting pkg-1.19.1_2: .......... done
===>   ss5-3.8.9.8_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ss5-3.8.9.8_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ss5-3.8.9.8_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ss5-3.8.9.8_3 for building
=> SHA256 Checksum OK for ss5-3.8.9-8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by ss5-3.8.9.8_3 for building
===>  Extracting for ss5-3.8.9.8_3
=> SHA256 Checksum OK for ss5-3.8.9-8.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ss5-3.8.9.8_3
===>  Applying FreeBSD patches for ss5-3.8.9.8_3 from /usr/ports/net/ss5/files
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
<snip>
SS5Mod_authorization.c:372:101: warning: 'sscanf' may overflow; destination buffer in argument 4 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                    ^
SS5Mod_authorization.c:372:104: warning: 'sscanf' may overflow; destination buffer in argument 5 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                       ^
SS5Mod_authorization.c:372:107: warning: 'sscanf' may overflow; destination buffer in argument 6 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                          ^
SS5Mod_authorization.c:372:110: warning: 'sscanf' may overflow; destination buffer in argument 7 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                             ^
SS5Mod_authorization.c:372:113: warning: 'sscanf' may overflow; destination buffer in argument 8 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                                ^
SS5Mod_authorization.c:372:116: warning: 'sscanf' may overflow; destination buffer in argument 9 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                                   ^
SS5Mod_authorization.c:372:120: warning: 'sscanf' may overflow; destination buffer in argument 10 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                                       ^
SS5Mod_authorization.c:372:123: warning: 'sscanf' may overflow; destination buffer in argument 11 has size 10, but the corresponding specifier may require size 11 [-Wfortify-source]
      sscanf(sd->MethodRequest,"EL /deny=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",me,sa,sp,da,dp,fu,grp,ba,ed);
                                                                                                                          ^
SS5Mod_authorization.c:464:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
SS5Mod_authorization.c:479:36: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
    while( fscanf(groupFile,"%64s",userName) != EOF ) {
                                   ^
SS5Mod_authorization.c:504:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
  strncat(ps," 00:00:00",sizeof(ps));
                         ^~~~~~~~~~
SS5Mod_authorization.c:504:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte
  strncat(ps," 00:00:00",sizeof(ps));
                         ^~~~~~~~~~
                         sizeof(ps) - strlen(ps) - 1
--- src ---
--- SS5Srv.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../include -c SS5Srv.c -o SS5Srv.o
SS5Srv.c:614:52: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(resp,"%64s\n%16u\n%16u\n%16u\n%16u\n",usr,&lncon,&lband,&ncon,&stime);
                                                   ^
SS5Srv.c:689:38: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(resp,"%16s\n%5u\n%5u\n",real,&vid,&con);
                                     ^
SS5Srv.c:742:53: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(resp,"%16s\n%5u\n%16s\n%16ld\n%16ld\n",sa,&vid,da,&ttl,&cage);
                                                    ^
SS5Srv.c:742:61: warning: 'sscanf' may overflow; destination buffer in argument 5 has size 16, but the corresponding specifier may require size 17 [-Wfortify-source]
      sscanf(resp,"%16s\n%5u\n%16s\n%16ld\n%16ld\n",sa,&vid,da,&ttl,&cage);
                                                            ^
SS5Srv.c:803:43: warning: 'sscanf' may overflow; destination buffer in argument 5 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
             &lnode.Method,&lnode.SrcAddr,sfqdn,&lnode.SrcMask,&lnode.SrcPort,&lnode.SrcRangeMin,&lnode.SrcRangeMax,
                                          ^
SS5Srv.c:804:29: warning: 'sscanf' may overflow; destination buffer in argument 11 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
             &lnode.DstAddr,dfqdn,&lnode.DstMask,&lnode.DstPort,&lnode.DstRangeMin,&lnode.DstRangeMax,lnode.Fixup,
                            ^
SS5Srv.c:908:41: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(resp,"%64s\n%64s\n%16ld\n",usr,pwd,&ttl);
                                        ^
SS5Srv.c:908:45: warning: 'sscanf' may overflow; destination buffer in argument 4 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(resp,"%64s\n%64s\n%16ld\n",usr,pwd,&ttl);
                                            ^
SS5Srv.c:1556:34: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(resp,"%64s\n%64s\n",option,value);
                                 ^
SS5Srv.c:1556:41: warning: 'sscanf' may overflow; destination buffer in argument 4 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source]
      sscanf(resp,"%64s\n%64s\n",option,value);
                                        ^
--- modules ---
40 warnings generated.
--- mod_authorization.so ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -o mod_authorization.so SS5Mod_authorization.o ../../common/SS5OpenLdap.o ../../common/SS5MySql.o -lpthread
--- src ---
10 warnings generated.
--- ss5 ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../include -o ss5 SS5Main.o 		 SS5Core.o 		 SS5Server.o 		 SS5Utils.o 		 SS5Thread.o		 SS5Debug.o		 SS5GSSApi.o		 SS5Modules.o ../common/SS5OpenLdap.o ../common/SS5Radius.o ../common/SS5MySql.o -lpthread -lpam -lcrypto -lldap -lc -L /usr/local/lib -Wl,-export-dynamic
--- modules ---
--- SS5Mod_proxy.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c SS5Mod_proxy.c -o SS5Mod_proxy.o
--- src ---
--- ss5srv ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../include -o ss5srv SS5Srv.o -lpthread -lpam -lcrypto -lldap -lc -L /usr/local/lib -Wl,-export-dynamic
--- modules ---
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
SS5Mod_proxy.c:64:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
SS5Mod_proxy.c:220:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
SS5Mod_proxy.c:283:7: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
      snprintf(logString,256 - 1,"[%u] [VERB] Receiving UDP response from destination address.",pid);
      ^
SS5Mod_proxy.c:288:7: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
      snprintf(logString,256 - 1,"[%u] [DEBU] [PROXY DATA] UDP request received from %s and port %d.",pid,inet_ntoa(in),ntohs(clientBindSsin.sin_port));
      ^
SS5Mod_proxy.c:302:10: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
         snprintf(logString,256 - 1,"[%u] [VERB] UDP fragmentation bit set.",pid);
         ^
SS5Mod_proxy.c:395:10: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
         snprintf(logString,256 - 1,"[%u] [DEBU] FQDN destination address is: %s.",pid,ri->udpDstAddr);
         ^
SS5Mod_proxy.c:400:12: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
           snprintf(logString,256 - 1,"[%u] [VERB] Failed resolving FQDN destination address.",pid);
           ^
SS5Mod_proxy.c:432:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
SS5Mod_proxy.c:497:5: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
    snprintf(logString,256 - 1,"[%u] [VERB] Sending UDP request to destination address.",pid);
    ^
SS5Mod_proxy.c:501:5: warning: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 255 [-Wfortify-source]
    snprintf(logString,256 - 1,"[%u] [DEBU] [PROXY DATA] UDP request sent to %s on port %d.",pid,ri->udpDstAddr,ri->udpDstPort);
    ^
10 warnings generated.
--- mod_proxy.so ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -o mod_proxy.so SS5Mod_proxy.o -lpthread
--- SS5Mod_log.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c SS5Mod_log.c -o SS5Mod_log.o
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
--- mod_log.so ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -o mod_log.so SS5Mod_log.o -lpthread
--- SS5Mod_balance.o ---
--- balamgr.o ---
--- SS5Mod_balance.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c SS5Mod_balance.c -o SS5Mod_balance.o
--- balamgr.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c balamgr.c -o balamgr.o
--- SS5Mod_balance.o ---
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
--- balamgr.o ---
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
--- SS5Mod_balance.o ---
SS5Mod_balance.c:71:11: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid = (UINT)pthread_self();
          ^~~~~~~~~~~~~~~~~~~~
--- balamgr.cgi ---
cc  -o balamgr.cgi balamgr.o -lpthread -lpam -lcrypto -lldap -lc -L /usr/local/lib -Wl,-export-dynamic
--- SS5Mod_balance.o ---
1 warning generated.
--- mod_balance.so ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -o mod_balance.so SS5Mod_balance.o -lpthread
--- SS5Mod_filter.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c SS5Mod_filter.c -o SS5Mod_filter.o
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
SS5Mod_filter.c:249:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
SS5Mod_filter.c:393:42: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
            memset(pd->Send,0,sizeof(pd->Send));
                   ~~~~~~~~          ~~~~^~~~
SS5Mod_filter.c:393:42: note: did you mean to provide an explicit length?
            memset(pd->Send,0,sizeof(pd->Send));
                                     ~~~~^~~~
SS5Mod_filter.c:480:9: warning: cast to smaller integer type 'UINT' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast]
    pid=(UINT)pthread_self();
        ^~~~~~~~~~~~~~~~~~~~
3 warnings generated.
--- mod_filter.so ---
cc -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -o mod_filter.so SS5Mod_filter.o -lpthread
--- SS5Mod_statistics.o ---
--- statmgr.o ---
--- SS5Mod_statistics.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c SS5Mod_statistics.c -o SS5Mod_statistics.o
--- statmgr.o ---
cc  -O2 -pipe  -fcommon -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing  -DFREEBSD -pthread -I/usr/local/include -I . -I ../../include -shared -fPIC -c statmgr.c -o statmgr.o
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
--- SS5Mod_statistics.o ---
cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
SS5Mod_statistics.c:27:17: error: incompatible function pointer types assigning to 'UINT (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)' (aka 'unsigned int (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)') from 'INT (struct _SS5ClientInfo *, struct _SS5Socks5Data *)' (aka 'int (struct _SS5ClientInfo *, struct _SS5Socks5Data *)') [-Wincompatible-function-pointer-types]
  m->Statistics = Statistics;
                ^ ~~~~~~~~~~
1 error generated.
*** [SS5Mod_statistics.o] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9/modules/mod_statistics
1 error

make[3]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9/modules/mod_statistics
*** [all] Error code 2

make[2]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9/modules
1 error

make[2]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9/modules
*** [modules] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9
1 error

make[1]: stopped in /wrkdirs/usr/ports/net/ss5/work/ss5-3.8.9
===> 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/ss5