Diff of the two buildlogs: -- --- b1/build.log 2024-04-24 05:47:08.318759872 +0000 +++ b2/build.log 2024-04-24 05:47:59.628571868 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 23 17:46:01 -12 2024 -I: pbuilder-time-stamp: 1713937561 +I: Current time: Wed May 28 02:10:10 +14 2025 +I: pbuilder-time-stamp: 1748347810 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: unpacking gvpe_3.1-2.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/58783/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/66056/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 27 12:10 /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/66056/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/66056/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='527d6b906920408eac124e6f2a10f27e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='58783' - PS1='# ' - PS2='> ' + INVOCATION_ID=c4fc5debfd6345a79e1ccc31a5e4ec2e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=66056 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.XZUPvKyV/pbuilderrc_deC3 --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.XZUPvKyV/b1 --logfile b1/build.log gvpe_3.1-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.XZUPvKyV/pbuilderrc_iI8z --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.XZUPvKyV/b2 --logfile b2/build.log gvpe_3.1-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/58783/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/66056/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 43 http://deb.debian.org/debian trixie/main i386 texinfo-lib i386 7.1-3 [231 kB] Get: 44 http://deb.debian.org/debian trixie/main i386 texinfo all 7.1-3 [1748 kB] Get: 45 http://deb.debian.org/debian trixie/main i386 zlib1g-dev i386 1:1.3.dfsg-3+b1 [915 kB] -Fetched 25.4 MB in 0s (61.5 MB/s) +Fetched 25.4 MB in 0s (81.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19876 files and directories currently installed.) @@ -372,7 +404,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/gvpe-3.1/ && 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 > ../gvpe_3.1-2_source.changes +I: user script /srv/workspace/pbuilder/66056/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/66056/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gvpe-3.1/ && 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 > ../gvpe_3.1-2_source.changes dpkg-buildpackage: info: source package gvpe dpkg-buildpackage: info: source version 3.1-2 dpkg-buildpackage: info: source distribution unstable @@ -619,7 +655,7 @@ *** dh_auto_build - make -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/gvpe-3.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/gvpe-3.1' @@ -655,12 +691,10 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vpn_dns.o vpn_dns.C g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sockinfo.o sockinfo.C g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o curve25519.o curve25519.C -gvpectrl.C:387:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); - | ^~~~~~~~ -gvpectrl.C:387:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); - | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o iv_gen.o iv_gen.C +g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf.o hkdf.C +g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o connection.o connection.C +g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o device.o device.C slog.C: In function 'void slog_(loglevel, const char*, ...)': slog.C:99:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | write (2, msg, strlen (msg)); @@ -668,18 +702,6 @@ slog.C:100:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | write (2, "\n", 1); | ~~~~~~^~~~~~~~~~~~ -util.C:145:86: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | slog (L_INFO, _("gvpe daemon %s (%s %s) starting up."), VERSION, __DATE__, __TIME__); - | ^ -util.C:145:68: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 145 | slog (L_INFO, _("gvpe daemon %s (%s %s) starting up."), VERSION, __DATE__, __TIME__); - | ^~~~~~~~ -gvpe.C:291:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 291 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); - | ^~~~~~~~ -gvpe.C:291:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 291 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); - | ^~~~~~~~ In file included from crypto.h:35, from crypto.C:34: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': @@ -759,80 +781,12 @@ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o iv_gen.o iv_gen.C -g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf.o hkdf.C -g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o connection.o connection.C -gvpectrl.C: In function 'int keygen(const char*, const char*)': -gvpectrl.C:281:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 281 | RSA *rsa = RSA_new (); - | ~~~~~~~~^~ -In file included from gvpectrl.C:51: -/usr/include/openssl/rsa.h:207:28: note: declared here - 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -In file included from conf.h:41, - from gvpectrl.C:57: -gvpectrl.C:297:32: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 297 | require (RSA_generate_key_ex (rsa, RSABITS, e, 0)); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -In file included from ev_cpp.C:2: -../libev/ev.c:1837:25: warning: 'ev_rt_now' initialized and declared 'extern' - 1837 | EV_API_DECL ev_tstamp ev_rt_now = 0; /* needs to be initialised to make it a definition despite extern */ - | ^~~~~~~~~ -/usr/include/openssl/rsa.h:266:27: note: declared here - 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, - | ^~~~~~~~~~~~~~~~~~~ -gvpectrl.C:300:35: warning: 'int PEM_write_RSAPublicKey(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 300 | require (PEM_write_RSAPublicKey (pubf, rsa)); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -In file included from gvpectrl.C:52: -/usr/include/openssl/pem.h:451:1: note: declared here - 451 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) - | ^~~~~~~~~~~~~~~~~~~ -gvpectrl.C:301:36: warning: 'int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 301 | require (PEM_write_RSAPrivateKey (privf, rsa, NULL, NULL, 0, NULL, NULL)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -/usr/include/openssl/pem.h:450:1: note: declared here - 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) - | ^~~~~~~~~~~~~~~~~~~~~~ -gvpectrl.C:307:12: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 307 | RSA_free (rsa); - | ~~~~~~~~~^~~~~ -/usr/include/openssl/rsa.h:299:28: note: declared here - 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -gvpectrl.C: In function 'int keygen_one(const char*)': -gvpectrl.C:352:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 352 | asprintf (&privname, "%s.privkey", pubname); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gvpectrl.C: In function 'int keygen_all()': -gvpectrl.C:317:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 317 | asprintf (&fname, "%s/pubkey", confbase); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libev/ev.c: In function 'void evpipe_write(volatile sig_atomic_t*)': -../libev/ev.c:2472:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2472 | write (evpipe [1], &counter, sizeof (uint64_t)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libev/ev.c:2484:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2484 | write (evpipe [1], &(evpipe [1]), 1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o device.o device.C -../libev/ev.c: In function 'void pipecb(ev_io*, int)': -../libev/ev.c:2505:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2505 | read (evpipe [1], &counter, sizeof (uint64_t)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../libev/ev.c:2519:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2519 | read (evpipe [0], &dummy, sizeof (dummy)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.C:145:86: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | slog (L_INFO, _("gvpe daemon %s (%s %s) starting up."), VERSION, __DATE__, __TIME__); + | ^ +util.C:145:68: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 145 | slog (L_INFO, _("gvpe daemon %s (%s %s) starting up."), VERSION, __DATE__, __TIME__); + | ^~~~~~~~ In file included from crypto.h:35, from hkdf.C:40: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': @@ -895,157 +849,36 @@ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ -vpn.C: In member function 'void vpn::script_init_env()': -vpn.C:113:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 113 | asprintf (&env, "CONFBASE=%s", confbase); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vpn.C:114:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | asprintf (&env, "IFNAME=%s", tap->interface ()); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vpn.C:115:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 115 | asprintf (&env, "IFTYPE=%s", IFTYPE); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -vpn.C:116:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 116 | asprintf (&env, "IFSUBTYPE=%s", IFSUBTYPE); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vpn.C:117:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 117 | asprintf (&env, "MTU=%d", mtu); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -vpn.C:118:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | asprintf (&env, "NODES=%d", conns.size ()); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vpn.C:119:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | asprintf (&env, "NODEID=%d", THISNODE->id); putenv (env); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from conf.h:41, - from gvpe.C:60: -crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': -crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:60:5: note: in expansion of macro 'require101' - 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); - | ^~~~~~~~~~ -In file included from connection.h:35, - from vpn.h:38, - from gvpe.C:63: -/usr/include/openssl/hmac.h:43:27: note: declared here - 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, - | ^~~~~~~~~~~~ -crypto.h: In member function 'void hmac::init()': -crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:65:5: note: in expansion of macro 'require101' - 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:43:27: note: declared here - 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, - | ^~~~~~~~~~~~ -crypto.h: In member function 'void hmac::add(const void*, int)': -crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:71:5: note: in expansion of macro 'require101' - 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:45:27: note: declared here - 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, - | ^~~~~~~~~~~ -crypto.h: In member function 'void hmac::digest(void*)': -crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:77:5: note: in expansion of macro 'require101' - 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:47:27: note: declared here - 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, - | ^~~~~~~~~~ -In file included from hkdf.h:37, - from gvpe.C:65: -crypto.h: In member function 'int hmac::size()': -crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 83 | return HMAC_size (ctx); - | ~~~~~~~~~~^~~~~ -/usr/include/openssl/hmac.h:32:30: note: declared here - 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); - | ^~~~~~~~~ -In file included from conf.h:41, - from connection.C:44: -crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': -crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:60:5: note: in expansion of macro 'require101' - 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); - | ^~~~~~~~~~ -In file included from crypto.h:38, - from connection.C:46: -/usr/include/openssl/hmac.h:43:27: note: declared here - 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, - | ^~~~~~~~~~~~ -crypto.h: In member function 'void hmac::init()': -crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:65:5: note: in expansion of macro 'require101' - 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:43:27: note: declared here - 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, - | ^~~~~~~~~~~~ -crypto.h: In member function 'void hmac::add(const void*, int)': -crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:71:5: note: in expansion of macro 'require101' - 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:45:27: note: declared here - 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, - | ^~~~~~~~~~~ -crypto.h: In member function 'void hmac::digest(void*)': -crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -crypto.h:77:5: note: in expansion of macro 'require101' - 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); - | ^~~~~~~~~~ -/usr/include/openssl/hmac.h:47:27: note: declared here - 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, - | ^~~~~~~~~~ -crypto.h: In member function 'int hmac::size()': -crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 83 | return HMAC_size (ctx); - | ~~~~~~~~~~^~~~~ -/usr/include/openssl/hmac.h:32:30: note: declared here - 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); - | ^~~~~~~~~ +gvpe.C:291:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 291 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); + | ^~~~~~~~ +gvpe.C:291:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 291 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); + | ^~~~~~~~ +gvpectrl.C:387:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); + | ^~~~~~~~ +gvpectrl.C:387:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); + | ^~~~~~~~ +In file included from ev_cpp.C:2: +../libev/ev.c:1837:25: warning: 'ev_rt_now' initialized and declared 'extern' + 1837 | EV_API_DECL ev_tstamp ev_rt_now = 0; /* needs to be initialised to make it a definition despite extern */ + | ^~~~~~~~~ +../libev/ev.c: In function 'void evpipe_write(volatile sig_atomic_t*)': +../libev/ev.c:2472:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2472 | write (evpipe [1], &counter, sizeof (uint64_t)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libev/ev.c:2484:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2484 | write (evpipe [1], &(evpipe [1]), 1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libev/ev.c: In function 'void pipecb(ev_io*, int)': +../libev/ev.c:2505:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2505 | read (evpipe [1], &counter, sizeof (uint64_t)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../libev/ev.c:2519:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2519 | read (evpipe [0], &dummy, sizeof (dummy)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In member function 'void configuration::cleanup()': conf.C:175:14: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 175 | RSA_free (rsa_key); @@ -1178,6 +1011,153 @@ conf.C:769:47: warning: '0' flag used with '%s' gnu_printf format [-Wformat=] 769 | printf ("%4s %-17s %s %-8.8s %-10.10s %04s %s\n", | ^ +conf.C: In constructor 'configuration_parser::configuration_parser(configuration&, bool, int, char**)': +conf.C:568:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 568 | asprintf (&fname, "%s/gvpe.conf", confbase); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +conf.C:609:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 609 | asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +conf.C: In member function 'char* configuration::config_filename(const char*, const char*)': +conf.C:723:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 723 | asprintf (&fname, name ? name : dflt, ::thisnode ? ::thisnode : ""); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +conf.C:728:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 728 | asprintf (&fname, "%s/%s", confbase, rname); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +conf.C: In constructor 'configuration::configuration()': +conf.C:780:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 780 | asprintf (&confbase, "%s/gvpe", CONFDIR); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from conf.h:41, + from connection.C:44: +crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': +crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:60:5: note: in expansion of macro 'require101' + 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); + | ^~~~~~~~~~ +In file included from crypto.h:38, + from connection.C:46: +/usr/include/openssl/hmac.h:43:27: note: declared here + 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, + | ^~~~~~~~~~~~ +crypto.h: In member function 'void hmac::init()': +crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:65:5: note: in expansion of macro 'require101' + 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:43:27: note: declared here + 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, + | ^~~~~~~~~~~~ +crypto.h: In member function 'void hmac::add(const void*, int)': +crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:71:5: note: in expansion of macro 'require101' + 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:45:27: note: declared here + 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, + | ^~~~~~~~~~~ +crypto.h: In member function 'void hmac::digest(void*)': +crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:77:5: note: in expansion of macro 'require101' + 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:47:27: note: declared here + 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, + | ^~~~~~~~~~ +crypto.h: In member function 'int hmac::size()': +crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 83 | return HMAC_size (ctx); + | ~~~~~~~~~~^~~~~ +/usr/include/openssl/hmac.h:32:30: note: declared here + 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); + | ^~~~~~~~~ +In file included from conf.h:41, + from gvpe.C:60: +crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': +crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:60:5: note: in expansion of macro 'require101' + 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); + | ^~~~~~~~~~ +In file included from connection.h:35, + from vpn.h:38, + from gvpe.C:63: +/usr/include/openssl/hmac.h:43:27: note: declared here + 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, + | ^~~~~~~~~~~~ +crypto.h: In member function 'void hmac::init()': +crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:65:5: note: in expansion of macro 'require101' + 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:43:27: note: declared here + 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, + | ^~~~~~~~~~~~ +crypto.h: In member function 'void hmac::add(const void*, int)': +crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:71:5: note: in expansion of macro 'require101' + 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:45:27: note: declared here + 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, + | ^~~~~~~~~~~ +crypto.h: In member function 'void hmac::digest(void*)': +crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +crypto.h:77:5: note: in expansion of macro 'require101' + 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); + | ^~~~~~~~~~ +/usr/include/openssl/hmac.h:47:27: note: declared here + 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, + | ^~~~~~~~~~ +In file included from hkdf.h:37, + from gvpe.C:65: +crypto.h: In member function 'int hmac::size()': +crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 83 | return HMAC_size (ctx); + | ~~~~~~~~~~^~~~~ +/usr/include/openssl/hmac.h:32:30: note: declared here + 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); + | ^~~~~~~~~ connection.C: In function 'void auth_encrypt(RSA*, const auth_data&, auth_encr&)': connection.C:157:26: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | if (RSA_public_encrypt (sizeof (auth.rsa), @@ -1201,24 +1181,28 @@ /usr/include/openssl/rsa.h:297:5: note: declared here 297 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ -conf.C: In constructor 'configuration_parser::configuration_parser(configuration&, bool, int, char**)': -conf.C:568:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 568 | asprintf (&fname, "%s/gvpe.conf", confbase); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -conf.C:609:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 609 | asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -conf.C: In member function 'char* configuration::config_filename(const char*, const char*)': -conf.C:723:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 723 | asprintf (&fname, name ? name : dflt, ::thisnode ? ::thisnode : ""); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -conf.C:728:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 728 | asprintf (&fname, "%s/%s", confbase, rname); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -conf.C: In constructor 'configuration::configuration()': -conf.C:780:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 780 | asprintf (&confbase, "%s/gvpe", CONFDIR); +vpn.C: In member function 'void vpn::script_init_env()': +vpn.C:113:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 113 | asprintf (&env, "CONFBASE=%s", confbase); putenv (env); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vpn.C:114:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | asprintf (&env, "IFNAME=%s", tap->interface ()); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vpn.C:115:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 115 | asprintf (&env, "IFTYPE=%s", IFTYPE); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +vpn.C:116:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 116 | asprintf (&env, "IFSUBTYPE=%s", IFSUBTYPE); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vpn.C:117:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 117 | asprintf (&env, "MTU=%d", mtu); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +vpn.C:118:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | asprintf (&env, "NODES=%d", conns.size ()); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vpn.C:119:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | asprintf (&env, "NODEID=%d", THISNODE->id); putenv (env); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.C: In member function 'const char* connection::script_node_up()': connection.C:1394:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1394 | asprintf (&filename, @@ -1229,6 +1213,50 @@ | ~~~~~~~~~ 1397 | ::conf.script_node_up ? ::conf.script_node_up : "node-up"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gvpectrl.C: In function 'int keygen(const char*, const char*)': +gvpectrl.C:281:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 281 | RSA *rsa = RSA_new (); + | ~~~~~~~~^~ +In file included from gvpectrl.C:51: +/usr/include/openssl/rsa.h:207:28: note: declared here + 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +In file included from conf.h:41, + from gvpectrl.C:57: +gvpectrl.C:297:32: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 297 | require (RSA_generate_key_ex (rsa, RSABITS, e, 0)); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +/usr/include/openssl/rsa.h:266:27: note: declared here + 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +gvpectrl.C:300:35: warning: 'int PEM_write_RSAPublicKey(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 300 | require (PEM_write_RSAPublicKey (pubf, rsa)); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +In file included from gvpectrl.C:52: +/usr/include/openssl/pem.h:451:1: note: declared here + 451 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) + | ^~~~~~~~~~~~~~~~~~~ +gvpectrl.C:301:36: warning: 'int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 301 | require (PEM_write_RSAPrivateKey (privf, rsa, NULL, NULL, 0, NULL, NULL)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +/usr/include/openssl/pem.h:450:1: note: declared here + 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) + | ^~~~~~~~~~~~~~~~~~~~~~ +gvpectrl.C:307:12: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 307 | RSA_free (rsa); + | ~~~~~~~~~^~~~~ +/usr/include/openssl/rsa.h:299:28: note: declared here + 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ connection.C: In member function 'const char* connection::script_node_down()': connection.C:1426:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1426 | asprintf (&filename, @@ -1279,6 +1307,14 @@ connection.C:1383:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1383 | asprintf (&env, "DESTPORT=%d", ntohs (si.port)); putenv (env); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gvpectrl.C: In function 'int keygen_one(const char*)': +gvpectrl.C:352:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 352 | asprintf (&privname, "%s.privkey", pubname); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gvpectrl.C: In function 'int keygen_all()': +gvpectrl.C:317:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 317 | asprintf (&fname, "%s/pubkey", confbase); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gvpectrl gvpectrl.o conf.o util.o slog.o ev_cpp.o crypto.o ../lib/libgvpe.a -lm -lpthread -lcrypto g++ -DPKGLIBDIR=/usr/lib/i386-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/reproducible-path/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gvpe gvpe.o vpn.o vpn_tcp.o vpn_dns.o sockinfo.o curve25519.o iv_gen.o hkdf.o connection.o device.o conf.o util.o slog.o ev_cpp.o crypto.o ../lib/libgvpe.a -lm -lpthread -lcrypto /usr/bin/ld: vpn.o: in function `vpn::drop_privileges()': @@ -1297,7 +1333,7 @@ make[2]: Leaving directory '/build/reproducible-path/gvpe-3.1' make[1]: Leaving directory '/build/reproducible-path/gvpe-3.1' dh_auto_test - make -j11 check "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 check "TESTSUITEFLAGS=-j21 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/gvpe-3.1' Making check in m4 make[2]: Entering directory '/build/reproducible-path/gvpe-3.1/m4' @@ -1329,7 +1365,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/gvpe/ - make -j11 install DESTDIR=/build/reproducible-path/gvpe-3.1/debian/gvpe AM_UPDATE_INFO_DIR=no + make -j21 install DESTDIR=/build/reproducible-path/gvpe-3.1/debian/gvpe AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/gvpe-3.1' Making install in m4 make[2]: Entering directory '/build/reproducible-path/gvpe-3.1/m4' @@ -1363,10 +1399,10 @@ /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man7' /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man8' /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' - /usr/bin/install -c -m 644 gvpe.protocol.7 '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man7' - /usr/bin/install -c -m 644 ./gvpe.info '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' /usr/bin/install -c -m 644 gvpe.5 gvpe.conf.5 gvpe.osdep.5 '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man5' + /usr/bin/install -c -m 644 gvpe.protocol.7 '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man7' /usr/bin/install -c -m 644 gvpe.8 gvpectrl.8 '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man8' + /usr/bin/install -c -m 644 ./gvpe.info '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' make[3]: Leaving directory '/build/reproducible-path/gvpe-3.1/doc' make[2]: Leaving directory '/build/reproducible-path/gvpe-3.1/doc' Making install in po @@ -1419,12 +1455,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/66056/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/66056/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/58783 and its subdirectories -I: Current time: Tue Apr 23 17:47:07 -12 2024 -I: pbuilder-time-stamp: 1713937627 +I: removing directory /srv/workspace/pbuilder/66056 and its subdirectories +I: Current time: Wed May 28 02:10:55 +14 2025 +I: pbuilder-time-stamp: 1748347855