[package - main-arm64-default][net/spread] Failed for spread-3.17.4_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 01 Jul 2023 02:26:38 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:     portmaster@bsdforge.com
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p7520ea4fbadd_sfd774e065c/logs/spread-3.17.4_7.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p7520ea4fbadd_sfd774e065c
Log:

=>> Building net/spread
build started at Sat Jul  1 02:26:13 UTC 2023
port directory: /usr/ports/net/spread
package name: spread-3.17.4_7
building for: FreeBSD main-arm64-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 arm64
maintained by: portmaster@bsdforge.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400092
Job Id: 10




!!! Jail is newer than host. (Jail: 1400092, Host: 1400089) !!!
!!! 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-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 spread-3.17.4_7:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
portmaster@bsdforge.com
--End MAINTAINER--

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

--CONFIGURE_ENV--
ac_cv_path_NROFF=groff ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net/spread/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/spread/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/spread/work/.cache  HOME=/wrkdirs/usr/ports/net/spread/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/spread/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/spread/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--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net/spread/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/spread/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/spread/work/.cache  HOME=/wrkdirs/usr/ports/net/spread/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/spread/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/spread/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  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="ins
tall  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
USERS=spread GROUPS=spread RUNDIR=/var/run/spread PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/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.32 DOCSDIR="share/doc/spread"  EXAMPLESDIR="share/examples/spread"  DATADIR="share/spread"  WWWDIR="www/spread"  ETCDIR="etc/spread"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/spread DOCSDIR=/usr/local/share/doc/spread EXAMPLESDIR=/usr/local/share/examples/spread  WWWDIR=/usr/local/www/spread ETCDIR=/usr/local/etc/spread
--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: aarch64-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: aarch64-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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
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)  1048576
stack size              (kbytes, -s)  1048576
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 SPREAD_OPEN-SOURCE_LICENSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   spread-3.17.4_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_3.pkg
[main-arm64-default-job-10] Installing pkg-1.19.1_3...
[main-arm64-default-job-10] Extracting pkg-1.19.1_3: .......... done
===>   spread-3.17.4_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of spread-3.17.4_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License SPREAD_OPEN-SOURCE_LICENSE accepted by the user
===> Fetching all distfiles required by spread-3.17.4_7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License SPREAD_OPEN-SOURCE_LICENSE accepted by the user
===> Fetching all distfiles required by spread-3.17.4_7 for building
=> SHA256 Checksum OK for spread-src-3.17.4.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License SPREAD_OPEN-SOURCE_LICENSE accepted by the user
===> Fetching all distfiles required by spread-3.17.4_7 for building
===>  Extracting for spread-3.17.4_7
=> SHA256 Checksum OK for spread-src-3.17.4.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for spread-3.17.4_7
===>  Applying FreeBSD patches for spread-3.17.4_7 from /usr/ports/net/spread/files
===========================================================================
=======================<phase: build-depends  >============================
===>   spread-3.17.4_7 depends on executable: groff - not found
===>   Installing existing package /packages/All/groff-1.22.4_4.pkg
<snip>
checking for bcopy... (cached) yes
checking for inet_aton... (cached) yes
checking for inet_ntoa... (cached) yes
checking for inet_ntop... (cached) yes
checking for memmove... (cached) yes
checking for setsid... (cached) yes
checking for snprintf... (cached) yes
checking for strerror... (cached) yes
checking for lrand48... yes
checking for gettimeofday... (cached) yes
checking for time... (cached) yes
checking whether snprintf correctly terminates long strings... yes
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for windows arch... no
checking for struct timezone type... no
checking for struct sockopt_len_t type... no
checking for struct msghdr type... yes
checking for struct msghdr accrights... no
checking for struct msghdr control... yes
checking for u_int type... (cached) yes
checking for intXX_t types... (cached) yes
checking for int64_t type... (cached) yes
checking for u_intXX_t types... (cached) yes
checking for u_int64_t types... (cached) yes
checking for socklen_t... yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for clock_t... (cached) yes
checking for sa_family_t... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for struct sockaddr_in6... (cached) yes
checking for struct in6_addr... (cached) yes
checking for struct addrinfo... (cached) yes
checking for struct timeval... (cached) yes
checking for sun_len field in struct sockaddr_un... no
checking for ss_family field in struct sockaddr_storage... (cached) yes
checking for __ss_family field in struct sockaddr_storage... no
checking for pid_t... (cached) yes
checking if libc defines __progname... (cached) yes
checking if libc defines sys_errlist... (cached) yes
checking if libc defines sys_nerr... (cached) yes
checking Check Spread's major version... 3
checking Check Spread's minor version... 17
checking Check Spread's patch version... 4
checking for nroff... (cached) groff
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

