Diff of the two buildlogs: -- --- b1/build.log 2023-05-12 11:46:42.621596440 +0000 +++ b2/build.log 2023-05-12 11:48:42.580336687 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 11 23:44:20 -12 2023 -I: pbuilder-time-stamp: 1683891860 +I: Current time: Fri Jun 14 08:09:46 +14 2024 +I: pbuilder-time-stamp: 1718302186 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./gvpe_3.1.orig.tar.gz] I: copying [./gvpe_3.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Oct 26 16:14:37 2018 -12 +gpgv: Signature made Sat Oct 27 18:14:37 2018 +14 gpgv: using RSA key D24ABFD127CD2556A13C6C79CC149F6C28A5E257 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./gvpe_3.1-2.dsc: no acceptable signature found @@ -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/20211/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3438/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-arm64. +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 Jun 14 08: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/3438/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3438/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='20211' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=3438 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.zp2dyfgI/pbuilderrc_7Ebt --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zp2dyfgI/b1 --logfile b1/build.log gvpe_3.1-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.zp2dyfgI/pbuilderrc_BtWq --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zp2dyfgI/b2 --logfile b2/build.log --extrapackages usrmerge gvpe_3.1-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink10-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 10 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/20211/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 12 06:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3438/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 bookworm/main arm64 tex-common all 6.18 [32.5 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 texinfo arm64 6.8-6+b1 [1808 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 zlib1g-dev arm64 1:1.2.13.dfsg-1 [913 kB] -Fetched 24.1 MB in 1s (37.0 MB/s) +Fetched 24.1 MB in 1s (35.6 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 ... 19616 files and directories currently installed.) @@ -361,10 +393,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/3438/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/3438/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -641,12 +678,6 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o crypto.o crypto.C g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gvpe.o gvpe.C g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vpn.o vpn.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)); @@ -654,6 +685,12 @@ 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__); + | ^~~~~~~~ gvpectrl.C:387:24: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 387 | VERSION, __DATE__, __TIME__, PROTOCOL_MAJOR, PROTOCOL_MINOR); | ^~~~~~~~ @@ -666,6 +703,7 @@ gvpe.C:291:34: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 291 | 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/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vpn_tcp.o vpn_tcp.C 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*)': @@ -745,34 +783,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/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vpn_tcp.o vpn_tcp.C g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGLIBDIR=/usr/lib/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/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/aarch64-linux-gnu/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -g -O2 -ffile-prefix-map=/build/gvpe-3.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sockinfo.o sockinfo.C 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)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 conf.h:41, from gvpe.C:60: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': @@ -849,6 +865,13 @@ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +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 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 (); @@ -856,50 +879,6 @@ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ -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:201:28: note: declared here - 201 | 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:260:27: note: declared here - 260 | 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:448:1: note: declared here - 448 | 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:447:1: note: declared here - 447 | 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:293:28: note: declared here - 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ 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)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -979,46 +958,20 @@ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ -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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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)); - | ~^ ~~~~~~~~~~~~~~~~~ - | | | - | int long unsigned int - | %ld -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 +../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 util.h:40, from conf.C:55: conf.C: In member function 'void configuration::print()': @@ -1067,6 +1020,90 @@ 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(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:201:28: note: declared here + 201 | 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:260:27: note: declared here + 260 | 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:448:1: note: declared here + 448 | 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:447:1: note: declared here + 447 | 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:293:28: note: declared here + 293 | 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 +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)); + | ~^ ~~~~~~~~~~~~~~~~~ + | | | + | int long unsigned int + | %ld +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 +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); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1377,8 +1414,8 @@ make[3]: Entering directory '/build/gvpe-3.1/src' /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/bin' make[3]: Nothing to be done for 'install-data-am'. - /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/sbin' /usr/bin/install -c gvpectrl '/build/gvpe-3.1/debian/gvpe/usr/bin' + /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/sbin' /usr/bin/install -c gvpe '/build/gvpe-3.1/debian/gvpe/usr/sbin' make[3]: Leaving directory '/build/gvpe-3.1/src' make[2]: Leaving directory '/build/gvpe-3.1/src' @@ -1390,10 +1427,10 @@ /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/share/man/man5' /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/share/man/man7' /usr/bin/mkdir -p '/build/gvpe-3.1/debian/gvpe/usr/share/man/man8' - /usr/bin/install -c -m 644 ./gvpe.info '/build/gvpe-3.1/debian/gvpe/usr/share/info' /usr/bin/install -c -m 644 gvpe.protocol.7 '/build/gvpe-3.1/debian/gvpe/usr/share/man/man7' - /usr/bin/install -c -m 644 gvpe.5 gvpe.conf.5 gvpe.osdep.5 '/build/gvpe-3.1/debian/gvpe/usr/share/man/man5' + /usr/bin/install -c -m 644 ./gvpe.info '/build/gvpe-3.1/debian/gvpe/usr/share/info' /usr/bin/install -c -m 644 gvpe.8 gvpectrl.8 '/build/gvpe-3.1/debian/gvpe/usr/share/man/man8' + /usr/bin/install -c -m 644 gvpe.5 gvpe.conf.5 gvpe.osdep.5 '/build/gvpe-3.1/debian/gvpe/usr/share/man/man5' make[3]: Leaving directory '/build/gvpe-3.1/doc' make[2]: Leaving directory '/build/gvpe-3.1/doc' Making install in po @@ -1437,8 +1474,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gvpe' in '../gvpe_3.1-2_arm64.deb'. dpkg-deb: building package 'gvpe-dbgsym' in '../gvpe-dbgsym_3.1-2_arm64.deb'. +dpkg-deb: building package 'gvpe' in '../gvpe_3.1-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../gvpe_3.1-2_arm64.buildinfo dpkg-genchanges --build=binary -O../gvpe_3.1-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1446,12 +1483,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/3438/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3438/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/20211 and its subdirectories -I: Current time: Thu May 11 23:46:41 -12 2023 -I: pbuilder-time-stamp: 1683892001 +I: removing directory /srv/workspace/pbuilder/3438 and its subdirectories +I: Current time: Fri Jun 14 08:11:41 +14 2024 +I: pbuilder-time-stamp: 1718302301