[package - main-arm64-default][textproc/refdb] Failed for refdb-0.9.9_14 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 11 Oct 2024 03:23:43 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p149fe86b8e79_s149e1af6ae4/logs/refdb-0.9.9_14.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p149fe86b8e79_s149e1af6ae4
Log:

=>> Building textproc/refdb
build started at Fri Oct 11 03:23:05 UTC 2024
port directory: /usr/ports/textproc/refdb
package name: refdb-0.9.9_14
building for: FreeBSD main-arm64-default-job-04 15.0-CURRENT FreeBSD 15.0-CURRENT 1500024 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 4519 Aug 11 01:02 /usr/ports/textproc/refdb/Makefile
Ports top last git commit: 149fe86b8e7
Ports top unclean checkout: no
Port dir last git commit: 482b90c72df
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500024
Job Id: 04




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500024
UNAME_v=FreeBSD 15.0-CURRENT 1500024
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.2
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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 refdb-0.9.9_14:
     DOCS=on: Build and/or install documentation
====> Options available for the single DB: you have to select exactly one of them
     MYSQL=off: MySQL database support
     PGSQL=on: PostgreSQL database support
     SQLITE=off: SQLite database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-expat-lib=/usr/local/lib  --with-classpath-root=/usr/local/share/java/classes  --with-refdb-url=http://localhost/refdb  --mandir=/usr/local/share/man --with-db-server=pgsql --with-docbook-xsl=/usr/local/share/xsl/docbook  --without-docbook-xsl-ns  --without-tei-xsl  --without-tei-xsl-ns
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/refdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/refdb/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/refdb/work/.cache  HOME=/wrkdirs/usr/ports/textproc/refdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/refdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/refdb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/refdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/refdb/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/refdb/work/.cache  HOME=/wrkdirs/usr/ports/textproc/refdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/refdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/refdb/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  -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong " LIBS="-lm"  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-str
ong -fno-strict-aliasing  -DLIBICONV_PLUG " 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="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3  PERL_VER=5.36  PERL5_MAN1=lib/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.36 DOCSDIR="share/doc/refdb"  EXAMPLESDIR="share/examples/refdb"  DATADIR="share/refdb"  WWWDIR="www/refdb"  ETCDIR="etc/refdb"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/refdb DOCSDIR=/usr/local/share/doc/refdb EXAMPLESDIR=/usr/local/share/examples/refdb  WWWDIR=/usr/local/www/refdb ETCDIR=/usr/local/etc/refdb
--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--
ulimit: can't get limit: Invalid argument
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)  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
===>   NOTICE:

The refdb 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

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   refdb-0.9.9_14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-04] Installing pkg-1.21.3...
[main-arm64-default-job-04] Extracting pkg-1.21.3: .......... done
===>   refdb-0.9.9_14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of refdb-0.9.9_14
===========================================================================
=======================<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
===>   NOTICE:

The refdb 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

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by refdb-0.9.9_14 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:
<snip>
      |                      ~~                        ^~~~~~~~~~~~
      |                      %zu
refdbib.c:1424:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
 1424 |   fprintf(stderr, slvals.inbuffer);
      |                   ^~~~~~~~~~~~~~~
refdbib.c:1424:19: note: treat the string as an argument to avoid this
 1424 |   fprintf(stderr, slvals.inbuffer);
      |                   ^
      |                   "%s", 
:136:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  136 |     fprintf(errstream, get_status_msg(cs_status));
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
refdb-client.c:136:24: note: treat the string as an argument to avoid this
  136 |     fprintf(errstream, get_status_msg(cs_status));
      |                        ^
      |                        "%s", 
refdb-client.c:220:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  220 |       fprintf(errstream, help_string);
      |                          ^~~~~~~~~~~
refdbib.c:1459:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
 1459 |     syslog(priority, string);
      |                      ^~~~~~
refdbib.c:1459:22: note: treat the string as an argument to avoid this
 1459 |     syslog(priority, string);
      |                      ^
      |                      "%s", 
In file included from refdbc.c:46:
./getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
  108 | extern int getopt ();
      |            ^
/usr/include/unistd.h:379:6: note: conflicting prototype is here
  379 | int      getopt(int, char * const [], const char *);
      |          ^
In file included from refdbc.c:54:
./readln.h:28:3: warning: 'Function' is deprecated [-Wdeprecated-declarations]
   28 |   Function *func;               /* Function to call to do the job. */
      |   ^
/usr/local/include/readline/rltypedefs.h:35:44: note: 'Function' has been explicitly marked deprecated here
   35 | typedef int Function (void) __attribute__((deprecated));
      |                                            ^
refdb-client.c:220:26: note: treat the string as an argument to avoid this
  220 |       fprintf(errstream, help_string);
      |                          ^
      |                          "%s", 
refdbc.c:70:13: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   70 |   { "help", com_help, "Display this text" },
      |             ^~~~~~~~
refdbc.c:71:10: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   71 |   { "?", com_help, "Synonym for `help'" },
      |          ^~~~~~~~
refdbc.c:72:13: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   72 |   { "quit", com_quit, "Quit refdbc" },
      |             ^~~~~~~~
refdbc.c:73:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   73 |   { "addlink", com_addlink, "Link notes to references, authors etc." },
      |                ^~~~~~~~~~~
refdbc.c:74:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   74 |   { "addnote", com_addnote, "Add notes to the database" },
      |                ^~~~~~~~~~~
refdbc.c:75:15: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   75 |   { "addref", com_addref, "Add references to the database" },
      |               ^~~~~~~~~~
