Diff of the two buildlogs: -- --- b1/build.log 2023-05-05 15:45:00.769492751 +0000 +++ b2/build.log 2023-05-05 15:48:56.039172368 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 5 03:39:43 -12 2023 -I: pbuilder-time-stamp: 1683301183 +I: Current time: Sat May 6 05:45:12 +14 2023 +I: pbuilder-time-stamp: 1683301512 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,135 +28,167 @@ dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26577/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23876/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1a. +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 05:45 /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/23876/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23876/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='724e246f19854efca05f51af0b58854a' - 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='26577' - PS1='# ' - PS2='> ' + INVOCATION_ID=6f10784f4a2842c780e3972de2a71973 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=23876 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.qHqTqg1Y/pbuilderrc_5pEd --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.qHqTqg1Y/b1 --logfile b1/build.log mongrel2_1.12.2-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.qHqTqg1Y/pbuilderrc_IBen --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.qHqTqg1Y/b2 --logfile b2/build.log --extrapackages usrmerge mongrel2_1.12.2-3.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/26577/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 6 05:45 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/23876/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -259,7 +291,7 @@ Get: 57 http://deb.debian.org/debian bookworm/main armhf libzmq5 armhf 4.3.4-6 [233 kB] Get: 58 http://deb.debian.org/debian bookworm/main armhf libzmq3-dev armhf 4.3.4-6 [463 kB] Get: 59 http://deb.debian.org/debian bookworm/main armhf sqlite3 armhf 3.40.1-2 [341 kB] -Fetched 34.3 MB in 3s (13.5 MB/s) +Fetched 34.3 MB in 3s (10.8 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 ... 19329 files and directories currently installed.) @@ -512,10 +544,17 @@ 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/23876/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/23876/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -525,7 +564,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/mongrel2-1.12.2' 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 @@ -566,14 +605,14 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/mongrel2-1.12.2' 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 +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 sqlite3 tests/config.sqlite < src/config/example.sql 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/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 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 @@ -642,6 +681,8 @@ 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/response.o src/response.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/routing.o src/routing.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/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 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; @@ -655,8 +696,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/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 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 @@ -701,6 +740,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 -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 ranlib build/libm2.a +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 -Wl,-z,relro -Wl,-z,now src/mongrel2.o -o bin/mongrel2 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/bstr_tests tests/bstr_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/cache_tests tests/cache_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/cert_tests tests/cert_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto @@ -763,6 +803,9 @@ 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[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 +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 +: 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 test_filter.c: In function 'filter_transition': @@ -779,40 +822,26 @@ test_filter.c:10:46: warning: unused parameter 'load_path' [-Wunused-parameter] 10 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) | ~~~~~~~~^~~~~~~~~ +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) + | ~~~~~~~~^~~ +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) + | ~~~~~~~~^~~~~~~~~ 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 -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 +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/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 +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 : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -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) - | ~~~~~~~~^~~ -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) - | ~~~~~~~~^~~~~~~~~ -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) - | ~~~~~~~~~~~^~~~~ -null.c:5:60: warning: unused parameter 'conn' [-Wunused-parameter] - 5 | 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] - 20 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - | ~~~~~~~~^~~ -null.c:20:46: warning: unused parameter 'load_path' [-Wunused-parameter] - 20 | 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] 57 | tns_value_t *config_load_handler(int handler_id) @@ -844,13 +873,21 @@ null.c:98:38: warning: unused parameter 'server_id' [-Wunused-parameter] 98 | 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.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 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 -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 +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 +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) + | ~~~~~~~~~~~^~~~~ +null.c:5:60: warning: unused parameter 'conn' [-Wunused-parameter] + 5 | 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] + 20 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + | ~~~~~~~~^~~ +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 test_filter_b.c: In function 'filter_init': @@ -860,6 +897,26 @@ 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) | ~~~~~~~~^~~~~~~~~ +test_filter_c.c: In function 'filter_transition': +test_filter_c.c:4:41: warning: unused parameter 'state' [-Wunused-parameter] + 4 | 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] + 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) + | ~~~~~~~~^~~ +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) + | ~~~~~~~~^~~~~~~~~ +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 +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 +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 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) @@ -871,9 +928,6 @@ rewrite.c:55:46: warning: unused parameter 'load_path' [-Wunused-parameter] 55 | 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.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': zmq.c:41:29: warning: unused parameter 'path' [-Wunused-parameter] 41 | int config_init(const char *path) @@ -905,30 +959,12 @@ zmq.c:75:45: warning: unused parameter 'uuid' [-Wunused-parameter] 75 | tns_value_t *config_load_server(const char *uuid) | ~~~~~~~~~~~~^~~~ -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 -make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/config_modules' +make[2]: Leaving directory '/build/mongrel2-1.12.2/tests/filters' 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 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 -: 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] - 4 | 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] - 11 | StateEvent *filter_init(Server *srv, bstring load_path, int *out_nstates) - | ~~~~~~~~^~~ -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) - | ~~~~~~~~^~~~~~~~~ -../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) */ - | ^~~~~~ 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) @@ -939,22 +975,29 @@ 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) | ~~~~~~~~~~~~~^~~~~~ +../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) */ + | ^~~~~~ ../lemon/lemon.c: In function 'main': ../lemon/lemon.c:1395:5: warning: unused parameter 'argc' [-Wunused-parameter] 1395 | int argc; | ^~~~ +make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/config_modules' +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 ../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] 2529 | if( fread(filebuf,1,filesize,fp)!=filesize ){ | ^~ -make[2]: Leaving directory '/build/mongrel2-1.12.2/tests/filters' +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 ../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] 3231 | if( n+sizeof(zInt)*2+used >= alloced ){ | ^~ -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/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 +: 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 : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition procer.c: In function 'Action_start_all': @@ -975,55 +1018,51 @@ procer.c:46:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 -: 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 : 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 -Wl,-z,relro -Wl,-z,now src/mongrel2.o -o bin/mongrel2 build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto -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 -make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/procer' +make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/filters' sh ./tests/runtests.sh Running unit tests: -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 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 +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 tests/chunked_tests PASS +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition +Fri, 05 May 2023 15:47:40 GMT [INFO] (null.c:45) Got the good path. +Fri, 05 May 2023 15:47:40 GMT [INFO] (null.c:48) Got the bad path: badpath +tests/config_tests PASS 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) | ~~~~~~^~~~ -Fri, 05 May 2023 15:43:21 GMT [INFO] (null.c:45) Got the good path. -Fri, 05 May 2023 15:43:21 GMT [INFO] (null.c:48) Got the bad path: badpath -tests/config_tests PASS tests/connection_tests PASS +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 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 +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 +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.o src/commands.c tests/handler_tests PASS +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition 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 -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 +tests/host_tests PASS +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) + | ~~~~~~~~~^~~ 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) @@ -1032,14 +1071,14 @@ 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 -: 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) - | ~~~~~~~~~^~~ +tests/http11_tests PASS +tests/httpclient_tests PASS +tests/io_tests PASS +tests/list_tests PASS +tests/mime_tests PASS 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 +tests/pattern_tests PASS +tests/proxy_tests PASS : 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/config.o src/commands/config.c @@ -1063,19 +1102,22 @@ : 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 -tests/radixmap_tests PASS : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -tests/register_tests PASS 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 -tests/request_tests PASS -tests/response_tests PASS : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition -tests/routing_tests PASS -tests/server_tests PASS -tests/setting_tests PASS -tests/state_tests PASS +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 +: 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) + | ~~~~~~~^~~~~~~~ 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) @@ -1092,14 +1134,6 @@ src/commands/running.c:179:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | system(bdata(command)); | ^~~~~~~~~~~~~~~~~~~~~~ -tests/superpoll_tests PASS -tests/tnetstrings_tests PASS -tests/tst_tests PASS -tests/unixy_tests PASS - -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 -: warning: "AUTHBIND_HELPER" redefined -: note: this is the location of the previous definition src/commands/running.c: In function 'send_recv_control': src/commands/running.c:556:16: warning: pointer 'outmsg' may be used after 'free' [-Wuse-after-free] 556 | if(outmsg) free(outmsg); @@ -1107,20 +1141,16 @@ src/commands/running.c:542:5: note: call to 'free' here 542 | free(outmsg); | ^~~~~~~~~~~~ -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) - | ~~~~~~~^~~~~~~~ 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 +tests/radixmap_tests PASS 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 : 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/linenoise.o src/linenoise.c +: warning: "AUTHBIND_HELPER" redefined +: note: this is the location of the previous definition src/lexer.rl: In function 'Parse_config_string': src/lexer.rl:157:9: warning: 'ts' may be used uninitialized [-Wmaybe-uninitialized] 157 | Parse_print_error("SYNTAX ERROR", content, @@ -1130,10 +1160,11 @@ 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/linenoise.o src/linenoise.c +tests/register_tests PASS +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 -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 +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 : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition src/parser.c: In function 'yy_destructor': @@ -1148,9 +1179,6 @@ src/parser.c:941:7: warning: unused parameter 'yymajor' [-Wunused-parameter] 941 | int yymajor, /* The major type of the error token */ | ~~~~^~~~~~~ -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 -: 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/token.o src/token.c : warning: "AUTHBIND_HELPER" redefined : note: this is the location of the previous definition @@ -1159,21 +1187,15 @@ : note: this is the location of the previous definition 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 +mkdir -p build +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 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 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 : 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/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) @@ -1189,17 +1211,34 @@ tests/parser_tests.c:74:1: note: in expansion of macro 'RUN_TESTS' 74 | RUN_TESTS(all_tests); | ^~~~~~~~~ -mkdir -p build -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 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 +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); + | ^~~~~~~~~ sh ./tests/runtests.sh Running unit tests: tests/cli_tests PASS tests/parser_tests PASS make[2]: Leaving directory '/build/mongrel2-1.12.2/tools/m2sh' +tests/request_tests PASS +tests/response_tests PASS +tests/routing_tests PASS +tests/server_tests PASS +tests/setting_tests PASS +tests/state_tests PASS +tests/superpoll_tests PASS +tests/tnetstrings_tests PASS +tests/tst_tests PASS +tests/unixy_tests PASS + make[1]: Leaving directory '/build/mongrel2-1.12.2' dh_auto_test - make -j3 check + make -j4 check make[1]: Entering directory '/build/mongrel2-1.12.2' Files with potentially dangerous functions. src/bstr/bstraux.c: snprintf(strnum, numlen+1, "%d:", b->slen); @@ -1242,8 +1281,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, 05 May 2023 15:43:41 GMT [INFO] (null.c:45) Got the good path. -Fri, 05 May 2023 15:43:41 GMT [INFO] (null.c:48) Got the bad path: badpath +Fri, 05 May 2023 15:48:19 GMT [INFO] (null.c:45) Got the good path. +Fri, 05 May 2023 15:48:19 GMT [INFO] (null.c:48) Got the bad path: badpath tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS @@ -1332,9 +1371,9 @@ 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' in '../mongrel2-core_1.12.2-3_armhf.deb'. dpkg-deb: building package 'mongrel2-core-dbgsym' in '../mongrel2-core-dbgsym_1.12.2-3_armhf.deb'. dpkg-deb: building package 'mongrel2-run' in '../mongrel2-run_1.12.2-3_all.deb'. -dpkg-deb: building package 'mongrel2-core' in '../mongrel2-core_1.12.2-3_armhf.deb'. dpkg-genbuildinfo --build=binary -O../mongrel2_1.12.2-3_armhf.buildinfo dpkg-genchanges --build=binary -O../mongrel2_1.12.2-3_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1342,12 +1381,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/23876/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23876/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/26577 and its subdirectories -I: Current time: Fri May 5 03:44:56 -12 2023 -I: pbuilder-time-stamp: 1683301496 +I: removing directory /srv/workspace/pbuilder/23876 and its subdirectories +I: Current time: Sat May 6 05:48:52 +14 2023 +I: pbuilder-time-stamp: 1683301732