[exp - 124amd64-default-build-as-user][www/mongrel2] Failed for mongrel2-1.12.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 14 Apr 2023 11:15:36 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/package19/data/124amd64-default-build-as-user/e9d466955acf/logs/mongrel2-1.12.2.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=124amd64-default-build-as-user&build=e9d466955acf
Log:

=>> Building www/mongrel2
build started at Fri Apr 14 11:14:54 UTC 2023
port directory: /usr/ports/www/mongrel2
package name: mongrel2-1.12.2
building for: FreeBSD 124amd64-default-build-as-user-job-02 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1204000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p2
UNAME_r=12.4-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/poudriere/data/.m/124amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/124amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/124amd64-default-build-as-user/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 mongrel2-1.12.2:
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/www/mongrel2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mongrel2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mongrel2/work/.cache  HOME=/wrkdirs/usr/ports/www/mongrel2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mongrel2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/mongrel2/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"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/mongrel2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mongrel2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mongrel2/work/.cache  HOME=/wrkdirs/usr/ports/www/mongrel2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mongrel2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/mongrel2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
PORTEXAMPLES="" OSREL=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mongrel2"  EXAMPLESDIR="share/examples/mongrel2"  DATADIR="share/mongrel2"  WWWDIR="www/mongrel2"  ETCDIR="etc/mongrel2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mongrel2 DOCSDIR=/usr/local/share/doc/mongrel2 EXAMPLESDIR=/usr/local/share/examples/mongrel2  WWWDIR=/usr/local/www/mongrel2 ETCDIR=/usr/local/etc/mongrel2
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p2
OSREL=12.4
OSVERSION=1204000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc 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   >============================
===>   NOTICE:

The mongrel2 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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongrel2-1.12.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[124amd64-default-build-as-user-job-02] Installing pkg-1.19.1_1...
[124amd64-default-build-as-user-job-02] Extracting pkg-1.19.1_1: .......... done
===>   mongrel2-1.12.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongrel2-1.12.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The mongrel2 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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by mongrel2-1.12.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

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

<snip>
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC -isystem /usr/local/include  -c -o src/mbedtls/library/x509write_crt.o src/mbedtls/library/x509write_crt.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC -isystem /usr/local/include  -c -o src/mbedtls/library/x509write_csr.o src/mbedtls/library/x509write_csr.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC -isystem /usr/local/include  -c -o src/mbedtls/library/xtea.o src/mbedtls/library/xtea.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/darray.o src/adt/darray.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/dict.o src/adt/dict.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/hash.o src/adt/hash.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/list.o src/adt/list.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/radixmap.o src/adt/radixmap.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/adt/tst.o src/adt/tst.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/bstr/bsafe.o src/bstr/bsafe.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/bstr/bstraux.o src/bstr/bstraux.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/config/config.o src/config/config.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/config/db.o src/config/db.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/config/module.o src/config/module.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC     -isystem /usr/local/include  -c -o src/http11/http11_parser.o src/http11/http11_parser.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/http11/http11_parser.c:1050:18: warning: unused variable 'http_parser_en_main' [-Wunused-const-variable]
static const int http_parser_en_main = 1;
                 ^
1 warning generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/http11/httpclient_parser.c:62:18: warning: unused variable 'httpclient_parser_en_main' [-Wunused-const-variable]
static const int httpclient_parser_en_main = 1;
                 ^
1 warning generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/mem/halloc.o src/mem/halloc.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/context.o src/task/context.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/fd.o src/task/fd.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/net.o src/task/net.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/task/net.c:84:19: warning: variable 'port' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        } else if(psa->sa_family == AF_INET) {
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
src/task/net.c:88:34: note: uninitialized use occurs here
        sprintf(portstr, "%04x", port & 0xffff);
                                 ^~~~
src/task/net.c:84:16: note: remove the 'if' if its condition is always true
        } else if(psa->sa_family == AF_INET) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/task/net.c:52:22: note: initialize the variable 'port' to silence this warning
    unsigned int port;
                     ^
                      = 0
1 warning generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/qlock.o src/task/qlock.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/rendez.o src/task/rendez.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/task/task.o src/task/task.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/bsd_specific.o src/bsd_specific.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/cache.o src/cache.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/chunked.o src/chunked.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/connection.o src/connection.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/control.o src/control.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/dbg.o src/dbg.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/dir.o src/dir.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/filter.o src/filter.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/handler.o src/handler.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/handler_parser.o src/handler_parser.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/handler_parser.c:54:18: warning: unused variable 'HandlerParser_first_final' [-Wunused-const-variable]
static const int HandlerParser_first_final = 11;
                 ^
src/handler_parser.c:55:18: warning: unused variable 'HandlerParser_error' [-Wunused-const-variable]
static const int HandlerParser_error = 0;
                 ^
src/handler_parser.c:57:18: warning: unused variable 'HandlerParser_en_main' [-Wunused-const-variable]
static const int HandlerParser_en_main = 1;
                 ^
3 warnings generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/headers.o src/headers.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/host.o src/host.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/io.o src/io.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/log.o src/log.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/logrotate.o src/logrotate.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/mime.o src/mime.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/pattern.o src/pattern.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/proxy.o src/proxy.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/register.o src/register.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/request.o src/request.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/response.o src/response.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/routing.o src/routing.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/server.o src/server.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/setting.o src/setting.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC     -isystem /usr/local/include  -c -o src/state.o src/state.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/state.c:53:18: warning: unused variable 'StateActions_first_final' [-Wunused-const-variable]
static const int StateActions_first_final = 18;
                 ^
