[00:00:01] ====>> Creating the reference jail... done [00:00:01] ====>> Mounting system devices for 10-amd64-default-noport [00:00:01] ====>> Mounting ports/packages/distfiles [00:00:01] ====>> Stashing existing package repository [00:00:02] ====>> Mounting ccache from: /var/cache/ccache-nobody [00:00:02] ====>> Mounting packages from: /usr/local/poudriere/data/packages/10-amd64-default-noport [00:00:02] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:02] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/make.conf [00:00:02] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/noport-make.conf /etc/resolv.conf -> /usr/local/poudriere/data/.m/10-amd64-default-noport/ref/etc/resolv.conf [00:00:02] ====>> Starting jail 10-amd64-default-noport [00:00:02] ====>> Logs: /usr/local/poudriere/data/logs/bulk/10-amd64-default-noport/2015-08-04_20h12m47s [00:00:02] ====>> Loading MOVED [00:00:02] ====>> Calculating ports order and dependencies [00:00:02] ====>> Sanity checking the repository [00:00:02] ====>> Checking packages for incremental rebuild needed [00:00:05] ====>> Deleting stale symlinks [00:00:05] ====>> Deleting empty directories [00:00:05] ====>> Cleaning the build queue [00:00:05] ====>> Recording filesystem state for prepkg... done [00:00:07] ====>> Committing packages to repository [00:00:07] ====>> Removing old packages [00:00:07] ====>> Building with flags: [00:00:07] ====>> Removing existing /usr/local build started at Tue Aug 4 20:12:54 MSK 2015 port directory: /usr/ports/www/mongrel2 building for: FreeBSD 10-amd64-default-noport 10.1-RELEASE FreeBSD 10.1-RELEASE amd64 maintained by: vg@FreeBSD.org Makefile ident: $FreeBSD: head/www/mongrel2/Makefile 363371 2014-07-29 18:41:15Z adamw $ Poudriere version: 3.1.7 Host OSVERSION: 1100076 Jail OSVERSION: 1001000 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs ABI_FILE=/usr/lib/crt1.o OSVERSION=1001000 UNAME_v=FreeBSD 10.1-RELEASE UNAME_r=10.1-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 WARNING_WAIT=0 SAVED_TERM=screen NO_WARNING_PKG_INSTALL_EOL=yes MASTERMNT=/usr/local/poudriere/data/.m/10-amd64-default-noport/ref FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/ssd/batchports-mem/www/mongrel2 PWD=/ MASTERNAME=10-amd64-default-noport SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.7 SCRIPTPATH=/usr/local/share/poudriere/testport.sh TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local DEV_WARNING_WAIT=0 ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for mongrel2-1.7.5_2: EXAMPLES=off: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --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 HOME=/wrkdirs/usr/ports/www/mongrel2/work SHELL=/bin/sh CONFIG_SHELL=/bin/sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/www/mongrel2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mongrel2/work HOME=/wrkdirs/usr/ports/www/mongrel2/work NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=10.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="@comment " PORTEXAMPLES="@comment " 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--- WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### _LICENSE_STATUS= accepted WITHOUT= DOXYGEN BOOTSTRAP #### /usr/local/etc/poudriere.d/noport-make.conf #### WITHOUT= DOCS EXAMPLES NLS ---End make.conf--- =================================================== ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mongrel2-1.7.5_2 =========================================================================== =================================================== ===> mongrel2-1.7.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.5.5.txz [10-amd64-default-noport] Installing pkg-1.5.5... [10-amd64-default-noport] Extracting pkg-1.5.5: .......... done Message for pkg-1.5.5: If you are upgrading from the old package format, first run: # pkg2ng ===> mongrel2-1.7.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mongrel2-1.7.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mongrel2-1.7.5_2 for building =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mongrel2-1.7.5_2 for building => SHA256 Checksum OK for mongrel2-1.7.5.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mongrel2-1.7.5_2 for building ===> Extracting for mongrel2-1.7.5_2 => SHA256 Checksum OK for mongrel2-1.7.5.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for mongrel2-1.7.5_2 ===> Applying FreeBSD patches for mongrel2-1.7.5_2 =========================================================================== =================================================== ===> mongrel2-1.7.5_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.1_2.txz [10-amd64-default-noport] Installing gmake-4.1_2... [10-amd64-default-noport] `-- Installing indexinfo-0.2.3... [10-amd64-default-noport] `-- Extracting indexinfo-0.2.3: .... done [10-amd64-default-noport] Extracting gmake-4.1_2: ....... done ===> mongrel2-1.7.5_2 depends on executable: gmake - found ===> Returning to build of mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.2.2_1.txz [10-amd64-default-noport] Installing ccache-3.2.2_1... [10-amd64-default-noport] Extracting ccache-3.2.2_1: ....... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) Message for ccache-3.2.2_1: NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mongrel2-1.7.5_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mongrel2-1.7.5_2 =========================================================================== =================================================== ===> mongrel2-1.7.5_2 depends on shared library: libzmq.so - not found ===> Installing existing package /packages/All/libzmq2-2.2.0_3.txz [10-amd64-default-noport] Installing libzmq2-2.2.0_3... [10-amd64-default-noport] Extracting libzmq2-2.2.0_3: .......... done ===> mongrel2-1.7.5_2 depends on shared library: libzmq.so - found (/usr/local/lib/libzmq.so) ===> Returning to build of mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.8.10.2.txz [10-amd64-default-noport] Installing sqlite3-3.8.10.2... [10-amd64-default-noport] Extracting sqlite3-3.8.10.2: .......... done ===> mongrel2-1.7.5_2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of mongrel2-1.7.5_2 =========================================================================== ====>> Recording filesystem state for prebuild... done =================================================== ===> mongrel2-1.7.5_2 depends on executable: gmake - found ===> mongrel2-1.7.5_2 depends on file: /usr/local/bin/ccache - found ===> mongrel2-1.7.5_2 depends on shared library: libzmq.so - found (/usr/local/lib/libzmq.so) ===> mongrel2-1.7.5_2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Configuring for mongrel2-1.7.5_2 =========================================================================== =================================================== ===> Building for mongrel2-1.7.5_2 gmake[1]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/http11_parser.o src/http11/http11_parser.c cc: warning: argument unused during compilation: '-rdynamic' src/http11/http11_parser.c:62:18: warning: unused variable 'http_parser_en_main' [-Wunused-const-variable] static const int http_parser_en_main = 1; ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c cc: warning: argument unused during compilation: '-rdynamic' 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 -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/module.o src/config/module.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/config.o src/config/config.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/db.o src/config/db.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mem/halloc.o src/mem/halloc.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/tst.o src/adt/tst.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/hash.o src/adt/hash.c cc: warning: argument unused during compilation: '-rdynamic' src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter] static hnode_t *hnode_alloc(void *context) ^ src/adt/hash.c:51:17: note: expanded from macro 'context' #define context hash_context ^ src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter] static void hnode_free(hnode_t *node, void *context) ^ src/adt/hash.c:51:17: note: expanded from macro 'context' #define context hash_context ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/darray.o src/adt/darray.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/dict.o src/adt/dict.c cc: warning: argument unused during compilation: '-rdynamic' src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter] static dnode_t *dnode_alloc(void *context) ^ src/adt/dict.c:56:17: note: expanded from macro 'context' #define context dict_context ^ src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter] static void dnode_free(dnode_t *node, void *context) ^ src/adt/dict.c:56:17: note: expanded from macro 'context' #define context dict_context ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/list.o src/adt/list.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/havege.o src/polarssl/havege.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/certs.o src/polarssl/certs.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/camellia.o src/polarssl/camellia.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/bignum.o src/polarssl/bignum.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/x509parse.o src/polarssl/x509parse.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/arc4.o src/polarssl/arc4.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/aes.o src/polarssl/aes.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/xtea.o src/polarssl/xtea.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/base64.o src/polarssl/base64.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md5.o src/polarssl/md5.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_tls.o src/polarssl/ssl_tls.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/debug.o src/polarssl/debug.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_srv.o src/polarssl/ssl_srv.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha4.o src/polarssl/sha4.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/version.o src/polarssl/version.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/padlock.o src/polarssl/padlock.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_cli.o src/polarssl/ssl_cli.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha2.o src/polarssl/sha2.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md4.o src/polarssl/md4.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/rsa.o src/polarssl/rsa.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/dhm.o src/polarssl/dhm.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/timing.o src/polarssl/timing.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/net.o src/polarssl/net.c cc: warning: argument unused during compilation: '-rdynamic' src/polarssl/net.c:238:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &client_addr, &n ); ^~ /usr/include/sys/socket.h:596:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha1.o src/polarssl/sha1.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/des.o src/polarssl/des.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md2.o src/polarssl/md2.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bsafe.o src/bstr/bsafe.c cc: warning: argument unused during compilation: '-rdynamic' src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] dst = dst; ~~~ ^ ~~~ src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] src = src; ~~~ ^ ~~~ src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] dst = dst; ~~~ ^ ~~~ src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] src = src; ~~~ ^ ~~~ src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] dst = dst; ~~~ ^ ~~~ src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] src = src; ~~~ ^ ~~~ src/bstr/bsafe.c:63:4: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] n = n; ~ ^ ~ src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] s1 = s1; ~~ ^ ~~ src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] s2 = s2; ~~ ^ ~~ 9 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstraux.o src/bstr/bstraux.c cc: warning: argument unused during compilation: '-rdynamic' src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] buff = buff; ~~~~ ^ ~~~~ src/bstr/bstraux.c:202:9: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] elsize = elsize; ~~~~~~ ^ ~~~~~~ src/bstr/bstraux.c:203:8: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] nelem = nelem; ~~~~~ ^ ~~~~~ src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] parm = parm; ~~~~ ^ ~~~~ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/context.o src/task/context.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/task.o src/task/task.c cc: warning: argument unused during compilation: '-rdynamic' src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter] static void taskmainstart(void *v) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/qlock.o src/task/qlock.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/net.o src/task/net.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/fd.o src/task/fd.c cc: warning: argument unused during compilation: '-rdynamic' src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter] void fdtask(void *v) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/rendez.o src/task/rendez.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/routing.o src/routing.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/headers.o src/headers.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dbg.o src/dbg.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/io.o src/io.c cc: warning: argument unused during compilation: '-rdynamic' src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter] static ssize_t null_send(IOBuf *iob, char *buffer, int len) ^ src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter] static ssize_t null_send(IOBuf *iob, char *buffer, int len) ^ src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter] static ssize_t null_recv(IOBuf *iob, char *buffer, int len) ^ src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter] static ssize_t null_recv(IOBuf *iob, char *buffer, int len) ^ src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter] static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) ^ src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter] static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) ^ src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter] void ssl_debug(void *p, int level, const char *msg) { ^ src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter] void ssl_debug(void *p, int level, const char *msg) { ^ 8 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/proxy.o src/proxy.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/pattern.o src/pattern.c cc: warning: argument unused during compilation: '-rdynamic' src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter] const char *classend (MatchState *ms, const char *p) { ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/register.o src/register.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mime.o src/mime.c cc: warning: argument unused during compilation: '-rdynamic' src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter] void MIME_traverse_destroy(void *value, void *data) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/cache.o src/cache.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/filter.o src/filter.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bsd_specific.o src/bsd_specific.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/upload.o src/upload.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/tnetstrings.o src/tnetstrings.c cc: warning: argument unused during compilation: '-rdynamic' src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter] void tns_hnode_free(hnode_t *node, void *notused) ^ src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter] hnode_t *tns_hnode_alloc(void *notused) ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/setting.o src/setting.c cc: warning: argument unused during compilation: '-rdynamic' src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter] void Setting_traverse_destroy(void *value, void *data) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler.o src/handler.c cc: warning: argument unused during compilation: '-rdynamic' src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter] static void cstr_free(void *data, void *hint) ^ src/handler.c:167:5: warning: variable 'inmsg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] check(handler->running, "Called while handler wasn't running, that's not good."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/handler.c:194:8: note: uninitialized use occurs here if(inmsg) { ^~~~~ src/handler.c:167:5: note: remove the 'if' if its condition is always false check(handler->running, "Called while handler wasn't running, that's not good."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/handler.c:169:5: note: variable 'inmsg' is declared here zmq_msg_t *inmsg = calloc(sizeof(zmq_msg_t), 1); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/server.o src/server.c cc: warning: argument unused during compilation: '-rdynamic' src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter] void host_destroy_cb(Route *r, RouteMap *map) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/log.o src/log.c cc: warning: argument unused during compilation: '-rdynamic' src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter] static void free_log_msg(void *data, void *hint) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/unixy.o src/unixy.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler_parser.o src/handler_parser.c cc: warning: argument unused during compilation: '-rdynamic' src/handler_parser.c:54:18: warning: unused variable 'HandlerParser_first_final' [-Wunused-const-variable] static const int HandlerParser_first_final = 9; ^ 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 -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/control.o src/control.c cc: warning: argument unused during compilation: '-rdynamic' src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter] static void cstr_free(void *data, void *hint) ^ src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter] static tns_value_t *signal_server_cb(bstring name, hash_t *args) ^ src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter] tns_value_t *version_cb(bstring name, hash_t *args) ^ src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter] tns_value_t *version_cb(bstring name, hash_t *args) ^ src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter] tns_value_t *help_cb(bstring name, hash_t *args) ^ src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter] tns_value_t *help_cb(bstring name, hash_t *args) ^ src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter] tns_value_t *control_stop_cb(bstring name, hash_t *args) ^ src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter] tns_value_t *control_stop_cb(bstring name, hash_t *args) ^ src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter] tns_value_t *kill_cb(bstring name, hash_t *args) ^ src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter] tns_value_t *status_cb(bstring name, hash_t *args) ^ src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter] tns_value_t *info_cb(bstring name, hash_t *args) ^ src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter] void Control_task(void *v) ^ 12 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/connection.o src/connection.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/superpoll.o src/superpoll.c cc: warning: argument unused during compilation: '-rdynamic' src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter] static inline int SuperPoll_arm_idle_fd(SuperPoll *sp) ^ src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter] static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd) ^ src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter] static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) ^ src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter] static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) ^ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dir.o src/dir.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/request.o src/request.c cc: warning: argument unused during compilation: '-rdynamic' src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter] static hnode_t *req_alloc_hash(void *notused) ^ src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter] static void req_free_hash(hnode_t *node, void *notused) ^ src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter] static void header_done_cb(void *data, const char *at, size_t length) ^ src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter] static void header_done_cb(void *data, const char *at, size_t length) ^ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/host.o src/host.c cc: warning: argument unused during compilation: '-rdynamic' src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter] void backend_destroy_cb(Route *r, RouteMap *map) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/state.o src/state.c cc: warning: argument unused during compilation: '-rdynamic' src/state.c:53:18: warning: unused variable 'StateActions_first_final' [-Wunused-const-variable] static const int StateActions_first_final = 16; ^ 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 = 10; ^ src/state.c:57:18: warning: unused variable 'StateActions_en_main' [-Wunused-const-variable] static const int StateActions_en_main = 16; ^ 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 -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/response.o src/response.c cc: warning: argument unused during compilation: '-rdynamic' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -fPIC -c src/task/asm.S -o src/task/asm.o cc: warning: argument unused during compilation: '-rdynamic' ar rcs build/libm2.a src/http11/http11_parser.o src/http11/httpclient_parser.o src/config/module.o src/config/config.o src/config/db.o src/mem/halloc.o src/adt/tst.o src/adt/hash.o src/adt/darray.o src/adt/dict.o src/adt/list.o src/polarssl/havege.o src/polarssl/camellia.o src/polarssl/debug.o src/polarssl/bignum.o src/polarssl/arc4.o src/polarssl/aes.o src/polarssl/md5.o src/polarssl/sha2.o src/polarssl/md2.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/ssl_cli.o src/polarssl/sha1.o src/polarssl/ssl_srv.o src/polarssl/xtea.o src/polarssl/des.o src/polarssl/certs.o src/polarssl/timing.o src/polarssl/x509parse.o src/polarssl/base64.o src/polarssl/sha4.o src/polarssl/version.o src/polarssl/ssl_tls.o src/polarssl/net.o src/polarssl/dhm.o src/polarssl/md4.o src/bstr/bstrlib.o src/bstr/bsafe.o src/bstr/bstraux.o src/task/context.o src/task/task.o src/task/qlock.o src/task/net.o src/task/fd.o src/task/rendez.o src/routing.o src/register.o src/state.o src/pattern.o src/upload.o src/headers.o src/log.o src/unixy.o src/dbg.o src/setting.o src/mime.o src/host.o src/response.o src/control.o src/proxy.o src/handler.o src/server.o src/cache.o src/filter.o src/superpoll.o src/bsd_specific.o src/tnetstrings.o src/io.o src/handler_parser.o src/request.o src/connection.o src/dir.o src/state.o src/http11/http11_parser.o src/task/asm.o ranlib build/libm2.a cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -c -o src/mongrel2.o src/mongrel2.c cc: warning: argument unused during compilation: '-rdynamic' src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter] void tickertask(void *v) ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 src/mongrel2.o -o bin/mongrel2 build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread sqlite3 tests/config.sqlite < src/config/config.sql sqlite3 tests/config.sqlite < src/config/example.sql sqlite3 tests/config.sqlite < src/config/mimetypes.sql cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/host_tests tests/host_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/host_tests.c:22:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/register_tests tests/register_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/register_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/cache_tests tests/cache_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/cache_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/filter_tests tests/filter_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/filter_tests.c:84:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/hash_tests tests/hash_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/hash_tests.c:47:32: warning: unused parameter 'c' [-Wunused-parameter] static hnode_t *new_node(void *c) ^ tests/hash_tests.c:58:31: warning: unused parameter 'n' [-Wunused-parameter] static void del_node(hnode_t *n, void *c) ^ tests/hash_tests.c:58:40: warning: unused parameter 'c' [-Wunused-parameter] static void del_node(hnode_t *n, void *c) ^ tests/hash_tests.c:199:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/superpoll_tests tests/superpoll_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/superpoll_tests.c:405:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/tst_tests tests/tst_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/tst_tests.c:166:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/tnetstrings_tests tests/tnetstrings_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/tnetstrings_tests.c:15:48: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] debug("Got a length from LONG_MAX of: %d", len); ~~ ^~~ %zu src/dbg.h:48:92: note: expanded from macro 'debug' #define debug(M, ...) fprintf(dbg_get_log(), "DEBUG %s:%d: " M "\n", __FILE__, __LINE__, ##__VA_ARGS__) ^ tests/tnetstrings_tests.c:169:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/state_tests tests/state_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/state_tests.c:7:32: warning: unused parameter 'data' [-Wunused-parameter] int test_action_cb(Connection *data) ^ tests/state_tests.c:148:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/setting_tests tests/setting_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/setting_tests.c:43:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/unixy_tests tests/unixy_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/unixy_tests.c:74:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/http11_tests tests/http11_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/http11_tests.c:6:29: warning: unused parameter 'data' [-Wunused-parameter] void debug_element_cb(void *data, const char *at, size_t length) ^ tests/http11_tests.c:6:47: warning: unused parameter 'at' [-Wunused-parameter] void debug_element_cb(void *data, const char *at, size_t length) ^ tests/http11_tests.c:6:58: warning: unused parameter 'length' [-Wunused-parameter] void debug_element_cb(void *data, const char *at, size_t length) ^ tests/http11_tests.c:10:27: warning: unused parameter 'data' [-Wunused-parameter] void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) ^ tests/http11_tests.c:10:45: warning: unused parameter 'field' [-Wunused-parameter] void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) ^ tests/http11_tests.c:10:59: warning: unused parameter 'flen' [-Wunused-parameter] void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) ^ tests/http11_tests.c:10:77: warning: unused parameter 'value' [-Wunused-parameter] void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) ^ tests/http11_tests.c:10:91: warning: unused parameter 'vlen' [-Wunused-parameter] void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) ^ tests/http11_tests.c:61:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for(i = 0; i < test_files.gl_pathc; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~ tests/http11_tests.c:118:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 10 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/darray_tests tests/darray_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/darray_tests.c:39:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] mu_assert(array->max == old_max + array->expand_rate, "Wrong size after expand."); ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/minunit.h:12:40: note: expanded from macro 'mu_assert' #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } ^ tests/darray_tests.c:42:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least."); ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ tests/minunit.h:12:40: note: expanded from macro 'mu_assert' #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } ^ tests/darray_tests.c:45:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least."); ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ tests/minunit.h:12:40: note: expanded from macro 'mu_assert' #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } ^ tests/darray_tests.c:77:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/io_tests tests/io_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/io_tests.c:170:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/config_tests tests/config_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/config_tests.c:83:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/handler_parser_tests tests/handler_parser_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/handler_parser_tests.c:15:36: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] return rc == 1 && target_count == parser->target_count; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ tests/handler_parser_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/bstr_tests tests/bstr_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/bstr_tests.c:2058:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] ofs = ofs; ~~~ ^ ~~~ tests/bstr_tests.c:2073:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] ofs = ofs; ~~~ ^ ~~~ tests/bstr_tests.c:3738:10: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] argc = argc; ~~~~ ^ ~~~~ tests/bstr_tests.c:3739:10: warning: explicitly assigning a variable of type 'char **' to itself [-Wself-assign] argv = argv; ~~~~ ^ ~~~~ 4 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/server_tests tests/server_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/server_tests.c:79:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/connection_tests tests/connection_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/connection_tests.c:40:39: warning: unused parameter 'sample_file' [-Wunused-parameter] int test_task_with_sample(const char *sample_file) ^ tests/connection_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/mime_tests tests/mime_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/mime_tests.c:76:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/dir_tests tests/dir_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/dir_tests.c:92:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] check(nparsed == blength(rp), "Failed to parse all of request."); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dbg.h:70:31: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ tests/dir_tests.c:181:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/response_tests tests/response_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/response_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/routing_tests tests/routing_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/routing_tests.c:13:29: warning: comparison of integers of different signs: 'listcount_t' (aka 'unsigned long') and 'int' [-Wsign-compare] check(list_count(found) == expected_count, "Didn't find right number of routes: got %d, expected %d.", ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dbg.h:70:31: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ tests/routing_tests.c:225:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/db_tests tests/db_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/db_tests.c:117:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/dict_tests tests/dict_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/dict_tests.c:53:32: warning: unused parameter 'c' [-Wunused-parameter] static dnode_t *new_node(void *c) ^ tests/dict_tests.c:64:31: warning: unused parameter 'n' [-Wunused-parameter] static void del_node(dnode_t *n, void *c) ^ tests/dict_tests.c:64:40: warning: unused parameter 'c' [-Wunused-parameter] static void del_node(dnode_t *n, void *c) ^ tests/dict_tests.c:164:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof darray / sizeof *darray; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/dict_tests.c:316:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 5 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/httpclient_tests tests/httpclient_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/httpclient_tests.c:69:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for(i = 0; i < test_files.gl_pathc; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~ tests/httpclient_tests.c:99:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] mu_assert(p.body_start > start, "Didn't go past start."); ~~~~~~~~~~~~ ^ ~~~~~ tests/minunit.h:12:40: note: expanded from macro 'mu_assert' #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } ^ tests/httpclient_tests.c:128:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 3 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/request_tests tests/request_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/request_tests.c:23:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for(i = 0; i < test_files.gl_pathc; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~ tests/request_tests.c:230:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 2 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/proxy_tests tests/proxy_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/proxy_tests.c:25:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/handler_tests tests/handler_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/handler_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/list_tests tests/list_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/list_tests.c:166:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Isrc -pthread -rdynamic -DNDEBUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -o tests/pattern_tests tests/pattern_tests.c build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread tests/pattern_tests.c:196:1: warning: unused parameter 'argc' [-Wunused-parameter] RUN_TESTS(all_tests); ^ tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ ^ 1 warning generated. gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="" PREFIX="/usr/local" -C tests/filters all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tests/filters' cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o test_filter.so test_filter.c ../../build/libm2.a cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o test_filter_a.so test_filter_a.c ../../build/libm2.a cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o test_filter_b.so test_filter_b.c ../../build/libm2.a cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o test_filter_c.so test_filter_c.c ../../build/libm2.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tests/filters' gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="" PREFIX="/usr/local" -C tools/filters all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o null.so null.c ../../build/libm2.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="" PREFIX="/usr/local" -C tools/config_modules all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o null.so null.c ../../build/libm2.a cc -I../../src -I/usr/local/include -fPIC -shared -nostartfiles -L../../build -L/usr/local/lib -pthread -o zmq.so zmq.c ../../build/libm2.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' sh ./tests/runtests.sh Running unit tests: tests/bstr_tests PASS tests/cache_tests PASS tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS tests/db_tests PASS tests/dict_tests PASS tests/dir_tests PASS tests/filter_tests PASS tests/handler_parser_tests PASS tests/handler_tests PASS tests/hash_tests PASS tests/host_tests PASS tests/http11_tests PASS tests/httpclient_tests PASS tests/io_tests PASS tests/list_tests PASS tests/mime_tests PASS tests/pattern_tests PASS tests/proxy_tests PASS tests/register_tests PASS tests/request_tests PASS tests/response_tests PASS tests/routing_tests PASS tests/server_tests PASS tests/setting_tests PASS tests/state_tests PASS tests/superpoll_tests PASS tests/tnetstrings_tests PASS tests/tst_tests PASS tests/unixy_tests PASS gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' cc -O2 ../lemon/lemon.c -o ../lemon/lemon cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/ast.o src/ast.c cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/config_file.o src/config_file.c src/config_file.c:153:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] check(val, "Error loading Mimetype %s", bdata(Pair_key(pair))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:167:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:153:5: note: remove the 'if' if its condition is always false check(val, "Error loading Mimetype %s", bdata(Pair_key(pair))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:155:5: note: variable 'res' is declared here tns_value_t *res = NULL; ^ src/config_file.c:175:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] check(val, "Error loading Setting %s", bdata(Pair_key(pair))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:188:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:175:5: note: remove the 'if' if its condition is always false check(val, "Error loading Setting %s", bdata(Pair_key(pair))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:177:5: note: variable 'res' is declared here tns_value_t *res = NULL; ^ src/config_file.c:240:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] CONFIRM_TYPE("Host"); ^~~~~~~~~~~~~~~~~~~~ src/config_file.c:45:5: note: expanded from macro 'CONFIRM_TYPE' check(biseqcstr(Class_ident(val->as.cls), N), "Should be a " # N "."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:268:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:240:5: note: remove the 'if' if its condition is always false CONFIRM_TYPE("Host"); ^ src/config_file.c:45:5: note: expanded from macro 'CONFIRM_TYPE' check(biseqcstr(Class_ident(val->as.cls), N), "Should be a " # N "."); ^ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:240:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] CONFIRM_TYPE("Host"); ^~~~~~~~~~~~~~~~~~~~ src/config_file.c:44:25: note: expanded from macro 'CONFIRM_TYPE' #define CONFIRM_TYPE(N) check(Value_is(val, CLASS), "Not a class.");\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:268:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:240:5: note: remove the 'if' if its condition is always false CONFIRM_TYPE("Host"); ^ src/config_file.c:44:25: note: expanded from macro 'CONFIRM_TYPE' #define CONFIRM_TYPE(N) check(Value_is(val, CLASS), "Not a class.");\ ^ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:242:5: note: variable 'res' is declared here tns_value_t *res = NULL; ^ src/config_file.c:277:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] CONFIRM_TYPE("Server"); ^~~~~~~~~~~~~~~~~~~~~~ src/config_file.c:45:5: note: expanded from macro 'CONFIRM_TYPE' check(biseqcstr(Class_ident(val->as.cls), N), "Should be a " # N "."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:323:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:277:5: note: remove the 'if' if its condition is always false CONFIRM_TYPE("Server"); ^ src/config_file.c:45:5: note: expanded from macro 'CONFIRM_TYPE' check(biseqcstr(Class_ident(val->as.cls), N), "Should be a " # N "."); ^ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:277:5: warning: variable 'res' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] CONFIRM_TYPE("Server"); ^~~~~~~~~~~~~~~~~~~~~~ src/config_file.c:44:25: note: expanded from macro 'CONFIRM_TYPE' #define CONFIRM_TYPE(N) check(Value_is(val, CLASS), "Not a class.");\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:323:8: note: uninitialized use occurs here if(res) tns_value_destroy(res); ^~~ src/config_file.c:277:5: note: remove the 'if' if its condition is always false CONFIRM_TYPE("Server"); ^ src/config_file.c:44:25: note: expanded from macro 'CONFIRM_TYPE' #define CONFIRM_TYPE(N) check(Value_is(val, CLASS), "Not a class.");\ ^ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:279:5: note: variable 'res' is declared here tns_value_t *res = NULL; ^ src/config_file.c:331:5: warning: variable 'zErrMsg' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] check(res != NULL, "Couldn't start transaction."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:29: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^~~~ src/config_file.c:343:8: note: uninitialized use occurs here if(zErrMsg) sqlite3_free(zErrMsg); ^~~~~~~ src/config_file.c:331:5: note: remove the 'if' if its condition is always false check(res != NULL, "Couldn't start transaction."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/dbg.h:70:26: note: expanded from macro 'check' #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } ^ src/config_file.c:334:5: note: variable 'zErrMsg' is declared here char *zErrMsg = NULL; ^ 7 warnings generated. cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/commands.o src/commands.c src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *') [-Wint-conversion] long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/token.o src/token.c cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/linenoise.o src/linenoise.c cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/cli.o src/cli.c src/cli.c:66:18: warning: unused variable 'params_en_main' [-Wunused-const-variable] static const int params_en_main = 4; ^ 1 warning generated. cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/constants.o src/constants.c cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/lexer.o src/lexer.c src/lexer.c:71:18: warning: unused variable 'm2sh_lexer_first_final' [-Wunused-const-variable] static const int m2sh_lexer_first_final = 8; ^ src/lexer.c:72:18: warning: unused variable 'm2sh_lexer_error' [-Wunused-const-variable] static const int m2sh_lexer_error = 0; ^ src/lexer.c:74:18: warning: unused variable 'm2sh_lexer_en_main' [-Wunused-const-variable] static const int m2sh_lexer_en_main = 8; ^ 3 warnings generated. cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/parser.o src/parser.c src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable] ParseARG_FETCH; ^ src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH' #define ParseARG_FETCH ParserState *state = yypParser->state ^ 1 warning generated. mkdir -p build ar rcs build/libm2sh.a src/ast.o src/config_file.o src/commands.o src/token.o src/linenoise.o src/cli.o src/constants.o src/lexer.o src/parser.o ranlib build/libm2sh.a cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -o tests/parser_tests tests/parser_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -o tests/cli_tests tests/cli_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread sh ./tests/runtests.sh Running unit tests: tests/cli_tests PASS tests/parser_tests PASS cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -c -o src/m2sh.o src/m2sh.c mkdir -p build cc -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -I/usr/local/include -o build/m2sh src/m2sh.o build/libm2sh.a ../../build/libm2.a -lzmq -lsqlite3 -L/usr/local/lib -pthread gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' gmake[1]: Nothing to be done for 'Makefile'. gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5' =========================================================================== ====>> Checking for filesystem violations... done =================================================== =========================================================================== ====>> Recording filesystem state for prestage... done =================================================== ===> Staging for mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on shared library: libzmq.so - found (/usr/local/lib/libzmq.so) ===> mongrel2-1.7.5_2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5' gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tests/filters all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tests/filters' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tests/filters' gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/filters all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/config_modules all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' sh ./tests/runtests.sh Running unit tests: tests/bstr_tests PASS tests/cache_tests PASS tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS tests/db_tests PASS tests/dict_tests PASS tests/dir_tests PASS tests/filter_tests PASS tests/handler_parser_tests PASS tests/handler_tests PASS tests/hash_tests PASS tests/host_tests PASS tests/http11_tests PASS tests/httpclient_tests PASS tests/io_tests PASS tests/list_tests PASS tests/mime_tests PASS tests/pattern_tests PASS tests/proxy_tests PASS tests/register_tests PASS tests/request_tests PASS tests/response_tests PASS tests/routing_tests PASS tests/server_tests PASS tests/setting_tests PASS tests/state_tests PASS tests/superpoll_tests PASS tests/tnetstrings_tests PASS tests/tst_tests PASS tests/unixy_tests PASS gmake OPTFLAGS=" -I/usr/local/include" OPTLIBS="-L/usr/local/lib -pthread" LIBS="-lzmq -lsqlite3 -L/usr/local/lib -pthread" DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/m2sh all gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' gmake[1]: Nothing to be done for 'Makefile'. install -d /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/bin/ install bin/mongrel2 /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/bin/ gmake OPTFLAGS=" " OPTLIBS="" LIBS="-lzmq -lsqlite3 " DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/m2sh install gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' install build/m2sh /wrkdirs/usr/ports/www/mongrel2/work/stage/usr/local/bin gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/m2sh' gmake OPTFLAGS=" " OPTLIBS="" LIBS="-lzmq -lsqlite3 " DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/config_modules install gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' install -d /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/lib/mongrel2/config_modules/ install *.so /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/lib/mongrel2/config_modules/ gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/config_modules' gmake OPTFLAGS=" " OPTLIBS="" LIBS="-lzmq -lsqlite3 " DESTDIR="/wrkdirs/usr/ports/www/mongrel2/work/stage" PREFIX="/usr/local" -C tools/filters install gmake[2]: Entering directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' install -d /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/lib/mongrel2/filters/ install *.so /wrkdirs/usr/ports/www/mongrel2/work/stage//usr/local/lib/mongrel2/filters/ gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5/tools/filters' gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/mongrel2/work/mongrel2-1.7.5' /usr/bin/strip /wrkdirs/usr/ports/www/mongrel2/work/stage/usr/local/bin/* /usr/bin/strip /wrkdirs/usr/ports/www/mongrel2/work/stage/usr/local/lib/mongrel2/*/*.so ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done =================================================== ===> Building package for mongrel2-1.7.5_2 =========================================================================== =================================================== =========================================================================== ====>> Recording filesystem state for preinst... done =================================================== ===> Installing for mongrel2-1.7.5_2 ===> mongrel2-1.7.5_2 depends on shared library: libzmq.so - found (/usr/local/lib/libzmq.so) ===> mongrel2-1.7.5_2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Checking if mongrel2 already installed ===> Registering installation for mongrel2-1.7.5_2 [10-amd64-default-noport] Installing mongrel2-1.7.5_2... ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/mongrel2 If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://mongrel2.org/ =========================================================================== ====>> Checking shared library dependencies 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x0000000000000001 (NEEDED) Shared library: [libsqlite3.so.0] 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] 0x0000000000000001 (NEEDED) Shared library: [libzmq.so.1] =================================================== ===> Deinstalling for mongrel2 ===> Deinstalling mongrel2-1.7.5_2 Updating database digests format: ....... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: mongrel2-1.7.5_2 The operation will free 834 KiB. [10-amd64-default-noport] [1/1] Deinstalling mongrel2-1.7.5_2... [10-amd64-default-noport] [1/1] Deleting files for mongrel2-1.7.5_2: ........ done =========================================================================== ====>> Checking for extra files and directories [00:00:22] ====>> Installing from package [10-amd64-default-noport] Installing mongrel2-1.7.5_2... [10-amd64-default-noport] Extracting mongrel2-1.7.5_2: ........ done [00:00:22] ====>> Cleaning up ===> Cleaning for mongrel2-1.7.5_2 [00:00:22] ====>> Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: mongrel2-1.7.5_2 The operation will free 834 KiB. [10-amd64-default-noport] [1/1] Deinstalling mongrel2-1.7.5_2... [10-amd64-default-noport] [1/1] Deleting files for mongrel2-1.7.5_2: ........ done build of www/mongrel2 ended at Tue Aug 4 20:13:09 MSK 2015 build time: 00:00:15 [00:00:22] ====>> Cleaning up [00:00:22] ====>> Umounting file systems