refdbc.c:76:17: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   76 |   refdb-client.c:314:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  314 |     fprintf(errstream, get_status_msg(110));
      |                        ^~~~~~~~~~~~~~~~~~~
refdb-client.c:314:24: note: treat the string as an argument to avoid this
  314 |     fprintf(errstream, get_status_msg(110));
      |                        ^
      |                        "%s", 
refdb-client.c:327:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  327 |     fprintf(errstream, get_status_msg(cs_status));
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
refdb-client.c:327:24: note: treat the string as an argument to avoid this
  327 |     fprintf(errstream, get_status_msg(cs_status));
      |                        ^
      |                        "%s", 
refdb-client.c:402:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  402 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
refdb-client.c:402:21: note: treat the string as an argument to avoid this
  402 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^
      |                            "%s", 
refdb-client.c:423:51: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  423 |     fprintf(errstream, "%d byte written to %s\n", byte_written, slvals->outfile);
      |                         ~~                        ^~~~~~~~~~~~
      |                         %zu
refdb-client.c:565:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  565 |       fprintf(errstream, get_status_msg(401));
      |                          ^~~~~~~~~~~~~~~~~~~
refdb-client.c:565:26: note: treat the string as an argument to avoid this
  565 |       fprintf(errstream, get_status_msg(401));
      |                          ^
      |                          "%s", 
refdb-client.c:579:31: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  579 |       sprintf(thebytes, "%d", n_result);
      |                          ~~   ^~~~~~~~
      |                          %zu
refdb-client.c:594:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  594 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
refdb-client.c:594:21: note: treat the string as an argument to avoid this
  594 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^
      |                            "%s", 
refdb-client.c:623:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  623 |             fprintf(errstream, get_status_msg(109));
      |                                ^~~~~~~~~~~~~~~~~~~
refdb-client.c:623:25: note: treat the string as an argument to avoid this
  623 |             fprintf(errstream, get_status_msg(109));
      |                                ^
      |                                "%s", 
refdb-client.c:711:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  711 |         fprintf(errstream, get_status_msg(401));
      |                            ^~~~~~~~~~~~~~~~~~~
refdb-client.c:711:21: note: treat the string as an argument to avoid this
  711 |         fprintf(errstream, get_status_msg(401));
      |                            ^
      |                            "%s", 
refdb-client.c:728:31: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  728 |       sprintf(thebytes, "%d", *ptr_n_setlength);
      |                          ~~   ^~~~~~~~~~~~~~~~
      |                          %zu
refdb-client.c:742:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  742 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
refdb-client.c:742:21: note: treat the string as an argument to avoid this
  742 |         fprintf(errstream, get_status_msg(cs_status));
      |                            ^
      |                            "%s", 
refdb-client.c:774:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  774 |             fprintf(errstream, get_status_msg(109));
      |                                ^~~~~~~~~~~~~~~~~~~
refdb-client.c:774:25: note: treat the string as an argument to avoid this
  774 |             fprintf(errstream, get_status_msg(109));
      |                                ^
      |                                "%s", 
refdb-client.c:845:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  845 |         fprintf(stderr, get_status_msg(109));
      |                         ^~~~~~~~~~~~~~~~~~~
refdb-client.c:845:18: note: treat the string as an argument to avoid this
  845 |         fprintf(stderr, get_status_msg(109));
      |                         ^
      |                         "%s", 
{ "checkref", com_checkref, "Check references" },
      |                 ^~~~~~~~~~~~
refdbc.c:77:18: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   77 |   { "countnote", com_countnote, "Counts matching notes" },
      |                  ^~~~~~~~~~~~~
refdbc.c:78:17: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   78 |   { "countref", com_countref, "Counts matching references" },
      |                 ^~~~~~~~~~~~
refdbc.c:79:19: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   79 |   { "deletelink", com_deletelink, "Unlink notes to references, authors etc." },
      |                   ^~~~~~~~~~~~~~
refdbc.c:80:19: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   80 |   { "deletenote", com_deletenote, "Delete notes from the database" },
      |                   ^~~~~~~~~~~~~~
refdbc.c:81:18: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   81 |   { "deleteref", com_deleteref, "Delete references from the database" },
      |                  ^~~~~~~~~~~~~
refdbc.c:82:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   82 |   { "dumpref", com_dumpref, "Remove references from your personal interest list"},
      |                ^~~~~~~~~~~
refdbc.c:83:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   83 |   { "getas", com_getas, "Get a list of series editors" },
      |              ^~~~~~~~~
refdbc.c:84:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   84 |   { "getau", com_getau, "Get a list of part authors" },
      |              ^~~~~~~~~
refdbc.c:85:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   85 |   { "getax", com_getax, "Get a list of any authors/editors" },
      |              ^~~~~~~~~
refdbc.c:86:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   86 |   { "geted", com_geted, "Get a list of publication authors/editors" },
      |              ^~~~~~~~~
refdbc.c:87:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   87 |   { "getkw", com_getkw, "Get a list of keywords" },
      |              ^~~~~~~~~
refdbc.c:88:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types]
   88 |   { "getjf", com_getjf, "Get a list of journal names (full)" },
      |              ^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
16 warnings generated.
gmake[2]: *** [Makefile:445: refdbc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
29 warnings generated.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/refdb/work/refdb-0.9.9-1/src'
gmake[1]: *** [Makefile:301: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/refdb/work/refdb-0.9.9-1/src'
gmake: *** [Makefile:257: all-recursive] Error 1
===> 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/textproc/refdb