[package - 130amd64-default][www/gatling] Failed for gatling-0.15_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 05 Aug 2021 22:22:41 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://beefy16.nyi.freebsd.org/data/130amd64-default/82f29b7d787d/logs/gatling-0.15_2.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=130amd64-default&build=82f29b7d787d
Log:

=>> Building www/gatling
build started at Thu Aug  5 22:22:35 UTC 2021
port directory: /usr/ports/www/gatling
package name: gatling-0.15_2
building for: FreeBSD 130amd64-default-job-12 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 amd64
maintained by: coco@executive-computing.de
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p3
UNAME_r=13.0-RELEASE-p3
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130amd64-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 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="cc" CFLAGS="-O2 -pipe  -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="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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  "  MANPR
 EFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" 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---
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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p3
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gatling-0.15_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[130amd64-default-job-12] Installing pkg-1.17.1...
[130amd64-default-job-12] Extracting pkg-1.17.1: .......... 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
/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.pkg
[130amd64-default-job-12] Installing libowfat-0.32...
[130amd64-default-job-12] 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.pkg
[130amd64-default-job-12] Installing gmake-4.3_2...
[130amd64-default-job-12] `-- Installing gettext-runtime-0.21...
[130amd64-default-job-12] |   `-- Installing indexinfo-0.3.1...
[130amd64-default-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[130amd64-default-job-12] `-- Extracting gettext-runtime-0.21: .......... done
[130amd64-default-job-12] 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  cc -O2 -pipe  -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   cc -O2 -pipe  -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   cc -O2 -pipe  -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
cc -c gatling.c -o gatling.o -I. -O2 -pipe  -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.
cc -c mime.c -o mime.o -I. -O2 -pipe  -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
cc -c ftp.c -o ftp.o -I. -O2 -pipe  -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.
cc -c http.c -o http.o -I. -O2 -pipe  -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.
cc -c smb.c -o smb.o -I. -O2 -pipe  -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.
cc -c common.c -o common.o -I. -O2 -pipe  -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.
cc -c connstat.c -o connstat.o -I. -O2 -pipe  -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
cc -c httpstream.c -o httpstream.o -I. -O2 -pipe  -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
cc -c dirfd.c -o dirfd.o -I. -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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
cc -c dummy.c -o dummy.o -I. -O2 -pipe  -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  cc -O2 -pipe  -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  cc -O2 -pipe  -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
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:(.bss+0xD8) 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