Diff of the two buildlogs: -- --- b1/build.log 2024-10-20 01:13:04.332397537 +0000 +++ b2/build.log 2024-10-20 01:13:58.570474153 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 21 19:35:37 -12 2025 -I: pbuilder-time-stamp: 1763796937 +I: Current time: Sun Oct 20 15:13:07 +14 2024 +I: pbuilder-time-stamp: 1729386787 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -36,53 +36,85 @@ dpkg-source: info: applying disable-tests-that-require-network.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15999/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26403/tmp/hooks/D01_modify_environment starting +debug: Running on infom07-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 20 01:13 /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/26403/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26403/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='b68a8e045470484786231f36e2063bd5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='15999' - PS1='# ' - PS2='> ' + INVOCATION_ID=da923d3f8ba645839746a1b34d504d3e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=26403 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.29G0wsAP/pbuilderrc_NOET --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.29G0wsAP/b1 --logfile b1/build.log sslsplit_0.5.5-2.1.dsc' - SUDO_GID='111' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.29G0wsAP/pbuilderrc_LQNM --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.29G0wsAP/b2 --logfile b2/build.log sslsplit_0.5.5-2.1.dsc' + SUDO_GID=111 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15999/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/26403/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -185,7 +217,7 @@ Get: 51 http://deb.debian.org/debian unstable/main i386 libssl-dev i386 3.3.2-1 [2790 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 openssl i386 3.3.2-1 [1386 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 pkg-config i386 1.8.1-3 [13.9 kB] -Fetched 26.6 MB in 0s (63.7 MB/s) +Fetched 26.6 MB in 0s (89.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19931 files and directories currently installed.) @@ -418,7 +450,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sslsplit-0.5.5/ && 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 > ../sslsplit_0.5.5-2.1_source.changes +I: user script /srv/workspace/pbuilder/26403/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/26403/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sslsplit-0.5.5/ && 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 > ../sslsplit_0.5.5-2.1_source.changes dpkg-buildpackage: info: source package sslsplit dpkg-buildpackage: info: source version 0.5.5-2.1 dpkg-buildpackage: info: source distribution unstable @@ -428,7 +464,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j6 distclean + make -j5 distclean make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -442,7 +478,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux ------------------------------------------------------------------------------ make[1]: Nothing to be done for 'distclean'. make[1]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5' @@ -465,7 +501,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j6 "INSTALL=install --strip-program=true" + make -j5 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -479,7 +515,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux ------------------------------------------------------------------------------ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o base64.o base64.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2022-07-16\"" -D"BUILD_INFO=\"V:FILE HDIFF:3 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_NETFILTER\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c @@ -493,10 +529,6 @@ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o dynbuf.o dynbuf.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o log.o log.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c log.c:1677:46: warning: argument 3 of type 'int[5]' with mismatched bound [-Warray-parameter=] 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) | ~~~~^~~~~~~~~~ @@ -504,10 +536,40 @@ log.h:97:39: note: previously declared as 'int[3]' 97 | int log_init(opts_t *, proxy_ctx_t *, int[3]) NONNULL(1,2) WUNRES; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c +log.c: In function 'log_init': +log.c:1716:17: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds=] + 1716 | privsep_client_close(clisock[3]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:1677:46: note: at offset 12 into object 'clisock' of size [0, 12] + 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) + | ~~~~^~~~~~~~~~ +log.c:1712:38: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds=] + 1712 | content_pcap_clisock = clisock[3]; + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +log.c:1677:46: note: at offset 12 into object 'clisock' of size [0, 12] + 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) + | ~~~~^~~~~~~~~~ +log.c:1731:17: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds=] + 1731 | privsep_client_close(clisock[4]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:1677:46: note: at offset 16 into object 'clisock' of size [0, 12] + 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) + | ~~~~^~~~~~~~~~ +log.c:1727:30: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds=] + 1727 | cert_clisock = clisock[4]; + | ~~~~~~~~~~~~~^~~~~~~~~~~~ +log.c:1677:46: note: at offset 16 into object 'clisock' of size [0, 12] + 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) + | ~~~~^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o opts.o opts.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proxy.o proxy.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c opts.c: In function 'opts_free': opts.c:131:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | DH_free(opts->dh); @@ -536,35 +598,6 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c -log.c: In function 'log_init': -log.c:1716:17: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds=] - 1716 | privsep_client_close(clisock[3]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:1677:46: note: at offset 12 into object 'clisock' of size [0, 12] - 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) - | ~~~~^~~~~~~~~~ -log.c:1712:38: warning: array subscript 3 is outside array bounds of 'int[3]' [-Warray-bounds=] - 1712 | content_pcap_clisock = clisock[3]; - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -log.c:1677:46: note: at offset 12 into object 'clisock' of size [0, 12] - 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) - | ~~~~^~~~~~~~~~ -log.c:1731:17: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds=] - 1731 | privsep_client_close(clisock[4]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:1677:46: note: at offset 16 into object 'clisock' of size [0, 12] - 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) - | ~~~~^~~~~~~~~~ -log.c:1727:30: warning: array subscript 4 is outside array bounds of 'int[3]' [-Warray-bounds=] - 1727 | cert_clisock = clisock[4]; - | ~~~~~~~~~~~~~^~~~~~~~~~~~ -log.c:1677:46: note: at offset 16 into object 'clisock' of size [0, 12] - 1677 | log_init(opts_t *opts, proxy_ctx_t *ctx, int clisock[5]) - | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c pxyconn.c: In function 'pxy_srcsslctx_create': pxyconn.c:788:17: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 788 | SSL_CTX_set_tmp_dh_callback(sslctx, ssl_tmp_dh_callback); @@ -616,6 +649,9 @@ /usr/include/openssl/err.h:459:35: note: declared here 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); | ^~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c ssl.c: In function 'ssl_engine': ssl.c:530:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | engine = ENGINE_by_id(name); @@ -737,7 +773,7 @@ cc -Wl,-z,relro -L/usr/lib -pthread -o sslsplit base64.o build.o cache.o cachedsess.o cachefkcrt.o cachemgr.o cachessess.o cachetgcrt.o cert.o dynbuf.o log.o logbuf.o logger.o logpkt.o main.o nat.o opts.o privsep.o proc.o proxy.o pxyconn.o pxythrmgr.o ssl.o sys.o thrqueue.o url.o util.o -lnet -lssl -lcrypto -levent_openssl -levent_pthreads -levent -lpcap make[1]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5' dh_auto_test - make -j6 test + make -j5 test make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -751,16 +787,12 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux ------------------------------------------------------------------------------ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o base64.t.o \ -x c base64.t.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachedsess.t.o \ -x c cachedsess.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachefkcrt.t.o \ - -x c cachefkcrt.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachemgr.t.o \ - -x c cachemgr.t.c In file included from base64.t.c:33: base64.t.c: In function 'base64_enc_01_fn': base64.t.c:64:28: warning: too many arguments for format [-Wformat-extra-args] @@ -809,8 +841,6 @@ base64.t.c:117:44: warning: too many arguments for format [-Wformat-extra-args] 117 | fail_unless(sz == strlen(coded05), "wrong length"); | ^~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachessess.t.o \ - -x c cachessess.t.c base64.t.c:118:48: warning: too many arguments for format [-Wformat-extra-args] 118 | fail_unless(!memcmp(coded05, buf, sz), "wrong data"); | ^~~~~~~~~~~~ @@ -924,8 +954,8 @@ base64.t.c:309:30: warning: too many arguments for format [-Wformat-extra-args] 309 | fail_unless(!buf[0], "not empty string"); | ^~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachetgcrt.t.o \ - -x c cachetgcrt.t.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachefkcrt.t.o \ + -x c cachefkcrt.t.c In file included from cachedsess.t.c:39: cachedsess.t.c: In function 'cache_dsess_01_fn': cachedsess.t.c:89:27: warning: too many arguments for format [-Wformat-extra-args] @@ -960,11 +990,10 @@ cachedsess.t.c:126:33: warning: too many arguments for format [-Wformat-extra-args] 126 | fail_unless(s2 == NULL, "cache returned deleted session"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from cachemgr.t.c:35: -cachemgr.t.c: In function 'cache_types_01_fn': -cachemgr.t.c:40:21: warning: too many arguments for format [-Wformat-extra-args] - 40 | "type mismatch: cache_iter_t != khiter_t"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachemgr.t.o \ + -x c cachemgr.t.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachessess.t.o \ + -x c cachessess.t.c In file included from cachefkcrt.t.c:35: cachefkcrt.t.c: In function 'cache_fkcrt_01_fn': cachefkcrt.t.c:58:27: warning: too many arguments for format [-Wformat-extra-args] @@ -990,6 +1019,13 @@ cachefkcrt.t.c:89:33: warning: too many arguments for format [-Wformat-extra-args] 89 | fail_unless(c2 == NULL, "cache returned deleted certificate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from cachemgr.t.c:35: +cachemgr.t.c: In function 'cache_types_01_fn': +cachemgr.t.c:40:21: warning: too many arguments for format [-Wformat-extra-args] + 40 | "type mismatch: cache_iter_t != khiter_t"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cachetgcrt.t.o \ + -x c cachetgcrt.t.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o cert.t.o \ -x c cert.t.c In file included from cachessess.t.c:38: @@ -1081,14 +1117,38 @@ cachetgcrt.t.c:118:47: warning: too many arguments for format [-Wformat-extra-args] 118 | fail_unless(cachemgr_preinit() != -1, "reinit"); | ^~~~~~~~ +In file included from cert.t.c:35: +cert.t.c: In function 'cert_new_load_01_fn': +cert.t.c:44:26: warning: too many arguments for format [-Wformat-extra-args] + 44 | fail_unless(!!c, "loading PEM failed"); + | ^~~~~~~~~~~~~~~~~~~~ +cert.t.c:45:31: warning: too many arguments for format [-Wformat-extra-args] + 45 | fail_unless(!!c->crt, "loading crt failed"); + | ^~~~~~~~~~~~~~~~~~~~ +cert.t.c:46:31: warning: too many arguments for format [-Wformat-extra-args] + 46 | fail_unless(!!c->key, "loading key failed"); + | ^~~~~~~~~~~~~~~~~~~~ +cert.t.c:47:33: warning: too many arguments for format [-Wformat-extra-args] + 47 | fail_unless(!!c->chain, "initializing chain stack failed"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cert.t.c:48:49: warning: too many arguments for format [-Wformat-extra-args] + 48 | fail_unless(sk_X509_num(c->chain) == 1, "loading chain failed"); + | ^~~~~~~~~~~~~~~~~~~~~~ +cert.t.c: In function 'cert_refcount_inc_01_fn': +cert.t.c:58:26: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(!!c, "loading PEM failed"); + | ^~~~~~~~~~~~~~~~~~~~ +cert.t.c:59:41: warning: too many arguments for format [-Wformat-extra-args] + 59 | fail_unless(c->references == 1, "refcount mismatch"); + | ^~~~~~~~~~~~~~~~~~~ +cert.t.c:61:41: warning: too many arguments for format [-Wformat-extra-args] + 61 | fail_unless(c->references == 2, "refcount mismatch"); + | ^~~~~~~~~~~~~~~~~~~ +cert.t.c:63:41: warning: too many arguments for format [-Wformat-extra-args] + 63 | fail_unless(c->references == 1, "refcount mismatch"); + | ^~~~~~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o dynbuf.t.o \ -x c dynbuf.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o logbuf.t.o \ - -x c logbuf.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o main.t.o \ - -x c main.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o opts.t.o \ - -x c opts.t.c In file included from defaults.t.c:37: defaults.t.c: In function 'defaults_dropuser_01_fn': defaults.t.c:46:21: warning: too many arguments for format [-Wformat-extra-args] @@ -1104,6 +1164,8 @@ defaults.t.c:62:21: warning: too many arguments for format [-Wformat-extra-args] 62 | "connect failed for default dropuser " DFLT_DROPUSER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o logbuf.t.o \ + -x c logbuf.t.c In file included from dynbuf.t.c:34: dynbuf.t.c: In function 'dynbuf_new_01_fn': dynbuf.t.c:62:27: warning: too many arguments for format [-Wformat-extra-args] @@ -1163,6 +1225,12 @@ dynbuf.t.c:109:21: warning: too many arguments for format [-Wformat-extra-args] 109 | "cannot find end of cert"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o main.t.o \ + -x c main.t.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o opts.t.o \ + -x c opts.t.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o pxythrmgr.t.o \ + -x c pxythrmgr.t.c In file included from logbuf.t.c:33: logbuf.t.c: In function 'logbuf_make_contiguous_01_fn': logbuf.t.c:43:27: warning: too many arguments for format [-Wformat-extra-args] @@ -1177,98 +1245,55 @@ logbuf.t.c:46:55: warning: too many arguments for format [-Wformat-extra-args] 46 | fail_unless(!memcmp(lb->buf, "123456789", 9), "buffer value incorrect"); | ^~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o pxythrmgr.t.o \ - -x c pxythrmgr.t.c -In file included from cert.t.c:35: -cert.t.c: In function 'cert_new_load_01_fn': -cert.t.c:44:26: warning: too many arguments for format [-Wformat-extra-args] - 44 | fail_unless(!!c, "loading PEM failed"); - | ^~~~~~~~~~~~~~~~~~~~ -cert.t.c:45:31: warning: too many arguments for format [-Wformat-extra-args] - 45 | fail_unless(!!c->crt, "loading crt failed"); - | ^~~~~~~~~~~~~~~~~~~~ -cert.t.c:46:31: warning: too many arguments for format [-Wformat-extra-args] - 46 | fail_unless(!!c->key, "loading key failed"); - | ^~~~~~~~~~~~~~~~~~~~ -cert.t.c:47:33: warning: too many arguments for format [-Wformat-extra-args] - 47 | fail_unless(!!c->chain, "initializing chain stack failed"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cert.t.c:48:49: warning: too many arguments for format [-Wformat-extra-args] - 48 | fail_unless(sk_X509_num(c->chain) == 1, "loading chain failed"); - | ^~~~~~~~~~~~~~~~~~~~~~ -cert.t.c: In function 'cert_refcount_inc_01_fn': -cert.t.c:58:26: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(!!c, "loading PEM failed"); - | ^~~~~~~~~~~~~~~~~~~~ -cert.t.c:59:41: warning: too many arguments for format [-Wformat-extra-args] - 59 | fail_unless(c->references == 1, "refcount mismatch"); - | ^~~~~~~~~~~~~~~~~~~ -cert.t.c:61:41: warning: too many arguments for format [-Wformat-extra-args] - 61 | fail_unless(c->references == 2, "refcount mismatch"); - | ^~~~~~~~~~~~~~~~~~~ -cert.t.c:63:41: warning: too many arguments for format [-Wformat-extra-args] - 63 | fail_unless(c->references == 1, "refcount mismatch"); - | ^~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o ssl.t.o \ - -x c ssl.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o sys.t.o \ - -x c sys.t.c -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o url.t.o \ - -x c url.t.c -In file included from main.t.c:36: -main.t.c: In function 'build_date_01_fn': -main.t.c:48:47: warning: too many arguments for format [-Wformat-extra-args] - 48 | fail_unless(strlen(build_date) == 10, "length mismatch"); - | ^~~~~~~~~~~~~~~~~ -main.t.c:49:43: warning: too many arguments for format [-Wformat-extra-args] - 49 | fail_unless(build_date[4] == '-', "year/month separator not dash"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.t.c:50:43: warning: too many arguments for format [-Wformat-extra-args] - 50 | fail_unless(build_date[7] == '-', "month/day separator not dash"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from url.t.c:33: -url.t.c: In function 'url_dec_01_fn': -url.t.c:51:28: warning: too many arguments for format [-Wformat-extra-args] - 51 | fail_unless(!!buf, "no buffer returned"); - | ^~~~~~~~~~~~~~~~~~~~ -url.t.c:52:44: warning: too many arguments for format [-Wformat-extra-args] - 52 | fail_unless(sz == strlen(plain01), "wrong length"); - | ^~~~~~~~~~~~~~ -url.t.c:53:48: warning: too many arguments for format [-Wformat-extra-args] - 53 | fail_unless(!memcmp(plain01, buf, sz), "wrong data"); - | ^~~~~~~~~~~~ -url.t.c: In function 'url_dec_02_fn': -url.t.c:64:28: warning: too many arguments for format [-Wformat-extra-args] - 64 | fail_unless(!!buf, "no buffer returned"); - | ^~~~~~~~~~~~~~~~~~~~ -url.t.c:65:52: warning: too many arguments for format [-Wformat-extra-args] - 65 | fail_unless(sz == strlen(plain02 + 1) + 1, "wrong length"); - | ^~~~~~~~~~~~~~ -url.t.c:66:48: warning: too many arguments for format [-Wformat-extra-args] - 66 | fail_unless(!memcmp(plain02, buf, sz), "wrong data"); - | ^~~~~~~~~~~~ -url.t.c: In function 'url_dec_03_fn': -url.t.c:77:27: warning: too many arguments for format [-Wformat-extra-args] - 77 | fail_unless(!buf, "buffer returned"); - | ^~~~~~~~~~~~~~~~~ -url.t.c: In function 'url_dec_04_fn': -url.t.c:87:27: warning: too many arguments for format [-Wformat-extra-args] - 87 | fail_unless(!buf, "buffer returned"); - | ^~~~~~~~~~~~~~~~~ -url.t.c: In function 'url_dec_05_fn': -url.t.c:97:27: warning: too many arguments for format [-Wformat-extra-args] - 97 | fail_unless(!buf, "buffer returned"); - | ^~~~~~~~~~~~~~~~~ -url.t.c: In function 'url_dec_06_fn': -url.t.c:107:28: warning: too many arguments for format [-Wformat-extra-args] - 107 | fail_unless(!!buf, "no buffer returned"); - | ^~~~~~~~~~~~~~~~~~~~ -url.t.c:108:26: warning: too many arguments for format [-Wformat-extra-args] - 108 | fail_unless(!sz, "length not 0"); - | ^~~~~~~~~~~~~~ -url.t.c:109:30: warning: too many arguments for format [-Wformat-extra-args] - 109 | fail_unless(!buf[0], "not empty string"); - | ^~~~~~~~~~~~~~~~~~ +In file included from pxythrmgr.t.c:33: +pxythrmgr.t.c: In function 'pxythrmgr_libevent_01_fn': +pxythrmgr.t.c:40:31: warning: too many arguments for format [-Wformat-extra-args] + 40 | fail_unless(!!evbase, "no event base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c: In function 'pxythrmgr_libevent_02_fn': +pxythrmgr.t.c:51:31: warning: too many arguments for format [-Wformat-extra-args] + 51 | fail_unless(!!evbase, "no event base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c:53:32: warning: too many arguments for format [-Wformat-extra-args] + 53 | fail_unless(!!dnsbase, "no evdns base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c: In function 'pxythrmgr_libevent_03_fn': +pxythrmgr.t.c:66:31: warning: too many arguments for format [-Wformat-extra-args] + 66 | fail_unless(!!evbase, "no event base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c:68:32: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail_unless(!!dnsbase, "no evdns base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c:71:30: warning: too many arguments for format [-Wformat-extra-args] + 71 | fail_unless(rc == 0, "unable to parse resolv.conf"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pxythrmgr.t.c: In function 'pxythrmgr_libevent_04_fn': +pxythrmgr.t.c:83:31: warning: too many arguments for format [-Wformat-extra-args] + 83 | fail_unless(!!evbase, "no event base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c:85:32: warning: too many arguments for format [-Wformat-extra-args] + 85 | fail_unless(!!dnsbase, "no evdns base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c: In function 'pxythrmgr_libevent_05_fn': +pxythrmgr.t.c:99:32: warning: too many arguments for format [-Wformat-extra-args] + 99 | fail_unless(!!evbase1, "no event base 1"); + | ^~~~~~~~~~~~~~~~~ +pxythrmgr.t.c:101:32: warning: too many arguments for format [-Wformat-extra-args] + 101 | fail_unless(!!evbase1, "no event base 2"); + | ^~~~~~~~~~~~~~~~~ +pxythrmgr.t.c:103:32: warning: too many arguments for format [-Wformat-extra-args] + 103 | fail_unless(!!dnsbase, "no evdns base"); + | ^~~~~~~~~~~~~~~ +pxythrmgr.t.c: At top level: +pxythrmgr.t.c:91:12: warning: 'pxythrmgr_libevent_05' defined but not used [-Wunused-variable] + 91 | START_TEST(pxythrmgr_libevent_05) + | ^~~~~~~~~~~~~~~~~~~~~ +pxythrmgr.t.c:77:12: warning: 'pxythrmgr_libevent_04' defined but not used [-Wunused-variable] + 77 | START_TEST(pxythrmgr_libevent_04) + | ^~~~~~~~~~~~~~~~~~~~~ +pxythrmgr.t.c:59:12: warning: 'pxythrmgr_libevent_03' defined but not used [-Wunused-variable] + 59 | START_TEST(pxythrmgr_libevent_03) + | ^~~~~~~~~~~~~~~~~~~~~ In file included from opts.t.c:32: opts.t.c: In function 'proxyspec_parse_01_fn': opts.t.c:106:29: warning: too many arguments for format [-Wformat-extra-args] @@ -1416,45 +1441,24 @@ opts.t.c:236:34: warning: too many arguments for format [-Wformat-extra-args] 236 | fail_unless(!spec->http, "HTTP"); | ^~~~~~ -In file included from sys.t.c:42: -sys.t.c: In function 'sys_isdir_01_fn': opts.t.c:237:37: warning: too many arguments for format [-Wformat-extra-args] 237 | fail_unless(!spec->upgrade, "Upgrade"); | ^~~~~~~~~ -sys.t.c:109:37: warning: too many arguments for format [-Wformat-extra-args] - 109 | fail_unless(sys_isdir(dir), "Directory !isdir"); - | ^~~~~~~~~~~~~~~~~~ opts.t.c:239:21: warning: too many arguments for format [-Wformat-extra-args] 239 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_isdir_02_fn': opts.t.c:241:21: warning: too many arguments for format [-Wformat-extra-args] 241 | "not IPv4 connect addr"); | ^~~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:115:38: warning: too many arguments for format [-Wformat-extra-args] - 115 | fail_unless(sys_isdir(ldir), "Symlink dir !isdir"); - | ^~~~~~~~~~~~~~~~~~~~ opts.t.c:242:38: warning: too many arguments for format [-Wformat-extra-args] 242 | fail_unless(!spec->sni_port, "SNI port is set"); | ^~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_isdir_03_fn': -sys.t.c:121:43: warning: too many arguments for format [-Wformat-extra-args] - 121 | fail_unless(!sys_isdir(notexist), "Not-exist isdir"); - | ^~~~~~~~~~~~~~~~~ opts.t.c:243:39: warning: too many arguments for format [-Wformat-extra-args] 243 | fail_unless(!spec->natengine, "natengine is set"); | ^~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_isdir_04_fn': -sys.t.c:127:39: warning: too many arguments for format [-Wformat-extra-args] - 127 | fail_unless(!sys_isdir(file), "File isdir"); - | ^~~~~~~~~~~~ opts.t.c:244:39: warning: too many arguments for format [-Wformat-extra-args] 244 | fail_unless(!spec->natlookup, "natlookup() is set"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_isdir_05_fn': -sys.t.c:133:40: warning: too many arguments for format [-Wformat-extra-args] - 133 | fail_unless(!sys_isdir(lfile), "Symlink file isdir"); - | ^~~~~~~~~~~~~~~~~~~~ opts.t.c:245:39: warning: too many arguments for format [-Wformat-extra-args] 245 | fail_unless(!spec->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ @@ -1462,183 +1466,86 @@ 246 | fail_unless(!spec->next, "next is set"); | ^~~~~~~~~~~~~ opts.t.c: In function 'proxyspec_parse_08_fn': -sys.t.c: In function 'sys_mkpath_01_fn': -sys.t.c:170:42: warning: too many arguments for format [-Wformat-extra-args] - 170 | fail_unless((rv != -1) && !!dir, "asprintf failed"); - | ^~~~~~~~~~~~~~~~~ opts.t.c:258:29: warning: too many arguments for format [-Wformat-extra-args] 258 | fail_unless(!!spec, "failed to parse spec"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:171:38: warning: too many arguments for format [-Wformat-extra-args] - 171 | fail_unless(!sys_isdir(dir), "dir already sys_isdir()"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:259:32: warning: too many arguments for format [-Wformat-extra-args] 259 | fail_unless(spec->ssl, "not SSL"); | ^~~~~~~~~ -sys.t.c:172:53: warning: too many arguments for format [-Wformat-extra-args] - 172 | fail_unless(!sys_mkpath(dir, DFLT_DIRMODE), "sys_mkpath failed"); - | ^~~~~~~~~~~~~~~~~~~ opts.t.c:260:33: warning: too many arguments for format [-Wformat-extra-args] 260 | fail_unless(spec->http, "not HTTP"); | ^~~~~~~~~~ -sys.t.c:173:37: warning: too many arguments for format [-Wformat-extra-args] - 173 | fail_unless(sys_isdir(dir), "dir not sys_isdir()"); - | ^~~~~~~~~~~~~~~~~~~~~ opts.t.c:261:37: warning: too many arguments for format [-Wformat-extra-args] 261 | fail_unless(!spec->upgrade, "Upgrade"); | ^~~~~~~~~ -sys.t.c: In function 'sys_realdir_01_fn': -sys.t.c:183:27: warning: too many arguments for format [-Wformat-extra-args] - 183 | fail_unless(!!rd, "sys_realdir failed"); - | ^~~~~~~~~~~~~~~~~~~~ opts.t.c:263:21: warning: too many arguments for format [-Wformat-extra-args] 263 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:184:47: warning: too many arguments for format [-Wformat-extra-args] - 184 | fail_unless(!!strstr(rd, "/sys.t.c"), "filename not found"); - | ^~~~~~~~~~~~~~~~~~~~ opts.t.c:264:45: warning: too many arguments for format [-Wformat-extra-args] 264 | fail_unless(!spec->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ -sys.t.c:185:45: warning: too many arguments for format [-Wformat-extra-args] - 185 | fail_unless(!strstr(rd, "/extra/"), "extra in path"); - | ^~~~~~~~~~~~~~~ -sys.t.c:186:42: warning: too many arguments for format [-Wformat-extra-args] - 186 | fail_unless(!strstr(rd, "/../"), "dot-dot in path"); - | ^~~~~~~~~~~~~~~~~ opts.t.c:265:44: warning: too many arguments for format [-Wformat-extra-args] 265 | fail_unless(spec->sni_port == 443, "SNI port is not set"); | ^~~~~~~~~~~~~~~~~~~~~ opts.t.c:266:39: warning: too many arguments for format [-Wformat-extra-args] 266 | fail_unless(!spec->natengine, "natengine is set"); | ^~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_realdir_02_fn': -sys.t.c:196:26: warning: too many arguments for format [-Wformat-extra-args] - 196 | fail_unless(!rd, "sys_realdir did not fail"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:267:39: warning: too many arguments for format [-Wformat-extra-args] 267 | fail_unless(!spec->natlookup, "natlookup() is set"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c:197:38: warning: too many arguments for format [-Wformat-extra-args] - 197 | fail_unless(errno == ENOENT, "errno not ENOENT"); - | ^~~~~~~~~~~~~~~~~~ opts.t.c:268:39: warning: too many arguments for format [-Wformat-extra-args] 268 | fail_unless(!spec->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_realdir_03_fn': -sys.t.c:206:27: warning: too many arguments for format [-Wformat-extra-args] - 206 | fail_unless(!!rd, "sys_realdir failed"); - | ^~~~~~~~~~~~~~~~~~~~ opts.t.c:269:34: warning: too many arguments for format [-Wformat-extra-args] 269 | fail_unless(!spec->next, "next is set"); | ^~~~~~~~~~~~~ -sys.t.c:207:49: warning: too many arguments for format [-Wformat-extra-args] - 207 | fail_unless(!!strstr(rd, "/foobarbaz"), "filename not found or dir"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_realdir_04_fn': -sys.t.c:217:26: warning: too many arguments for format [-Wformat-extra-args] - 217 | fail_unless(!rd, "sys_realdir did not fail"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c: In function 'proxyspec_parse_11_fn': -sys.t.c: In function 'sys_dir_eachfile_01_fn': opts.t.c:309:29: warning: too many arguments for format [-Wformat-extra-args] 309 | fail_unless(!!spec, "failed to parse spec"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:236:30: warning: too many arguments for format [-Wformat-extra-args] - 236 | fail_unless(rv == 0, "Did not return success"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:237:32: warning: too many arguments for format [-Wformat-extra-args] - 237 | fail_unless(flag == 2, "Iterated wrong number of files"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:310:32: warning: too many arguments for format [-Wformat-extra-args] 310 | fail_unless(spec->ssl, "not SSL"); | ^~~~~~~~~ -sys.t.c: In function 'sys_get_cpu_cores_01_fn': opts.t.c:311:33: warning: too many arguments for format [-Wformat-extra-args] 311 | fail_unless(spec->http, "not HTTP"); | ^~~~~~~~~~ -sys.t.c:243:47: warning: too many arguments for format [-Wformat-extra-args] - 243 | fail_unless(sys_get_cpu_cores() >= 1, "Number of CPU cores < 1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:312:37: warning: too many arguments for format [-Wformat-extra-args] 312 | fail_unless(!spec->upgrade, "Upgrade"); | ^~~~~~~~~ -sys.t.c: In function 'pthread_create_01_fn': opts.t.c:314:21: warning: too many arguments for format [-Wformat-extra-args] 314 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:260:21: warning: too many arguments for format [-Wformat-extra-args] - 260 | "Cannot create thread"); - | ^~~~~~~~~~~~~~~~~~~~~~ opts.t.c:315:45: warning: too many arguments for format [-Wformat-extra-args] 315 | fail_unless(!spec->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ -sys.t.c:261:46: warning: too many arguments for format [-Wformat-extra-args] - 261 | fail_unless(!pthread_join(tid, &rv), "Cannot join thread"); - | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c:262:29: warning: too many arguments for format [-Wformat-extra-args] - 262 | fail_unless(x == 1, "Thread failed to update x"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:316:38: warning: too many arguments for format [-Wformat-extra-args] 316 | fail_unless(!spec->sni_port, "SNI port is set"); | ^~~~~~~~~~~~~~~~~ -sys.t.c:263:38: warning: too many arguments for format [-Wformat-extra-args] - 263 | fail_unless(rv == (void*) 2, "Thread return value mismatch"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:317:40: warning: too many arguments for format [-Wformat-extra-args] 317 | fail_unless(!!spec->natengine, "natengine not set"); | ^~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_user_str_01_fn': opts.t.c:318:58: warning: too many arguments for format [-Wformat-extra-args] 318 | fail_unless(!strcmp(spec->natengine, NATENGINE), "natengine mismatch"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c:270:50: warning: too many arguments for format [-Wformat-extra-args] - 270 | fail_unless(!strcmp(name, TEST_ZEROUSR), "User 0 name mismatch"); - | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_group_str_01_fn': opts.t.c:319:39: warning: too many arguments for format [-Wformat-extra-args] 319 | fail_unless(!spec->natlookup, "natlookup() is set"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c:277:50: warning: too many arguments for format [-Wformat-extra-args] - 277 | fail_unless(!strcmp(name, TEST_ZEROGRP), "Group 0 name mismatch"); - | ^~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:320:39: warning: too many arguments for format [-Wformat-extra-args] 320 | fail_unless(!spec->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_ip46str_sanitize_01_fn': -sys.t.c:286:30: warning: too many arguments for format [-Wformat-extra-args] - 286 | fail_unless(!!clean, "Sanitized string is NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:321:34: warning: too many arguments for format [-Wformat-extra-args] 321 | fail_unless(!spec->next, "next is set"); | ^~~~~~~~~~~~~ -sys.t.c:288:21: warning: too many arguments for format [-Wformat-extra-args] - 288 | "Unexpected result"); - | ^~~~~~~~~~~~~~~~~~~ -sys.t.c: In function 'sys_ip46str_sanitize_02_fn': opts.t.c: In function 'proxyspec_parse_13_fn': -sys.t.c:298:30: warning: too many arguments for format [-Wformat-extra-args] - 298 | fail_unless(!!clean, "Sanitized string is NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:349:29: warning: too many arguments for format [-Wformat-extra-args] 349 | fail_unless(!!spec, "failed to parse spec"); | ^~~~~~~~~~~~~~~~~~~~~~ -sys.t.c:300:21: warning: too many arguments for format [-Wformat-extra-args] - 300 | "Unexpected result"); - | ^~~~~~~~~~~~~~~~~~~ opts.t.c:350:32: warning: too many arguments for format [-Wformat-extra-args] 350 | fail_unless(spec->ssl, "not SSL"); | ^~~~~~~~~ -sys.t.c: In function 'sys_ip46str_sanitize_03_fn': -sys.t.c:310:30: warning: too many arguments for format [-Wformat-extra-args] - 310 | fail_unless(!!clean, "Sanitized string is NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:351:33: warning: too many arguments for format [-Wformat-extra-args] 351 | fail_unless(spec->http, "not HTTP"); | ^~~~~~~~~~ -sys.t.c:312:21: warning: too many arguments for format [-Wformat-extra-args] - 312 | "Unexpected result"); - | ^~~~~~~~~~~~~~~~~~~ opts.t.c:352:37: warning: too many arguments for format [-Wformat-extra-args] 352 | fail_unless(!spec->upgrade, "Upgrade"); | ^~~~~~~~~ @@ -1788,8 +1695,6 @@ opts.t.c:431:39: warning: too many arguments for format [-Wformat-extra-args] 431 | fail_unless(!spec->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o util.t.o \ - -x c util.t.c opts.t.c:432:34: warning: too many arguments for format [-Wformat-extra-args] 432 | fail_unless(!spec->next, "next is set"); | ^~~~~~~~~~~~~ @@ -1965,55 +1870,21 @@ opts.t.c:99:12: warning: 'proxyspec_parse_01' defined but not used [-Wunused-variable] 99 | START_TEST(proxyspec_parse_01) | ^~~~~~~~~~~~~~~~~~ -In file included from pxythrmgr.t.c:33: -pxythrmgr.t.c: In function 'pxythrmgr_libevent_01_fn': -pxythrmgr.t.c:40:31: warning: too many arguments for format [-Wformat-extra-args] - 40 | fail_unless(!!evbase, "no event base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c: In function 'pxythrmgr_libevent_02_fn': -pxythrmgr.t.c:51:31: warning: too many arguments for format [-Wformat-extra-args] - 51 | fail_unless(!!evbase, "no event base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c:53:32: warning: too many arguments for format [-Wformat-extra-args] - 53 | fail_unless(!!dnsbase, "no evdns base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c: In function 'pxythrmgr_libevent_03_fn': -pxythrmgr.t.c:66:31: warning: too many arguments for format [-Wformat-extra-args] - 66 | fail_unless(!!evbase, "no event base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c:68:32: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail_unless(!!dnsbase, "no evdns base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c:71:30: warning: too many arguments for format [-Wformat-extra-args] - 71 | fail_unless(rc == 0, "unable to parse resolv.conf"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pxythrmgr.t.c: In function 'pxythrmgr_libevent_04_fn': -pxythrmgr.t.c:83:31: warning: too many arguments for format [-Wformat-extra-args] - 83 | fail_unless(!!evbase, "no event base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c:85:32: warning: too many arguments for format [-Wformat-extra-args] - 85 | fail_unless(!!dnsbase, "no evdns base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c: In function 'pxythrmgr_libevent_05_fn': -pxythrmgr.t.c:99:32: warning: too many arguments for format [-Wformat-extra-args] - 99 | fail_unless(!!evbase1, "no event base 1"); - | ^~~~~~~~~~~~~~~~~ -pxythrmgr.t.c:101:32: warning: too many arguments for format [-Wformat-extra-args] - 101 | fail_unless(!!evbase1, "no event base 2"); - | ^~~~~~~~~~~~~~~~~ -pxythrmgr.t.c:103:32: warning: too many arguments for format [-Wformat-extra-args] - 103 | fail_unless(!!dnsbase, "no evdns base"); - | ^~~~~~~~~~~~~~~ -pxythrmgr.t.c: At top level: -pxythrmgr.t.c:91:12: warning: 'pxythrmgr_libevent_05' defined but not used [-Wunused-variable] - 91 | START_TEST(pxythrmgr_libevent_05) - | ^~~~~~~~~~~~~~~~~~~~~ -pxythrmgr.t.c:77:12: warning: 'pxythrmgr_libevent_04' defined but not used [-Wunused-variable] - 77 | START_TEST(pxythrmgr_libevent_04) - | ^~~~~~~~~~~~~~~~~~~~~ -pxythrmgr.t.c:59:12: warning: 'pxythrmgr_libevent_03' defined but not used [-Wunused-variable] - 59 | START_TEST(pxythrmgr_libevent_03) - | ^~~~~~~~~~~~~~~~~~~~~ +In file included from main.t.c:36: +main.t.c: In function 'build_date_01_fn': +main.t.c:48:47: warning: too many arguments for format [-Wformat-extra-args] + 48 | fail_unless(strlen(build_date) == 10, "length mismatch"); + | ^~~~~~~~~~~~~~~~~ +main.t.c:49:43: warning: too many arguments for format [-Wformat-extra-args] + 49 | fail_unless(build_date[4] == '-', "year/month separator not dash"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.t.c:50:43: warning: too many arguments for format [-Wformat-extra-args] + 50 | fail_unless(build_date[7] == '-', "month/day separator not dash"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o ssl.t.o \ + -x c ssl.t.c +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o sys.t.o \ + -x c sys.t.c In file included from ssl.t.c:36: ssl.t.c: In function 'ssl_wildcardify_01_fn': ssl.t.c:85:45: warning: too many arguments for format [-Wformat-extra-args] @@ -2201,7 +2072,6 @@ ssl.t.c:533:33: warning: too many arguments for format [-Wformat-extra-args] 533 | fail_unless(ch != NULL, "ch is NULL"); | ^~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2022-07-16\"" -D"BUILD_INFO=\"V:FILE HDIFF:3 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_NETFILTER\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c ssl.t.c:534:49: warning: too many arguments for format [-Wformat-extra-args] 534 | fail_unless((ch - clienthello06) != 21, "ch does not point to start"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2344,14 +2214,189 @@ 731 | fail_unless(!!key, "loading key failed"); | ^~~~~~~~~~~~~~~~~~~~ ssl.t.c: In function 'ssl_x509_refcount_inc_01_fn': +ssl.t.c:748:28: warning: too many arguments for format [-Wformat-extra-args] + 748 | fail_unless(!!crt, "loading certificate failed"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from sys.t.c:42: +sys.t.c: In function 'sys_isdir_01_fn': +sys.t.c:109:37: warning: too many arguments for format [-Wformat-extra-args] + 109 | fail_unless(sys_isdir(dir), "Directory !isdir"); + | ^~~~~~~~~~~~~~~~~~ +ssl.t.c: In function 'ssl_engine_01_fn': +sys.t.c: In function 'sys_isdir_02_fn': +sys.t.c:115:38: warning: too many arguments for format [-Wformat-extra-args] + 115 | fail_unless(sys_isdir(ldir), "Symlink dir !isdir"); + | ^~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_isdir_03_fn': +ssl.t.c:766:54: warning: too many arguments for format [-Wformat-extra-args] + 766 | fail_unless(getcwd(cwd, sizeof(cwd)) == cwd, "getcwd() failed"); + | ^~~~~~~~~~~~~~~~~ +sys.t.c:121:43: warning: too many arguments for format [-Wformat-extra-args] + 121 | fail_unless(!sys_isdir(notexist), "Not-exist isdir"); + | ^~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_isdir_04_fn': +sys.t.c:127:39: warning: too many arguments for format [-Wformat-extra-args] + 127 | fail_unless(!sys_isdir(file), "File isdir"); + | ^~~~~~~~~~~~ +sys.t.c: In function 'sys_isdir_05_fn': +sys.t.c:133:40: warning: too many arguments for format [-Wformat-extra-args] + 133 | fail_unless(!sys_isdir(lfile), "Symlink file isdir"); + | ^~~~~~~~~~~~~~~~~~~~ +ssl.t.c:768:21: warning: too many arguments for format [-Wformat-extra-args] + 768 | "constructing engine path failed"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_mkpath_01_fn': +sys.t.c:170:42: warning: too many arguments for format [-Wformat-extra-args] + 170 | fail_unless((rv != -1) && !!dir, "asprintf failed"); + | ^~~~~~~~~~~~~~~~~ +sys.t.c:171:38: warning: too many arguments for format [-Wformat-extra-args] + 171 | fail_unless(!sys_isdir(dir), "dir already sys_isdir()"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:172:53: warning: too many arguments for format [-Wformat-extra-args] + 172 | fail_unless(!sys_mkpath(dir, DFLT_DIRMODE), "sys_mkpath failed"); + | ^~~~~~~~~~~~~~~~~~~ +ssl.t.c:769:44: warning: too many arguments for format [-Wformat-extra-args] + 769 | fail_unless(ssl_engine(path) == 0, "loading OpenSSL engine failed"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:173:37: warning: too many arguments for format [-Wformat-extra-args] + 173 | fail_unless(sys_isdir(dir), "dir not sys_isdir()"); + | ^~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_realdir_01_fn': +sys.t.c:183:27: warning: too many arguments for format [-Wformat-extra-args] + 183 | fail_unless(!!rd, "sys_realdir failed"); + | ^~~~~~~~~~~~~~~~~~~~ +sys.t.c:184:47: warning: too many arguments for format [-Wformat-extra-args] + 184 | fail_unless(!!strstr(rd, "/sys.t.c"), "filename not found"); + | ^~~~~~~~~~~~~~~~~~~~ +sys.t.c:185:45: warning: too many arguments for format [-Wformat-extra-args] + 185 | fail_unless(!strstr(rd, "/extra/"), "extra in path"); + | ^~~~~~~~~~~~~~~ +sys.t.c:186:42: warning: too many arguments for format [-Wformat-extra-args] + 186 | fail_unless(!strstr(rd, "/../"), "dot-dot in path"); + | ^~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_realdir_02_fn': +sys.t.c:196:26: warning: too many arguments for format [-Wformat-extra-args] + 196 | fail_unless(!rd, "sys_realdir did not fail"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:197:38: warning: too many arguments for format [-Wformat-extra-args] + 197 | fail_unless(errno == ENOENT, "errno not ENOENT"); + | ^~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_realdir_03_fn': +sys.t.c:206:27: warning: too many arguments for format [-Wformat-extra-args] + 206 | fail_unless(!!rd, "sys_realdir failed"); + | ^~~~~~~~~~~~~~~~~~~~ +sys.t.c:207:49: warning: too many arguments for format [-Wformat-extra-args] + 207 | fail_unless(!!strstr(rd, "/foobarbaz"), "filename not found or dir"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_realdir_04_fn': +sys.t.c:217:26: warning: too many arguments for format [-Wformat-extra-args] + 217 | fail_unless(!rd, "sys_realdir did not fail"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_dir_eachfile_01_fn': +sys.t.c:236:30: warning: too many arguments for format [-Wformat-extra-args] + 236 | fail_unless(rv == 0, "Did not return success"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:237:32: warning: too many arguments for format [-Wformat-extra-args] + 237 | fail_unless(flag == 2, "Iterated wrong number of files"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_get_cpu_cores_01_fn': +sys.t.c:243:47: warning: too many arguments for format [-Wformat-extra-args] + 243 | fail_unless(sys_get_cpu_cores() >= 1, "Number of CPU cores < 1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'pthread_create_01_fn': +sys.t.c:260:21: warning: too many arguments for format [-Wformat-extra-args] + 260 | "Cannot create thread"); + | ^~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:261:46: warning: too many arguments for format [-Wformat-extra-args] + 261 | fail_unless(!pthread_join(tid, &rv), "Cannot join thread"); + | ^~~~~~~~~~~~~~~~~~~~ +sys.t.c:262:29: warning: too many arguments for format [-Wformat-extra-args] + 262 | fail_unless(x == 1, "Thread failed to update x"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:263:38: warning: too many arguments for format [-Wformat-extra-args] + 263 | fail_unless(rv == (void*) 2, "Thread return value mismatch"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_user_str_01_fn': +sys.t.c:270:50: warning: too many arguments for format [-Wformat-extra-args] + 270 | fail_unless(!strcmp(name, TEST_ZEROUSR), "User 0 name mismatch"); + | ^~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_group_str_01_fn': +sys.t.c:277:50: warning: too many arguments for format [-Wformat-extra-args] + 277 | fail_unless(!strcmp(name, TEST_ZEROGRP), "Group 0 name mismatch"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_ip46str_sanitize_01_fn': +sys.t.c:286:30: warning: too many arguments for format [-Wformat-extra-args] + 286 | fail_unless(!!clean, "Sanitized string is NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:288:21: warning: too many arguments for format [-Wformat-extra-args] + 288 | "Unexpected result"); + | ^~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_ip46str_sanitize_02_fn': +sys.t.c:298:30: warning: too many arguments for format [-Wformat-extra-args] + 298 | fail_unless(!!clean, "Sanitized string is NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:300:21: warning: too many arguments for format [-Wformat-extra-args] + 300 | "Unexpected result"); + | ^~~~~~~~~~~~~~~~~~~ +sys.t.c: In function 'sys_ip46str_sanitize_03_fn': +sys.t.c:310:30: warning: too many arguments for format [-Wformat-extra-args] + 310 | fail_unless(!!clean, "Sanitized string is NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sys.t.c:312:21: warning: too many arguments for format [-Wformat-extra-args] + 312 | "Unexpected result"); + | ^~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o url.t.o \ + -x c url.t.c +In file included from url.t.c:33: +url.t.c: In function 'url_dec_01_fn': +url.t.c:51:28: warning: too many arguments for format [-Wformat-extra-args] + 51 | fail_unless(!!buf, "no buffer returned"); + | ^~~~~~~~~~~~~~~~~~~~ +url.t.c:52:44: warning: too many arguments for format [-Wformat-extra-args] + 52 | fail_unless(sz == strlen(plain01), "wrong length"); + | ^~~~~~~~~~~~~~ +url.t.c:53:48: warning: too many arguments for format [-Wformat-extra-args] + 53 | fail_unless(!memcmp(plain01, buf, sz), "wrong data"); + | ^~~~~~~~~~~~ +url.t.c: In function 'url_dec_02_fn': +url.t.c:64:28: warning: too many arguments for format [-Wformat-extra-args] + 64 | fail_unless(!!buf, "no buffer returned"); + | ^~~~~~~~~~~~~~~~~~~~ +url.t.c:65:52: warning: too many arguments for format [-Wformat-extra-args] + 65 | fail_unless(sz == strlen(plain02 + 1) + 1, "wrong length"); + | ^~~~~~~~~~~~~~ +url.t.c:66:48: warning: too many arguments for format [-Wformat-extra-args] + 66 | fail_unless(!memcmp(plain02, buf, sz), "wrong data"); + | ^~~~~~~~~~~~ +url.t.c: In function 'url_dec_03_fn': +url.t.c:77:27: warning: too many arguments for format [-Wformat-extra-args] + 77 | fail_unless(!buf, "buffer returned"); + | ^~~~~~~~~~~~~~~~~ +url.t.c: In function 'url_dec_04_fn': +url.t.c:87:27: warning: too many arguments for format [-Wformat-extra-args] + 87 | fail_unless(!buf, "buffer returned"); + | ^~~~~~~~~~~~~~~~~ +url.t.c: In function 'url_dec_05_fn': +url.t.c:97:27: warning: too many arguments for format [-Wformat-extra-args] + 97 | fail_unless(!buf, "buffer returned"); + | ^~~~~~~~~~~~~~~~~ +url.t.c: In function 'url_dec_06_fn': +url.t.c:107:28: warning: too many arguments for format [-Wformat-extra-args] + 107 | fail_unless(!!buf, "no buffer returned"); + | ^~~~~~~~~~~~~~~~~~~~ +url.t.c:108:26: warning: too many arguments for format [-Wformat-extra-args] + 108 | fail_unless(!sz, "length not 0"); + | ^~~~~~~~~~~~~~ +url.t.c:109:30: warning: too many arguments for format [-Wformat-extra-args] + 109 | fail_unless(!buf[0], "not empty string"); + | ^~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"TEST_ZEROUSR=\"root\"" -D"TEST_ZEROGRP=\"root\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o util.t.o \ + -x c util.t.c In file included from util.t.c:33: util.t.c: In function 'util_skipws_01_fn': util.t.c:46:26: warning: too many arguments for format [-Wformat-extra-args] 46 | fail_unless(!!p, "no pointer returned"); | ^~~~~~~~~~~~~~~~~~~~~ -ssl.t.c:748:28: warning: too many arguments for format [-Wformat-extra-args] - 748 | fail_unless(!!crt, "loading certificate failed"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.t.c:47:41: warning: too many arguments for format [-Wformat-extra-args] 47 | fail_unless(!strcmp(p, "test"), "wrong data"); | ^~~~~~~~~~~~ @@ -2362,7 +2407,6 @@ util.t.c:57:41: warning: too many arguments for format [-Wformat-extra-args] 57 | fail_unless(!strcmp(p, "test"), "wrong data"); | ^~~~~~~~~~~~ -ssl.t.c: In function 'ssl_engine_01_fn': util.t.c: In function 'util_skipws_03_fn': util.t.c:66:26: warning: too many arguments for format [-Wformat-extra-args] 66 | fail_unless(!!p, "no pointer returned"); @@ -2377,9 +2421,6 @@ util.t.c:77:41: warning: too many arguments for format [-Wformat-extra-args] 77 | fail_unless(!strcmp(p, "test"), "wrong data"); | ^~~~~~~~~~~~ -ssl.t.c:766:54: warning: too many arguments for format [-Wformat-extra-args] - 766 | fail_unless(getcwd(cwd, sizeof(cwd)) == cwd, "getcwd() failed"); - | ^~~~~~~~~~~~~~~~~ util.t.c: In function 'util_skipws_05_fn': util.t.c:86:26: warning: too many arguments for format [-Wformat-extra-args] 86 | fail_unless(!!p, "no pointer returned"); @@ -2394,12 +2435,7 @@ util.t.c:97:37: warning: too many arguments for format [-Wformat-extra-args] 97 | fail_unless(!strcmp(p, ""), "wrong data"); | ^~~~~~~~~~~~ -ssl.t.c:768:21: warning: too many arguments for format [-Wformat-extra-args] - 768 | "constructing engine path failed"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ssl.t.c:769:44: warning: too many arguments for format [-Wformat-extra-args] - 769 | fail_unless(ssl_engine(path) == 0, "loading OpenSSL engine failed"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2022-07-16\"" -D"BUILD_INFO=\"V:FILE HDIFF:3 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_NETFILTER\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c cc -Wl,-z,relro -L/usr/lib -pthread -o sslsplit.test base64.t.o cachedsess.t.o cachefkcrt.t.o cachemgr.t.o cachessess.t.o cachetgcrt.t.o cert.t.o defaults.t.o dynbuf.t.o logbuf.t.o main.t.o opts.t.o pxythrmgr.t.o ssl.t.o sys.t.o url.t.o util.t.o base64.o build.o cache.o cachedsess.o cachefkcrt.o cachemgr.o cachessess.o cachetgcrt.o cert.o dynbuf.o log.o logbuf.o logger.o logpkt.o nat.o opts.o privsep.o proc.o proxy.o pxyconn.o pxythrmgr.o ssl.o sys.o thrqueue.o url.o util.o -lnet -lssl -lcrypto -levent_openssl -levent_pthreads -levent -lpcap -lcheck_pic -lrt -lm -lsubunit make -C extra/engine make[2]: Entering directory '/build/reproducible-path/sslsplit-0.5.5/extra/engine' @@ -2437,22 +2473,9 @@ -set_serial 1 -days 1095 cat rsa.crt rsa.key >rsa.pem mkdir -p targets -mkdir -p targets openssl genrsa -out targets/daniel.roe.ch.key 2048 +mkdir -p targets openssl genrsa -out targets/wildcard.roe.ch.key 2048 -openssl req -new -sha256 -subj '/C=CH/CN=daniel.roe.ch/' \ - -key targets/daniel.roe.ch.key \ - -out targets/daniel.roe.ch.csr -openssl x509 -req -sha256 -CAcreateserial -days 365 \ - -CA rsa.crt -CAkey rsa.key \ - -in targets/daniel.roe.ch.csr \ - -out targets/daniel.roe.ch.crt -Certificate request self-signature ok -subject=C=CH, CN=daniel.roe.ch -cat targets/daniel.roe.ch.crt targets/daniel.roe.ch.key rsa.crt \ - >targets/daniel.roe.ch.pem -rm -f targets/daniel.roe.ch.key targets/daniel.roe.ch.csr \ - targets/daniel.roe.ch.crt openssl req -new -sha256 -subj '/C=CH/CN=*.roe.ch/' \ -key targets/wildcard.roe.ch.key \ -out targets/wildcard.roe.ch.csr @@ -2466,6 +2489,19 @@ >targets/wildcard.roe.ch.pem rm -f targets/wildcard.roe.ch.key targets/wildcard.roe.ch.csr \ targets/wildcard.roe.ch.crt +openssl req -new -sha256 -subj '/C=CH/CN=daniel.roe.ch/' \ + -key targets/daniel.roe.ch.key \ + -out targets/daniel.roe.ch.csr +openssl x509 -req -sha256 -CAcreateserial -days 365 \ + -CA rsa.crt -CAkey rsa.key \ + -in targets/daniel.roe.ch.csr \ + -out targets/daniel.roe.ch.crt +Certificate request self-signature ok +subject=C=CH, CN=daniel.roe.ch +cat targets/daniel.roe.ch.crt targets/daniel.roe.ch.key rsa.crt \ + >targets/daniel.roe.ch.pem +rm -f targets/daniel.roe.ch.key targets/daniel.roe.ch.csr \ + targets/daniel.roe.ch.crt rm -f rsa.srl make[2]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5/extra/pki' ./sslsplit.test @@ -2501,7 +2537,7 @@ make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' dh_auto_install -- PREFIX=/usr install -m0755 -d /build/reproducible-path/sslsplit-0.5.5/debian/sslsplit - make -j6 install DESTDIR=/build/reproducible-path/sslsplit-0.5.5/debian/sslsplit AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" PREFIX=/usr + make -j5 install DESTDIR=/build/reproducible-path/sslsplit-0.5.5/debian/sslsplit AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" PREFIX=/usr make[2]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -2515,7 +2551,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux ------------------------------------------------------------------------------ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/i386-linux-gnu/dbus-1.0/include -D_GNU_SOURCE -D"PKGLABEL=\"SSLsplit\"" -DHAVE_NETFILTER -D"BUILD_PKGNAME=\"sslsplit\"" -D"BUILD_VERSION=\"0.5.5\"" -D"BUILD_DATE=\"2022-07-16\"" -D"BUILD_INFO=\"V:FILE HDIFF:3 N:83c4edf\"" -D"BUILD_FEATURES=\"-DHAVE_NETFILTER\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslsplit-0.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c sed -e 's,/usr/local/etc/sslsplit,/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2022-07-16,' sslsplit.conf @@ -2625,8 +2661,8 @@ chmod 0644 -- debian/.debhelper/sslsplit/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/sslsplit/dbgsym-root/DEBIAN/md5sums dh_builddeb - dpkg-deb --build debian/sslsplit .. dpkg-deb --root-owner-group --build debian/.debhelper/sslsplit/dbgsym-root .. + dpkg-deb --build debian/sslsplit .. dpkg-deb: building package 'sslsplit-dbgsym' in '../sslsplit-dbgsym_0.5.5-2.1_i386.deb'. dpkg-deb: building package 'sslsplit' in '../sslsplit_0.5.5-2.1_i386.deb'. dpkg-genbuildinfo --build=binary -O../sslsplit_0.5.5-2.1_i386.buildinfo @@ -2636,12 +2672,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/26403/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26403/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/15999 and its subdirectories -I: Current time: Fri Nov 21 19:36:00 -12 2025 -I: pbuilder-time-stamp: 1763796960 +I: removing directory /srv/workspace/pbuilder/26403 and its subdirectories +I: Current time: Sun Oct 20 15:13:57 +14 2024 +I: pbuilder-time-stamp: 1729386837