Diff of the two buildlogs: -- --- b1/build.log 2019-06-26 19:47:44.585267118 +0000 +++ b2/build.log 2019-06-26 19:48:25.355334476 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 26 07:33:52 -12 2019 -I: pbuilder-time-stamp: 1561577632 +I: Current time: Wed Jul 29 16:10:46 +14 2020 +I: pbuilder-time-stamp: 1595988646 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Feb 18 20:34:37 2019 -12 +gpgv: Signature made Tue Feb 19 22:34:37 2019 +14 gpgv: using RSA key FB6D32012C9256883DE0C9B3C240CE995D026B11 gpgv: issuer "jan@debian.org" gpgv: Can't check signature: No public key @@ -30,6 +30,18 @@ dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps +I: user script /srv/workspace/pbuilder/21978/tmp/hooks/D01_modify_environment starting +disorder-fs debug: Running on profitbricks-build16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/21978/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -135,7 +147,7 @@ Get: 60 http://cdn-fastly.deb.debian.org/debian buster/main i386 libzmq5 i386 4.3.1-4 [269 kB] Get: 61 http://cdn-fastly.deb.debian.org/debian buster/main i386 libzmq3-dev i386 4.3.1-4 [481 kB] Get: 62 http://cdn-fastly.deb.debian.org/debian buster/main i386 sqlite3 i386 3.27.2-3 [1031 kB] -Fetched 27.6 MB in 26s (1060 kB/s) +Fetched 27.6 MB in 1s (19.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19231 files and directories currently installed.) @@ -404,9 +416,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 182 kB of additional disk space will be used. +Get:1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libnumber-compare-perl all 0.03-1 [7642 B] +Get:2 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtext-glob-perl all 0.10-1 [8362 B] +Get:3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://cdn-fastly.deb.debian.org/debian buster/main i386 usrmerge all 21 [12.8 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (573 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21876 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.10-1_all.deb ... +Unpacking libtext-glob-perl (0.10-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_21_all.deb ... +Unpacking usrmerge (21) ... +Setting up libtext-glob-perl (0.10-1) ... +Setting up libnumber-compare-perl (0.03-1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (21) ... +The system has been successfully converted. +Processing triggers for man-db (2.8.5-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/mongrel2-1.12.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/mongrel2-1.12.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package mongrel2 dpkg-buildpackage: info: source version 1.12.0-2 dpkg-buildpackage: info: source distribution unstable @@ -416,7 +460,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j10 clean + make -j18 clean make[1]: Entering directory '/build/mongrel2-1.12.0' rm -rf build bin lib 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/bsd_specific.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/cache.o src/chunked.o src/config/config.o src/config/db.o src/config/module.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/http11/http11_parser.o src/http11/httpclient_parser.o src/io.o src/log.o src/logrotate.o src/mem/halloc.o src/mime.o src/mongrel2.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/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.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 tests/bstr_tests tests/cache_tests tests/cert_tests tests/chunked_tests tests/config_tests tests/connection_tests tests/darray_tests tests/db_tests tests/dict_tests tests/dir_tests tests/filter_tests tests/handler_parser_tests tests/handler_tests tests/hash_tests tests/host_tests tests/http11_tests tests/httpclient_tests tests/io_tests tests/list_tests tests/mime_tests tests/pattern_tests tests/proxy_tests tests/radixmap_tests tests/register_tests tests/request_tests tests/response_tests tests/routing_tests tests/server_tests tests/setting_tests tests/state_tests tests/superpoll_tests tests/tnetstrings_tests tests/tst_tests tests/unixy_tests tests/config.sqlite rm -f tests/perf.log @@ -457,7 +501,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/mongrel2-1.12.0' sqlite3 tests/config.sqlite < src/config/config.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/darray.o src/adt/darray.c @@ -469,11 +513,6 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/bsd_specific.o src/bsd_specific.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/bstr/bsafe.o src/bstr/bsafe.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/bstr/bstraux.o src/bstr/bstraux.c -sqlite3 tests/config.sqlite < src/config/example.sql -src/bstr/bstraux.c:1083:1: warning: this decimal constant is unsigned only in ISO C90 - static const unsigned int FNV_OFFSET_BASIS = 2166136261; - ^~~~~~ -sqlite3 tests/config.sqlite < src/config/mimetypes.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/cache.o src/cache.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/chunked.o src/chunked.c @@ -482,9 +521,13 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config/module.o src/config/module.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/connection.o src/connection.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/control.o src/control.c +sqlite3 tests/config.sqlite < src/config/example.sql +src/bstr/bstraux.c:1083:1: warning: this decimal constant is unsigned only in ISO C90 + static const unsigned int FNV_OFFSET_BASIS = 2166136261; + ^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/dbg.o src/dbg.c +sqlite3 tests/config.sqlite < src/config/mimetypes.sql src/connection.c: In function 'Connection_fingerprint_from_cert': -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/dir.o src/dir.c src/connection.c:299:9: warning: 'mbedtls_sha1_starts' is deprecated [-Wdeprecated-declarations] mbedtls_sha1_starts(&ctx); ^~~~~~~~~~~~~~~~~~~ @@ -506,6 +549,7 @@ /usr/include/mbedtls/sha1.h:246:25: note: declared here MBEDTLS_DEPRECATED void mbedtls_sha1_finish( mbedtls_sha1_context *ctx, ^~~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/dir.o src/dir.c src/connection.c: In function 'Connection_create': src/connection.c:1170:9: warning: 'mbedtls_ssl_conf_dh_param' is deprecated [-Wdeprecated-declarations] mbedtls_ssl_conf_dh_param(&conn->iob->sslconf, srv->dhm_P, srv->dhm_G); @@ -519,6 +563,9 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/filter.o src/filter.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/handler.o src/handler.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/handler_parser.o src/handler_parser.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/headers.o src/headers.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/host.o src/host.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/http11/http11_parser.o src/http11/http11_parser.c src/handler_parser.c: In function 'HandlerParser_execute': src/handler_parser.rl:51:4: warning: this statement may fall through [-Wimplicit-fallthrough=] char *endptr = NULL; @@ -584,13 +631,12 @@ src/handler_parser.c:54:18: warning: 'HandlerParser_first_final' defined but not used [-Wunused-const-variable=] static const int HandlerParser_first_final = 11; ^~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/headers.o src/headers.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/host.o src/host.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/http11/http11_parser.o src/http11/http11_parser.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/io.o src/io.c src/http11/http11_parser.c:1050:18: warning: 'http_parser_en_main' defined but not used [-Wunused-const-variable=] static const int http_parser_en_main = 1; ^~~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/log.o src/log.c src/http11/httpclient_parser.c: In function 'httpclient_parser_execute': src/http11/httpclient_parser.rl:55:5: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -1318,12 +1364,10 @@ src/http11/httpclient_parser.rl:65:1: note: here ^ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/io.o src/io.c At top level: src/http11/httpclient_parser.c:62:18: warning: 'httpclient_parser_en_main' defined but not used [-Wunused-const-variable=] static const int httpclient_parser_en_main = 1; ^~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/log.o src/log.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/logrotate.o src/logrotate.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/mem/halloc.o src/mem/halloc.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/mime.o src/mime.c @@ -1350,7 +1394,6 @@ ^ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/state.o src/state.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/superpoll.o src/superpoll.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/context.o src/task/context.c src/state.c: In function 'State_exec': src/state.rl:56:5: warning: this statement may fall through [-Wimplicit-fallthrough=] action send_socket_response { CALL(send_socket_response, fc); } @@ -1448,6 +1491,7 @@ src/state.rl:76:1: note: here action proxy_exit_idle { ^ +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/context.o src/task/context.c At top level: src/state.c:59:18: warning: 'StateActions_en_main_Connection_HTTPRouting' defined but not used [-Wunused-const-variable=] static const int StateActions_en_main_Connection_HTTPRouting = 3; @@ -1476,6 +1520,7 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/unixy.o src/unixy.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/upload.o src/upload.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/websocket.o src/websocket.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/xrequest.o src/xrequest.c src/websocket.c: In function 'websocket_challenge': src/websocket.c:64:5: warning: 'mbedtls_sha1' is deprecated [-Wdeprecated-declarations] mbedtls_sha1((unsigned char *)bdata(tmpstring),blength(tmpstring),(unsigned char *)bdata(buf)); @@ -1484,7 +1529,6 @@ /usr/include/mbedtls/sha1.h:324:25: note: declared here MBEDTLS_DEPRECATED void mbedtls_sha1( const unsigned char *input, ^~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/xrequest.o src/xrequest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c src/task/asm.S -o src/task/asm.o cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/mongrel2.o src/mongrel2.c ar rcs build/libm2.a 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/bsd_specific.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/cache.o src/chunked.o src/config/config.o src/config/db.o src/config/module.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/http11/http11_parser.o src/http11/httpclient_parser.o src/io.o src/log.o src/logrotate.o src/mem/halloc.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/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.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 @@ -1499,13 +1543,6 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/darray_tests tests/darray_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/db_tests tests/db_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/dict_tests tests/dict_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto -tests/bstr_tests.c: In function 'test15_0': -tests/bstr_tests.c:1257:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; - ^~ -tests/bstr_tests.c:1257:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; - ^~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/dir_tests tests/dir_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/filter_tests tests/filter_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/handler_parser_tests tests/handler_parser_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto @@ -1514,6 +1551,13 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/host_tests tests/host_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/http11_tests tests/http11_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/httpclient_tests tests/httpclient_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto +tests/bstr_tests.c: In function 'test15_0': +tests/bstr_tests.c:1257:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; + ^~ +tests/bstr_tests.c:1257:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; + ^~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/io_tests tests/io_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/list_tests tests/list_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/mime_tests tests/mime_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto @@ -1532,29 +1576,20 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/tst_tests tests/tst_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/unixy_tests tests/unixy_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tests/filters all -make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/filters all make[2]: Entering directory '/build/mongrel2-1.12.0/tests/filters' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter.so test_filter.c ../../build/libm2.a +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/filters all +make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/config_modules all make[2]: Entering directory '/build/mongrel2-1.12.0/tools/filters' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o null.so null.c ../../build/libm2.a +make[2]: Entering directory '/build/mongrel2-1.12.0/tools/config_modules' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -o null.so null.c ../../build/libm2.a : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -null.c: In function 'filter_transition': -null.c:5:41: warning: unused parameter 'state' [-Wunused-parameter] - StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) - ~~~~~~~~~~~^~~~~ -null.c:5:60: warning: unused parameter 'conn' [-Wunused-parameter] - StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) - ~~~~~~~~~~~~^~~~ -null.c: In function 'filter_init': -null.c:20:33: warning: unused parameter 'srv' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~ -null.c:20:46: warning: unused parameter 'load_path' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~~~~~~~ test_filter.c: In function 'filter_transition': test_filter.c:4:41: warning: unused parameter 'state' [-Wunused-parameter] StateEvent filter_transition(StateEvent state, Connection *conn) @@ -1569,11 +1604,23 @@ test_filter.c:10:46: warning: unused parameter 'load_path' [-Wunused-parameter] StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) ~~~~~~~~^~~~~~~~~ -make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/config_modules all -make[2]: Entering directory '/build/mongrel2-1.12.0/tools/config_modules' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -o null.so null.c ../../build/libm2.a -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition +make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all +make[2]: Entering directory '/build/mongrel2-1.12.0/tools/m2sh' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now ../lemon/lemon.c -o ../lemon/lemon +null.c: In function 'filter_transition': +null.c:5:41: warning: unused parameter 'state' [-Wunused-parameter] + StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) + ~~~~~~~~~~~^~~~~ +null.c:5:60: warning: unused parameter 'conn' [-Wunused-parameter] + StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) + ~~~~~~~~~~~~^~~~ +null.c: In function 'filter_init': +null.c:20:33: warning: unused parameter 'srv' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~ +null.c:20:46: warning: unused parameter 'load_path' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~~~~~~~ null.c: In function 'config_load_handler': null.c:57:38: warning: unused parameter 'handler_id' [-Wunused-parameter] tns_value_t *config_load_handler(int handler_id) @@ -1605,46 +1652,21 @@ null.c:98:38: warning: unused parameter 'server_id' [-Wunused-parameter] tns_value_t *config_load_filters(int server_id) ~~~~^~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o rewrite.so rewrite.c ../../build/libm2.a : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_a.so test_filter_a.c ../../build/libm2.a -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -rewrite.c: In function 'filter_transition': -rewrite.c:8:79: warning: unused parameter 'config' [-Wunused-parameter] - StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) - ~~~~~~~~~~~~~^~~~~~ -rewrite.c: In function 'filter_init': -rewrite.c:55:33: warning: unused parameter 'srv' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~ -rewrite.c:55:46: warning: unused parameter 'load_path' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~~~~~~~ -make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all -make[2]: Entering directory '/build/mongrel2-1.12.0/tools/m2sh' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now ../lemon/lemon.c -o ../lemon/lemon -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_b.so test_filter_b.c ../../build/libm2.a -test_filter_a.c: In function 'filter_init': -test_filter_a.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~ -test_filter_a.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -o zmq.so zmq.c ../../build/libm2.a make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/procer all -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ast.o src/ast.c make[2]: Entering directory '/build/mongrel2-1.12.0/tools/procer' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o procer.o procer.c : warning: "AUTHBIND_HELPER" redefined +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o profile.o profile.c +: note: this is the location of the previous definition +: warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_a.so test_filter_a.c ../../build/libm2.a : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rampart.o rampart.c ../lemon/lemon.c: In function 'resolve_conflict': ../lemon/lemon.c:1012:16: warning: unused parameter 'errsym' [-Wunused-parameter] struct symbol *errsym; /* The error symbol (if defined. NULL otherwise) */ @@ -1653,14 +1675,28 @@ ../lemon/lemon.c:1395:5: warning: unused parameter 'argc' [-Wunused-parameter] int argc; ^~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition ../lemon/lemon.c: In function 'Parse': ../lemon/lemon.c:2529:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if( fread(filebuf,1,filesize,fp)!=filesize ){ ^~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_b.so test_filter_b.c ../../build/libm2.a +src/ast.c: In function 'AST_destroy_cb': +src/ast.c:252:47: warning: unused parameter 'data' [-Wunused-parameter] + static void AST_destroy_cb(void *value, void *data) + ~~~~~~^~~~ ../lemon/lemon.c: In function 'append_str': ../lemon/lemon.c:3231:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if( n+sizeof(zInt)*2+used >= alloced ){ ^~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_c.so test_filter_c.c ../../build/libm2.a +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o rewrite.so rewrite.c ../../build/libm2.a +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -o zmq.so zmq.c ../../build/libm2.a procer.c: In function 'Action_start_all': procer.c:220:42: warning: unused parameter 'data' [-Wunused-parameter] void Action_start_all(void *value, void *data) @@ -1669,13 +1705,6 @@ procer.c:289:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for(i = 0; i < profile_glob.gl_pathc; i++) { ^ -test_filter_b.c: In function 'filter_init': -test_filter_b.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~ -test_filter_b.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] - StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - ~~~~~~~~^~~~~~~~~ procer.c: In function 'redirect_output': procer.c:42:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen(run_log, "a+", stdout); @@ -1686,38 +1715,26 @@ procer.c:46:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -zmq.c: In function 'config_init': -zmq.c:41:29: warning: unused parameter 'path' [-Wunused-parameter] - int config_init(const char *path) - ~~~~~~~~~~~~^~~~ -zmq.c: In function 'config_load_handler': -zmq.c:50:38: warning: unused parameter 'handler_id' [-Wunused-parameter] - tns_value_t *config_load_handler(int handler_id) - ~~~~^~~~~~~~~~ -zmq.c: In function 'config_load_proxy': -zmq.c:55:36: warning: unused parameter 'proxy_id' [-Wunused-parameter] - tns_value_t *config_load_proxy(int proxy_id) - ~~~~^~~~~~~~ -zmq.c: In function 'config_load_dir': -zmq.c:60:34: warning: unused parameter 'dir_id' [-Wunused-parameter] - tns_value_t *config_load_dir(int dir_id) - ~~~~^~~~~~ -zmq.c: In function 'config_load_routes': -zmq.c:65:37: warning: unused parameter 'host_id' [-Wunused-parameter] - tns_value_t *config_load_routes(int host_id, int server_id) - ~~~~^~~~~~~ -zmq.c:65:50: warning: unused parameter 'server_id' [-Wunused-parameter] - tns_value_t *config_load_routes(int host_id, int server_id) - ~~~~^~~~~~~~~ -zmq.c: In function 'config_load_hosts': -zmq.c:70:36: warning: unused parameter 'server_id' [-Wunused-parameter] - tns_value_t *config_load_hosts(int server_id) - ~~~~^~~~~~~~~ -zmq.c: In function 'config_load_server': -zmq.c:75:45: warning: unused parameter 'uuid' [-Wunused-parameter] - tns_value_t *config_load_server(const char *uuid) - ~~~~~~~~~~~~^~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o sendfile.so sendfile.c ../../build/libm2.a +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/cli.o src/cli.c +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands.o src/commands.c +test_filter_a.c: In function 'filter_init': +test_filter_a.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~ +test_filter_a.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~~~~~~~ ../lemon/lemon.c: In function 'parseonetoken': ../lemon/lemon.c:1998:22: warning: this statement may fall through [-Wimplicit-fallthrough=] psp->gp->nrule = 0; @@ -1727,55 +1744,17 @@ ^~~~ : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -sendfile.c: In function 'xrequest_init': -sendfile.c:43:40: warning: unused parameter 'srv' [-Wunused-parameter] - deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) - ~~~~~~~~^~~ -sendfile.c:43:53: warning: unused parameter 'load_path' [-Wunused-parameter] - deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) - ~~~~~~~~^~~~~~~~~ -sendfile.c:43:77: warning: unused parameter 'config' [-Wunused-parameter] - deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) - ~~~~~~~~~~~~~^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -Wl,-z,relro -Wl,-z,now -shared -o test_filter_c.so test_filter_c.c ../../build/libm2.a -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/config_modules' -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o profile.o profile.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/access.o src/commands/access.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -test_filter_c.c: In function 'filter_transition': -test_filter_c.c:4:41: warning: unused parameter 'state' [-Wunused-parameter] - StateEvent filter_transition(StateEvent state, Connection *conn) - ~~~~~~~~~~~^~~~~ -test_filter_c.c: In function 'filter_init': -test_filter_c.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/config.o src/commands/config.c +test_filter_b.c: In function 'filter_init': +test_filter_b.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) ~~~~~~~~^~~ -test_filter_c.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] +test_filter_b.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) ~~~~~~~~^~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rampart.o rampart.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ast.o src/ast.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -cc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o procer procer.o profile.o rampart.o ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto -src/ast.c: In function 'AST_destroy_cb': -src/ast.c:252:47: warning: unused parameter 'data' [-Wunused-parameter] - static void AST_destroy_cb(void *value, void *data) - ~~~~~~^~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/cli.o src/cli.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands.o src/commands.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -src/commands.c: In function 'Command_version': -src/commands.c:78:37: warning: unused parameter 'cmd' [-Wunused-parameter] - static int Command_version(Command *cmd) - ~~~~~~~~~^~~ src/cli.rl: In function 'cmd_hnode_alloc': src/cli.rl:171:32: warning: unused parameter 'ignored' [-Wunused-parameter] hnode_t *cmd_hnode_alloc(void *ignored) @@ -1784,6 +1763,8 @@ src/cli.rl:176:39: warning: unused parameter 'ignored' [-Wunused-parameter] void cmd_hnode_free(hnode_t *h, void *ignored) ~~~~~~^~~~~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition src/cli.c: In function 'cli_params_execute': NONE:2:5: warning: this statement may fall through [-Wimplicit-fallthrough=] NONE:4:1: note: here @@ -1849,26 +1830,93 @@ src/cli.c:390:1: note: here case 15: ^~~~ +rewrite.c: In function 'filter_transition': +rewrite.c:8:79: warning: unused parameter 'config' [-Wunused-parameter] + StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) + ~~~~~~~~~~~~~^~~~~~ +test_filter_c.c: In function 'filter_transition': +test_filter_c.c:4:41: warning: unused parameter 'state' [-Wunused-parameter] + StateEvent filter_transition(StateEvent state, Connection *conn) + ~~~~~~~~~~~^~~~~ +rewrite.c: In function 'filter_init': +rewrite.c:55:33: warning: unused parameter 'srv' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~ +rewrite.c:55:46: warning: unused parameter 'load_path' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~~~~~~~ +test_filter_c.c: In function 'filter_init': +test_filter_c.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~ +test_filter_c.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] + StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + ~~~~~~~~^~~~~~~~~ At top level: src/cli.c:66:18: warning: 'params_en_main' defined but not used [-Wunused-const-variable=] static const int params_en_main = 4; ^~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/access.o src/commands/access.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/config.o src/commands/config.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -make[2]: Leaving directory '/build/mongrel2-1.12.0/tests/filters' +src/commands.c: In function 'Command_version': +src/commands.c:78:37: warning: unused parameter 'cmd' [-Wunused-parameter] + static int Command_version(Command *cmd) + ~~~~~~~~~^~~ +zmq.c: In function 'config_init': +zmq.c:41:29: warning: unused parameter 'path' [-Wunused-parameter] + int config_init(const char *path) + ~~~~~~~~~~~~^~~~ +zmq.c: In function 'config_load_handler': +zmq.c:50:38: warning: unused parameter 'handler_id' [-Wunused-parameter] + tns_value_t *config_load_handler(int handler_id) + ~~~~^~~~~~~~~~ +zmq.c: In function 'config_load_proxy': +zmq.c:55:36: warning: unused parameter 'proxy_id' [-Wunused-parameter] + tns_value_t *config_load_proxy(int proxy_id) + ~~~~^~~~~~~~ +zmq.c: In function 'config_load_dir': +zmq.c:60:34: warning: unused parameter 'dir_id' [-Wunused-parameter] + tns_value_t *config_load_dir(int dir_id) + ~~~~^~~~~~ +zmq.c: In function 'config_load_routes': +zmq.c:65:37: warning: unused parameter 'host_id' [-Wunused-parameter] + tns_value_t *config_load_routes(int host_id, int server_id) + ~~~~^~~~~~~ +zmq.c:65:50: warning: unused parameter 'server_id' [-Wunused-parameter] + tns_value_t *config_load_routes(int host_id, int server_id) + ~~~~^~~~~~~~~ +zmq.c: In function 'config_load_hosts': +zmq.c:70:36: warning: unused parameter 'server_id' [-Wunused-parameter] + tns_value_t *config_load_hosts(int server_id) + ~~~~^~~~~~~~~ +zmq.c: In function 'config_load_server': +zmq.c:75:45: warning: unused parameter 'uuid' [-Wunused-parameter] + tns_value_t *config_load_server(const char *uuid) + ~~~~~~~~~~~~^~~~ +sendfile.c: In function 'xrequest_init': +sendfile.c:43:40: warning: unused parameter 'srv' [-Wunused-parameter] + deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) + ~~~~~~~~^~~ +sendfile.c:43:53: warning: unused parameter 'load_path' [-Wunused-parameter] + deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) + ~~~~~~~~^~~~~~~~~ +sendfile.c:43:77: warning: unused parameter 'config' [-Wunused-parameter] + deliver_function xrequest_init(Server *srv, bstring load_path, tns_value_t *config, bstring **keys, int *nkeys) + ~~~~~~~~~~~~~^~~~~~ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/helpers.o src/commands/helpers.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/logging.o src/commands/logging.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/querying.o src/commands/querying.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/querying.o src/commands/querying.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/running.o src/commands/running.c +make[2]: Leaving directory '/build/mongrel2-1.12.0/tests/filters' +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config_file.o src/config_file.c +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/config_modules' +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/constants.o src/constants.c src/commands/helpers.c: In function 'Command_uuid': src/commands/helpers.c:40:27: warning: unused parameter 'cmd' [-Wunused-parameter] int Command_uuid(Command *cmd) @@ -1880,54 +1928,26 @@ src/commands/helpers.c:45:57: warning: unused parameter 'map' [-Wunused-parameter] static void null_destroy(Route *route, struct RouteMap *map) ~~~~~~~~~~~~~~~~~^~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands/running.o src/commands/running.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/lexer.o src/lexer.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/linenoise.o src/linenoise.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config_file.o src/config_file.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -src/config_file.c: In function 'Mimetypes_load': -src/config_file.c:154:27: warning: unused parameter 'settings' [-Wunused-parameter] - int Mimetypes_load(tst_t *settings, Pair *pair) - ~~~~~~~^~~~~~~~ -src/config_file.c: In function 'Settings_load': -src/config_file.c:175:26: warning: unused parameter 'settings' [-Wunused-parameter] - int Settings_load(tst_t *settings, Pair *pair) - ~~~~~~~^~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/constants.o src/constants.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/lexer.o src/lexer.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/linenoise.o src/linenoise.c -src/commands/running.c: In function 'bstring_free': -src/commands/running.c:408:32: warning: unused parameter 'data' [-Wunused-parameter] - static void bstring_free(void *data, void *hint) - ~~~~~~^~~~ -src/commands/running.c: In function 'run_command': -src/commands/running.c:613:44: warning: unused parameter 'ignored' [-Wunused-parameter] - static int run_command(bstring line, void *ignored) - ~~~~~~^~~~~~~ -src/commands/running.c: In function 'Command_shell': -src/commands/running.c:622:28: warning: unused parameter 'cmd' [-Wunused-parameter] - int Command_shell(Command *cmd) - ~~~~~~~~~^~~ -src/commands/running.c: In function 'run_server': -src/commands/running.c:179:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(bdata(command)); - ^~~~~~~~~~~~~~~~~~~~~~ -make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/filters' : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/parser.o src/parser.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -sh ./tests/runtests.sh +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/parser.o src/parser.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/query_print.o src/query_print.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -Running unit tests: -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/query_print.o src/query_print.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/token.o src/token.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/m2sh.o src/m2sh.c src/lexer.c: In function 'Parse_config_string': NONE:2:5: warning: this statement may fall through [-Wimplicit-fallthrough=] NONE:4:1: note: here @@ -1977,6 +1997,32 @@ src/lexer.c:71:18: warning: 'm2sh_lexer_first_final' defined but not used [-Wunused-const-variable=] static const int m2sh_lexer_first_final = 6; ^~~~~~~~~~~~~~~~~~~~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +src/config_file.c: In function 'Mimetypes_load': +src/config_file.c:154:27: warning: unused parameter 'settings' [-Wunused-parameter] + int Mimetypes_load(tst_t *settings, Pair *pair) + ~~~~~~~^~~~~~~~ +src/config_file.c: In function 'Settings_load': +src/config_file.c:175:26: warning: unused parameter 'settings' [-Wunused-parameter] + int Settings_load(tst_t *settings, Pair *pair) + ~~~~~~~^~~~~~~~ +src/commands/running.c: In function 'bstring_free': +src/commands/running.c:408:32: warning: unused parameter 'data' [-Wunused-parameter] + static void bstring_free(void *data, void *hint) + ~~~~~~^~~~ +src/commands/running.c: In function 'run_command': +src/commands/running.c:613:44: warning: unused parameter 'ignored' [-Wunused-parameter] + static int run_command(bstring line, void *ignored) + ~~~~~~^~~~~~~ +src/commands/running.c: In function 'Command_shell': +src/commands/running.c:622:28: warning: unused parameter 'cmd' [-Wunused-parameter] + int Command_shell(Command *cmd) + ~~~~~~~~~^~~ +src/commands/running.c: In function 'run_server': +src/commands/running.c:179:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(bdata(command)); + ^~~~~~~~~~~~~~~~~~~~~~ src/parser.c: In function 'yy_destructor': src/parser.c:384:13: warning: unused parameter 'yypParser' [-Wunused-parameter] yyParser *yypParser, /* The parser */ @@ -1989,6 +2035,7 @@ src/parser.c:941:7: warning: unused parameter 'yymajor' [-Wunused-parameter] int yymajor, /* The major type of the error token */ ~~~~^~~~~~~ +make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/filters' src/lexer.rl: In function 'Parse_config_string': src/lexer.rl:157:9: warning: 'ts' may be used uninitialized in this function [-Wmaybe-uninitialized] Parse_print_error("SYNTAX ERROR", content, @@ -1998,37 +2045,8 @@ src/lexer.rl:131:11: note: 'ts' was declared here char *ts = NULL; ^~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/token.o src/token.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/m2sh.o src/m2sh.c -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition +cc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o procer procer.o profile.o rampart.o ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/procer' -tests/bstr_tests PASS -tests/cache_tests PASS -tests/cert_tests PASS -tests/chunked_tests PASS -Wed, 26 Jun 2019 19:46:09 GMT [INFO] (null.c:45) Got the good path. -Wed, 26 Jun 2019 19:46:09 GMT [INFO] (null.c:48) Got the bad path: badpath -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 mkdir -p build ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/commands/access.o src/commands/config.o src/commands/helpers.o src/commands/logging.o src/commands/querying.o src/commands/running.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/query_print.o src/token.o ranlib build/libm2sh.a @@ -2066,6 +2084,35 @@ tests/cli_tests PASS tests/parser_tests PASS +sh ./tests/runtests.sh +Running unit tests: +tests/bstr_tests PASS +tests/cache_tests PASS +*** x509_crt_verify of m2-cert.pem: -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed +*** x509_crt_verify WILL FAIL because current data is outside: valid_from '2018/7/4 18:55:33': 1, valid_to '2019/7/4 18:55:33': 1 +*** If this is the currently supported version, generate and commit a new tests/ca/m2-cert.pem with valid dates +tests/cert_tests PASS +tests/chunked_tests PASS +Wed, 29 Jul 2020 02:11:07 GMT [INFO] (null.c:45) Got the good path. +Wed, 29 Jul 2020 02:11:07 GMT [INFO] (null.c:48) Got the bad path: badpath +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 mkdir -p build cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.0=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o build/m2sh src/ast.o src/cli.o src/commands.o src/commands/access.o src/commands/config.o src/commands/helpers.o src/commands/logging.o src/commands/querying.o src/commands/running.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/m2sh.o src/parser.o src/query_print.o src/token.o ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto make[2]: Leaving directory '/build/mongrel2-1.12.0/tools/m2sh' @@ -2084,7 +2131,7 @@ make[1]: Leaving directory '/build/mongrel2-1.12.0' dh_auto_test - make -j10 check + make -j18 check make[1]: Entering directory '/build/mongrel2-1.12.0' Files with potentially dangerous functions. src/bstr/bstraux.c: snprintf(strnum, numlen+1, "%d:", b->slen); @@ -2122,10 +2169,13 @@ Running unit tests: tests/bstr_tests PASS tests/cache_tests PASS +*** x509_crt_verify of m2-cert.pem: -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed +*** x509_crt_verify WILL FAIL because current data is outside: valid_from '2018/7/4 18:55:33': 1, valid_to '2019/7/4 18:55:33': 1 +*** If this is the currently supported version, generate and commit a new tests/ca/m2-cert.pem with valid dates tests/cert_tests PASS tests/chunked_tests PASS -Wed, 26 Jun 2019 19:46:54 GMT [INFO] (null.c:45) Got the good path. -Wed, 26 Jun 2019 19:46:54 GMT [INFO] (null.c:48) Got the bad path: badpath +Wed, 29 Jul 2020 02:11:09 GMT [INFO] (null.c:45) Got the good path. +Wed, 29 Jul 2020 02:11:09 GMT [INFO] (null.c:48) Got the bad path: badpath tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS @@ -2214,21 +2264,23 @@ dpkg-gencontrol: warning: Depends field of package mongrel2-run: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb +dpkg-deb: building package 'mongrel2-core-dbgsym' in '../mongrel2-core-dbgsym_1.12.0-2_i386.deb'. dpkg-deb: building package 'mongrel2-core' in '../mongrel2-core_1.12.0-2_i386.deb'. dpkg-deb: building package 'mongrel2-run' in '../mongrel2-run_1.12.0-2_all.deb'. -dpkg-deb: building package 'mongrel2-core-dbgsym' in '../mongrel2-core-dbgsym_1.12.0-2_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mongrel2_1.12.0-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/21978/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21978/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/16942 and its subdirectories -I: Current time: Wed Jun 26 07:47:44 -12 2019 -I: pbuilder-time-stamp: 1561578464 +I: removing directory /srv/workspace/pbuilder/21978 and its subdirectories +I: Current time: Wed Jul 29 16:11:14 +14 2020 +I: pbuilder-time-stamp: 1595988674