[package - main-i386-default][lang/yap] Failed for yap-6.2.2_11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 00:11:54 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:     eugen@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pb7573d3199cc_sfb8a8333b48/logs/yap-6.2.2_11.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pb7573d3199cc_sfb8a8333b48
Log:

=>> Building lang/yap
build started at Thu Apr 11 00:11:02 UTC 2024
port directory: /usr/ports/lang/yap
package name: yap-6.2.2_11
building for: FreeBSD main-i386-default-job-03 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 i386
maintained by: eugen@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1837 Jul  4  2023 /usr/ports/lang/yap/Makefile
Ports top last git commit: b7573d3199c
Ports top unclean checkout: no
Port dir last git commit: 6ac8efe2170
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1500018
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500018
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500018
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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 yap-6.2.2_11:
     BUILDDOCS=off: Rebuild documentation (requires TeX)
     DOCS=on: Install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
eugen@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-max-performance  --disable-myddas --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake CFLAGS="-O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " XDG_DATA_HOME=/wrkdirs/usr/ports/lang/yap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/yap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/yap/work/.cache  HOME=/wrkdirs/usr/ports/lang/yap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/yap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/yap/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 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/lang/yap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/yap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/yap/work/.cache  HOME=/wrkdirs/usr/ports/lang/yap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/yap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/yap/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-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fn
o-strict-aliasing  -isystem /usr/local/include " 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 DOCSDIR="share/doc/Yap"  EXAMPLESDIR="share/examples/yap"  DATADIR="share/Yap"  WWWDIR="www/yap"  ETCDIR="etc/yap"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/Yap DOCSDIR=/usr/local/share/doc/Yap EXAMPLESDIR=/usr/local/share/examples/yap  WWWDIR=/usr/local/www/yap ETCDIR=/usr/local/etc/yap
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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
===>  License ART20 LGPL20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.0.pkg
[main-i386-default-job-03] Installing pkg-1.21.0...
[main-i386-default-job-03] Extracting pkg-1.21.0: .......... done
===>   yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of yap-6.2.2_11
===========================================================================
=======================<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
===>  License ART20 LGPL20 accepted by the user
===> Fetching all distfiles required by yap-6.2.2_11 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART20 LGPL20 accepted by the user
===> Fetching all distfiles required by yap-6.2.2_11 for building
=> SHA256 Checksum OK for yap-6.2.2.tar.gz.
=> SHA256 Checksum OK for yap-doc-6.2.2.tar.gz.
===========================================================================
=======================<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
===>  License ART20 LGPL20 accepted by the user
===> Fetching all distfiles required by yap-6.2.2_11 for building
===>  Extracting for yap-6.2.2_11
=> SHA256 Checksum OK for yap-6.2.2.tar.gz.
=> SHA256 Checksum OK for yap-doc-6.2.2.tar.gz.
===========================================================================
=======================<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 yap-6.2.2_11
===>  Applying FreeBSD patches for yap-6.2.2_11 from /usr/ports/lang/yap/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   yap-6.2.2_11 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-i386-default-job-03] Installing gmake-4.4.1...
[main-i386-default-job-03] `-- Installing gettext-runtime-0.22.5...
[main-i386-default-job-03] |   `-- Installing indexinfo-0.3.1...
<snip>
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/sockets.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/sockets.yap consulted 4848 bytes in 0 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/sort.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/sort.yap consulted 4776 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/setof.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/setof.yap consulted 12736 bytes in 3 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/statistics.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/statistics.yap consulted 10808 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/strict_iso.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/strict_iso.yap consulted 12872 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/tabling.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/tabling.yap consulted 17896 bytes in 3 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/threads.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/threads.yap consulted 70248 bytes in 7 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/eam.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/eam.yap consulted 4696 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/chtypes.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/chtypes.yap consulted 19856 bytes in 2 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/yapor.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/yapor.yap consulted 10376 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/udi.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/udi.yap consulted 496 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/protect.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/protect.yap consulted 1736 bytes in 1 msecs
  % consulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/arrays.yap
  % /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/arrays.yap consulted 3488 bytes in 1 msecs
  % reconsulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/messages.yap
  % reconsulted /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/messages.yap in module $messages, 6 msec 50424 bytes
  % reconsulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/hacks.yap...
  % reconsulted /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/hacks.yap in module $hacks, 3 msec 16616 bytes
  % reconsulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/attributes.yap...
  % reconsulted /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/attributes.yap in module $attributes, 2 msec 15816 bytes
  % reconsulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/corout.yap...
  % reconsulted /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/corout.yap in module $coroutining, 2 msec 19896 bytes
  % reconsulting /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/dialect.yap...
  % reconsulted /wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/pl/dialect.yap in module dialect, 1 msec 4248 bytes
 % ./pl/init.yap consulted 942472 bytes in 105 msecs
yes
yes
yes
(cd packages/PLStream; gmake)
gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/packages/PLStream'
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-buffer.c -o pl-buffer.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-ctype.c -o pl-ctype.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-error.c -o pl-error.o
In file included from pl-ctype.c:73:
./pl-umap.c:1626:1: warning: no previous prototype for function 'uflagsW' [-Wmissing-prototypes]
 1626 | uflagsW(int code)
      | ^
