Running as unit: rb-build-arm64_19-46500.service ==================================================================================== Mon Nov 25 11:07:54 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_arm64_19) on jenkins, called using "codethink02-arm64 codethink03-arm64" as arguments. Mon Nov 25 11:07:54 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-XDnv82DN" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 25 11:07:54 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink02-arm64.debian.net is marked as down. Mon Nov 25 11:07:54 UTC 2024 - checking via ssh if codethink02-arm64.debian.net is up. removed '/tmp/read-only-fs-test-rEUOEA' Mon Nov 25 11:07:55 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink03-arm64.debian.net is marked as down. Mon Nov 25 11:07:55 UTC 2024 - checking via ssh if codethink03-arm64.debian.net is up. removed '/tmp/read-only-fs-test-ZMWhaZ' ok, let's check if xilinx-bootgen is building anywhere yet… ok, xilinx-bootgen is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of xilinx-bootgen in trixie on arm64 on jenkins now. 1st build will be done on codethink02-arm64.debian.net. 2nd build will be done on codethink03-arm64.debian.net. ============================================================================= Mon Nov 25 11:08:13 UTC 2024 I: starting to build xilinx-bootgen/trixie/arm64 on jenkins on '2024-11-25 11:07' Mon Nov 25 11:08:13 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_19/46500/console.log 1732532893 arm64 trixie xilinx-bootgen Mon Nov 25 11:08:13 UTC 2024 I: Downloading source for trixie/xilinx-bootgen=2022.2-2 --2024-11-25 11:08:13-- http://deb.debian.org/debian/pool/main/x/xilinx-bootgen/xilinx-bootgen_2022.2-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2056 (2.0K) [text/prs.lines.tag] Saving to: ‘xilinx-bootgen_2022.2-2.dsc’ 0K .. 100% 250M=0s 2024-11-25 11:08:13 (250 MB/s) - ‘xilinx-bootgen_2022.2-2.dsc’ saved [2056/2056] --2024-11-25 11:08:13-- http://deb.debian.org/debian/pool/main/x/xilinx-bootgen/xilinx-bootgen_2022.2-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2056 (2.0K) [text/prs.lines.tag] Saving to: ‘xilinx-bootgen_2022.2-2.dsc’ 0K .. 100% 250M=0s 2024-11-25 11:08:13 (250 MB/s) - ‘xilinx-bootgen_2022.2-2.dsc’ saved [2056/2056] Mon Nov 25 11:08:13 UTC 2024 I: xilinx-bootgen_2022.2-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: xilinx-bootgen Binary: xilinx-bootgen Architecture: any Version: 2022.2-2 Maintainer: Debian Xilinx Package Maintainers Uploaders: Punit Agrawal , Nobuhiro Iwamatsu Homepage: https://github.com/Xilinx/bootgen Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen Vcs-Git: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Build-Depends: debhelper-compat (= 13), libssl-dev Package-List: xilinx-bootgen deb devel optional arch=any Checksums-Sha1: ec4b93da4961f0f7c43afa677835b1f407862db1 521270 xilinx-bootgen_2022.2.orig.tar.gz aa33993cdbcf34d6db9f50748a0b09e362544359 7748 xilinx-bootgen_2022.2-2.debian.tar.xz Checksums-Sha256: af1d494e30f357b46868ad4580f78bef7c660b5a32a10308c3bc8ae452a9eaba 521270 xilinx-bootgen_2022.2.orig.tar.gz f8c47858abf72f96494cdc251af00eae222d08ba1d6eeba1ce574a6639a9210b 7748 xilinx-bootgen_2022.2-2.debian.tar.xz Files: 61981ab89d331a1f28e98a4aca1f123c 521270 xilinx-bootgen_2022.2.orig.tar.gz 7206a4e7d5503357db233ad903481584 7748 xilinx-bootgen_2022.2-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAmO/ckYACgkQMiR/u0Ct H6Zynw/+KBh+KJLsjzWR8A4+wZsqkbuTVKi0Jkz74utl6k1OM8UEVJNXSsIQCdsj JDIEzFmY4iSclu21vZqfbm2Dnrs1cyck80Lclkr0ewEdWfhqPtZocqP1o3wh9Txd 1+gyQxOTyWQndxJgQpEEJyGL8LLI3x0Na+D/+fExpJxcKK8V0G6REACymtp+NjiO Ad7XKQ/IB3rv7+2O3dAivly8fVe6h5W38GzqkkpzH14WB+CuVVPSX061Eznt9jH+ pa6ghT/3ip500OxJAx0yw9D/3HiZqYbc7pCPqFHSCzTsUekqBmkCZjlSOnJUH3gh hTPIb1ftVu07QDIJEAurwhEmsPxAz+wWFVPKR543LtPK0yOqgeuSvzgrzfD0v/qr v03OSucXvGNsfxjEoihTO2blDKTH+Un/Jh0AoTFouz4b0TRLzoOuNgZvRrX5y8+v 6n6ZGFLpi9bRAAdbWQUu96m9KrWSHbw7FVGho9xwIUfRmFTueYkKEx7jmROCSlxc ACNl5v2LpUnueLzvGOc8tlvXSFxtLbSPpo/komMPnV4YsJpdtbMGFRQkqg05YugF sJWlSBTOscj45jCrGOR+tLuv8ekRp25bKbCU4umW3XRz14CKM3wy4nWTIHgZlObF wF4Gk+mtFuN7MwQiFM1KDFhvVY1z8dQJZE37TNlFfcbMG8y/CCM= =X1A8 -----END PGP SIGNATURE----- Mon Nov 25 11:08:13 UTC 2024 I: Checking whether the package is not for us Mon Nov 25 11:08:14 UTC 2024 I: Starting 1st build on remote node codethink02-arm64.debian.net. Mon Nov 25 11:08:14 UTC 2024 I: Preparing to do remote build '1' on codethink02-arm64.debian.net. Mon Nov 25 11:08:14 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink02-arm64.debian.net is marked as down. Mon Nov 25 11:08:14 UTC 2024 - checking via ssh if codethink02-arm64.debian.net is up. removed '/tmp/read-only-fs-test-lYyU1z' ==================================================================================== Mon Nov 25 11:08:15 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink02-arm64, called using "1 xilinx-bootgen trixie /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil 2022.2-2" as arguments. Mon Nov 25 11:08:15 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-Gatp7Lyi" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 25 11:08:15 UTC 2024 I: Downloading source for trixie/xilinx-bootgen=2022.2-2 Reading package lists... NOTICE: 'xilinx-bootgen' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Please use: git clone https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 531 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (dsc) [2056 B] Get:2 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (tar) [521 kB] Get:3 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (diff) [7748 B] Fetched 531 kB in 0s (5301 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'xilinx-bootgen' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Please use: git clone https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 531 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (dsc) [2056 B] Get:2 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (tar) [521 kB] Get:3 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (diff) [7748 B] Fetched 531 kB in 0s (5301 kB/s) Download complete and in download only mode ============================================================================= Building xilinx-bootgen in trixie on arm64 on codethink02-arm64 now. Date: Mon Nov 25 11:08:15 GMT 2024 Date UTC: Mon Nov 25 11:08:15 UTC 2024 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Sun Nov 24 23:08:15 -12 2024 I: pbuilder-time-stamp: 1732532895 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [xilinx-bootgen_2022.2-2.dsc] I: copying [./xilinx-bootgen_2022.2.orig.tar.gz] I: copying [./xilinx-bootgen_2022.2-2.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Jan 12 02:36:54 2023 gpgv: using RSA key 5E629EE5232197357B84CF4332247FBB40AD1FA6 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xilinx-bootgen_2022.2-2.dsc: no acceptable signature found dpkg-source: info: extracting xilinx-bootgen in xilinx-bootgen-2022.2 dpkg-source: info: unpacking xilinx-bootgen_2022.2.orig.tar.gz dpkg-source: info: unpacking xilinx-bootgen_2022.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1614404/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='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='2907bc1948514675be1f5ce000cd75bf' 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='1614404' PS1='# ' PS2='> ' 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.8n5Cwdil/pbuilderrc_IrMI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1 --logfile b1/build.log xilinx-bootgen_2022.2-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1614404/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libssl-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20087 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libssl-dev{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 22.6 MB of archives. After unpacking 93.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3+b1 [102 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3+b1 [43.4 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-11 [91.2 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-8 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5+b1 [9239 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.2+b1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-2 [3185 kB] Fetched 22.6 MB in 0s (201 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 ... 20087 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_arm64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-11_arm64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5+b1_arm64.deb ... Unpacking libicu72:arm64 (72.1-5+b1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../29-libssl-dev_3.3.2-2_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libicu72:arm64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-2) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/xilinx-bootgen-2022.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_2022.2-2_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nobuhiro Iwamatsu dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la make -j12 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' echo rm -rf bootgen rm -f Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_autoreconf_clean -O--exclude=.la dh_clean -O--exclude=.la debian/rules binary dh binary --with autoreconf --exclude=.la dh_update_autotools_config -O--exclude=.la dh_autoreconf -O--exclude=.la debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' if dpkg-vendor --derives-from Ubuntu; then \ sed -i \ -e '/^Description: .*$/i Provides: bootgen-xlnx (= ${source:Version})' \ -e '/^Description: .*$/i Breaks: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ -e '/^Description: .*$/i Replaces: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ debian/control; \ fi dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_build -O--exclude=.la make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp In file included from authentication-versal.h:40, from authentication-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:37: /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:40, from authkeys-versal.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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-versal.h:31, from authkeys-versal.cpp:26: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication-versal.h:35: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys-versal.h:29: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from authentication-zynq.h:26, from authentication-zynq.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from authkeys.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from authkeys.cpp:25: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': ../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': ../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': ../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: At global scope: ../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': ../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from authentication.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1017:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1019:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1019 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1020:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1020 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1023:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1024:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1027:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1028:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1031:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1063:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1063 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1070:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1072:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1073:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1076:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1076 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1077:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1080:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1081:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1084:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1084 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1173:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:29: authkeys.cpp:198:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:207:29: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | memcpy(D, RSA_get0_d(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:214:42: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | rsaInst.rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:220:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:231:25: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | memcpy(N, RSA_get0_n(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:232:25: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | memcpy(E, RSA_get0_e(rsaInst.rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:50:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)': authkeys.cpp:404:32: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:415:49: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | uint32_t* temp_e = (uint32_t*)RSA_get0_e(rsa)->d; | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:424:36: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | memcpy(temp, RSA_get0_d(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WritePemFile(std::string, RSA*, EC_KEY*, bool)': authkeys.cpp:459:40: warning: 'int PEM_write_RSA_PUBKEY(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 459 | if (PEM_write_RSA_PUBKEY(file, rsa)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:466:43: 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] 466 | if (PEM_write_RSAPrivateKey(file, rsa, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:477:40: warning: 'int PEM_write_EC_PUBKEY(FILE*, const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | if (PEM_write_EC_PUBKEY(file, eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:484:43: warning: 'int PEM_write_ECPrivateKey(FILE*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | if (PEM_write_ECPrivateKey(file, eckey, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateRsaKeys(KeyGenerationStruct*)': authkeys.cpp:520:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 520 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp:556:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 556 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateEcdsaKeys(KeyGenerationStruct*)': authkeys.cpp:605:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 605 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:609:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 609 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:619:32: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 619 | if((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:639:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 639 | if ((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const Key&)': authkeys-versal.cpp:68:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:72:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In destructor 'virtual VersalKey::~VersalKey()': authkeys-versal.cpp:95:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys-versal.cpp: In member function 'uint8_t VersalKey::ParseECDSAOpenSSLKey(const std::string&)': authkeys-versal.cpp:268:38: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:269:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:287:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:288:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:311:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:312:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:344:35: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:345:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:363:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:364:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:387:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:388:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In member function 'virtual void VersalKey::Parse(const std::string&, bool)': authkeys-versal.cpp:442:39: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:449:48: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:456:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | RSA_free(rsa); | ~~~~~~~~^~~~~ /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp In file included from authentication.h:43, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootheader.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-versal.h:27, from bootimage-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': bootimage-versal.cpp:1231:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1231 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1239:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function 'virtual void VersalBootImage::OutputOptionalEfuseHash()': bootimage-versal.cpp:1659:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1659 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1667:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1667 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1684:60: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1684 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1685:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1685 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /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); | ^~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1732:63: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1732 | EC_KEY *eckeyLocal = PEM_read_ECPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1733:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1733 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum-versal.h:26, from checksum-versal.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5( data, length, cksum_data); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checksum.cpp:32: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp ../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': ../bisonflex/cmdoptions.yy.cpp:1316:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1318:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': ../bisonflex/cmdoptions.yy.cpp:2600:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2601:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': ../bisonflex/cmdoptions.yy.cpp:2740:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2741:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2749:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/cmdoptions.yy.cpp:2778:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2780:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2782:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: At global scope: ../bisonflex/cmdoptions.yy.cpp:2803:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': ../bisonflex/cmdoptions.yy.cpp:2806:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2819:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from elftools.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versalnet.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynq.cpp:36: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from hash.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from hash.h:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::UpdateHash(const void*, size_t)': hash.cpp:39:38: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 39 | uint8_t errorCode = SHA256_Update(&ctx, data, length); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::FinalHash(uint8_t*)': hash.cpp:48:37: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | uint8_t errorCode = SHA256_Final(hashout, &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from imageheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from main.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile-versal.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition-versal.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partitionheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from postprocess.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-zynq.h:30, from readimage-zynq.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:31: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:33, from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from reginit.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from readimage.h:32, from readimage-zynqmp.h:33, from verifyimage-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.c In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c 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); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:73:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:74:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:76:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:92:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | if (1 != ECDSA_do_verify(shaHash, SHA3_LENGTH_BYTES, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:105:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifyECDSAP521Signature(bool, uint8_t*, size_t, ACKeyECDSAP521*, uint8_t*)': verifyimage-versal.cpp:122:42: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:123:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:124:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:126:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:143:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | if (1 != ECDSA_do_verify(shaHash, 48, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:156:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 156 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096Sha3Padding*, uint8_t*)': verifyimage-versal.cpp:167:18: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | rsa = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-versal.cpp:173:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 173 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-versal.cpp:182:33: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | int ret = RSA_public_encrypt(SIGN_LENGTH_VERSAL, (const unsigned char*)signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ ../bisonflex/reginit.yy.cpp: In member function 'virtual int RE::FlexScanner::yylex()': ../bisonflex/reginit.yy.cpp:719:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:785:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'int reginitFlexLexer::yy_get_next_buffer()': ../bisonflex/reginit.yy.cpp:1221:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1222:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_get_previous_state()': ../bisonflex/reginit.yy.cpp:1361:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1362:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1370:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/reginit.yy.cpp:1399:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1401:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1403:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: At global scope: ../bisonflex/reginit.yy.cpp:1424:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'void reginitFlexLexer::yyunput(int, char*)': ../bisonflex/reginit.yy.cpp:1427:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1437:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1438:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1440:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-zynqmp.cpp:112:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-zynqmp.cpp:113:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:114:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:125:27: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | if (RSA_public_encrypt(RSA_4096_KEY_LENGTH, signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ verifyimage-zynqmp.cpp:131:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:132:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] 182 | 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)); | ^~~~~~ gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-load.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-npi.c verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from readimage-versal.h:34: authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); | ^~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] 228 | m1 = s -> AttachSHA3Padding(mPad, 104); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' 247 | 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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-overlay.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-raw.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.c readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] 82 | 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)); | ^~~~~~ echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_test -O--exclude=.la create-stamp debian/debhelper-build-stamp dh_testroot -O--exclude=.la dh_prep -O--exclude=.la dh_auto_install --destdir=debian/xilinx-bootgen/ -O--exclude=.la dh_install -O--exclude=.la dh_installdocs -O--exclude=.la dh_installchangelogs -O--exclude=.la dh_installsystemduser -O--exclude=.la dh_perl -O--exclude=.la dh_link -O--exclude=.la dh_strip_nondeterminism -O--exclude=.la dh_compress -O--exclude=.la dh_fixperms -O--exclude=.la dh_missing -O--exclude=.la dh_dwz -a -O--exclude=.la dh_strip -a -O--exclude=.la dh_makeshlibs -a -O--exclude=.la dh_shlibdeps -a -O--exclude=.la dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb -O--exclude=.la 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_2022.2-2_arm64.deb'. dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2022.2-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2022.2-2_arm64.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2022.2-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration 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/1614404 and its subdirectories I: Current time: Sun Nov 24 23:09:05 -12 2024 I: pbuilder-time-stamp: 1732532945 Mon Nov 25 11:09:05 UTC 2024 I: Signing ./b1/xilinx-bootgen_2022.2-2_arm64.buildinfo as xilinx-bootgen_2022.2-2_arm64.buildinfo.asc Mon Nov 25 11:09:05 UTC 2024 I: Signed ./b1/xilinx-bootgen_2022.2-2_arm64.buildinfo as ./b1/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc Mon Nov 25 11:09:05 UTC 2024 - build #1 for xilinx-bootgen/trixie/arm64 on codethink02-arm64 done. Starting cleanup. All cleanup done. Mon Nov 25 11:09:05 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-Gatp7Lyi, removing. /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 11:09 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 11:08 b2 -rw------- 1 jenkins jenkins 3216 Nov 25 11:08 rbuildlog.G6z1ngB -rw-r--r-- 1 jenkins jenkins 2056 Jan 12 2023 xilinx-bootgen_2022.2-2.dsc /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1: total 6464 -rw-r--r-- 1 jenkins jenkins 171311 Nov 25 11:09 build.log -rw-r--r-- 1 jenkins jenkins 6012308 Nov 25 11:09 xilinx-bootgen-dbgsym_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 7748 Nov 25 11:09 xilinx-bootgen_2022.2-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2056 Nov 25 11:09 xilinx-bootgen_2022.2-2.dsc -rw-r--r-- 1 jenkins jenkins 5047 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 5929 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1497 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 397064 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 1339 Nov 25 11:09 xilinx-bootgen_2022.2-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2: total 0 Mon Nov 25 11:09:07 UTC 2024 I: Deleting $TMPDIR on codethink02-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Nov 24 23:08:15 -12 2024 I: pbuilder-time-stamp: 1732532895 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [xilinx-bootgen_2022.2-2.dsc] I: copying [./xilinx-bootgen_2022.2.orig.tar.gz] I: copying [./xilinx-bootgen_2022.2-2.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Jan 12 02:36:54 2023 gpgv: using RSA key 5E629EE5232197357B84CF4332247FBB40AD1FA6 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xilinx-bootgen_2022.2-2.dsc: no acceptable signature found dpkg-source: info: extracting xilinx-bootgen in xilinx-bootgen-2022.2 dpkg-source: info: unpacking xilinx-bootgen_2022.2.orig.tar.gz dpkg-source: info: unpacking xilinx-bootgen_2022.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1614404/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='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='2907bc1948514675be1f5ce000cd75bf' 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='1614404' PS1='# ' PS2='> ' 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.8n5Cwdil/pbuilderrc_IrMI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1 --logfile b1/build.log xilinx-bootgen_2022.2-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1614404/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libssl-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20087 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libssl-dev{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 22.6 MB of archives. After unpacking 93.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3+b1 [102 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3+b1 [43.4 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-11 [91.2 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-8 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5+b1 [9239 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.2+b1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-2 [3185 kB] Fetched 22.6 MB in 0s (201 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 ... 20087 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_arm64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-11_arm64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5+b1_arm64.deb ... Unpacking libicu72:arm64 (72.1-5+b1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../29-libssl-dev_3.3.2-2_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libicu72:arm64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-2) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/xilinx-bootgen-2022.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_2022.2-2_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nobuhiro Iwamatsu dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la make -j12 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' echo rm -rf bootgen rm -f Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_autoreconf_clean -O--exclude=.la dh_clean -O--exclude=.la debian/rules binary dh binary --with autoreconf --exclude=.la dh_update_autotools_config -O--exclude=.la dh_autoreconf -O--exclude=.la debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' if dpkg-vendor --derives-from Ubuntu; then \ sed -i \ -e '/^Description: .*$/i Provides: bootgen-xlnx (= ${source:Version})' \ -e '/^Description: .*$/i Breaks: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ -e '/^Description: .*$/i Replaces: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ debian/control; \ fi dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_build -O--exclude=.la make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp In file included from authentication-versal.h:40, from authentication-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:37: /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:40, from authkeys-versal.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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-versal.h:31, from authkeys-versal.cpp:26: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication-versal.h:35: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys-versal.h:29: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from authentication-zynq.h:26, from authentication-zynq.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from authkeys.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from authkeys.cpp:25: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': ../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': ../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': ../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: At global scope: ../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': ../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from authentication.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1017:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1019:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1019 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1020:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1020 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1023:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1024:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1027:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1028:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1031:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1063:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1063 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1070:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1072:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1073:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1076:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1076 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1077:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1080:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1081:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1084:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1084 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1173:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:29: authkeys.cpp:198:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:207:29: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | memcpy(D, RSA_get0_d(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:214:42: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | rsaInst.rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:220:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:231:25: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | memcpy(N, RSA_get0_n(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:232:25: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | memcpy(E, RSA_get0_e(rsaInst.rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:50:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)': authkeys.cpp:404:32: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:415:49: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | uint32_t* temp_e = (uint32_t*)RSA_get0_e(rsa)->d; | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:424:36: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | memcpy(temp, RSA_get0_d(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WritePemFile(std::string, RSA*, EC_KEY*, bool)': authkeys.cpp:459:40: warning: 'int PEM_write_RSA_PUBKEY(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 459 | if (PEM_write_RSA_PUBKEY(file, rsa)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:466:43: 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] 466 | if (PEM_write_RSAPrivateKey(file, rsa, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:477:40: warning: 'int PEM_write_EC_PUBKEY(FILE*, const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | if (PEM_write_EC_PUBKEY(file, eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:484:43: warning: 'int PEM_write_ECPrivateKey(FILE*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | if (PEM_write_ECPrivateKey(file, eckey, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateRsaKeys(KeyGenerationStruct*)': authkeys.cpp:520:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 520 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp:556:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 556 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateEcdsaKeys(KeyGenerationStruct*)': authkeys.cpp:605:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 605 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:609:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 609 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:619:32: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 619 | if((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:639:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 639 | if ((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const Key&)': authkeys-versal.cpp:68:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:72:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In destructor 'virtual VersalKey::~VersalKey()': authkeys-versal.cpp:95:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys-versal.cpp: In member function 'uint8_t VersalKey::ParseECDSAOpenSSLKey(const std::string&)': authkeys-versal.cpp:268:38: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:269:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:287:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:288:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:311:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:312:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:344:35: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:345:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:363:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:364:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:387:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:388:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In member function 'virtual void VersalKey::Parse(const std::string&, bool)': authkeys-versal.cpp:442:39: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:449:48: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:456:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | RSA_free(rsa); | ~~~~~~~~^~~~~ /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp In file included from authentication.h:43, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootheader.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-versal.h:27, from bootimage-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': bootimage-versal.cpp:1231:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1231 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1239:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function 'virtual void VersalBootImage::OutputOptionalEfuseHash()': bootimage-versal.cpp:1659:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1659 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1667:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1667 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1684:60: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1684 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1685:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1685 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /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); | ^~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1732:63: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1732 | EC_KEY *eckeyLocal = PEM_read_ECPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1733:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1733 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum-versal.h:26, from checksum-versal.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5( data, length, cksum_data); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checksum.cpp:32: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp ../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': ../bisonflex/cmdoptions.yy.cpp:1316:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1318:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': ../bisonflex/cmdoptions.yy.cpp:2600:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2601:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': ../bisonflex/cmdoptions.yy.cpp:2740:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2741:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2749:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/cmdoptions.yy.cpp:2778:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2780:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2782:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: At global scope: ../bisonflex/cmdoptions.yy.cpp:2803:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': ../bisonflex/cmdoptions.yy.cpp:2806:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2819:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from elftools.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versalnet.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynq.cpp:36: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from hash.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from hash.h:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::UpdateHash(const void*, size_t)': hash.cpp:39:38: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 39 | uint8_t errorCode = SHA256_Update(&ctx, data, length); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::FinalHash(uint8_t*)': hash.cpp:48:37: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | uint8_t errorCode = SHA256_Final(hashout, &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from imageheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from main.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile-versal.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition-versal.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partitionheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from postprocess.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-zynq.h:30, from readimage-zynq.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:31: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:33, from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from reginit.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from readimage.h:32, from readimage-zynqmp.h:33, from verifyimage-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.c In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c 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); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:73:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:74:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:76:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:92:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | if (1 != ECDSA_do_verify(shaHash, SHA3_LENGTH_BYTES, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:105:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifyECDSAP521Signature(bool, uint8_t*, size_t, ACKeyECDSAP521*, uint8_t*)': verifyimage-versal.cpp:122:42: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:123:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:124:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:126:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:143:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | if (1 != ECDSA_do_verify(shaHash, 48, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:156:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 156 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096Sha3Padding*, uint8_t*)': verifyimage-versal.cpp:167:18: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | rsa = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-versal.cpp:173:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 173 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-versal.cpp:182:33: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | int ret = RSA_public_encrypt(SIGN_LENGTH_VERSAL, (const unsigned char*)signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ ../bisonflex/reginit.yy.cpp: In member function 'virtual int RE::FlexScanner::yylex()': ../bisonflex/reginit.yy.cpp:719:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:785:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'int reginitFlexLexer::yy_get_next_buffer()': ../bisonflex/reginit.yy.cpp:1221:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1222:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_get_previous_state()': ../bisonflex/reginit.yy.cpp:1361:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1362:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1370:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/reginit.yy.cpp:1399:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1401:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1403:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: At global scope: ../bisonflex/reginit.yy.cpp:1424:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'void reginitFlexLexer::yyunput(int, char*)': ../bisonflex/reginit.yy.cpp:1427:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1437:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1438:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1440:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-zynqmp.cpp:112:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-zynqmp.cpp:113:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:114:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:125:27: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | if (RSA_public_encrypt(RSA_4096_KEY_LENGTH, signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ verifyimage-zynqmp.cpp:131:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:132:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] 182 | 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)); | ^~~~~~ gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-load.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-npi.c verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from readimage-versal.h:34: authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); | ^~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] 228 | m1 = s -> AttachSHA3Padding(mPad, 104); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' 247 | 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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-overlay.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-raw.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.c readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] 82 | 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)); | ^~~~~~ echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_test -O--exclude=.la create-stamp debian/debhelper-build-stamp dh_testroot -O--exclude=.la dh_prep -O--exclude=.la dh_auto_install --destdir=debian/xilinx-bootgen/ -O--exclude=.la dh_install -O--exclude=.la dh_installdocs -O--exclude=.la dh_installchangelogs -O--exclude=.la dh_installsystemduser -O--exclude=.la dh_perl -O--exclude=.la dh_link -O--exclude=.la dh_strip_nondeterminism -O--exclude=.la dh_compress -O--exclude=.la dh_fixperms -O--exclude=.la dh_missing -O--exclude=.la dh_dwz -a -O--exclude=.la dh_strip -a -O--exclude=.la dh_makeshlibs -a -O--exclude=.la dh_shlibdeps -a -O--exclude=.la dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb -O--exclude=.la 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_2022.2-2_arm64.deb'. dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2022.2-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2022.2-2_arm64.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2022.2-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration 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/1614404 and its subdirectories I: Current time: Sun Nov 24 23:09:05 -12 2024 I: pbuilder-time-stamp: 1732532945 Mon Nov 25 11:09:07 UTC 2024 I: 1st build successful. Starting 2nd build on remote node codethink03-arm64.debian.net. Mon Nov 25 11:09:07 UTC 2024 I: Preparing to do remote build '2' on codethink03-arm64.debian.net. Mon Nov 25 11:09:07 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink03-arm64.debian.net is marked as down. Mon Nov 25 11:09:07 UTC 2024 - checking via ssh if codethink03-arm64.debian.net is up. removed '/tmp/read-only-fs-test-zEuOp8' ==================================================================================== Sun Dec 28 17:32:09 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink03-arm64, called using "2 xilinx-bootgen trixie /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil 2022.2-2" as arguments. Sun Dec 28 17:32:09 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-fl0otYRz" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sun Dec 28 17:32:09 UTC 2025 I: Downloading source for trixie/xilinx-bootgen=2022.2-2 Reading package lists... NOTICE: 'xilinx-bootgen' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Please use: git clone https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 531 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (dsc) [2056 B] Get:2 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (tar) [521 kB] Get:3 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (diff) [7748 B] Fetched 531 kB in 0s (35.8 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'xilinx-bootgen' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git Please use: git clone https://salsa.debian.org/xilinx-packages-team/xilinx-bootgen.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 531 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (dsc) [2056 B] Get:2 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (tar) [521 kB] Get:3 http://deb.debian.org/debian trixie/main xilinx-bootgen 2022.2-2 (diff) [7748 B] Fetched 531 kB in 0s (35.8 MB/s) Download complete and in download only mode ============================================================================= Re-Building xilinx-bootgen in trixie on arm64 on codethink03-arm64 now. Date: Sun Dec 28 17:32:09 GMT 2025 Date UTC: Sun Dec 28 17:32:09 UTC 2025 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/pbuilderrc_pN3W + case ${ARCH} in + case $ARCH in + locale=nl_BE + language=nl + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' xilinx-bootgen = debian-installer -o xilinx-bootgen = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' xilinx-bootgen = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo 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.8n5Cwdil/pbuilderrc_pN3W --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2 --logfile b2/build.log xilinx-bootgen_2022.2-2.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Mon Dec 29 07:32:10 +14 2025 I: pbuilder-time-stamp: 1766943130 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [xilinx-bootgen_2022.2-2.dsc] I: copying [./xilinx-bootgen_2022.2.orig.tar.gz] I: copying [./xilinx-bootgen_2022.2-2.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Jan 12 02:36:54 2023 gpgv: using RSA key 5E629EE5232197357B84CF4332247FBB40AD1FA6 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xilinx-bootgen_2022.2-2.dsc: no acceptable signature found dpkg-source: info: extracting xilinx-bootgen in xilinx-bootgen-2022.2 dpkg-source: info: unpacking xilinx-bootgen_2022.2.orig.tar.gz dpkg-source: info: unpacking xilinx-bootgen_2022.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/D01_modify_environment starting debug: Running on codethink03-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 Dec 28 17:32 /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/2333685/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/D02_print_environment starting I: set 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path 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=12 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' INVOCATION_ID=ee3e177aeaf049de990c30fe2d01dc65 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=2333685 PS4='+ ' 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.8n5Cwdil/pbuilderrc_pN3W --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2 --logfile b2/build.log xilinx-bootgen_2022.2-2.dsc' SUDO_GID=109 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://192.168.101.4:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libssl-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 20087 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libssl-dev{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 22.6 MB of archives. After unpacking 93.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3+b1 [102 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3+b1 [43.4 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-11 [91.2 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-8 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5+b1 [9239 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.2+b1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-2 [3185 kB] Fetched 22.6 MB in 0s (118 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 ... 20087 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_arm64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-11_arm64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5+b1_arm64.deb ... Unpacking libicu72:arm64 (72.1-5+b1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../29-libssl-dev_3.3.2-2_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libicu72:arm64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-2) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/xilinx-bootgen-2022.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_2022.2-2_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nobuhiro Iwamatsu dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la make -j12 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' echo rm -rf bootgen rm -f Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_autoreconf_clean -O--exclude=.la dh_clean -O--exclude=.la debian/rules binary dh binary --with autoreconf --exclude=.la dh_update_autotools_config -O--exclude=.la dh_autoreconf -O--exclude=.la debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' if dpkg-vendor --derives-from Ubuntu; then \ sed -i \ -e '/^Description: .*$/i Provides: bootgen-xlnx (= ${source:Version})' \ -e '/^Description: .*$/i Breaks: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ -e '/^Description: .*$/i Replaces: bootgen-xlnx (<= 2022.1-0ubuntu1)' \ debian/control; \ fi dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_build -O--exclude=.la make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp In file included from authentication.h:43, from authentication-zynq.h:26, from authentication-zynq.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:40, from authentication-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:37: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication-versal.h:35: /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:43, from authentication-zynqmp.h:27, from authentication-zynqmp.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from bifoptions.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from authentication.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1017:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1019:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1019 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1020:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1020 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1023:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1024:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1027:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1028:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1031:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1063:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1063 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1070:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | EC_KEY* eckeyN = EC_KEY_new(); | ~~~~~~~~~~^~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ authentication-versal.cpp:1072:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | EC_KEY_set_group(eckeyN, ecgroup); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ authentication-versal.cpp:1073:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1076:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1076 | prv = EC_KEY_get0_private_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1077:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1080:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | EC_KEY_set_private_key(eckeyN, prv); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1081:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | EC_KEY_set_public_key(eckeyN, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ authentication-versal.cpp:1084:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1084 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ authentication-versal.cpp:1173:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | EC_KEY_free(eckeyN); | ~~~~~~~~~~~^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from bifscanner.h:39, from ../s/bif.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from authkeys.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from authkeys.cpp:25: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:40, from authkeys-versal.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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-versal.h:31, from authkeys-versal.cpp:26: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys-versal.h:29: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from authkeys.h:29: authkeys.cpp:198:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:207:29: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | memcpy(D, RSA_get0_d(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:214:42: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | rsaInst.rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:220:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:231:25: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | memcpy(N, RSA_get0_n(rsaInst.rsa)->d, keySize); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:232:25: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | memcpy(E, RSA_get0_e(rsaInst.rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)': authkeys.cpp:404:32: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:415:49: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | uint32_t* temp_e = (uint32_t*)RSA_get0_e(rsa)->d; | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authkeys.cpp:424:36: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | memcpy(temp, RSA_get0_d(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WritePemFile(std::string, RSA*, EC_KEY*, bool)': authkeys.cpp:459:40: warning: 'int PEM_write_RSA_PUBKEY(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 459 | if (PEM_write_RSA_PUBKEY(file, rsa)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:466:43: 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] 466 | if (PEM_write_RSAPrivateKey(file, rsa, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:477:40: warning: 'int PEM_write_EC_PUBKEY(FILE*, const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | if (PEM_write_EC_PUBKEY(file, eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:484:43: warning: 'int PEM_write_ECPrivateKey(FILE*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | if (PEM_write_ECPrivateKey(file, eckey, NULL, NULL, 0, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateRsaKeys(KeyGenerationStruct*)': authkeys.cpp:520:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 520 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp:556:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 556 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateEcdsaKeys(KeyGenerationStruct*)': authkeys.cpp:605:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 605 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:609:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 609 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:619:32: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 619 | if((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ authkeys.cpp:639:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 639 | if ((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary-versal.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': ../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': ../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': ../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: At global scope: ../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': ../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from bifoptions.h:28, from binary.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:50:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const Key&)': authkeys-versal.cpp:68:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:72:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In destructor 'virtual VersalKey::~VersalKey()': authkeys-versal.cpp:95:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ authkeys-versal.cpp: In member function 'uint8_t VersalKey::ParseECDSAOpenSSLKey(const std::string&)': authkeys-versal.cpp:268:38: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:269:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:287:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:288:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:311:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:312:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:344:35: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:345:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 345 | if (!EC_KEY_check_key(eckey)) | ~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ authkeys-versal.cpp:363:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:364:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:387:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:388:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In member function 'virtual void VersalKey::Parse(const std::string&, bool)': authkeys-versal.cpp:442:39: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:449:48: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:456:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 456 | RSA_free(rsa); | ~~~~~~~~^~~~~ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils-versal.h:26, from bitutils-versal.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynq.h:27, from bootheader-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-versal.h:28, from bootheader-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from bootheader-zynqmp.h:28, from bootheader-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bitutils.h:32, from bitutils.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-versal.h:27, from bootimage-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootheader.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': bootimage-versal.cpp:1231:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1231 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1239:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function 'virtual void VersalBootImage::OutputOptionalEfuseHash()': bootimage-versal.cpp:1659:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1659 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1667:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1667 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1684:60: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1684 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1685:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1685 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /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); | ^~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1732:63: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1732 | EC_KEY *eckeyLocal = PEM_read_ECPrivateKey(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp:1733:64: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1733 | const EC_GROUP* ecgroup = EC_KEY_get0_group(eckeyLocal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynq.h:28, from bootimage-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage-zynqmp.h:28, from bootimage-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from bootimage.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../../s/cmdoptions.y:51: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5( data, length, cksum_data); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checksum.cpp:32: /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, | ^~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from checksum-versal.h:26, from checksum-versal.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from elftools.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from ../s/cmdoptions.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': ../bisonflex/cmdoptions.yy.cpp:1316:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1318:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': ../bisonflex/cmdoptions.yy.cpp:2600:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2601:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2602:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': ../bisonflex/cmdoptions.yy.cpp:2740:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2741:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2749:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/cmdoptions.yy.cpp:2778:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2780:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2782:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: At global scope: ../bisonflex/cmdoptions.yy.cpp:2803:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': ../bisonflex/cmdoptions.yy.cpp:2806:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2819: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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versalnet.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from hash.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from hash.h:27: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::UpdateHash(const void*, size_t)': hash.cpp:39:38: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 39 | uint8_t errorCode = SHA256_Update(&ctx, data, length); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ hash.cpp: In member function 'virtual uint8_t HashSha2::FinalHash(uint8_t*)': hash.cpp:48:37: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | uint8_t errorCode = SHA256_Final(hashout, &ctx); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption-zynq.cpp:36: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from encryption.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from imageheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-zynq.h:27, from imageheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-zynqmp.h:27, from imageheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from main.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from imageheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile-versal.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from outputfile.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, from options.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition-versal.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../s/bif.y:42, from parsing.h:26, from parsing.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partition.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-versal.h:27, from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynq.h:28, from partitionheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from partitionheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from partitionheadertable-zynqmp.h:27, from partitionheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, from postprocess.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-versal.h:29, from readimage-versal.cpp:31: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from readimage.h:32, from readimage-zynq.h:30, from readimage-zynq.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:33, from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c In file included from authentication.h:43, from readimage.h:32, from readimage-versal.h:29, from verifyimage-versal.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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::ReadHeaderTableDetails()': readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] 182 | 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)); | ^~~~~~ 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); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:73:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:74:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:76:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:92:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | if (1 != ECDSA_do_verify(shaHash, SHA3_LENGTH_BYTES, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:105:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifyECDSAP521Signature(bool, uint8_t*, size_t, ACKeyECDSAP521*, uint8_t*)': verifyimage-versal.cpp:122:42: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:123:45: warning: 'int EC_KEY_set_public_key_affine_coordinates(EC_KEY*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | EC_KEY_set_public_key_affine_coordinates(eckeyLocal, qx, qy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1141:27: note: declared here 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:124:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | EC_KEY_set_asn1_flag(eckeyLocal, OPENSSL_EC_NAMED_CURVE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:126:26: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | if (!EC_KEY_check_key(eckeyLocal)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1126:27: note: declared here 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ verifyimage-versal.cpp:143:29: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | if (1 != ECDSA_do_verify(shaHash, 48, ec_signature, eckeyLocal)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ verifyimage-versal.cpp:156:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 156 | EC_KEY_free(eckeyLocal); | ~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096Sha3Padding*, uint8_t*)': verifyimage-versal.cpp:167:18: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | rsa = RSA_new(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-versal.cpp:173:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 173 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-versal.cpp:182:33: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | int ret = RSA_public_encrypt(SIGN_LENGTH_VERSAL, (const unsigned char*)signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from reginit.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../s/reginit.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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:43, from readimage.h:32, from readimage-zynqmp.h:33, from verifyimage-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authentication.h:33: /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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, from ../../s/reginit.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, from bootimage.h:34: /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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-command.c ../bisonflex/reginit.yy.cpp: In member function 'virtual int RE::FlexScanner::yylex()': ../bisonflex/reginit.yy.cpp:719:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:785:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from readimage-versal.h:34: authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); | ^~~~~~~~~~~~~~~~~~~~~~ verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] 228 | m1 = s -> AttachSHA3Padding(mPad, 104); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' 247 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); | ^~~~~~~~~~~~~~~~~ ../bisonflex/reginit.yy.cpp: In member function 'int reginitFlexLexer::yy_get_next_buffer()': ../bisonflex/reginit.yy.cpp:1221:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1222:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_get_previous_state()': ../bisonflex/reginit.yy.cpp:1361:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1362:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1370:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'yy_state_type reginitFlexLexer::yy_try_NUL_trans(yy_state_type)': ../bisonflex/reginit.yy.cpp:1399:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1401:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1403:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: At global scope: ../bisonflex/reginit.yy.cpp:1424:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'void reginitFlexLexer::yyunput(int, char*)': ../bisonflex/reginit.yy.cpp:1427:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1437:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1438:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1440:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-load.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(); | ~~~~~~~^~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ verifyimage-zynqmp.cpp:112:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | RSA_set0_key(rsa, n, e, d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ verifyimage-zynqmp.cpp:113:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:114:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:125:27: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | if (RSA_public_encrypt(RSA_4096_KEY_LENGTH, signature, (unsigned char*)opensslHashPadded, rsa, RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ verifyimage-zynqmp.cpp:131:44: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | RearrangeEndianess((uint8_t*)RSA_get0_n(rsa)->d, RSA_4096_KEY_LENGTH); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:243:37: note: declared here 243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ verifyimage-zynqmp.cpp:132:44: warning: 'const BIGNUM* RSA_get0_e(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | RearrangeEndianess((uint8_t*)RSA_get0_e(rsa)->d, sizeof(uint32_t)); | ~~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] 82 | 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)); | ^~~~~~ gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-npi.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-overlay.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-raw.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.c echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_test -O--exclude=.la create-stamp debian/debhelper-build-stamp dh_testroot -O--exclude=.la dh_prep -O--exclude=.la dh_auto_install --destdir=debian/xilinx-bootgen/ -O--exclude=.la dh_install -O--exclude=.la dh_installdocs -O--exclude=.la dh_installchangelogs -O--exclude=.la dh_installsystemduser -O--exclude=.la dh_perl -O--exclude=.la dh_link -O--exclude=.la dh_strip_nondeterminism -O--exclude=.la dh_compress -O--exclude=.la dh_fixperms -O--exclude=.la dh_missing -O--exclude=.la dh_dwz -a -O--exclude=.la dh_strip -a -O--exclude=.la dh_makeshlibs -a -O--exclude=.la dh_shlibdeps -a -O--exclude=.la dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb -O--exclude=.la dh_gencontrol -O--exclude=.la dh_md5sums -O--exclude=.la dh_builddeb -O--exclude=.la dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2022.2-2_arm64.deb'. dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2022.2-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2022.2-2_arm64.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2022.2-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/2333685/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2333685/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/2333685 and its subdirectories I: Current time: Mon Dec 29 07:33:16 +14 2025 I: pbuilder-time-stamp: 1766943196 + false + set +x Sun Dec 28 17:33:16 UTC 2025 I: Signing ./b2/xilinx-bootgen_2022.2-2_arm64.buildinfo as xilinx-bootgen_2022.2-2_arm64.buildinfo.asc Sun Dec 28 17:33:16 UTC 2025 I: Signed ./b2/xilinx-bootgen_2022.2-2_arm64.buildinfo as ./b2/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc Sun Dec 28 17:33:16 UTC 2025 - build #2 for xilinx-bootgen/trixie/arm64 on codethink03-arm64 done. Starting cleanup. All cleanup done. Sun Dec 28 17:33:16 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-fl0otYRz, removing. /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil: total 188 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 11:09 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 11:10 b2 -rw------- 1 jenkins jenkins 174828 Nov 25 11:09 rbuildlog.G6z1ngB -rw-r--r-- 1 jenkins jenkins 2056 Jan 12 2023 xilinx-bootgen_2022.2-2.dsc /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1: total 6484 -rw-r--r-- 1 jenkins jenkins 171311 Nov 25 11:09 build.log -rw-r--r-- 1 jenkins jenkins 6012308 Nov 25 11:09 xilinx-bootgen-dbgsym_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 7748 Nov 25 11:09 xilinx-bootgen_2022.2-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2056 Nov 25 11:09 xilinx-bootgen_2022.2-2.dsc -rw-r--r-- 1 jenkins jenkins 5047 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 5929 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1497 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 397064 Nov 25 11:09 xilinx-bootgen_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 1339 Nov 25 11:09 xilinx-bootgen_2022.2-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2: total 6484 -rw-r--r-- 1 jenkins jenkins 173254 Nov 25 11:10 build.log -rw-r--r-- 1 jenkins jenkins 6012308 Nov 25 11:10 xilinx-bootgen-dbgsym_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 7748 Nov 25 11:10 xilinx-bootgen_2022.2-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2056 Nov 25 11:10 xilinx-bootgen_2022.2-2.dsc -rw-r--r-- 1 jenkins jenkins 5047 Nov 25 11:10 xilinx-bootgen_2022.2-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 5929 Nov 25 11:10 xilinx-bootgen_2022.2-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1497 Nov 25 11:10 xilinx-bootgen_2022.2-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 397064 Nov 25 11:10 xilinx-bootgen_2022.2-2_arm64.deb -rw-r--r-- 1 jenkins jenkins 1339 Nov 25 11:10 xilinx-bootgen_2022.2-2_source.changes Mon Nov 25 11:10:18 UTC 2024 I: Deleting $TMPDIR on codethink03-arm64.debian.net. Mon Nov 25 11:10:19 UTC 2024 I: xilinx-bootgen_2022.2-2_arm64.changes: Format: 1.8 Date: Thu, 12 Jan 2023 11:25:15 +0900 Source: xilinx-bootgen Binary: xilinx-bootgen xilinx-bootgen-dbgsym Architecture: arm64 Version: 2022.2-2 Distribution: unstable Urgency: medium Maintainer: Debian Xilinx Package Maintainers Changed-By: Nobuhiro Iwamatsu Description: xilinx-bootgen - boot image converter for Xilinx ARM SoCs Changes: xilinx-bootgen (2022.2-2) unstable; urgency=medium . * d/rules: Add bootgen-xlnx to Breaks, Replaces and Provides in the case of Ubuntu. (Closes: LP: 2000774) Checksums-Sha1: b373f41afca51935b6067c574228d0872efe1e07 6012308 xilinx-bootgen-dbgsym_2022.2-2_arm64.deb 1a30b3a46a13870e9d092b7ffb6fa244ad373eda 5047 xilinx-bootgen_2022.2-2_arm64.buildinfo db7b2a65cf9aa028d57f2b9b395cd9b4aaa39526 397064 xilinx-bootgen_2022.2-2_arm64.deb Checksums-Sha256: 543594a41af2235bfc7f943ed9469f2d58faa36b0a622fc7c8356c9daec7e6d0 6012308 xilinx-bootgen-dbgsym_2022.2-2_arm64.deb 59aa80ff76c2bdc7ea90b1505f4dc21993e260365c758c148270e4111ed19929 5047 xilinx-bootgen_2022.2-2_arm64.buildinfo 7ce597e7ff32b0003255c12b83a23c7dd25e0875b4f970e4ac5301b9b346709b 397064 xilinx-bootgen_2022.2-2_arm64.deb Files: 2ef03ed207b10d878ae4ac57f46116b7 6012308 debug optional xilinx-bootgen-dbgsym_2022.2-2_arm64.deb 56c1bbed873f47903588a9df01c87b14 5047 devel optional xilinx-bootgen_2022.2-2_arm64.buildinfo 38e159a7872bfd933acfedff5932e434 397064 devel optional xilinx-bootgen_2022.2-2_arm64.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/xilinx-bootgen_2022.2-2.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/xilinx-bootgen_2022.2-2.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/arm64/xilinx-bootgen_2022.2-2.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/arm64/xilinx-bootgen_2022.2-2.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/trixie/arm64/xilinx-bootgen_2022.2-2_arm64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/xilinx-bootgen_2022.2-2.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2024-11-25 11:09:06.713150062 +0000 +++ b2/build.log 2024-11-25 11:10:17.617956332 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Nov 24 23:08:15 -12 2024 -I: pbuilder-time-stamp: 1732532895 +I: Current time: Mon Dec 29 07:32:10 +14 2025 +I: pbuilder-time-stamp: 1766943130 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking xilinx-bootgen_2022.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1614404/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Dec 28 17:32 /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/2333685/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2333685/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='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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2907bc1948514675be1f5ce000cd75bf' - 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='1614404' - PS1='# ' - PS2='> ' + INVOCATION_ID=ee3e177aeaf049de990c30fe2d01dc65 + 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=2333685 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.8n5Cwdil/pbuilderrc_IrMI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1 --logfile b1/build.log xilinx-bootgen_2022.2-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.8n5Cwdil/pbuilderrc_pN3W --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2 --logfile b2/build.log xilinx-bootgen_2022.2-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1614404/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -138,7 +170,7 @@ Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-2 [3185 kB] -Fetched 22.6 MB in 0s (201 MB/s) +Fetched 22.6 MB in 0s (118 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 ... 20087 files and directories currently installed.) @@ -273,7 +305,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xilinx-bootgen-2022.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_2022.2-2_source.changes +I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2333685/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xilinx-bootgen-2022.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_2022.2-2_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2 dpkg-buildpackage: info: source distribution unstable @@ -324,79 +360,51 @@ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp -In file included from authentication-versal.h:40, - from authentication-versal.cpp:22: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:37: -/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:40, - from authkeys-versal.cpp:27: +In file included from authentication.h:43, + from authentication-zynq.h:26, + from authentication-zynq.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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-versal.h:31, - from authkeys-versal.cpp:26: + from authentication.h:35: /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:42: -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication-versal.h:35: -/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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys-versal.h:29: +In file included from authentication.h:33: /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:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../s/bif.y:42, - from bifscanner.h:39, - from ../s/bif.l:23: +In file included from authentication-versal.h:40, + from authentication-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, - from bootimage.h:34: + from authentication-versal.h:37: /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:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication-versal.h:35: /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:43, - from authentication-zynq.h:26, - from authentication-zynq.cpp:27: + from authentication-zynqmp.h:27, + from authentication-zynqmp.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -416,15 +424,17 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, - from authkeys.cpp:26: + from imageheadertable.h:31, + from imageheadertable-versal.h:27, + from bifoptions.h:28, + from bifoptions.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, - from authkeys.cpp:25: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -432,36 +442,10 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': -../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': -../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': -../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': -../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: At global scope: -../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': -../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from authentication.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': @@ -482,31 +466,6 @@ /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:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../s/bif.y:54: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:32, - from bootimage.h:34: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1017:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY* eckeyN = EC_KEY_new(); @@ -618,6 +577,76 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ +In file included from authentication.h:43, + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../s/bif.y:42, + from bifscanner.h:39, + from ../s/bif.l:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from bootimage.h:34: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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:43, + from authkeys.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from authkeys.cpp:25: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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:40, + from authkeys-versal.cpp:27: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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-versal.h:31, + from authkeys-versal.cpp:26: +/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:42: +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys-versal.h:29: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); @@ -662,20 +691,6 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ -authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': -authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -In file included from /usr/include/openssl/x509.h:33: -/usr/include/openssl/ec.h:1017:31: note: declared here - 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:50:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1017:31: note: declared here - 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); - | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)': authkeys.cpp:404:32: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); @@ -759,6 +774,117 @@ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ +In file included from authentication.h:43, + from imageheadertable.h:31, + from imageheadertable-versal.h:27, + from bifoptions.h:28, + from binary-versal.cpp:30: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:35: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': +../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': +../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': +../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': +../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: At global scope: +../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': +../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +In file included from authentication.h:43, + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../s/bif.y:54: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from bootimage.h:34: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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:43, + from imageheadertable.h:31, + from imageheadertable-versal.h:27, + from bifoptions.h:28, + from binary.cpp:30: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:35: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': +authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +In file included from /usr/include/openssl/x509.h:33: +/usr/include/openssl/ec.h:1017:31: note: declared here + 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:50:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 50 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1017:31: note: declared here + 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); + | ^~~~~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const Key&)': authkeys-versal.cpp:68:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -871,77 +997,14 @@ /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:43, - from imageheadertable.h:31, - from imageheadertable-versal.h:27, - from bifoptions.h:28, - from binary.cpp:30: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:35: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp -In file included from authentication.h:43, - from authentication-zynqmp.h:27, - from authentication-zynqmp.cpp:27: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:35: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp -In file included from authentication.h:43, - from imageheadertable.h:31, - from imageheadertable-versal.h:27, - from bifoptions.h:28, - from binary-versal.cpp:30: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:35: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -971,9 +1034,9 @@ | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-versal.h:27, - from bifoptions.h:28, - from bifoptions.cpp:25: + from bootheader.h:28, + from bootheader-zynq.h:27, + from bootheader-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -992,7 +1055,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1016,24 +1079,18 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from bitutils.h:32, - from bitutils.cpp:27: + from bootheader-zynqmp.h:28, + from bootheader-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, - from bootimage.h:34: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1041,17 +1098,17 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from bootheader.cpp:22: + from bitutils.h:32, + from bitutils.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1071,61 +1128,13 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp -In file included from authentication.h:43, - from imageheadertable.h:31, - from bootheader.h:28, - from bootheader-zynq.h:27, - from bootheader-zynq.cpp:22: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:35: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/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:43, - from imageheadertable.h:31, - from bootheader.h:28, - from bootheader-zynqmp.h:28, - from bootheader-zynqmp.cpp:22: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:35: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/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:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from bootimage-zynq.h:28, - from bootimage-zynq.cpp:22: + from bootimage-versal.h:27, + from bootimage-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1150,8 +1159,7 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from bootimage-versal.h:27, - from bootimage-versal.cpp:22: + from bootheader.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1171,7 +1179,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': bootimage-versal.cpp:1231:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1231 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); @@ -1228,8 +1236,8 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from bootimage-zynqmp.h:28, - from bootimage-zynqmp.cpp:22: + from bootimage-zynq.h:28, + from bootimage-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1249,12 +1257,17 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from bootimage.cpp:26: + from bootimage-zynqmp.h:28, + from bootimage-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1274,13 +1287,13 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from checksum-versal.h:26, - from checksum-versal.cpp:17: + from checksum.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1300,16 +1313,13 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from checksum.cpp:22: + from bootimage.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1329,16 +1339,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': -checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 58 | MD5( data, length, cksum_data); - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from checksum.cpp:32: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1346,7 +1347,7 @@ from bootimage.h:35, from ../../s/cmdoptions.y:39, from cmdoptionsscanner.h:40, - from ../s/cmdoptions.l:23: + from ../../s/cmdoptions.y:51: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1366,21 +1367,21 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp -../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': -../bisonflex/cmdoptions.yy.cpp:1316:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1317:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1318:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': +checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 58 | MD5( data, length, cksum_data); + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from checksum.cpp:32: +/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, + | ^~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from ../../s/cmdoptions.y:39, - from cmdoptionsscanner.h:40, - from ../../s/cmdoptions.y:51: + from checksum-versal.h:26, + from checksum-versal.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1400,26 +1401,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': -../bisonflex/cmdoptions.yy.cpp:2600:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2601:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2602:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2602:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': -../bisonflex/cmdoptions.yy.cpp:2740:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2741:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2749:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': -../bisonflex/cmdoptions.yy.cpp:2778:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2780:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2782:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: At global scope: -../bisonflex/cmdoptions.yy.cpp:2803:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': -../bisonflex/cmdoptions.yy.cpp:2806:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2819:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from elftools.cpp:25: @@ -1446,7 +1427,9 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption-versal.cpp:23: + from ../../s/cmdoptions.y:39, + from cmdoptionsscanner.h:40, + from ../s/cmdoptions.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1466,6 +1449,33 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': +../bisonflex/cmdoptions.yy.cpp:1316:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1317:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1317:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1318:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': +../bisonflex/cmdoptions.yy.cpp:2600:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2601:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2602:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2602:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': +../bisonflex/cmdoptions.yy.cpp:2740:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2741:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2749:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': +../bisonflex/cmdoptions.yy.cpp:2778:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2780:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2782:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: At global scope: +../bisonflex/cmdoptions.yy.cpp:2803:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': +../bisonflex/cmdoptions.yy.cpp:2806:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2819: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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1496,7 +1506,7 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption-zynq.cpp:36: + from encryption-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1516,8 +1526,11 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1543,8 +1556,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from hash.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -1575,12 +1586,11 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption.cpp:23: + from encryption-zynq.cpp:36: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:32, @@ -1596,18 +1606,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-zynq.h:27, - from imageheadertable-zynq.cpp:22: + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from encryption.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: + from authkeys.h:32, + from bootimage.h:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1615,7 +1627,7 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:33: +In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ @@ -1641,10 +1653,13 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-zynqmp.h:27, - from imageheadertable-zynqmp.cpp:22: + from imageheadertable-zynq.h:27, + from imageheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1665,18 +1680,15 @@ | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from imageheadertable.cpp:22: + from imageheadertable-zynqmp.h:27, + from imageheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, - from bootimage.h:34: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1684,13 +1696,11 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1716,24 +1726,12 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from ../../s/cmdoptions.y:39, - from cmdoptionsscanner.h:40, - from options.cpp:26: + from imageheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1753,7 +1751,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1784,9 +1789,7 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from ../s/bif.y:42, - from parsing.h:26, - from parsing.cpp:23: + from outputfile.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1811,7 +1814,9 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from outputfile.cpp:28: + from ../../s/cmdoptions.y:39, + from cmdoptionsscanner.h:40, + from options.cpp:26: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1831,19 +1836,22 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, - from partitionheadertable-versal.h:27, - from partitionheadertable-versal.cpp:22: + from bootimage.h:35, + from partition-versal.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: + from authkeys.h:32, + from bootimage.h:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1851,7 +1859,7 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:33: +In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ @@ -1860,7 +1868,9 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from partition-versal.cpp:24: + from ../s/bif.y:42, + from parsing.h:26, + from parsing.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1880,6 +1890,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1905,12 +1916,13 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, - from partitionheadertable-zynqmp.h:27, - from partitionheadertable-zynqmp.cpp:22: + from partitionheadertable-versal.h:27, + from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1925,35 +1937,11 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from partitionheadertable.cpp:22: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authkeys.h:32, - from bootimage.h:34: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1978,19 +1966,22 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-versal.h:27, - from postprocess.cpp:17: + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from partitionheadertable.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:35: + from authkeys.h:32, + from bootimage.h:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1998,20 +1989,16 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:33: +In file included from authkeys.h:30: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:43, - from readimage.h:32, - from readimage-zynq.h:30, - from readimage-zynq.cpp:24: + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from partitionheadertable-zynqmp.h:27, + from partitionheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2031,9 +2018,9 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, - from readimage.h:32, - from readimage-versal.h:29, - from readimage-versal.cpp:31: + from imageheadertable.h:31, + from imageheadertable-versal.h:27, + from postprocess.cpp:17: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2052,12 +2039,12 @@ /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp In file included from authentication.h:43, from readimage.h:32, - from readimage-zynqmp.h:33, - from readimage-zynqmp.cpp:24: + from readimage-versal.h:29, + from readimage-versal.cpp:31: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2099,8 +2086,8 @@ | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, - from readimage-versal.h:29, - from verifyimage-versal.cpp:25: + from readimage-zynq.h:30, + from readimage-zynq.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2119,35 +2106,11 @@ /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:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from reginit.cpp:25: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:32, - from bootimage.h:34: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-zynqmp.h:33, - from verifyimage-zynqmp.cpp:23: + from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2158,6 +2121,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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); @@ -2166,50 +2130,22 @@ /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:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../../s/reginit.y:44, - from reginitscanner.h:40, - from ../../s/reginit.y:54: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | 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:32, - from bootimage.h:34: -/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: -/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c In file included from authentication.h:43, - from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../../s/reginit.y:44, - from reginitscanner.h:40, - from ../s/reginit.l:23: + from readimage.h:32, + from readimage-versal.h:29, + from verifyimage-versal.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | 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:32, - from bootimage.h:34: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -2217,11 +2153,18 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c +readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': +readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] + 182 | 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)); + | ^~~~~~ 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); @@ -2316,12 +2259,127 @@ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +In file included from authentication.h:43, + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from reginit.cpp:25: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from bootimage.h:34: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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:43, + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../../s/reginit.y:44, + from reginitscanner.h:40, + from ../s/reginit.l:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from bootimage.h:34: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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:43, + from readimage.h:32, + from readimage-zynqmp.h:33, + from verifyimage-zynqmp.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:35: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/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:43, + from imageheadertable.h:31, + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../../s/reginit.y:44, + from reginitscanner.h:40, + from ../../s/reginit.y:54: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | 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:32, + from bootimage.h:34: +/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:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-command.c ../bisonflex/reginit.yy.cpp: In member function 'virtual int RE::FlexScanner::yylex()': ../bisonflex/reginit.yy.cpp:719:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:785:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] + 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from readimage-versal.h:34: +authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' + 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); + | ^~~~~~~~~~~~~~~~~~~~~~ +verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] + 228 | m1 = s -> AttachSHA3Padding(mPad, 104); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' + 247 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); + | ^~~~~~~~~~~~~~~~~ ../bisonflex/reginit.yy.cpp: In member function 'int reginitFlexLexer::yy_get_next_buffer()': ../bisonflex/reginit.yy.cpp:1221:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1222:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -2342,7 +2400,7 @@ ../bisonflex/reginit.yy.cpp:1437:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1438:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1440:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-command.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-load.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(); @@ -2386,39 +2444,17 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ -readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': -readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] - 182 | fclose(binFile); +readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': +readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] + 82 | 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)); | ^~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-load.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-npi.c -verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] - 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from readimage-versal.h:34: -authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' - 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); - | ^~~~~~~~~~~~~~~~~~~~~~ -verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] - 228 | m1 = s -> AttachSHA3Padding(mPad, 104); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' - 247 | 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-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-overlay.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-raw.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.c -readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': -readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] - 82 | 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)); - | ^~~~~~ echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto @@ -2450,8 +2486,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_2022.2-2_arm64.deb'. dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2022.2-2_arm64.deb'. +dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2022.2-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2022.2-2_arm64.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2022.2-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2459,12 +2495,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/2333685/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2333685/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/1614404 and its subdirectories -I: Current time: Sun Nov 24 23:09:05 -12 2024 -I: pbuilder-time-stamp: 1732532945 +I: removing directory /srv/workspace/pbuilder/2333685 and its subdirectories +I: Current time: Mon Dec 29 07:33:16 +14 2025 +I: pbuilder-time-stamp: 1766943196 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/xilinx-bootgen_2022.2-2.diff: 91.8% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/xilinx-bootgen_2022.2-2.diff.gz b2/build.log: 91.5% -- replaced with stdout Compressing the 1st log... b1/build.log: 91.8% -- replaced with stdout Mon Nov 25 11:10:20 UTC 2024 I: diffoscope 283 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_xilinx-bootgen_trixie_arm64_1732533020 + touch /var/log/reproducible-builds/diffoscope_stamp_xilinx-bootgen_trixie_arm64_1732533020 + RESULT=0 + systemd-run '--description=diffoscope on xilinx-bootgen/2022.2-2 in trixie/arm64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-arm64_19-46500 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil --run-session -c jenkins-reproducible-trixie-diffoscope-f9391ec6-c34c-4620-b3d3-d43cf980bc71 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/dbd-tmp-hZgZznl ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1/xilinx-bootgen_2022.2-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2/xilinx-bootgen_2022.2-2_arm64.changes' + false + set +x Running as unit: rb-diffoscope-arm64_19-46500.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/xilinx-bootgen_2022.2-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b1/xilinx-bootgen_2022.2-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.8n5Cwdil/b2/xilinx-bootgen_2022.2-2_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.402s) 0.402s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.072s) 0.072s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 723ms CPU time consumed: 721ms _ _ _ _ _ __ _(_) (_)_ __ __ __ | |__ ___ ___ | |_ __ _ ___ _ __ \ \/ / | | | '_ \\ \/ /____| '_ \ / _ \ / _ \| __/ _` |/ _ \ '_ \ > <| | | | | | |> <_____| |_) | (_) | (_) | || (_| | __/ | | | /_/\_\_|_|_|_| |_/_/\_\ |_.__/ \___/ \___/ \__\__, |\___|_| |_| |___/ Mon Nov 25 11:10:21 UTC 2024 I: diffoscope 283 found no differences in the changes files, and a .buildinfo file also exists. Mon Nov 25 11:10:21 UTC 2024 I: xilinx-bootgen from trixie built successfully and reproducibly on arm64. INSERT 0 1 INSERT 0 1 DELETE 1 [2024-11-25 11:10:22] INFO: Starting at 2024-11-25 11:10:22.241039 [2024-11-25 11:10:22] INFO: Generating the pages of 1 package(s) [2024-11-25 11:10:22] CRITICAL: https://tests.reproducible-builds.org/debian/trixie/arm64/xilinx-bootgen didn't produce a buildlog, even though it has been built. [2024-11-25 11:10:22] INFO: Finished at 2024-11-25 11:10:22.613426, took: 0:00:00.372394 Mon Nov 25 11:10:22 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/trixie/arm64/xilinx-bootgen.html Mon Nov 25 11:10:22 UTC 2024 I: Submitting .buildinfo files to external archives: Mon Nov 25 11:10:22 UTC 2024 I: Submitting 8.0K b1/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc https://buildinfo.debian.net/1a30b3a46a13870e9d092b7ffb6fa244ad373eda/xilinx-bootgen_2022.2-2_arm64 Mon Nov 25 11:10:23 UTC 2024 I: Submitting 8.0K b2/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc https://buildinfo.debian.net/da9e69f749bebad94313dcb733b36eb8e9456054/xilinx-bootgen_2022.2-2_arm64 Mon Nov 25 11:10:24 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Mon Nov 25 11:10:24 UTC 2024 I: Done submitting .buildinfo files. Mon Nov 25 11:10:24 UTC 2024 I: Removing signed xilinx-bootgen_2022.2-2_arm64.buildinfo.asc files: removed './b1/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc' removed './b2/xilinx-bootgen_2022.2-2_arm64.buildinfo.asc' 1732533024 arm64 trixie xilinx-bootgen Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/xilinx-bootgen_2022.2-2.rbuild.log: 90.5% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/xilinx-bootgen_2022.2-2.rbuild.log.gz [2024-11-25 11:10:24] INFO: Starting at 2024-11-25 11:10:24.503200 [2024-11-25 11:10:24] INFO: Generating the pages of 1 package(s) [2024-11-25 11:10:24] INFO: Finished at 2024-11-25 11:10:24.805003, took: 0:00:00.301813 All cleanup done. Mon Nov 25 11:10:24 UTC 2024 - total duration: 0h 2m 27s. Mon Nov 25 11:10:24 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-XDnv82DN, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 2min 30.390s CPU time consumed: 7.534s