[package - 130releng-riscv64-quarterly][www/gatling] Failed for gatling-0.15_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 18 Sep 2021 04:53: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:     coco@executive-computing.de
Log URL:        http://beefy7.nyi.freebsd.org/data/130releng-riscv64-quarterly/864d56077f8d/logs/gatling-0.15_2.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=130releng-riscv64-quarterly&build=864d56077f8d
Log:

=>> Building www/gatling
build started at Sat Sep 18 04:53:30 UTC 2021
port directory: /usr/ports/www/gatling
package name: gatling-0.15_2
building for: FreeBSD 130releng-riscv64-quarterly-job-14 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 1300139 riscv
maintained by: coco@executive-computing.de
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 14

---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p4 1300139
UNAME_r=13.0-RELEASE-p4
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-riscv64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-riscv64-quarterly/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 gatling-0.15_2:
     BENCHMARKS=on: Install some benchmark programs
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     SMB=on: SMB network protocol support
     TLS=on: Build and install tlsgatling
     ZLIB=on: Compress outgoing data
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
coco@executive-computing.de
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/www/gatling/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/gatling/work  HOME=/wrkdirs/usr/ports/www/gatling/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/gatling/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib BENCHMARKS=1 ICONV=1 TLSGATLING=1 ZLIB=1 XDG_DATA_HOME=/wrkdirs/usr/ports/www/gatling/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/gatling/work  HOME=/wrkdirs/usr/ports/www/gatling/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/gatling/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -I/usr/local/include/libowfat -I/usr/include -I/usr/loca
 l/include -O2 -fomit-frame-pointer -I/usr/local/include -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="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" BENCHMARKS="" NO_BENCHMARKS="@comment " DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SMB="" NO_SMB="@comment " TLS="" NO_TLS="@comment " ZLIB="" NO_ZLIB="@comment " OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gatling"  EXAMPLESDIR="share/examples/gatling"  DATADIR="share/gatling"  WWWDIR="www/gatling"  ETCDIR="etc/gatling"
--End PLIST_SUB--

--SUB_LIST--
BENCHMARKS="" NO_BENCHMARKS="@comment " DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SMB="" NO_SMB="@comment " TLS="" NO_TLS="@comment " ZLIB="" NO_ZLIB="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gatling DOCSDIR=/usr/local/share/doc/gatling EXAMPLESDIR=/usr/local/share/examples/gatling  WWWDIR=/usr/local/www/gatling ETCDIR=/usr/local/etc/gatling
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd13.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p4
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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    >============================
===>   gatling-0.15_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-riscv64-quarterly-job-14] Installing pkg-1.16.3...
[130releng-riscv64-quarterly-job-14] Extracting pkg-1.16.3: .......... done
===>   gatling-0.15_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gatling-0.15_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gatling-0.15_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gatling-0.15_2 for building
=> SHA256 Checksum OK for gatling-0.15.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gatling-0.15_2 for building
===>  Extracting for gatling-0.15_2
=> SHA256 Checksum OK for gatling-0.15.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for gatling-0.15_2
===>  Applying FreeBSD patches for gatling-0.15_2 from /usr/ports/www/gatling/files
/nxb-bin/usr/bin/sed -i.bak -e 's/\(trymd5.c\) \(-lcrypto\)/\1 $(LDFLAGS) \2/'	 /wrkdirs/usr/ports/www/gatling/work/gatling-0.15/GNUmakefile
===========================================================================
=======================<phase: build-depends  >============================
===>   gatling-0.15_2 depends on package: libowfat>=0.31 - not found
===>   Installing existing package /packages/All/libowfat-0.32.txz
[130releng-riscv64-quarterly-job-14] Installing libowfat-0.32...
[130releng-riscv64-quarterly-job-14] Extracting libowfat-0.32: .......... done
===>   gatling-0.15_2 depends on package: libowfat>=0.31 - found
===>   Returning to build of gatling-0.15_2
===>   gatling-0.15_2 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[130releng-riscv64-quarterly-job-14] Installing gmake-4.3_2...
[130releng-riscv64-quarterly-job-14] `-- Installing gettext-runtime-0.21...
[130releng-riscv64-quarterly-job-14] |   `-- Installing indexinfo-0.3.1...
[130releng-riscv64-quarterly-job-14] |   `-- Extracting indexinfo-0.3.1: .... done
[130releng-riscv64-quarterly-job-14] `-- Extracting gettext-runtime-0.21: .......... done
[130releng-riscv64-quarterly-job-14] Extracting gmake-4.3_2: .......... done
===>   gatling-0.15_2 depends on package: gmake>=4.3 - found
===>   Returning to build of gatling-0.15_2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for gatling-0.15_2
===========================================================================
=======================<phase: build          >============================
===>  Building for gatling-0.15_2
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/gatling/work/gatling-0.15'
rm -f havesetresuid.h
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o tryresuid trysetresuid.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SETRESUID"; fi > havesetresuid.h
rm -f tryresuid
(head -n 1 CHANGES | sed 's/\([^:]*\):/#define VERSION "\1"/') > version.h
rm -f havealloca.h
echo "#include <stdlib.h>" > havealloca.h
if   /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include <alloca.h>"; fi >> havealloca.h
if   /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include <malloc.h>"; fi >> havealloca.h
rm -f tryalloca.o
/nxb-bin/usr/bin/cc -c gatling.c -o gatling.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
gatling.c:1867:17: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    if (iconv(i,(const char**)&x,&X,&y,&Y)) panic("UTF-16 conversion of workgroup failed.\n");
                ^~~~~~~~~~~~~~~~