./pl-umap.c:1625:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
 1625 | int
      | ^
      | static 
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-file.c -o pl-file.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-files.c -o pl-files.o
pl-file.c:329:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  329 | initIO()
      |       ^
      |        void
pl-file.c:553:19: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  553 |   stream_context *ctx;
      |                   ^
pl-file.c:787:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  787 | dieIO()
      |      ^
      |       void
pl-file.c:1262:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 1262 | PL_current_input()
      |                 ^
      |                  void
pl-file.c:1269:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 1269 | PL_current_output()
      |                  ^
      |                   void
pl-file.c:1599:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 1599 | toldString()
      |           ^
      |            void
pl-file.c:2452:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 2452 | PrologPrompt()
      |             ^
      |              void
pl-file.c:3356:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 3356 |   int (*function)();                    /* function to generate */
      |                  ^
      |                   void
pl-file.c:3462:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 3462 |                   rval = (*p->function)(s PASS_LD);
      |                                        ^
pl-file.c:3468:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 3468 |                   rval = (*p->function)(s, a1 PASS_LD);
      |                                        ^
pl-file.c:3537:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 3537 |               rval = (*pe->p->function)(pe->s PASS_LD);
      |                                        ^
pl-file.c:3542:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 3542 |               rval = (*pe->p->function)(pe->s, a1 PASS_LD);
      |                                        ^
1 warning generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-glob.c -o pl-glob.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-os.c -o pl-os.o
pl-glob.c:394:1: warning: no previous prototype for function 'expand_str' [-Wmissing-prototypes]
  394 | expand_str(GlobInfo info, int at)
      | ^
pl-glob.c:393:7: note: declare 'static' if the function is not intended to be used outside of this translation unit
  393 | const char *
      |       ^
      | static 
pl-glob.c:402:1: warning: no previous prototype for function 'expand_entry' [-Wmissing-prototypes]
  402 | expand_entry(GlobInfo info, int idx)
      | ^
pl-glob.c:401:7: note: declare 'static' if the function is not intended to be used outside of this translation unit
  401 | const char *
      |       ^
      | static 
pl-glob.c:555:12: warning: call to undeclared function 'mbscoll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  555 |     return mbscoll(s1, s2);
      |            ^
pl-glob.c:557:12: warning: call to undeclared function 'mbscasecoll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  557 |     return mbscasecoll(s1, s2);
      |            ^
pl-os.c:476:16: warning: variable 'seed' set but not used [-Wunused-but-set-variable]
  476 | { unsigned int seed;
      |                ^
pl-os.c:1782:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 1782 | ResetTty()
      |         ^
      |          void
pl-os.c:2096:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 2096 | initEnviron()
      |            ^
      |             void
pl-os.c:2287:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 2287 |   void (*old_int)();
      |                  ^
      |                   void
pl-os.c:2288:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 2288 |   void (*old_stop)();
      |                   ^
      |                    void
4 warnings generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-privitf.c -o pl-privitf.o
5 warnings generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-stream.c -o pl-stream.o
pl-stream.c:3332:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 3332 | SinitStreams()
      |             ^
      |              void
pl-stream.c:3364:10: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 3364 | S__getiob()
      |          ^
      |           void
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-string.c -o pl-string.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-table.c -o pl-table.o
pl-table.c:123:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  123 | initTables()
      |           ^
      |            void
1 warning generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-text.c -o pl-text.o
pl-text.c:219:12: warning: call to undeclared function 'PL_write_term'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  219 |       if ( PL_write_term(fd, l, 1200, 0) &&
      |            ^
12 warnings generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-util.c -o pl-util.o
2 warnings generated.
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-utf8.c -o pl-utf8.o
cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe  -Wno-incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include  -I/usr/local/include -isystem /usr/local/include pl-yap.c -o pl-yap.o
pl-util.c:85:1: warning: no previous prototype for function 'mbscoll' [-Wmissing-prototypes]
   85 | mbscoll(const char *s1, const char *s2)
      | ^
pl-util.c:84:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   84 | int
      | ^
      | static 
pl-util.c:93:1: warning: no previous prototype for function 'mbscasecoll' [-Wmissing-prototypes]
   93 | mbscasecoll(const char *s1, const char *s2)
      | ^
pl-util.c:92:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   92 | int
      | ^
      | static 
pl-yap.c:141:7: warning: variable 'nflags' set but not used [-Wunused-but-set-variable]
  141 |   int nflags = 0;
      |       ^
2 warnings generated.
1 warning generated.
1 warning generated.
cc -shared -export-dynamic -Wl,--export-dynamic  -L/usr/local/lib -fstack-protector-strong  -L/wrkdirs/usr/ports/lang/yap/work/yap-6.2.2 -Wl,-R,/usr/local/lib -o libplstream.so pl-buffer.o pl-ctype.o pl-error.o pl-file.o pl-files.o pl-glob.o pl-os.o pl-privitf.o pl-stream.o pl-string.o pl-table.o pl-text.o pl-util.o pl-utf8.o pl-yap.o   -L/wrkdirs/usr/ports/lang/yap/work/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap
cc: error: unknown argument: '-export-dynamic'
gmake[1]: *** [Makefile:85: libplstream.so] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/yap/work/yap-6.2.2/packages/PLStream'
gmake: *** [Makefile:507: all] Error 2
===> 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/lang/yap