src/state.c:54:18: warning: unused variable 'StateActions_error' [-Wunused-const-variable]
static const int StateActions_error = 0;
                 ^
src/state.c:56:18: warning: unused variable 'StateActions_en_Proxy' [-Wunused-const-variable]
static const int StateActions_en_Proxy = 12;
                 ^
src/state.c:57:18: warning: unused variable 'StateActions_en_main' [-Wunused-const-variable]
static const int StateActions_en_main = 18;
                 ^
src/state.c:58:18: warning: unused variable 'StateActions_en_main_Connection_Idle' [-Wunused-const-variable]
static const int StateActions_en_main_Connection_Idle = 5;
                 ^
src/state.c:59:18: warning: unused variable 'StateActions_en_main_Connection_HTTPRouting' [-Wunused-const-variable]
static const int StateActions_en_main_Connection_HTTPRouting = 3;
                 ^
6 warnings generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/superpoll.o src/superpoll.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
src/superpoll.c:321:52: warning: unused parameter 'sp' [-Wunused-parameter]
static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
                                                   ^
src/superpoll.c:327:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
                                                          ^
src/superpoll.c:343:54: warning: unused parameter 'sp' [-Wunused-parameter]
static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
                                                     ^
src/superpoll.c:343:70: warning: unused parameter 'result' [-Wunused-parameter]
static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
                                                                     ^
4 warnings generated.
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/tnetstrings.o src/tnetstrings.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/unixy.o src/unixy.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/upload.o src/upload.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/websocket.o src/websocket.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -isystem /usr/local/include  -c -o src/xrequest.o src/xrequest.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -fPIC -fPIC   -c src/task/asm.S -o src/task/asm.o
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
ar rcs build/libm2.a src/mbedtls/library/aes.o src/mbedtls/library/aesni.o src/mbedtls/library/arc4.o src/mbedtls/library/asn1parse.o src/mbedtls/library/asn1write.o src/mbedtls/library/base64.o src/mbedtls/library/bignum.o src/mbedtls/library/blowfish.o src/mbedtls/library/camellia.o src/mbedtls/library/ccm.o src/mbedtls/library/certs.o src/mbedtls/library/cipher.o src/mbedtls/library/cipher_wrap.o src/mbedtls/library/ctr_drbg.o src/mbedtls/library/debug.o src/mbedtls/library/des.o src/mbedtls/library/dhm.o src/mbedtls/library/ecdh.o src/mbedtls/library/ecdsa.o src/mbedtls/library/ecjpake.o src/mbedtls/library/ecp.o src/mbedtls/library/ecp_curves.o src/mbedtls/library/entropy.o src/mbedtls/library/entropy_poll.o src/mbedtls/library/error.o src/mbedtls/library/gcm.o src/mbedtls/library/havege.o src/mbedtls/library/hmac_drbg.o src/mbedtls/library/md.o src/mbedtls/library/md2.o src/mbedtls/library/md4.o src/mbedtls/library/md5.o src/mbedtls/library/md_wrap.o src/mbedtls/library/memory_
 buffer_alloc.o src/mbedtls/library/net.o src/mbedtls/library/oid.o src/mbedtls/library/padlock.o src/mbedtls/library/pem.o src/mbedtls/library/pk.o src/mbedtls/library/pk_wrap.o src/mbedtls/library/pkcs11.o src/mbedtls/library/pkcs12.o src/mbedtls/library/pkcs5.o src/mbedtls/library/pkparse.o src/mbedtls/library/pkwrite.o src/mbedtls/library/platform.o src/mbedtls/library/ripemd160.o src/mbedtls/library/rsa.o src/mbedtls/library/sha1.o src/mbedtls/library/sha256.o src/mbedtls/library/sha512.o src/mbedtls/library/ssl_cache.o src/mbedtls/library/ssl_ciphersuites.o src/mbedtls/library/ssl_cli.o src/mbedtls/library/ssl_cookie.o src/mbedtls/library/ssl_srv.o src/mbedtls/library/ssl_ticket.o src/mbedtls/library/ssl_tls.o src/mbedtls/library/threading.o src/mbedtls/library/timing.o src/mbedtls/library/version.o src/mbedtls/library/version_features.o src/mbedtls/library/x509.o src/mbedtls/library/x509_create.o src/mbedtls/library/x509_crl.o src/mbedtls/library/x509_crt.o src/mbedtls/library
 /x509_csr.o src/mbedtls/library/x509write_cr!
 t.o src/mbedtls/library/x509write_csr.o src/mbedtls/library/xtea.o src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/radixmap.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/chunked.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/logrotate.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/websocket.o src/xrequest.o src/state.o src/http11/http11_parser.o src/task/asm.o
ranlib build/libm2.a
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\"   -isystem /usr/local/include  -c -o src/mongrel2.o src/mongrel2.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
cc -g -O2 -Wall -Wextra -Isrc -Isrc/mbedtls/include -pthread -rdynamic -DNDEBUG -I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" src/mongrel2.o -o bin/mongrel2 build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread
ld: error: duplicate symbol: m2program
>>> defined at unixy.h:41 (src/unixy.h:41)
>>>            src/mongrel2.o:(m2program)
>>> defined at unixy.h:41 (src/unixy.h:41)
>>>            server.o:(.bss+0x8) in archive build/libm2.a

ld: error: duplicate symbol: m2program
>>> defined at unixy.h:41 (src/unixy.h:41)
>>>            src/mongrel2.o:(m2program)
>>> defined at unixy.c:45 (src/unixy.c:45)
>>>            unixy.o:(.data+0x0) in archive build/libm2.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [localmbedtls.mak:86: bin/mongrel2] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.12.2'
*** Error code 1

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