Diff of the two buildlogs: -- --- b1/build.log 2025-03-19 21:34:20.463491521 +0000 +++ b2/build.log 2025-03-19 21:35:12.209161662 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 19 09:29:39 -12 2025 -I: pbuilder-time-stamp: 1742419779 +I: Current time: Wed Apr 22 17:57:21 +14 2026 +I: pbuilder-time-stamp: 1776830241 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ 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/3751403/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1992859/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 Apr 22 03:57 /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/1992859/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1992859/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3d78dee9aabb4b0888de0250e3011456' - 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='3751403' - PS1='# ' - PS2='> ' + INVOCATION_ID=feb49875cb15450fb7a9c2b74d45588a + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=1992859 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.RTjCOpci/pbuilderrc_TmV4 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RTjCOpci/b1 --logfile b1/build.log gvpe_3.1-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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.RTjCOpci/pbuilderrc_P2dR --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RTjCOpci/b2 --logfile b2/build.log gvpe_3.1-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 ionos1-amd64 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3751403/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1992859/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -160,7 +192,7 @@ Get: 47 http://deb.debian.org/debian unstable/main amd64 texinfo-lib amd64 7.1.1-1+b1 [232 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 texinfo all 7.1.1-1 [1753 kB] Get: 49 http://deb.debian.org/debian unstable/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 [920 kB] -Fetched 28.2 MB in 2s (13.0 MB/s) +Fetched 28.2 MB in 0s (105 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:amd64. (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 ... 19784 files and directories currently installed.) @@ -385,7 +417,11 @@ fakeroot is already the newest version (1.37.1-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/1992859/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1992859/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 @@ -635,7 +671,7 @@ *** dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/gvpe-3.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/gvpe-3.1' @@ -681,14 +717,8 @@ 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); | ~~~~~~^~~~~~~~~~~~ -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 crypto.h:35, - from hkdf.C:40: + from crypto.C:34: 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)); @@ -699,7 +729,7 @@ 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 hkdf.C:38: +In file included from crypto.h:38: /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, | ^~~~~~~~~~~~ @@ -749,14 +779,43 @@ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ +crypto.C: In constructor 'hmac::hmac()': +crypto.C:42:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 42 | require (ctx = HMAC_CTX_new ()); + | ~~~~~~~~~~~~~^~ +./slog.h:91:29: note: in definition of macro 'require' + 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) + | ^~~~ +/usr/include/openssl/hmac.h:33:33: note: declared here + 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); + | ^~~~~~~~~~~~ +crypto.C: In destructor 'hmac::~hmac()': +crypto.C:52:17: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 52 | HMAC_CTX_free (ctx); + | ~~~~~~~~~~~~~~^~~~~ +/usr/include/openssl/hmac.h:35:28: note: declared here + 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); + | ^~~~~~~~~~~~~ +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); | ^~~~~~~~ +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 crypto.h:35, - from crypto.C:34: + from hkdf.C:40: 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)); @@ -767,7 +826,7 @@ 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: +In file included from hkdf.C:38: /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, | ^~~~~~~~~~~~ @@ -817,38 +876,26 @@ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ -crypto.C: In constructor 'hmac::hmac()': -crypto.C:42:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 42 | require (ctx = HMAC_CTX_new ()); - | ~~~~~~~~~~~~~^~ -./slog.h:91:29: note: in definition of macro 'require' - 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) - | ^~~~ -/usr/include/openssl/hmac.h:33:33: note: declared here - 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); - | ^~~~~~~~~~~~ -crypto.C: In destructor 'hmac::~hmac()': -crypto.C:52:17: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 52 | HMAC_CTX_free (ctx); - | ~~~~~~~~~~~~~~^~~~~ -/usr/include/openssl/hmac.h:35:28: note: declared here - 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); - | ^~~~~~~~~~~~~ -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__); - | ^~~~~~~~ -vpn.C: In member function 'void vpn::script_init_env()': -vpn.C:118:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] - 118 | asprintf (&env, "NODES=%d", conns.size ()); putenv (env); - | ~^ ~~~~~~~~~~~~~ - | | | - | int std::vector::size_type {aka long unsigned int} - | %ld +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)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from conf.h:41, - from gvpe.C:60: + 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)); @@ -859,9 +906,8 @@ 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: +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, | ^~~~~~~~~~~~ @@ -904,8 +950,6 @@ /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); @@ -914,7 +958,7 @@ 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ In file included from conf.h:41, - from connection.C:44: + 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)); @@ -925,8 +969,9 @@ 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: +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, | ^~~~~~~~~~~~ @@ -956,6 +1001,13 @@ /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, | ^~~~~~~~~~~ +vpn.C: In member function 'void vpn::script_init_env()': +vpn.C:118:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] + 118 | asprintf (&env, "NODES=%d", conns.size ()); putenv (env); + | ~^ ~~~~~~~~~~~~~ + | | | + | int std::vector::size_type {aka long unsigned int} + | %ld 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)); @@ -969,6 +1021,8 @@ /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); @@ -976,31 +1030,6 @@ /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: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 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 */ - | ^~~~~~~~~ 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); @@ -1011,61 +1040,30 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -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), - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ - 158 | (unsigned char *)&auth.rsa, (unsigned char *)&encr.rsa, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 159 | key, RSA_PKCS1_OAEP_PADDING) < 0) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from connection.C:41: -/usr/include/openssl/rsa.h:293:5: note: declared here - 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, - | ^~~~~~~~~~~~~~~~~~ -connection.C: In function 'bool auth_decrypt(RSA*, const auth_encr&, auth_data&)': -connection.C:170:27: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 170 | if (RSA_private_decrypt (sizeof (encr.rsa), - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ - 171 | (const unsigned char *)&encr.rsa, (unsigned char *)rsa_decrypt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 172 | key, RSA_PKCS1_OAEP_PADDING) != sizeof (auth.rsa)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:302:5: note: declared here - 302 | 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:576:30: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 576 | conf.rsa_key = RSA_new (); | ~~~~~~~~^~ +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +conf.C:578:35: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 578 | if (!PEM_read_RSAPrivateKey (f, &conf.rsa_key, NULL, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ -conf.C:578:35: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 578 | if (!PEM_read_RSAPrivateKey (f, &conf.rsa_key, NULL, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:452:1: note: declared here 452 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ conf.C:580:32: warning: 'int ERR_load_RSA_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 580 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); | ~~~~~~~~~~~~~~~~~~~~~^~ -In file included from gvpectrl.C:51: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -In file included from /usr/include/openssl/cryptoerr.h:17, - from /usr/include/openssl/crypto.h:38, - from /usr/include/openssl/bio.h:30, - from /usr/include/openssl/err.h:29, - from conf.C:47: -/usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here - 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(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] @@ -1074,20 +1072,6 @@ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ -conf.C:580:57: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 580 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); - | ~~~~~~~~~~~~~~~~~~~~~^~ -/usr/include/openssl/cryptoerr_legacy.h:64:27: note: declared here - 64 | OSSL_DEPRECATEDIN_3_0 int ERR_load_PEM_strings(void); - | ^~~~~~~~~~~~~~~~~~~~ -In file included from conf.h:41, - from conf.C:53: -conf.C:585:32: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 585 | require (RSA_blinding_on (conf.rsa_key, 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:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ @@ -1097,16 +1081,24 @@ 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 /usr/include/openssl/cryptoerr.h:17, + from /usr/include/openssl/crypto.h:38, + from /usr/include/openssl/bio.h:30, + from /usr/include/openssl/err.h:29, + from conf.C:47: +/usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here + 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void); + | ^~~~~~~~~~~~~~~~~~~~ In file included from gvpectrl.C:52: /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:382:27: note: declared here - 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); - | ^~~~~~~~~~~~~~~ -conf.C:614:35: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 614 | node->rsa_key = RSA_new (); - | ~~~~~~~~^~ +conf.C:580:57: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 580 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); + | ~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/openssl/cryptoerr_legacy.h:64:27: note: declared here + 64 | OSSL_DEPRECATEDIN_3_0 int ERR_load_PEM_strings(void); + | ^~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1122,13 +1114,20 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gvpectrl.C: In function 'int main(int, char**, char**)': -gvpectrl.C:411:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] - 411 | printf ("sizeof_auth_data=%d\n", sizeof (auth_data)); - | ~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld +In file included from conf.h:41, + from conf.C:53: +conf.C:585:32: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 585 | require (RSA_blinding_on (conf.rsa_key, 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:382:27: note: declared here + 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); + | ^~~~~~~~~~~~~~~ +conf.C:614:35: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 614 | node->rsa_key = RSA_new (); + | ~~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ @@ -1165,21 +1164,19 @@ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ +gvpectrl.C: In function 'int main(int, char**, char**)': +gvpectrl.C:411:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] + 411 | printf ("sizeof_auth_data=%d\n", sizeof (auth_data)); + | ~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld conf.C:658:28: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 658 | RSA_get0_key (conf.thisnode->rsa_key, &thisnode_n, &thisnode_e, 0); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ -In file included from util.h:40, - from conf.C:55: -conf.C: In member function 'void configuration::print()': -conf.C:759:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] - 759 | printf (_("# of nodes: %d\n"), nodes.size ()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../lib/gettext.h:38:27: note: in definition of macro '_' - 38 | # define _(Text) gettext (Text) - | ^~~~ gvpectrl.C:412:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 412 | printf ("sizeof_rsa_data=%d\n", sizeof (rsa_data)); | ~^ ~~~~~~~~~~~~~~~~~ @@ -1192,10 +1189,15 @@ | | | | int long unsigned int | %ld -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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from util.h:40, + from conf.C:55: +conf.C: In member function 'void configuration::print()': +conf.C:759:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] + 759 | printf (_("# of nodes: %d\n"), nodes.size ()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../lib/gettext.h:38:27: note: in definition of macro '_' + 38 | # define _(Text) gettext (Text) + | ^~~~ conf.C:759:35: note: format string is defined here 759 | printf (_("# of nodes: %d\n"), nodes.size ()); | ~^ @@ -1235,10 +1237,76 @@ 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", | ^ +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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 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), + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ + 158 | (unsigned char *)&auth.rsa, (unsigned char *)&encr.rsa, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 159 | key, RSA_PKCS1_OAEP_PADDING) < 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from connection.C:41: +/usr/include/openssl/rsa.h:293:5: note: declared here + 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, + | ^~~~~~~~~~~~~~~~~~ +connection.C: In function 'bool auth_decrypt(RSA*, const auth_encr&, auth_data&)': +connection.C:170:27: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 170 | if (RSA_private_decrypt (sizeof (encr.rsa), + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ + 171 | (const unsigned char *)&encr.rsa, (unsigned char *)rsa_decrypt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 172 | key, RSA_PKCS1_OAEP_PADDING) != sizeof (auth.rsa)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:302:5: note: declared here + 302 | 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); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -1273,10 +1341,6 @@ connection.C:1366:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1366 | asprintf (&env, "IFUPDATA%s=%s", ext, conf->if_up_data); putenv (env); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.C:1367:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1367 | asprintf (&env, "NODENAME%s=%s", ext, conf->nodename); putenv (env); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1303,34 +1367,6 @@ 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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../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)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPKGLIBDIR=/usr/lib/x86_64-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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/x86_64-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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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()': @@ -1349,7 +1385,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 -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --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' @@ -1378,7 +1414,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/gvpe/ - make -j20 install DESTDIR=/build/reproducible-path/gvpe-3.1/debian/gvpe AM_UPDATE_INFO_DIR=no + make -j42 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' @@ -1409,13 +1445,13 @@ make[3]: Entering directory '/build/reproducible-path/gvpe-3.1/doc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/man/man5' - /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' /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/install -c -m 644 ./gvpe.info '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' + /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.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.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 @@ -1459,8 +1495,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gvpe-dbgsym' in '../gvpe-dbgsym_3.1-2_amd64.deb'. dpkg-deb: building package 'gvpe' in '../gvpe_3.1-2_amd64.deb'. +dpkg-deb: building package 'gvpe-dbgsym' in '../gvpe-dbgsym_3.1-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../gvpe_3.1-2_amd64.buildinfo dpkg-genchanges --build=binary -O../gvpe_3.1-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1468,12 +1504,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/1992859/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1992859/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/3751403 and its subdirectories -I: Current time: Wed Mar 19 09:34:19 -12 2025 -I: pbuilder-time-stamp: 1742420059 +I: removing directory /srv/workspace/pbuilder/1992859 and its subdirectories +I: Current time: Wed Apr 22 17:58:10 +14 2026 +I: pbuilder-time-stamp: 1776830290