Diff of the two buildlogs: -- --- b1/build.log 2024-08-07 13:20:26.363749272 +0000 +++ b2/build.log 2024-08-07 13:21:39.704636990 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 7 01:19:10 -12 2024 -I: pbuilder-time-stamp: 1723036750 +I: Current time: Thu Aug 8 03:20:37 +14 2024 +I: pbuilder-time-stamp: 1723036837 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ 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/10456/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23290/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 Aug 7 13:20 /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/23290/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23290/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='7c7995209945441ebbf39e4d2612d269' - 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='10456' - PS1='# ' - PS2='> ' + INVOCATION_ID=403ffc31e94d47928e7b8918f9acc7c7 + 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=23290 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.7bERYGt7/pbuilderrc_hIcT --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.7bERYGt7/b1 --logfile b1/build.log sslsplit_0.5.5-2.1.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.7bERYGt7/pbuilderrc_MSWm --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.7bERYGt7/b2 --logfile b2/build.log sslsplit_0.5.5-2.1.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10456/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23290/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -93,7 +125,7 @@ Depends: debhelper (>= 11), libssl-dev, libevent-dev, check, pkg-config, openssl, libnet1-dev, libpcap-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19465 files and directories currently installed.) +(Reading database ... 19449 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -183,10 +215,10 @@ Get: 51 http://deb.debian.org/debian unstable/main armhf libssl-dev armhf 3.3.1-2 [2384 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.3.1-2 [1347 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf pkg-config armhf 1.8.1-3 [13.9 kB] -Fetched 24.7 MB in 1s (35.1 MB/s) +Fetched 24.7 MB in 0s (52.7 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 ... 19465 files and directories currently installed.) +(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 ... 19449 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. @@ -416,7 +448,11 @@ fakeroot is already the newest version (1.33-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/23290/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/23290/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 @@ -426,7 +462,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -440,7 +476,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux ------------------------------------------------------------------------------ make[1]: Nothing to be done for 'distclean'. make[1]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5' @@ -463,7 +499,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -477,7 +513,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux ------------------------------------------------------------------------------ cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o base64.o base64.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o build.o build.c @@ -493,7 +529,6 @@ cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logbuf.o logbuf.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logger.o logger.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o logpkt.o logpkt.c -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.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]) | ~~~~^~~~~~~~~~ @@ -501,8 +536,11 @@ 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o main.o main.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o nat.o nat.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o opts.o opts.c +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.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]); @@ -541,7 +579,6 @@ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o privsep.o privsep.c opts.c: In function 'opts_set_dh': opts.c:765:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 765 | DH_free(opts->dh); @@ -557,11 +594,8 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proc.o proc.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o proxy.o proxy.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxyconn.o pxyconn.c -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.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); @@ -613,6 +647,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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o pxythrmgr.o pxythrmgr.c +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o ssl.o ssl.c +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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); @@ -725,7 +762,6 @@ /usr/include/openssl/dh.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh); | ^~~~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o sys.o sys.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o thrqueue.o thrqueue.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o url.o url.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o util.o util.c @@ -735,7 +771,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 -j3 test + make -j4 test make[1]: Entering directory '/build/reproducible-path/sslsplit-0.5.5' ------------------------------------------------------------------------------ SSLsplit 0.5.5 @@ -749,7 +785,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux ------------------------------------------------------------------------------ cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 @@ -757,6 +793,8 @@ -x c cachedsess.t.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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] @@ -977,19 +1015,36 @@ cachefkcrt.t.c:89:33: warning: too many arguments for format [-Wformat-extra-args] 89 | fail_unless(c2 == NULL, "cache returned deleted certificate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o defaults.t.o \ + -x c defaults.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] + 46 | "privdrop failed"); + | ^~~~~~~~~~~~~~~~~ +defaults.t.c: In function 'defaults_dropuser_02_fn': +defaults.t.c:58:21: warning: too many arguments for format [-Wformat-extra-args] + 58 | "connect failed for user running tests"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +defaults.t.c:60:21: warning: too many arguments for format [-Wformat-extra-args] + 60 | "privdrop failed"); + | ^~~~~~~~~~~~~~~~~ +defaults.t.c:62:21: warning: too many arguments for format [-Wformat-extra-args] + 62 | "connect failed for default dropuser " DFLT_DROPUSER); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 In file included from cachessess.t.c:38: cachessess.t.c: In function 'cache_ssess_01_fn': cachessess.t.c:84:27: warning: too many arguments for format [-Wformat-extra-args] @@ -1065,37 +1120,50 @@ cachetgcrt.t.c:106:42: warning: too many arguments for format [-Wformat-extra-args] 106 | fail_unless(c1->references == 2, "refcount != 2"); | ^~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~ cachetgcrt.t.c:108:42: warning: too many arguments for format [-Wformat-extra-args] 108 | fail_unless(c1->references == 3, "refcount != 3"); | ^~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~ cachetgcrt.t.c:110:42: warning: too many arguments for format [-Wformat-extra-args] 110 | fail_unless(c1->references == 2, "refcount != 2"); | ^~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~ cachetgcrt.t.c:112:42: warning: too many arguments for format [-Wformat-extra-args] 112 | fail_unless(c1->references == 1, "refcount != 1"); | ^~~~~~~~~~~~~~~ +cert.t.c:63:41: warning: too many arguments for format [-Wformat-extra-args] + 63 | fail_unless(c->references == 1, "refcount mismatch"); + | ^~~~~~~~~~~~~~~~~~~ cachetgcrt.t.c:118:47: warning: too many arguments for format [-Wformat-extra-args] 118 | fail_unless(cachemgr_preinit() != -1, "reinit"); | ^~~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o defaults.t.o \ - -x c defaults.t.c -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -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] - 46 | "privdrop failed"); - | ^~~~~~~~~~~~~~~~~ -defaults.t.c: In function 'defaults_dropuser_02_fn': -defaults.t.c:58:21: warning: too many arguments for format [-Wformat-extra-args] - 58 | "connect failed for user running tests"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -defaults.t.c:60:21: warning: too many arguments for format [-Wformat-extra-args] - 60 | "privdrop failed"); - | ^~~~~~~~~~~~~~~~~ -defaults.t.c:62:21: warning: too many arguments for format [-Wformat-extra-args] - 62 | "connect failed for default dropuser " DFLT_DROPUSER); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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] @@ -1155,38 +1223,6 @@ dynbuf.t.c:109:21: warning: too many arguments for format [-Wformat-extra-args] 109 | "cannot find end of cert"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -pthread -o opts.t.o \ @@ -1207,6 +1243,8 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 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] @@ -1218,6 +1256,8 @@ 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 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] @@ -1461,8 +1501,6 @@ 321 | fail_unless(!spec->next, "next is set"); | ^~~~~~~~~~~~~ opts.t.c: In function 'proxyspec_parse_13_fn': -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 opts.t.c:349:29: warning: too many arguments for format [-Wformat-extra-args] 349 | fail_unless(!!spec, "failed to parse spec"); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1563,21 +1601,60 @@ opts.t.c:397:38: warning: too many arguments for format [-Wformat-extra-args] 397 | fail_unless(spec->next->ssl, "not SSL"); | ^~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~ opts.t.c:398:39: warning: too many arguments for format [-Wformat-extra-args] 398 | fail_unless(spec->next->http, "not HTTP"); | ^~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~ opts.t.c:399:43: warning: too many arguments for format [-Wformat-extra-args] 399 | fail_unless(!spec->next->upgrade, "Upgrade"); | ^~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opts.t.c:401:21: warning: too many arguments for format [-Wformat-extra-args] 401 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~ opts.t.c:402:51: warning: too many arguments for format [-Wformat-extra-args] 402 | fail_unless(!spec->next->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~ opts.t.c:403:44: warning: too many arguments for format [-Wformat-extra-args] 403 | fail_unless(!spec->next->sni_port, "SNI port is set"); | ^~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~ opts.t.c:404:46: warning: too many arguments for format [-Wformat-extra-args] 404 | fail_unless(!!spec->next->natengine, "natengine not set"); | ^~~~~~~~~~~~~~~~~~~ @@ -1606,6 +1683,16 @@ opts.t.c:426:21: warning: too many arguments for format [-Wformat-extra-args] 426 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~~~~~~~~~~~~~~~~~~~~ opts.t.c:427:45: warning: too many arguments for format [-Wformat-extra-args] 427 | fail_unless(!spec->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ @@ -1716,60 +1803,21 @@ opts.t.c:505:39: warning: too many arguments for format [-Wformat-extra-args] 505 | fail_unless(!spec->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ -In file included from pxythrmgr.t.c:33: -pxythrmgr.t.c: In function 'pxythrmgr_libevent_01_fn': opts.t.c:506:35: warning: too many arguments for format [-Wformat-extra-args] 506 | fail_unless(!!spec->next, "next is not set"); | ^~~~~~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~ opts.t.c:507:38: warning: too many arguments for format [-Wformat-extra-args] 507 | fail_unless(spec->next->ssl, "not SSL"); | ^~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~ opts.t.c:508:39: warning: too many arguments for format [-Wformat-extra-args] 508 | fail_unless(spec->next->http, "not HTTP"); | ^~~~~~~~~~ -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': opts.t.c:509:43: warning: too many arguments for format [-Wformat-extra-args] 509 | fail_unless(!spec->next->upgrade, "Upgrade"); | ^~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~~~ opts.t.c:511:21: warning: too many arguments for format [-Wformat-extra-args] 511 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~ opts.t.c:512:51: warning: too many arguments for format [-Wformat-extra-args] 512 | fail_unless(!spec->next->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ @@ -1785,240 +1833,19 @@ opts.t.c:516:45: warning: too many arguments for format [-Wformat-extra-args] 516 | fail_unless(!spec->next->natsocket, "natsocket() is set"); | ^~~~~~~~~~~~~~~~~~~~ -opts.t.c: In function 'opts_debug_01_fn': -opts.t.c:527:35: warning: too many arguments for format [-Wformat-extra-args] - 527 | fail_unless(!opts->debug, "plain 0"); - | ^~~~~~~~~ -opts.t.c:528:40: warning: too many arguments for format [-Wformat-extra-args] - 528 | fail_unless(!OPTS_DEBUG(opts), "macro 0"); - | ^~~~~~~~~ -pxythrmgr.t.c: At top level: -opts.t.c:530:36: warning: too many arguments for format [-Wformat-extra-args] - 530 | fail_unless(!!opts->debug, "plain 1"); - | ^~~~~~~~~ -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) - | ^~~~~~~~~~~~~~~~~~~~~ -opts.t.c:531:41: warning: too many arguments for format [-Wformat-extra-args] - 531 | fail_unless(!!OPTS_DEBUG(opts), "macro 1"); - | ^~~~~~~~~ -opts.t.c: At top level: -opts.t.c:487:12: warning: 'proxyspec_parse_18' defined but not used [-Wunused-variable] - 487 | START_TEST(proxyspec_parse_18) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:437:12: warning: 'proxyspec_parse_16' defined but not used [-Wunused-variable] - 437 | START_TEST(proxyspec_parse_16) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:414:12: warning: 'proxyspec_parse_15' defined but not used [-Wunused-variable] - 414 | START_TEST(proxyspec_parse_15) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:377:12: warning: 'proxyspec_parse_14' defined but not used [-Wunused-variable] - 377 | START_TEST(proxyspec_parse_14) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:342:12: warning: 'proxyspec_parse_13' defined but not used [-Wunused-variable] - 342 | START_TEST(proxyspec_parse_13) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:302:12: warning: 'proxyspec_parse_11' defined but not used [-Wunused-variable] - 302 | START_TEST(proxyspec_parse_11) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:251:12: warning: 'proxyspec_parse_08' defined but not used [-Wunused-variable] - 251 | START_TEST(proxyspec_parse_08) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:227:12: warning: 'proxyspec_parse_07' defined but not used [-Wunused-variable] - 227 | START_TEST(proxyspec_parse_07) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:203:12: warning: 'proxyspec_parse_06' defined but not used [-Wunused-variable] - 203 | START_TEST(proxyspec_parse_06) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:179:12: warning: 'proxyspec_parse_05' defined but not used [-Wunused-variable] - 179 | START_TEST(proxyspec_parse_05) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:124:12: warning: 'proxyspec_parse_02' defined but not used [-Wunused-variable] - 124 | START_TEST(proxyspec_parse_02) - | ^~~~~~~~~~~~~~~~~~ -opts.t.c:99:12: warning: 'proxyspec_parse_01' defined but not used [-Wunused-variable] - 99 | START_TEST(proxyspec_parse_01) - | ^~~~~~~~~~~~~~~~~~ -cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 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"); - | ^~~~~~~~~~~~~~~~~~ -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': -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"); - | ^~~~~~~~~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~ -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 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] 85 | fail_unless(!strcmp(wc, wildcard1), "mismatch for 'www.example.org'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +opts.t.c: In function 'opts_debug_01_fn': ssl.t.c: In function 'ssl_wildcardify_02_fn': ssl.t.c:93:45: warning: too many arguments for format [-Wformat-extra-args] 93 | fail_unless(!strcmp(wc, wildcard5), "mismatch for 'ch'"); | ^~~~~~~~~~~~~~~~~~~ +opts.t.c:527:35: warning: too many arguments for format [-Wformat-extra-args] + 527 | fail_unless(!opts->debug, "plain 0"); + | ^~~~~~~~~ ssl.t.c: In function 'ssl_wildcardify_03_fn': ssl.t.c:101:45: warning: too many arguments for format [-Wformat-extra-args] 101 | fail_unless(!strcmp(wc, wildcard5), "mismatch for ''"); @@ -2031,6 +1858,9 @@ ssl.t.c:120:17: warning: too many arguments for format [-Wformat-extra-args] 120 | "Hostname matches hostname with different TLD"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +opts.t.c:528:40: warning: too many arguments for format [-Wformat-extra-args] + 528 | fail_unless(!OPTS_DEBUG(opts), "macro 0"); + | ^~~~~~~~~ ssl.t.c: In function 'ssl_dnsname_match_03_fn': ssl.t.c:129:17: warning: too many arguments for format [-Wformat-extra-args] 129 | "Regular wildcard does not match"); @@ -2039,6 +1869,9 @@ ssl.t.c:138:17: warning: too many arguments for format [-Wformat-extra-args] 138 | "Regular wildcard matches other TLD"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +opts.t.c:530:36: warning: too many arguments for format [-Wformat-extra-args] + 530 | fail_unless(!!opts->debug, "plain 1"); + | ^~~~~~~~~ ssl.t.c: In function 'ssl_dnsname_match_05_fn': ssl.t.c:147:17: warning: too many arguments for format [-Wformat-extra-args] 147 | "Regular wildcard matches upper level domain"); @@ -2047,6 +1880,9 @@ ssl.t.c:156:17: warning: too many arguments for format [-Wformat-extra-args] 156 | "Regular wildcard matches despite added suffix"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +opts.t.c:531:41: warning: too many arguments for format [-Wformat-extra-args] + 531 | fail_unless(!!OPTS_DEBUG(opts), "macro 1"); + | ^~~~~~~~~ ssl.t.c: In function 'ssl_dnsname_match_07_fn': ssl.t.c:165:17: warning: too many arguments for format [-Wformat-extra-args] 165 | "Regular wildcard matches two elements"); @@ -2101,33 +1937,70 @@ ssl.t.c:389:30: warning: too many arguments for format [-Wformat-extra-args] 389 | fail_unless(rv == 0, "rv not 0"); | ^~~~~~~~~~ +opts.t.c: At top level: ssl.t.c:390:33: warning: too many arguments for format [-Wformat-extra-args] 390 | fail_unless(ch != NULL, "ch is NULL"); | ^~~~~~~~~~~~ ssl.t.c:391:34: warning: too many arguments for format [-Wformat-extra-args] 391 | fail_unless(sni == NULL, "sni not NULL"); | ^~~~~~~~~~~~~~ +opts.t.c:487:12: warning: 'proxyspec_parse_18' defined but not used [-Wunused-variable] + 487 | START_TEST(proxyspec_parse_18) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c: In function 'ssl_tls_clienthello_parse_02_fn': +opts.t.c:437:12: warning: 'proxyspec_parse_16' defined but not used [-Wunused-variable] + 437 | START_TEST(proxyspec_parse_16) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:404:30: warning: too many arguments for format [-Wformat-extra-args] 404 | fail_unless(rv == 0, "rv not 0"); | ^~~~~~~~~~ +opts.t.c:414:12: warning: 'proxyspec_parse_15' defined but not used [-Wunused-variable] + 414 | START_TEST(proxyspec_parse_15) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:405:33: warning: too many arguments for format [-Wformat-extra-args] 405 | fail_unless(ch != NULL, "ch is NULL"); | ^~~~~~~~~~~~ +opts.t.c:377:12: warning: 'proxyspec_parse_14' defined but not used [-Wunused-variable] + 377 | START_TEST(proxyspec_parse_14) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:406:34: warning: too many arguments for format [-Wformat-extra-args] 406 | fail_unless(sni == NULL, "sni not NULL"); | ^~~~~~~~~~~~~~ +opts.t.c:342:12: warning: 'proxyspec_parse_13' defined but not used [-Wunused-variable] + 342 | START_TEST(proxyspec_parse_13) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c: In function 'ssl_tls_clienthello_parse_03_fn': +opts.t.c:302:12: warning: 'proxyspec_parse_11' defined but not used [-Wunused-variable] + 302 | START_TEST(proxyspec_parse_11) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:419:30: warning: too many arguments for format [-Wformat-extra-args] 419 | fail_unless(rv == 0, "rv not 0"); | ^~~~~~~~~~ +opts.t.c:251:12: warning: 'proxyspec_parse_08' defined but not used [-Wunused-variable] + 251 | START_TEST(proxyspec_parse_08) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:420:33: warning: too many arguments for format [-Wformat-extra-args] 420 | fail_unless(ch != NULL, "ch is NULL"); | ^~~~~~~~~~~~ +opts.t.c:227:12: warning: 'proxyspec_parse_07' defined but not used [-Wunused-variable] + 227 | START_TEST(proxyspec_parse_07) + | ^~~~~~~~~~~~~~~~~~ +opts.t.c:203:12: warning: 'proxyspec_parse_06' defined but not used [-Wunused-variable] + 203 | START_TEST(proxyspec_parse_06) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:422:21: warning: too many arguments for format [-Wformat-extra-args] 422 | "sni not '192.168.100.4' but should be"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +opts.t.c:179:12: warning: 'proxyspec_parse_05' defined but not used [-Wunused-variable] + 179 | START_TEST(proxyspec_parse_05) + | ^~~~~~~~~~~~~~~~~~ +opts.t.c:124:12: warning: 'proxyspec_parse_02' defined but not used [-Wunused-variable] + 124 | START_TEST(proxyspec_parse_02) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c: In function 'ssl_tls_clienthello_parse_04_fn': +opts.t.c:99:12: warning: 'proxyspec_parse_01' defined but not used [-Wunused-variable] + 99 | START_TEST(proxyspec_parse_01) + | ^~~~~~~~~~~~~~~~~~ ssl.t.c:435:30: warning: too many arguments for format [-Wformat-extra-args] 435 | fail_unless(rv == 0, "rv not 0"); | ^~~~~~~~~~ @@ -2270,6 +2143,8 @@ ssl.t.c:615:30: warning: too many arguments for format [-Wformat-extra-args] 615 | fail_unless(!!names, "no string"); | ^~~~~~~~~~~ +cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 ssl.t.c:616:57: warning: too many arguments for format [-Wformat-extra-args] 616 | fail_unless(!strcmp(names, "SSLsplit Root CA"), "wrong name string"); | ^~~~~~~~~~~~~~~~~~~ @@ -2352,8 +2227,169 @@ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~ +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': +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"); + | ^~~~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~ +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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 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 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] @@ -2424,33 +2460,15 @@ make[2]: Entering directory '/build/reproducible-path/sslsplit-0.5.5/extra/pki' openssl genrsa -out rsa.key 2048 openssl genrsa -out server.key 2048 -openssl req -new -nodes -x509 -sha256 -out server.crt -key server.key \ - -config x509v3ca.cnf -extensions v3_crt \ - -subj '/C=CH/O=SSLsplit Test Certificate/CN=daniel.roe.ch/' \ - -set_serial 42 -days 365 -cat server.crt server.key >server.pem openssl req -new -nodes -x509 -sha256 -out rsa.crt -key rsa.key \ -config x509v3ca.cnf -extensions v3_ca \ -subj '/C=CH/O=SSLsplit Root CA/CN=SSLsplit Root CA/' \ -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=*.roe.ch/' \ - -key targets/wildcard.roe.ch.key \ - -out targets/wildcard.roe.ch.csr -openssl x509 -req -sha256 -CAcreateserial -days 365 \ - -CA rsa.crt -CAkey rsa.key \ - -in targets/wildcard.roe.ch.csr \ - -out targets/wildcard.roe.ch.crt -Certificate request self-signature ok -subject=C=CH, CN=*.roe.ch -cat targets/wildcard.roe.ch.crt targets/wildcard.roe.ch.key rsa.crt \ - >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 @@ -2464,6 +2482,24 @@ >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 -nodes -x509 -sha256 -out server.crt -key server.key \ + -config x509v3ca.cnf -extensions v3_crt \ + -subj '/C=CH/O=SSLsplit Test Certificate/CN=daniel.roe.ch/' \ + -set_serial 42 -days 365 +cat server.crt server.key >server.pem +openssl req -new -sha256 -subj '/C=CH/CN=*.roe.ch/' \ + -key targets/wildcard.roe.ch.key \ + -out targets/wildcard.roe.ch.csr +openssl x509 -req -sha256 -CAcreateserial -days 365 \ + -CA rsa.crt -CAkey rsa.key \ + -in targets/wildcard.roe.ch.csr \ + -out targets/wildcard.roe.ch.crt +Certificate request self-signature ok +subject=C=CH, CN=*.roe.ch +cat targets/wildcard.roe.ch.crt targets/wildcard.roe.ch.key rsa.crt \ + >targets/wildcard.roe.ch.pem +rm -f targets/wildcard.roe.ch.key targets/wildcard.roe.ch.csr \ + targets/wildcard.roe.ch.crt rm -f rsa.srl make[2]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5/extra/pki' ./sslsplit.test @@ -2499,7 +2535,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 -j3 install DESTDIR=/build/reproducible-path/sslsplit-0.5.5/debian/sslsplit AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" PREFIX=/usr + make -j4 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 @@ -2513,7 +2549,7 @@ LIBNET_BASE: /usr Build options: -DHAVE_NETFILTER Build info: V:FILE HDIFF:3 N:83c4edf -uname -a: Linux virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux ------------------------------------------------------------------------------ cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -isystem/usr/include -isystem/usr/include/dbus-1.0 -isystem/usr/lib/arm-linux-gnueabihf/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 -fstack-clash-protection -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 @@ -2638,12 +2674,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/23290/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23290/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/10456 and its subdirectories -I: Current time: Wed Aug 7 01:20:21 -12 2024 -I: pbuilder-time-stamp: 1723036821 +I: removing directory /srv/workspace/pbuilder/23290 and its subdirectories +I: Current time: Thu Aug 8 03:21:35 +14 2024 +I: pbuilder-time-stamp: 1723036895