Diff of the two buildlogs: -- --- b1/build.log 2024-06-04 18:37:57.701309434 +0000 +++ b2/build.log 2024-06-04 18:39:47.448627945 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 4 06:35:40 -12 2024 -I: pbuilder-time-stamp: 1717526140 +I: Current time: Tue Jul 8 15:01:01 +14 2025 +I: pbuilder-time-stamp: 1751936461 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,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/726547/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2408887/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 Jul 8 01:01 /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/2408887/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2408887/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='trixie' - 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]="21" [3]="1" [4]="release" [5]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d7c531c52e3f46a8b86cffe0782ca742' - 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='726547' - PS1='# ' - PS2='> ' + INVOCATION_ID=6b470deb2a8a4e65a2adc34c24f2f31c + 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=2408887 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.aCqNuzjx/pbuilderrc_x1p0 --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.aCqNuzjx/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.aCqNuzjx/pbuilderrc_4kAG --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.aCqNuzjx/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-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 2 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/726547/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 6 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2408887/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -158,7 +190,7 @@ Get: 42 http://deb.debian.org/debian trixie/main amd64 texinfo-lib amd64 7.1-3+b1 [224 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 texinfo all 7.1-3 [1748 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1 [919 kB] -Fetched 25.3 MB in 3s (7829 kB/s) +Fetched 25.3 MB in 1s (25.9 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 ... 19698 files and directories currently installed.) @@ -364,7 +396,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/2408887/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2408887/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 @@ -611,7 +647,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' @@ -651,12 +687,6 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -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 -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/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 -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/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 -c -o device.o device.C -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__); - | ^~~~~~~~ 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)); @@ -670,6 +700,12 @@ gvpe.C:291:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 291 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); | ^~~~~~~~ +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__); + | ^~~~~~~~ gvpectrl.C:387:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); | ^~~~~~~~ @@ -817,108 +853,12 @@ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ -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); - | ~~~~~~~~~^~~~~~~~~ -In file included from /usr/include/openssl/x509.h:36, - from /usr/include/openssl/pem.h:23, - from conf.C:48: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ 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 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)) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:451:1: note: declared here - 451 | 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 /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); - | ^~~~~~~~~~~~~~~~~~~~ -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: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); - | ^~~~~~~ -conf.C:616:38: warning: 'RSA* PEM_read_RSAPublicKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 616 | if (!PEM_read_RSAPublicKey (f, &node->rsa_key, NULL, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:452:1: note: declared here - 452 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) - | ^~~~~~~~~~~~~~~~~~~ -conf.C:618:36: warning: 'int ERR_load_RSA_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 618 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); - | ~~~~~~~~~~~~~~~~~~~~~^~ -/usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here - 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void); - | ^~~~~~~~~~~~~~~~~~~~ -conf.C:618:61: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 618 | 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); - | ^~~~~~~~~~~~~~~~~~~~ -conf.C:623:36: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 623 | require (RSA_blinding_on (node->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:657:28: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 657 | RSA_get0_key (conf.rsa_key, &conf_n, &conf_e, 0); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -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 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)); @@ -929,57 +869,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 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 ()); - | ~^ - | | - | int - | %ld -conf.C:762:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] - 762 | printf (_("rekeying interval: %d\n"), rekey); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../lib/gettext.h:38:27: note: in definition of macro '_' - 38 | # define _(Text) gettext (Text) - | ^~~~ -conf.C:762:35: note: format string is defined here - 762 | printf (_("rekeying interval: %d\n"), rekey); - | ~^ - | | - | int - | %f -conf.C:763:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] - 763 | printf (_("keepalive interval: %d\n"), keepalive); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../lib/gettext.h:38:27: note: in definition of macro '_' - 38 | # define _(Text) gettext (Text) - | ^~~~ -conf.C:763:35: note: format string is defined here - 763 | printf (_("keepalive interval: %d\n"), keepalive); - | ~^ - | | - | int - | %f -conf.C:766:61: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 766 | printf (_("rsa key size: %d\n"), rsa_key ? RSA_size (rsa_key) * 8 : -1); - | ~~~~~~~~~^~~~~~~~~ -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -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", - | ^ -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, | ^~~~~~~~~~~~ @@ -1022,8 +913,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); @@ -1031,26 +920,8 @@ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ -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: + 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)); @@ -1061,8 +932,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, | ^~~~~~~~~~~~ @@ -1105,6 +977,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); @@ -1112,29 +986,13 @@ /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), - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ - 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, - | ^~~~~~~~~~~~~~~~~~~ +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 ../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)); @@ -1149,13 +1007,6 @@ ../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)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1177,16 +1028,29 @@ 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, - | ~~~~~~~~~^~~~~~~~~~~ - 1395 | "%s/%s", - | ~~~~~~~~ - 1396 | confbase, - | ~~~~~~~~~ - 1397 | ::conf.script_node_up ? ::conf.script_node_up : "node-up"); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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, + | ^~~~~~~~~~~~~~~~~~~ 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 (); @@ -1231,6 +1095,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +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); + | ~~~~~~~~~^~~~~~~~~ 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)); @@ -1244,12 +1112,188 @@ | | | | int long unsigned int | %ld +In file included from /usr/include/openssl/x509.h:36, + from /usr/include/openssl/pem.h:23, + from conf.C:48: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ gvpectrl.C:413:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 413 | printf ("sizeof_rsa_data_extra_auth=%d\n", sizeof (((rsa_data *)0)->extra_auth)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | 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); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:451:1: note: declared here + 451 | 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 /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); + | ^~~~~~~~~~~~~~~~~~~~ +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: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); + | ^~~~~~~ +conf.C:616:38: warning: 'RSA* PEM_read_RSAPublicKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 616 | if (!PEM_read_RSAPublicKey (f, &node->rsa_key, NULL, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:452:1: note: declared here + 452 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) + | ^~~~~~~~~~~~~~~~~~~ +conf.C:618:36: warning: 'int ERR_load_RSA_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 618 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); + | ~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here + 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void); + | ^~~~~~~~~~~~~~~~~~~~ +conf.C:618:61: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 618 | 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); + | ^~~~~~~~~~~~~~~~~~~~ +conf.C:623:36: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 623 | require (RSA_blinding_on (node->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:657:28: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 657 | RSA_get0_key (conf.rsa_key, &conf_n, &conf_e, 0); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +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) + | ^~~~ +conf.C:759:35: note: format string is defined here + 759 | printf (_("# of nodes: %d\n"), nodes.size ()); + | ~^ + | | + | int + | %ld +conf.C:762:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] + 762 | printf (_("rekeying interval: %d\n"), rekey); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../lib/gettext.h:38:27: note: in definition of macro '_' + 38 | # define _(Text) gettext (Text) + | ^~~~ +conf.C:762:35: note: format string is defined here + 762 | printf (_("rekeying interval: %d\n"), rekey); + | ~^ + | | + | int + | %f +conf.C:763:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] + 763 | printf (_("keepalive interval: %d\n"), keepalive); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../lib/gettext.h:38:27: note: in definition of macro '_' + 38 | # define _(Text) gettext (Text) + | ^~~~ +conf.C:763:35: note: format string is defined here + 763 | printf (_("keepalive interval: %d\n"), keepalive); + | ~^ + | | + | int + | %f +conf.C:766:61: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 766 | printf (_("rsa key size: %d\n"), rsa_key ? RSA_size (rsa_key) * 8 : -1); + | ~~~~~~~~~^~~~~~~~~ +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ +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); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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, + | ~~~~~~~~~^~~~~~~~~~~ + 1395 | "%s/%s", + | ~~~~~~~~ + 1396 | confbase, + | ~~~~~~~~~ + 1397 | ::conf.script_node_up ? ::conf.script_node_up : "node-up"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -1260,14 +1304,6 @@ | ~~~~~~~~~ 1429 | ::conf.script_node_down ? ::conf.script_node_down : "node-down"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.C: In member function 'const char* connection::script_node_change()': connection.C:1410:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1410 | asprintf (&filename, @@ -1326,7 +1362,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' @@ -1358,7 +1394,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' @@ -1377,8 +1413,8 @@ Making install in src make[2]: Entering directory '/build/reproducible-path/gvpe-3.1/src' make[3]: Entering directory '/build/reproducible-path/gvpe-3.1/src' - /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/bin' make[3]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/bin' /usr/bin/mkdir -p '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/sbin' /usr/bin/install -c gvpectrl '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/bin' /usr/bin/install -c gvpe '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/sbin' @@ -1392,10 +1428,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.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.info '/build/reproducible-path/gvpe-3.1/debian/gvpe/usr/share/info' /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.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.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 @@ -1448,12 +1484,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/2408887/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2408887/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/726547 and its subdirectories -I: Current time: Tue Jun 4 06:37:56 -12 2024 -I: pbuilder-time-stamp: 1717526276 +I: removing directory /srv/workspace/pbuilder/2408887 and its subdirectories +I: Current time: Tue Jul 8 15:02:46 +14 2025 +I: pbuilder-time-stamp: 1751936566