Spread has been configured with the following options:
                    User binaries: /usr/local/bin
                  System binaries: /usr/local/sbin
              Configuration files: /usr/local/etc
                   User libraries: /usr/local/lib
            Shared Spread Library: libspread.so
Shared Thread-safe Spread Library: libtspread.so
                     Header files: /usr/local/include
                     Manual pages: /usr/local/man/manX
                         PID file: /var/run
                   Manpage format: doc

              Host: aarch64-portbld-freebsd14.0
          Compiler: cc
    Compiler flags: -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall
Preprocessor flags: 
      Linker flags:  -fstack-protector-strong 
         Libraries: 

===========================================================================
=======================<phase: build          >============================
===>  Building for spread-3.17.4_7
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c spread.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c protocol.c
protocol.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static  void    Prot_handle_bcast();
                ^
protocol.c:225:14: note: conflicting prototype is here
static  void    Prot_handle_bcast(channel fd, int dummy, void *dummy_p)
                ^
protocol.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static  void    Prot_handle_token();
                ^
protocol.c:411:6: note: conflicting prototype is here
void    Prot_handle_token(channel fd, int dummy, void *dummy_p)
        ^
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c session.c
session.c:161:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    c = (char *) &ses->mbox;
      ^ ~~~~~~~~~~~~~~~~~~~
session.c:580:88: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            ret= getsockopt( Sessions[MAX_SESSIONS].mbox, SOL_SOCKET, SO_SNDBUF, (void *)&on, &onlen );
                                                                                              ^~~~~~
/usr/include/sys/socket.h:694:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
session.c:585:88: warning: passing 'sockopt_len_t *' (aka 'int *') to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            ret= getsockopt( Sessions[MAX_SESSIONS].mbox, SOL_SOCKET, SO_RCVBUF, (void *)&on, &onlen );
                                                                                              ^~~~~~
/usr/include/sys/socket.h:694:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
session.c:1826:26: warning: variable 'scat' set but not used [-Wunused-but-set-variable]
        scatter         *scat;
                         ^
4 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c groups.c
groups.c:694:18: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable]
        int             new_p_ind, p_ind1;
                                   ^
groups.c:1024:14: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable]
        int             p_ind, p_ind1;
                               ^
groups.c:1222:14: warning: variable 'p_ind1' set but not used [-Wunused-but-set-variable]
        int             p_ind, p_ind1;
                               ^
3 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c alarm.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c events.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c memory.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c membership.c
membership.c:449:14: warning: passing arguments to 'Scast_alive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Scast_alive( 1 );
                           ^
membership.c:470:14: warning: passing arguments to 'Scast_alive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Scast_alive( 1 );
                           ^
membership.c:383:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int             ret;
                        ^
membership.c:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static  void    Scast_alive();
                ^
membership.c:937:13: note: conflicting prototype is here
static  void    Scast_alive( int code, void *dummy )
                ^
membership.c:1182:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int     ret;
                ^
membership.c:1223:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
        int32           dummy;
                        ^
membership.c:1241:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
        int32           dummy;
                        ^
7 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c data_link.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c network.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c status.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c log.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c flow_control.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c message.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c lex.yy.c
lex.yy.c:1654:13: warning: unused function 'yyunput' [-Wunused-function]
static void yyunput( int c, register char *yy_bp )
            ^
lex.yy.c:1701:12: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static int input()
           ^
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c y.tab.c
y.tab.c:3:1: warning: unused variable 'yyrcsid' [-Wunused-const-variable]
yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28 2000/01/17 02:04:06 bde Exp $";
^
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c configuration.c
configuration.c:517:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int     s,p,ret;
                    ^
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -I. -I.   -DHAVE_CONFIG_H -c skiplist.c
skiplist.c:95:29: error: incompatible function pointer types passing 'int (const void *, const void *)' to parameter of type 'SkiplistComparator' (aka 'int (*)(void *, void *)') [-Wincompatible-function-pointer-types]
  sl_set_compare(sl->index, indexing_comp, indexing_compk);
                            ^~~~~~~~~~~~~
./skiplist_p.h:78:53: note: passing argument to parameter here
void sl_set_compare(Skiplist *sl, SkiplistComparator,
                                                    ^
skiplist.c:95:44: error: incompatible function pointer types passing 'int (const void *, const void *)' to parameter of type 'SkiplistComparator' (aka 'int (*)(void *, void *)') [-Wincompatible-function-pointer-types]
  sl_set_compare(sl->index, indexing_comp, indexing_compk);
                                           ^~~~~~~~~~~~~~
./skiplist_p.h:79:25: note: passing argument to parameter here
                    SkiplistComparator);
                                      ^
2 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/spread/work/spread-src-3.17.4
*** Error code 1

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