/usr/include/iconv.h:58:41: note: passing argument to parameter here
size_t  iconv(iconv_t, char ** __restrict,
                                         ^
1 warning generated.
/nxb-bin/usr/bin/cc -c mime.c -o mime.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
/nxb-bin/usr/bin/cc -c ftp.c -o ftp.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
ftp.c:42:11: warning: implicitly declaring library function 'alloca' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
  char* x=alloca(l+str_len(s)+5);
          ^
ftp.c:42:11: note: include the header <stdlib.h> or explicitly provide a declaration for 'alloca'
1 warning generated.
/nxb-bin/usr/bin/cc -c http.c -o http.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
http.c:121:15: warning: implicitly declaring library function 'alloca' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    char* buf=alloca(fmt_urlencoded(0,s,len));
              ^
http.c:121:15: note: include the header <stdlib.h> or explicitly provide a declaration for 'alloca'
http.c:1479:18: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration]
          char* crypted=crypt(password,map+l+ul+1);
                        ^
http.c:1479:10: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
          char* crypted=crypt(password,map+l+ul+1);
                ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~
http.c:3278:9: warning: implicitly declaring library function 'vfork' with type 'int (void)' [-Wimplicit-function-declaration]
                int r=vfork();
                      ^
http.c:3278:9: note: include the header <unistd.h> or explicitly provide a declaration for 'vfork'
http.c:3286:40: warning: implicit declaration of function 'chroot' is invalid in C99 [-Wimplicit-function-declaration]
                  if (chroot_to) { chdir(chroot_to); chroot(chroot_to); }
                                                     ^
5 warnings generated.
/nxb-bin/usr/bin/cc -c smb.c -o smb.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
smb.c:515:21: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
  if (iconv(wc2utf8,(const char**)&x,&X,&y,&Y)) return 0;
                    ^~~~~~~~~~~~~~~~
/usr/include/iconv.h:58:41: note: passing argument to parameter here
size_t  iconv(iconv_t, char ** __restrict,
                                         ^
1 warning generated.
/nxb-bin/usr/bin/cc -c common.c -o common.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
common.c:54:7: warning: implicitly declaring library function 'alloca' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    x=alloca(c-name+1);
      ^
common.c:54:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'alloca'
1 warning generated.
/nxb-bin/usr/bin/cc -c connstat.c -o connstat.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
/nxb-bin/usr/bin/cc -c httpstream.c -o httpstream.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
/nxb-bin/usr/bin/cc -c dirfd.c -o dirfd.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trymd5 trymd5.c >/dev/null 2>&1; then echo ""; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trymd5 trymd5.c -lmd >/dev/null 2>&1; then echo "-lmd"; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trymd5 trymd5.c  -L/usr/local/lib -L/usr/lib  -fstack-protector-strong  -lcrypto >/dev/null 2>&1; then echo "-lcrypto"; \
fi; fi; fi > md5lib
rm -f trymd5
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trysocket trysocket.c -lwsock32 >/dev/null 2>&1; then echo "-lwsock32"; \
fi; fi; fi; fi > libsocket
rm -f trysocket
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB  -L/usr/local/lib -L/usr/lib  -fstack-protector-strong  -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-L -L/usr/local/lib -L/usr/lib  -fstack-protector-strong  -liconv"; else \
echo ""; \
fi > libiconv
rm -f tryiconv
touch dummy.c
/nxb-bin/usr/bin/cc -c dummy.c -o dummy.o -I. -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB
ar q libsocketkludge.a dummy.o
ar: warning: creating libsocketkludge.a
ranlib libsocketkludge.a
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trycrypt trycrypt.c >/dev/null 2>&1; then echo ""; else \
if  /nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -I/usr/local/include/libowfat -I/usr/include -I/usr/local/include -O2 -fomit-frame-pointer -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -DUSE_ZLIB -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \
fi; fi > libcrypt
rm -f trycrypt
/nxb-bin/usr/bin/cc  -L/usr/local/lib -L/usr/lib  -fstack-protector-strong  gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz `cat libsocket libiconv libcrypt` `cat md5lib`
ld: error: duplicate symbol: first_deferred
>>> defined at io_close.c
>>>            io_close.o:(first_deferred) in archive /usr/local/lib/libowfat.a
>>> defined at io_fd.c
>>>            io_fd.o:(.sbss+0x18) in archive /usr/local/lib/libowfat.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [GNUmakefile:93: gatling] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/gatling/work/gatling-0.15'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/gatling