Diff of the two buildlogs: -- --- b1/build.log 2024-12-02 21:12:10.599815374 +0000 +++ b2/build.log 2024-12-02 21:13:41.439714304 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 2 09:11:06 -12 2024 -I: pbuilder-time-stamp: 1733173866 +I: Current time: Tue Dec 3 11:12:23 +14 2024 +I: pbuilder-time-stamp: 1733173943 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/7587/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26710/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Dec 2 21:12 /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/26710/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26710/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='trixie' - 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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9260de79117a4b9382ae260866cbbcf4' - 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='7587' - PS1='# ' - PS2='> ' + INVOCATION_ID=8ad35aa1bedb4275b501adb3772c3316 + 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=26710 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.PS53gPgS/pbuilderrc_SK06 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PS53gPgS/b1 --logfile b1/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+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.PS53gPgS/pbuilderrc_hBlS --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PS53gPgS/b2 --logfile b2/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-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7587/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/26710/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -183,7 +215,7 @@ Get: 51 http://deb.debian.org/debian trixie/main armhf libssl-dev armhf 3.3.2-2 [2385 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf openssl armhf 3.3.2-2 [1348 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf pkg-config armhf 1.8.1-4 [14.0 kB] -Fetched 24.9 MB in 1s (18.9 MB/s) +Fetched 24.9 MB in 1s (26.1 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 ... 19683 files and directories currently installed.) @@ -416,7 +448,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/26710/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/26710/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 virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 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 virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 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 @@ -492,7 +528,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 log.o log.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 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 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]) | ~~~~^~~~~~~~~~ @@ -500,9 +535,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 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 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 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]); @@ -528,7 +565,8 @@ 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 -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 +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 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); @@ -557,11 +595,7 @@ /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); @@ -595,6 +629,7 @@ /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 pxyconn.c:2212:48: warning: 'ERR_func_error_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2212 | ERR_func_error_string(sslerr)); | ^~~~~~~~~~~~~~~~~~~~~ @@ -613,6 +648,8 @@ /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 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); @@ -691,6 +728,7 @@ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ +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 ssl.c: In function 'ssl_key_genrsa': ssl.c:1370:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1370 | rsa = RSA_new(); @@ -725,8 +763,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 sed -e 's,/usr/local/etc/sslsplit,/etc/sslsplit,' -e 's,@@VERSION@@,0.5.5,' -e 's,@@DATE@@,2022-07-16,' sslsplit.conf @@ -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 virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 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] @@ -918,6 +956,11 @@ base64.t.c:309:30: warning: too many arguments for format [-Wformat-extra-args] 309 | fail_unless(!buf[0], "not empty string"); | ^~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] @@ -977,19 +1020,29 @@ 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 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] @@ -1024,6 +1077,8 @@ cachessess.t.c:128:33: warning: too many arguments for format [-Wformat-extra-args] 128 | fail_unless(s2 == NULL, "cache returned deleted session"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 cachetgcrt.t.c:36: cachetgcrt.t.c: In function 'cache_tgcrt_01_fn': cachetgcrt.t.c:59:27: warning: too many arguments for format [-Wformat-extra-args] @@ -1077,25 +1132,38 @@ 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 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] @@ -1346,6 +1384,8 @@ opts.t.c:219:39: warning: too many arguments for format [-Wformat-extra-args] 219 | fail_unless(!spec->natengine, "natengine is set"); | ^~~~~~~~~~~~~~~~~~ +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 opts.t.c:220:39: warning: too many arguments for format [-Wformat-extra-args] 220 | fail_unless(!spec->natlookup, "natlookup() is set"); | ^~~~~~~~~~~~~~~~~~~~ @@ -1433,8 +1473,6 @@ opts.t.c:311:33: warning: too many arguments for format [-Wformat-extra-args] 311 | fail_unless(spec->http, "not HTTP"); | ^~~~~~~~~~ -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:312:37: warning: too many arguments for format [-Wformat-extra-args] 312 | fail_unless(!spec->upgrade, "Upgrade"); | ^~~~~~~~~ @@ -1725,21 +1763,60 @@ opts.t.c:508:39: warning: too many arguments for format [-Wformat-extra-args] 508 | fail_unless(spec->next->http, "not HTTP"); | ^~~~~~~~~~ +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:509:43: warning: too many arguments for format [-Wformat-extra-args] 509 | fail_unless(!spec->next->upgrade, "Upgrade"); | ^~~~~~~~~ +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:511:21: warning: too many arguments for format [-Wformat-extra-args] 511 | "not IPv4 listen addr"); | ^~~~~~~~~~~~~~~~~~~~~~ +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:512:51: warning: too many arguments for format [-Wformat-extra-args] 512 | fail_unless(!spec->next->connect_addrlen, "connect addr set"); | ^~~~~~~~~~~~~~~~~~ +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:513:44: warning: too many arguments for format [-Wformat-extra-args] 513 | fail_unless(!spec->next->sni_port, "SNI port is 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:514:46: warning: too many arguments for format [-Wformat-extra-args] 514 | fail_unless(!!spec->next->natengine, "natengine is not 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:515:45: warning: too many arguments for format [-Wformat-extra-args] 515 | fail_unless(!spec->next->natlookup, "natlookup() is set"); | ^~~~~~~~~~~~~~~~~~~~ @@ -1759,6 +1836,16 @@ opts.t.c:531:41: warning: too many arguments for format [-Wformat-extra-args] 531 | fail_unless(!!OPTS_DEBUG(opts), "macro 1"); | ^~~~~~~~~ +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: At top level: opts.t.c:487:12: warning: 'proxyspec_parse_18' defined but not used [-Wunused-variable] 487 | START_TEST(proxyspec_parse_18) @@ -1796,220 +1883,6 @@ 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) - | ^~~~~~~~~~~~~~~~~~~~~ -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 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 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 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] @@ -2114,6 +1987,8 @@ ssl.t.c:405:33: warning: too many arguments for format [-Wformat-extra-args] 405 | fail_unless(ch != NULL, "ch is NULL"); | ^~~~~~~~~~~~ +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:406:34: warning: too many arguments for format [-Wformat-extra-args] 406 | fail_unless(sni == NULL, "sni not NULL"); | ^~~~~~~~~~~~~~ @@ -2342,18 +2217,179 @@ 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': +sys.t.c:121:43: warning: too many arguments for format [-Wformat-extra-args] + 121 | fail_unless(!sys_isdir(notexist), "Not-exist isdir"); + | ^~~~~~~~~~~~~~~~~ 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: 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 +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"); + | ^~~~~~~~~~~~~~~~~ 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: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,11 +2460,6 @@ 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/' \ @@ -2438,19 +2469,6 @@ mkdir -p targets openssl genrsa -out targets/daniel.roe.ch.key 2048 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 @@ -2464,7 +2482,25 @@ >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 +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 make[2]: Leaving directory '/build/reproducible-path/sslsplit-0.5.5/extra/pki' ./sslsplit.test defaults: 2 tests omitted because not building as root @@ -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 virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux +uname -a: Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 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/26710/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26710/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/7587 and its subdirectories -I: Current time: Mon Dec 2 09:12:06 -12 2024 -I: pbuilder-time-stamp: 1733173926 +I: removing directory /srv/workspace/pbuilder/26710 and its subdirectories +I: Current time: Tue Dec 3 11:13:36 +14 2024 +I: pbuilder-time-stamp: 1733174016