Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 01:18:04.369443281 +0000 +++ b2/build.log 2023-05-06 01:19:24.089950742 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 6 19:39:00 -12 2024 -I: pbuilder-time-stamp: 1717745940 +I: Current time: Sat May 6 15:18:07 +14 2023 +I: pbuilder-time-stamp: 1683335887 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./mongrel2_1.12.2.orig.tar.xz] I: copying [./mongrel2_1.12.2-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Jul 22 21:37:33 2020 -12 +gpgv: Signature made Thu Jul 23 23:37:33 2020 +14 gpgv: using RSA key FB6D32012C9256883DE0C9B3C240CE995D026B11 gpgv: issuer "jan@debian.org" gpgv: Can't check signature: No public key @@ -28,52 +28,84 @@ dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32283/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-arm64. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 6 15:18 /bin/sh -> /bin/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/19193/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='32283' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=19193 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.HxKSBg9z/pbuilderrc_RmdO --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HxKSBg9z/b1 --logfile b1/build.log mongrel2_1.12.2-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.HxKSBg9z/pbuilderrc_RNxB --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.HxKSBg9z/b2 --logfile b2/build.log --extrapackages usrmerge mongrel2_1.12.2-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 4 05:33 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32283/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 6 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -176,7 +208,7 @@ Get: 57 http://deb.debian.org/debian bookworm/main arm64 libzmq5 arm64 4.3.4-6 [244 kB] Get: 58 http://deb.debian.org/debian bookworm/main arm64 libzmq3-dev arm64 4.3.4-6 [475 kB] Get: 59 http://deb.debian.org/debian bookworm/main arm64 sqlite3 arm64 3.40.1-2 [341 kB] -Fetched 34.9 MB in 1s (29.3 MB/s) +Fetched 34.9 MB in 2s (15.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (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 ... 19616 files and directories currently installed.) @@ -429,10 +461,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/mongrel2-1.12.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mongrel2_1.12.2-3_source.changes +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/mongrel2-1.12.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mongrel2_1.12.2-3_source.changes dpkg-buildpackage: info: source package mongrel2 dpkg-buildpackage: info: source version 1.12.2-3 dpkg-buildpackage: info: source distribution unstable @@ -488,13 +525,13 @@ sqlite3 tests/config.sqlite < src/config/config.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/dict.o src/adt/dict.c -sqlite3 tests/config.sqlite < src/config/example.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/hash.o src/adt/hash.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/list.o src/adt/list.c -sqlite3 tests/config.sqlite < src/config/mimetypes.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/radixmap.o src/adt/radixmap.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/adt/tst.o src/adt/tst.c +sqlite3 tests/config.sqlite < src/config/example.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +sqlite3 tests/config.sqlite < src/config/mimetypes.sql cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 @@ -558,6 +595,7 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/server.o src/server.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/setting.o src/setting.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/superpoll.o src/superpoll.c src/server.c: In function 'Server_init_ssl': src/server.c:239:5: warning: 'mbedtls_deprecated_string_constant_t' is deprecated [-Wdeprecated-declarations] 239 | srv->dhm_P = MBEDTLS_DHM_RFC5114_MODP_2048_P; @@ -571,7 +609,6 @@ src/server.c:240:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | srv->dhm_G = MBEDTLS_DHM_RFC5114_MODP_2048_G; | ^ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/fd.o src/task/fd.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/net.o src/task/net.c @@ -579,6 +616,9 @@ cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/rendez.o src/task/rendez.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/task/task.o src/task/task.c cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/tnetstrings.o src/tnetstrings.c +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/websocket.o src/websocket.c In file included from /usr/include/stdio.h:906, from /usr/include/zmq.h:59, from src/zmq_compat.h:39, @@ -599,9 +639,6 @@ src/task/net.c:52:18: note: 'port' was declared here 52 | unsigned int port; | ^~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/websocket.o src/websocket.c src/websocket.c: In function 'websocket_challenge': src/websocket.c:64:5: warning: 'mbedtls_sha1' is deprecated [-Wdeprecated-declarations] 64 | mbedtls_sha1((unsigned char *)bdata(tmpstring),blength(tmpstring),(unsigned char *)bdata(buf)); @@ -630,6 +667,7 @@ tests/bstr_tests.c:1257:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1257 | 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 tests/connection_tests.c: In function 'test_Connection_create_destroy': tests/connection_tests.c:16:24: warning: 'remote' may be used uninitialized [-Wmaybe-uninitialized] 16 | Connection *conn = Connection_create(NULL, 0, 0, remote); @@ -641,7 +679,6 @@ tests/connection_tests.c:14:16: note: 'remote' declared here 14 | const char remote[IPADDR_SIZE]; | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 @@ -653,7 +690,6 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 tests/httpclient_tests.c: In function 'load_test_case': tests/httpclient_tests.c:52:16: warning: pointer 'infile' may be used after 'fclose' [-Wuse-after-free] 52 | if(infile) fclose(infile); @@ -661,6 +697,7 @@ tests/httpclient_tests.c:46:5: note: call to 'fclose' here 46 | fclose(infile); | ^~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/pattern_tests tests/pattern_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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/proxy_tests tests/proxy_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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/radixmap_tests tests/radixmap_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto @@ -676,18 +713,21 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2/tests/filters' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2/tools/filters' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2/tools/config_modules' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all test_filter.c: In function 'filter_transition': test_filter.c:4:41: warning: unused parameter 'state' [-Wunused-parameter] 4 | StateEvent filter_transition(StateEvent state, Connection *conn) @@ -702,6 +742,10 @@ test_filter.c:10:46: warning: unused parameter 'load_path' [-Wunused-parameter] 10 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ +make[2]: Entering directory '/build/mongrel2-1.12.2/tools/m2sh' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now ../lemon/lemon.c -o ../lemon/lemon +: 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] 5 | StateEvent filter_transition(StateEvent state, Connection *conn, tns_value_t *config) @@ -716,14 +760,7 @@ null.c:20:46: warning: unused parameter 'load_path' [-Wunused-parameter] 20 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ -: 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition null.c: In function 'config_load_handler': null.c:57:38: warning: unused parameter 'handler_id' [-Wunused-parameter] 57 | tns_value_t *config_load_handler(int handler_id) @@ -755,33 +792,37 @@ null.c:98:38: warning: unused parameter 'server_id' [-Wunused-parameter] 98 | tns_value_t *config_load_filters(int server_id) | ~~~~^~~~~~~~~ -make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all +../lemon/lemon.c: In function 'resolve_conflict': +../lemon/lemon.c:1012:16: warning: unused parameter 'errsym' [-Wunused-parameter] + 1012 | struct symbol *errsym; /* The error symbol (if defined. NULL otherwise) */ + | ^~~~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +../lemon/lemon.c: In function 'main': +../lemon/lemon.c:1395:5: warning: unused parameter 'argc' [-Wunused-parameter] + 1395 | int argc; + | ^~~~ make OPTFLAGS="-g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/procer all -make[2]: Entering directory '/build/mongrel2-1.12.2/tools/m2sh' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now ../lemon/lemon.c -o ../lemon/lemon make[2]: Entering directory '/build/mongrel2-1.12.2/tools/procer' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o procer.o procer.c -rewrite.c: In function 'filter_transition': -rewrite.c:8:79: warning: unused parameter 'config' [-Wunused-parameter] - 8 | 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] - 55 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - | ~~~~~~~~^~~ -rewrite.c:55:46: warning: unused parameter 'load_path' [-Wunused-parameter] - 55 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - | ~~~~~~~~^~~~~~~~~ -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o profile.o profile.c +../lemon/lemon.c: In function 'Parse': +../lemon/lemon.c:2529:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 2529 | if( fread(filebuf,1,filesize,fp)!=filesize ){ + | ^~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +../lemon/lemon.c: In function 'append_str': +../lemon/lemon.c:3231:29: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] + 3231 | if( n+sizeof(zInt)*2+used >= alloced ){ + | ^~ : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rampart.o rampart.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 : 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o profile.o profile.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 test_filter_a.c: In function 'filter_init': test_filter_a.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) @@ -789,21 +830,8 @@ test_filter_a.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ -../lemon/lemon.c: In function 'resolve_conflict': -../lemon/lemon.c:1012:16: warning: unused parameter 'errsym' [-Wunused-parameter] - 1012 | struct symbol *errsym; /* The error symbol (if defined. NULL otherwise) */ - | ^~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -../lemon/lemon.c: In function 'main': -../lemon/lemon.c:1395:5: warning: unused parameter 'argc' [-Wunused-parameter] - 1395 | int argc; - | ^~~~ : 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 'long unsigned int'} and 'int' [-Wsign-compare] - 2529 | if( fread(filebuf,1,filesize,fp)!=filesize ){ - | ^~ procer.c: In function 'Action_start_all': procer.c:220:42: warning: unused parameter 'data' [-Wunused-parameter] 220 | void Action_start_all(void *value, void *data) @@ -812,7 +840,6 @@ procer.c:289:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 289 | for(i = 0; i < profile_glob.gl_pathc; i++) { | ^ -../lemon/lemon.c: In function 'append_str': procer.c: In function 'redirect_output': procer.c:42:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | freopen(run_log, "a+", stdout); @@ -823,19 +850,33 @@ procer.c:46:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../lemon/lemon.c:3231:29: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] - 3231 | if( n+sizeof(zInt)*2+used >= alloced ){ - | ^~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +rewrite.c: In function 'filter_transition': +rewrite.c:8:79: warning: unused parameter 'config' [-Wunused-parameter] + 8 | 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] + 55 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + | ~~~~~~~~^~~ +rewrite.c:55:46: warning: unused parameter 'load_path' [-Wunused-parameter] + 55 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + | ~~~~~~~~^~~~~~~~~ : 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] + 43 | 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] + 43 | 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] + 43 | 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -idirafter ../../src -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 zmq.c: In function 'config_init': @@ -869,10 +910,6 @@ zmq.c:75:45: warning: unused parameter 'uuid' [-Wunused-parameter] 75 | tns_value_t *config_load_server(const char *uuid) | ~~~~~~~~~~~~^~~~ -src/ast.c: In function 'AST_destroy_cb': -src/ast.c:252:47: warning: unused parameter 'data' [-Wunused-parameter] - 252 | static void AST_destroy_cb(void *value, void *data) - | ~~~~~~^~~~ test_filter_b.c: In function 'filter_init': test_filter_b.c:11:33: warning: unused parameter 'srv' [-Wunused-parameter] 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) @@ -880,18 +917,9 @@ test_filter_b.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter "src" -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rampart.o rampart.c make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/config_modules' -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/cli.o src/cli.c -sendfile.c: In function 'xrequest_init': -sendfile.c:43:40: warning: unused parameter 'srv' [-Wunused-parameter] - 43 | 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] - 43 | 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] - 43 | 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 test_filter_c.c: In function 'filter_transition': @@ -905,6 +933,20 @@ test_filter_c.c:11:46: warning: unused parameter 'load_path' [-Wunused-parameter] 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ +make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/filters' +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +src/ast.c: In function 'AST_destroy_cb': +src/ast.c:252:47: warning: unused parameter 'data' [-Wunused-parameter] + 252 | static void AST_destroy_cb(void *value, void *data) + | ~~~~~~^~~~ +make[2]: Leaving directory '/build/mongrel2-1.12.2/tests/filters' src/cli.rl: In function 'cmd_hnode_alloc': src/cli.rl:171:32: warning: unused parameter 'ignored' [-Wunused-parameter] 171 | hnode_t *cmd_hnode_alloc(void *ignored) @@ -913,27 +955,28 @@ src/cli.rl:176:39: warning: unused parameter 'ignored' [-Wunused-parameter] 176 | void cmd_hnode_free(hnode_t *h, void *ignored) | ~~~~~~^~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/commands.o src/commands.c -make[2]: Leaving directory '/build/mongrel2-1.12.2/tests/filters' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/filters' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -: 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 : 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] 78 | static int Command_version(Command *cmd) | ~~~~~~~~~^~~ -cc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/procer' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition src/commands/helpers.c: In function 'Command_uuid': src/commands/helpers.c:40:27: warning: unused parameter 'cmd' [-Wunused-parameter] 40 | int Command_uuid(Command *cmd) @@ -945,31 +988,12 @@ src/commands/helpers.c:45:57: warning: unused parameter 'map' [-Wunused-parameter] 45 | static void null_destroy(Route *route, struct RouteMap *map) | ~~~~~~~~~~~~~~~~~^~~ -: 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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition -make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/procer' cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/constants.o src/constants.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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/lexer.o src/lexer.c -src/config_file.c: In function 'Mimetypes_load': -src/config_file.c:154:27: warning: unused parameter 'settings' [-Wunused-parameter] - 154 | 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] - 175 | int Settings_load(tst_t *settings, Pair *pair) - | ~~~~~~~^~~~~~~~ -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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/running.c: In function 'bstring_free': src/commands/running.c:408:32: warning: unused parameter 'data' [-Wunused-parameter] 408 | static void bstring_free(void *data, void *hint) @@ -986,10 +1010,30 @@ src/commands/running.c:179:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | system(bdata(command)); | ^~~~~~~~~~~~~~~~~~~~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/linenoise.o src/linenoise.c -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 +src/config_file.c: In function 'Mimetypes_load': +src/config_file.c:154:27: warning: unused parameter 'settings' [-Wunused-parameter] + 154 | 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] + 175 | int Settings_load(tst_t *settings, Pair *pair) + | ~~~~~~~^~~~~~~~ +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/parser.o src/parser.c +src/lexer.rl: In function 'Parse_config_string': +src/lexer.rl:158:26: warning: 'ts' may be used uninitialized [-Wmaybe-uninitialized] + 158 | (int)(ts - bdata(content)), ++state.line_number); + | ~~~~^~~~~~~~~~~~~~~~~ +src/lexer.rl:131:11: note: 'ts' was declared here + 131 | char *ts = NULL; + | ^~ : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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 @@ -1003,18 +1047,11 @@ src/parser.c:601:63: warning: unused parameter 'yypMinor' [-Wunused-parameter] 601 | static void yyStackOverflow(yyParser *yypParser, YYMINORTYPE *yypMinor){ | ~~~~~~~~~~~~~^~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/token.o src/token.c src/parser.c: In function 'yy_syntax_error': src/parser.c:941:7: warning: unused parameter 'yymajor' [-Wunused-parameter] 941 | int yymajor, /* The major type of the error token */ | ~~~~^~~~~~~ -src/lexer.rl: In function 'Parse_config_string': -src/lexer.rl:158:26: warning: 'ts' may be used uninitialized [-Wmaybe-uninitialized] - 158 | (int)(ts - bdata(content)), ++state.line_number); - | ~~~~^~~~~~~~~~~~~~~~~ -src/lexer.rl:131:11: note: 'ts' was declared here - 131 | char *ts = NULL; - | ^~ -cc -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/m2sh.o src/m2sh.c @@ -1027,23 +1064,37 @@ src/commands/running.c:542:5: note: call to 'free' here 542 | free(outmsg); | ^~~~~~~~~~~~ +sh ./tests/runtests.sh +Running unit tests: +tests/bstr_tests PASS mkdir -p build +tests/cache_tests PASS 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 +*** 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 ranlib build/libm2sh.a cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mongrel2-1.12.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/cli_tests tests/cli_tests.c build/libm2sh.a ../../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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER=\"/usr/lib/authbind/helper\" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -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.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -DAUTHBIND_HELPER="/usr/lib/authbind/helper" -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -idirafter src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -Wl,-z,relro -Wl,-z,now -o tests/parser_tests tests/parser_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto +Sat, 06 May 2023 01:19:02 GMT [INFO] (null.c:45) Got the good path. +Sat, 06 May 2023 01:19:02 GMT [INFO] (null.c:48) Got the bad path: badpath +tests/config_tests PASS +tests/connection_tests PASS +tests/darray_tests PASS : 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 -In file included from tests/cli_tests.c:35: -tests/cli_tests.c: In function 'taskmain': -tests/minunit.h:14:43: warning: unused parameter 'argc' [-Wunused-parameter] - 14 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ - | ~~~~^~~~ -tests/cli_tests.c:73:1: note: in expansion of macro 'RUN_TESTS' - 73 | RUN_TESTS(all_tests); - | ^~~~~~~~~ +: note: this is the location of the previous definition +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/parser_tests.c: In function 'check_callback': tests/parser_tests.c:45:27: warning: unused parameter 'parent' [-Wunused-parameter] 45 | int check_callback(tst_t *parent, Value *val) @@ -1051,6 +1102,7 @@ tests/parser_tests.c:45:42: warning: unused parameter 'val' [-Wunused-parameter] 45 | int check_callback(tst_t *parent, Value *val) | ~~~~~~~^~~ +tests/http11_tests PASS In file included from tests/parser_tests.c:35: tests/parser_tests.c: In function 'taskmain': tests/minunit.h:14:43: warning: unused parameter 'argc' [-Wunused-parameter] @@ -1059,40 +1111,25 @@ tests/parser_tests.c:74:1: note: in expansion of macro 'RUN_TESTS' 74 | RUN_TESTS(all_tests); | ^~~~~~~~~ -sh ./tests/runtests.sh -Running unit tests: -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 -Fri, 07 Jun 2024 07:40:31 GMT [INFO] (null.c:45) Got the good path. -Fri, 07 Jun 2024 07:40:31 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 +In file included from tests/cli_tests.c:35: +tests/cli_tests.c: In function 'taskmain': +tests/minunit.h:14:43: warning: unused parameter 'argc' [-Wunused-parameter] + 14 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ + | ~~~~^~~~ +tests/cli_tests.c:73:1: note: in expansion of macro 'RUN_TESTS' + 73 | RUN_TESTS(all_tests); + | ^~~~~~~~~ tests/httpclient_tests PASS tests/io_tests PASS tests/list_tests PASS tests/mime_tests PASS tests/pattern_tests PASS tests/proxy_tests PASS +sh ./tests/runtests.sh +Running unit tests: +tests/cli_tests PASS +tests/parser_tests PASS + tests/radixmap_tests PASS tests/register_tests PASS tests/request_tests PASS @@ -1154,8 +1191,8 @@ *** 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 -Fri, 07 Jun 2024 07:40:39 GMT [INFO] (null.c:45) Got the good path. -Fri, 07 Jun 2024 07:40:39 GMT [INFO] (null.c:48) Got the bad path: badpath +Sat, 06 May 2023 01:19:08 GMT [INFO] (null.c:45) Got the good path. +Sat, 06 May 2023 01:19:08 GMT [INFO] (null.c:48) Got the bad path: badpath tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS @@ -1245,8 +1282,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'mongrel2-core' in '../mongrel2-core_1.12.2-3_arm64.deb'. -dpkg-deb: building package 'mongrel2-core-dbgsym' in '../mongrel2-core-dbgsym_1.12.2-3_arm64.deb'. dpkg-deb: building package 'mongrel2-run' in '../mongrel2-run_1.12.2-3_all.deb'. +dpkg-deb: building package 'mongrel2-core-dbgsym' in '../mongrel2-core-dbgsym_1.12.2-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../mongrel2_1.12.2-3_arm64.buildinfo dpkg-genchanges --build=binary -O../mongrel2_1.12.2-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1254,12 +1291,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/19193/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19193/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/32283 and its subdirectories -I: Current time: Thu Jun 6 19:41:03 -12 2024 -I: pbuilder-time-stamp: 1717746063 +I: removing directory /srv/workspace/pbuilder/19193 and its subdirectories +I: Current time: Sat May 6 15:19:23 +14 2023 +I: pbuilder-time-stamp: 1683335963