Diff of the two buildlogs: -- --- b1/build.log 2025-03-26 10:00:26.005666754 +0000 +++ b2/build.log 2025-03-26 10:03:05.170523543 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 25 21:52:16 -12 2025 -I: pbuilder-time-stamp: 1742982736 +I: Current time: Thu Mar 27 00:00:52 +14 2025 +I: pbuilder-time-stamp: 1742983252 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking xilinx-bootgen_2024.2-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19456/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Mar 26 10: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/8345/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='experimental' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e4604748a0dc4284ab804f188f8140ad' - 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='19456' - PS1='# ' - PS2='> ' + INVOCATION_ID=5f2b5fb177f74fd99f9b05a6fa46ab25 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=8345 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.DPqrcCmV/pbuilderrc_OCRZ --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DPqrcCmV/b1 --logfile b1/build.log xilinx-bootgen_2024.2-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.DPqrcCmV/pbuilderrc_h6OE --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DPqrcCmV/b2 --logfile b2/build.log xilinx-bootgen_2024.2-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32c 6.1.0-32-armmp-lpae #1 SMP Debian 6.1.129-1 (2025-03-06) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19456/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 29 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf debhelper all 13.24.1 [920 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf libssl-dev armhf 3.4.1-1 [2429 kB] -Fetched 22.5 MB in 1s (24.9 MB/s) +Fetched 22.5 MB in 2s (11.5 MB/s) Preconfiguring packages ... 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 ... 19530 files and directories currently installed.) @@ -275,7 +307,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xilinx-bootgen-2024.2/ && 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 > ../xilinx-bootgen_2024.2-1_source.changes +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xilinx-bootgen-2024.2/ && 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 > ../xilinx-bootgen_2024.2-1_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2024.2-1 dpkg-buildpackage: info: source distribution experimental @@ -285,7 +321,7 @@ debian/rules clean dh clean --exclude=.la dh_auto_clean -O--exclude=.la - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2024.2' echo @@ -310,16 +346,38 @@ dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2024.2' dh_auto_build -O--exclude=.la - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2024.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp +In file included from authentication-versal.h:41, + from authentication-versal.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authentication-versal.h:38: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +In file included from authentication-versal.h:43: +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication-versal.h:36: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ In file included from authentication.h:44, - from authentication-zynqmp.h:28, - from authentication-zynqmp.cpp:28: + from authentication-zynq.h:27, + from authentication-zynq.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -339,8 +397,8 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:44, - from authentication-zynq.h:27, - from authentication-zynq.cpp:28: + from authentication-zynqmp.h:28, + from authentication-zynqmp.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -359,24 +417,23 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -In file included from authentication-versal.h:41, - from authentication-versal.cpp:23: +In file included from authentication.h:44, + from authentication.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authentication-versal.h:38: + from authentication.h:36: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ -In file included from authentication-versal.h:43: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication-versal.h:36: +In file included from authentication.h:34: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ @@ -491,28 +548,9 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp -In file included from authentication.h:44, - from authentication.cpp:27: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authentication.h:36: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.tab.cpp In file included from authentication-versal.h:41, from authkeys-versal.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': @@ -535,7 +573,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:47:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -662,8 +699,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.tab.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp In file included from authentication.h:44, from authkeys.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': @@ -677,6 +712,7 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); @@ -837,6 +873,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -890,7 +927,7 @@ ../bisonflex/bif.yy.cpp:3612:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3613:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3615:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bifoptions.h:29, @@ -913,7 +950,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bifoptions.h:29, @@ -937,6 +973,7 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bifoptions.h:29, @@ -959,9 +996,9 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -989,8 +1026,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1017,6 +1052,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1040,6 +1076,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1063,7 +1100,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp In file included from authentication.h:44, @@ -1089,12 +1125,14 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from bootheader.cpp:23: + from bootimage-versal.h:28, + from bootimage-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1119,8 +1157,7 @@ from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from bootimage-versal.h:28, - from bootimage-versal.cpp:23: + from bootheader.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1191,8 +1228,6 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1219,6 +1254,8 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1245,8 +1282,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1272,7 +1307,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1299,6 +1334,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1324,6 +1360,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': checksum.cpp:59:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | MD5( data, length, cksum_data); @@ -1332,8 +1369,8 @@ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1361,7 +1398,27 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from elftools.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authentication.h:36: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1389,6 +1446,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp ../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': ../bisonflex/cmdoptions.yy.cpp:1357:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1358:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -1415,28 +1473,6 @@ ../bisonflex/cmdoptions.yy.cpp:2902:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2903:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2905:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -In file included from authentication.h:44, - from imageheadertable.h:32, - from elftools.cpp:26: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authentication.h:36: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp In file included from authentication.h:44, from imageheadertable.h:32, @@ -1463,6 +1499,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1488,7 +1525,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1515,6 +1551,7 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1540,7 +1577,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp In file included from authentication.h:44, from imageheadertable.h:32, @@ -1615,6 +1651,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from imageheadertable-zynq.h:28, @@ -1637,7 +1674,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from imageheadertable-zynqmp.h:28, @@ -1661,6 +1697,7 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1686,9 +1723,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1714,10 +1752,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1745,6 +1780,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1825,6 +1861,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1850,21 +1887,20 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from bootimage.h:36, - from partition.cpp:25: + from partitionheadertable-versal.h:28, + from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authkeys.h:33, - from bootimage.h:35: + from authentication.h:36: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1872,7 +1908,7 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: +In file included from authentication.h:34: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ @@ -1880,15 +1916,16 @@ from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from partitionheadertable-versal.h:28, - from partitionheadertable-versal.cpp:22: + from bootimage.h:36, + from partition.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authentication.h:36: + from authkeys.h:33, + from bootimage.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1896,12 +1933,10 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1926,6 +1961,9 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1950,8 +1988,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1977,7 +2013,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from imageheadertable-versal.h:28, @@ -2000,6 +2035,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp In file included from authentication.h:44, from readimage.h:33, from readimage-versal.h:30, @@ -2022,8 +2061,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp In file included from authentication.h:44, from readimage.h:33, from readimage-zynq.h:30, @@ -2068,27 +2105,28 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -readimage-versal.cpp: In member function 'void VersalReadImage::DisplayOptionalData()': -readimage-versal.cpp:96:15: warning: argument 1 null where non-null expected [-Wnonnull] - 96 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -In file included from readimage-versal.cpp:23: -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp:111:15: warning: argument 1 null where non-null expected [-Wnonnull] - 111 | fclose(filePtr); - | ~~~~~~^~~~~~~~~ -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp: In member function 'virtual void VersalReadImage::ReadPartitions()': -readimage-versal.cpp:210:15: warning: argument 1 null where non-null expected [-Wnonnull] - 210 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ +In file included from authentication.h:44, + from readimage.h:33, + from readimage.cpp:31: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authentication.h:36: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp readimage-zynq.cpp: In member function 'virtual void ZynqReadImage::ReadPartitions()': readimage-zynq.cpp:56:15: warning: argument 1 null where non-null expected [-Wnonnull] 56 | fclose(binFile); @@ -2113,38 +2151,27 @@ /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp -readimage-zynqmp.cpp: In member function 'virtual void ZynqMpReadImage::ReadHeaderTableDetails()': -readimage-zynqmp.cpp:123:15: warning: argument 1 null where non-null expected [-Wnonnull] - 123 | fclose(binFile); +readimage-versal.cpp: In member function 'void VersalReadImage::DisplayOptionalData()': +readimage-versal.cpp:96:15: warning: argument 1 null where non-null expected [-Wnonnull] + 96 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +In file included from readimage-versal.cpp:23: +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +readimage-versal.cpp:111:15: warning: argument 1 null where non-null expected [-Wnonnull] + 111 | fclose(filePtr); + | ~~~~~~^~~~~~~~~ +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +readimage-versal.cpp: In member function 'virtual void VersalReadImage::ReadPartitions()': +readimage-versal.cpp:210:15: warning: argument 1 null where non-null expected [-Wnonnull] + 210 | fclose(binFile); | ~~~~~~^~~~~~~~~ /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ -In file included from authentication.h:44, - from readimage.h:33, - from readimage.cpp:31: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authentication.h:36: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2170,6 +2197,15 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp +readimage-zynqmp.cpp: In member function 'virtual void ZynqMpReadImage::ReadHeaderTableDetails()': +readimage-zynqmp.cpp:123:15: warning: argument 1 null where non-null expected [-Wnonnull] + 123 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2197,6 +2233,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2250,8 +2287,6 @@ ../bisonflex/reginit.yy.cpp:1438:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1439:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1441:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp In file included from authentication.h:44, from readimage.h:33, from readimage-versal.h:30, @@ -2274,6 +2309,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifyECDSASignature(bool, uint8_t*, size_t, ACKeyECDSA*, uint8_t*)': verifyimage-versal.cpp:72:42: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -2368,6 +2404,7 @@ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cJSON.c verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2381,6 +2418,8 @@ authentication-versal.h:249:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' 249 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); | ^~~~~~~~~~~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-alloc.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-binary.c In file included from authentication.h:44, from readimage.h:33, from readimage-zynqmp.h:33, @@ -2403,7 +2442,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cJSON.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-command.c verifyimage-zynqmp.cpp: In member function 'bool ZynqMpReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096*, uint8_t*)': verifyimage-zynqmp.cpp:94:18: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | rsa = RSA_new(); @@ -2447,9 +2486,6 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-alloc.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-binary.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-command.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-load.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-metadata.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-npi.c @@ -2488,8 +2524,8 @@ dh_gencontrol -O--exclude=.la dh_md5sums -O--exclude=.la dh_builddeb -O--exclude=.la -dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2024.2-1_armhf.deb'. dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2024.2-1_armhf.deb'. +dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2024.2-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2024.2-1_armhf.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2024.2-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2497,12 +2533,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/8345/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8345/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/19456 and its subdirectories -I: Current time: Tue Mar 25 22:00:21 -12 2025 -I: pbuilder-time-stamp: 1742983221 +I: removing directory /srv/workspace/pbuilder/8345 and its subdirectories +I: Current time: Thu Mar 27 00:03:01 +14 2025 +I: pbuilder-time-stamp: 1742983381