https://launchpad.net/ubuntu/+source/xilinx-bootgen/2022.2-2ubuntu1/+build/25479043 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lgw01-063 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 Buildd toolchain package versions: launchpad-buildd_222~591~ubuntu20.04.1 python3-lpbuildd_222~591~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu3.2 dpkg-dev_1.19.7ubuntu3 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 12 Jan 18:32:59 ntpdate[1043273]: adjust time server 10.211.37.1 offset 0.000000 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 --image-type chroot /home/buildd/filecache-default/859743d4aa431be74cb50b11ddbd51d0d1ab094f Creating target for build PACKAGEBUILD-25479043 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 Starting target for build PACKAGEBUILD-25479043 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 'deb http://ftpmaster.internal/ubuntu lunar main universe' 'deb http://ftpmaster.internal/ubuntu lunar-security main universe' 'deb http://ftpmaster.internal/ubuntu lunar-updates main universe' 'deb http://ftpmaster.internal/ubuntu lunar-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-25479043 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 Updating target for build PACKAGEBUILD-25479043 Get:1 http://ftpmaster.internal/ubuntu lunar InRelease [267 kB] Get:2 http://ftpmaster.internal/ubuntu lunar-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu lunar-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu lunar-proposed InRelease [118 kB] Get:5 http://ftpmaster.internal/ubuntu lunar/main riscv64 Packages [1307 kB] Get:6 http://ftpmaster.internal/ubuntu lunar/main Translation-en [510 kB] Get:7 http://ftpmaster.internal/ubuntu lunar/universe riscv64 Packages [14.2 MB] Get:8 http://ftpmaster.internal/ubuntu lunar/universe Translation-en [5880 kB] Get:9 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 Packages [253 kB] Get:10 http://ftpmaster.internal/ubuntu lunar-proposed/main Translation-en [110 kB] Get:11 http://ftpmaster.internal/ubuntu lunar-proposed/universe riscv64 Packages [1124 kB] Get:12 http://ftpmaster.internal/ubuntu lunar-proposed/universe Translation-en [437 kB] Fetched 24.3 MB in 33s (731 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be REMOVED: lsb-base* The following packages will be upgraded: adduser bash binutils binutils-common binutils-riscv64-linux-gnu coreutils cpp-12 debconf diffutils dpkg dpkg-dev g++-12 gcc-12 gcc-12-base gpg gpg-agent gpgconf gpgv libasan8 libatomic1 libbinutils libcap2 libcc1-0 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdpkg-perl libgcc-12-dev libgcc-s1 libgomp1 liblzma5 libmpfr6 libncurses6 libncursesw6 libpcre2-8-0 libperl5.36 libsqlite3-0 libssl3 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libtinfo6 libudev1 libzstd1 linux-libc-dev ncurses-base ncurses-bin openssl perl perl-base perl-modules-5.36 systemd systemd-sysv sysvinit-utils tzdata xz-utils zlib1g 59 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 73.2 MB of archives. After this operation, 3382 kB disk space will be freed. Get:1 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 bash riscv64 5.2.15-2ubuntu1 [672 kB] Get:2 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 coreutils riscv64 9.1-1ubuntu2 [1309 kB] Get:3 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 diffutils riscv64 1:3.8-3 [167 kB] Get:4 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 liblzma5 riscv64 5.4.0-0.1 [114 kB] Get:5 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 dpkg riscv64 1.21.17ubuntu5 [1291 kB] Get:6 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 ncurses-bin riscv64 6.4-1 [177 kB] Get:7 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libperl5.36 riscv64 5.36.0-7 [4197 kB] Get:8 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 perl riscv64 5.36.0-7 [235 kB] Get:9 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 perl-base riscv64 5.36.0-7 [1649 kB] Get:10 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 perl-modules-5.36 all 5.36.0-7 [2984 kB] Get:11 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libcrypt-dev riscv64 1:4.4.33-2 [234 kB] Get:12 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libcrypt1 riscv64 1:4.4.33-2 [93.4 kB] Get:13 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 zlib1g riscv64 1:1.2.13.dfsg-1ubuntu4 [54.0 kB] Get:14 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 ncurses-base all 6.4-1 [21.3 kB] Get:15 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 sysvinit-utils riscv64 3.05-7ubuntu1 [26.4 kB] Get:16 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 systemd-sysv riscv64 252.4-1ubuntu1 [11.4 kB] Get:17 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libcc1-0 riscv64 12.2.0-12ubuntu1 [42.9 kB] Get:18 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libgomp1 riscv64 12.2.0-12ubuntu1 [111 kB] Get:19 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libatomic1 riscv64 12.2.0-12ubuntu1 [7856 B] Get:20 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libasan8 riscv64 12.2.0-12ubuntu1 [2309 kB] Get:21 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gcc-12-base riscv64 12.2.0-12ubuntu1 [19.4 kB] Get:22 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libstdc++6 riscv64 12.2.0-12ubuntu1 [674 kB] Get:23 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 g++-12 riscv64 12.2.0-12ubuntu1 [9557 kB] Get:24 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libstdc++-12-dev riscv64 12.2.0-12ubuntu1 [4888 kB] Get:25 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libgcc-12-dev riscv64 12.2.0-12ubuntu1 [2633 kB] Get:26 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gcc-12 riscv64 12.2.0-12ubuntu1 [16.3 MB] Get:27 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 cpp-12 riscv64 12.2.0-12ubuntu1 [8286 kB] Get:28 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libgcc-s1 riscv64 12.2.0-12ubuntu1 [44.1 kB] Get:29 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libmpfr6 riscv64 4.1.1-3 [249 kB] Get:30 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libzstd1 riscv64 1.5.2+dfsg2-3 [299 kB] Get:31 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libctf-nobfd0 riscv64 2.39.90.20221231-1ubuntu1 [88.5 kB] Get:32 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libctf0 riscv64 2.39.90.20221231-1ubuntu1 [87.1 kB] Get:33 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libbinutils riscv64 2.39.90.20221231-1ubuntu1 [459 kB] Get:34 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 binutils-common riscv64 2.39.90.20221231-1ubuntu1 [218 kB] Get:35 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 binutils riscv64 2.39.90.20221231-1ubuntu1 [3034 B] Get:36 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 binutils-riscv64-linux-gnu riscv64 2.39.90.20221231-1ubuntu1 [827 kB] Get:37 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libcap2 riscv64 1:2.66-3 [24.9 kB] Get:38 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 debconf all 1.5.82 [125 kB] Get:39 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libssl3 riscv64 3.0.7-1ubuntu1 [1438 kB] Get:40 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 systemd riscv64 252.4-1ubuntu1 [2814 kB] Get:41 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libsystemd-shared riscv64 252.4-1ubuntu1 [1567 kB] Get:42 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libsystemd0 riscv64 252.4-1ubuntu1 [299 kB] Get:43 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libpcre2-8-0 riscv64 10.42-1 [142 kB] Get:44 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libncursesw6 riscv64 6.4-1 [128 kB] Get:45 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libncurses6 riscv64 6.4-1 [93.2 kB] Get:46 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libtinfo6 riscv64 6.4-1 [90.7 kB] Get:47 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libudev1 riscv64 252.4-1ubuntu1 [82.1 kB] Get:48 http://ftpmaster.internal/ubuntu lunar/main riscv64 adduser all 3.129ubuntu1 [59.0 kB] Get:49 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gpgv riscv64 2.2.40-1ubuntu2 [202 kB] Get:50 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libsqlite3-0 riscv64 3.40.1-1 [583 kB] Get:51 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 openssl riscv64 3.0.7-1ubuntu1 [1141 kB] Get:52 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 tzdata all 2022g-2ubuntu1 [397 kB] Get:53 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 xz-utils riscv64 5.4.0-0.1 [172 kB] Get:54 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 dpkg-dev all 1.21.17ubuntu5 [1070 kB] Get:55 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libdpkg-perl all 1.21.17ubuntu5 [247 kB] Get:56 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gpg riscv64 2.2.40-1ubuntu2 [491 kB] Get:57 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gpgconf riscv64 2.2.40-1ubuntu2 [119 kB] Get:58 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 gpg-agent riscv64 2.2.40-1ubuntu2 [239 kB] Get:59 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 linux-libc-dev riscv64 5.19.0-23.24 [1314 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 73.2 MB in 12s (6164 kB/s) (Reading database ... 13011 files and directories currently installed.) Preparing to unpack .../bash_5.2.15-2ubuntu1_riscv64.deb ... Unpacking bash (5.2.15-2ubuntu1) over (5.2-1ubuntu2) ... Setting up bash (5.2.15-2ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13011 files and directories currently installed.) Preparing to unpack .../coreutils_9.1-1ubuntu2_riscv64.deb ... Unpacking coreutils (9.1-1ubuntu2) over (8.32-4.1ubuntu1) ... Setting up coreutils (9.1-1ubuntu2) ... (Reading database ... 13011 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.8-3_riscv64.deb ... Unpacking diffutils (1:3.8-3) over (1:3.8-1) ... Setting up diffutils (1:3.8-3) ... (Reading database ... 13011 files and directories currently installed.) Preparing to unpack .../liblzma5_5.4.0-0.1_riscv64.deb ... Unpacking liblzma5:riscv64 (5.4.0-0.1) over (5.2.9-0.0) ... Setting up liblzma5:riscv64 (5.4.0-0.1) ... (Reading database ... 13011 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.17ubuntu5_riscv64.deb ... Unpacking dpkg (1.21.17ubuntu5) over (1.21.11ubuntu2) ... Setting up dpkg (1.21.17ubuntu5) ... (Reading database ... 13010 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4-1_riscv64.deb ... Unpacking ncurses-bin (6.4-1) over (6.3+20220423-2) ... Setting up ncurses-bin (6.4-1) ... (Reading database ... 13010 files and directories currently installed.) Preparing to unpack .../libperl5.36_5.36.0-7_riscv64.deb ... Unpacking libperl5.36:riscv64 (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl_5.36.0-7_riscv64.deb ... Unpacking perl (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../perl-base_5.36.0-7_riscv64.deb ... Unpacking perl-base (5.36.0-7) over (5.36.0-4ubuntu2) ... Setting up perl-base (5.36.0-7) ... (Reading database ... 13010 files and directories currently installed.) Preparing to unpack .../perl-modules-5.36_5.36.0-7_all.deb ... Unpacking perl-modules-5.36 (5.36.0-7) over (5.36.0-4ubuntu2) ... Preparing to unpack .../libcrypt-dev_1%3a4.4.33-2_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.33-2) over (1:4.4.33-1) ... Preparing to unpack .../libcrypt1_1%3a4.4.33-2_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.33-2) over (1:4.4.33-1) ... Setting up libcrypt1:riscv64 (1:4.4.33-2) ... (Reading database ... 13010 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-1ubuntu4_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.2.13.dfsg-1ubuntu4) over (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up zlib1g:riscv64 (1:1.2.13.dfsg-1ubuntu4) ... (Reading database ... 13010 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4-1_all.deb ... Unpacking ncurses-base (6.4-1) over (6.3+20220423-2) ... Setting up ncurses-base (6.4-1) ... dpkg: lsb-base: dependency problems, but removing anyway as you requested: sysvinit-utils depends on lsb-base (>= 11.0.0~). procps depends on lsb-base (>= 3.0-10). (Reading database ... 13010 files and directories currently installed.) Removing lsb-base (11.2ubuntu1) ... (Reading database ... 13002 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_3.05-7ubuntu1_riscv64.deb ... Unpacking sysvinit-utils (3.05-7ubuntu1) over (3.04-1ubuntu1) ... Setting up sysvinit-utils (3.05-7ubuntu1) ... (Reading database ... 13005 files and directories currently installed.) Preparing to unpack .../0-systemd-sysv_252.4-1ubuntu1_riscv64.deb ... Unpacking systemd-sysv (252.4-1ubuntu1) over (251.4-1ubuntu7) ... Preparing to unpack .../1-libcc1-0_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../2-libgomp1_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../3-libatomic1_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../4-libasan8_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libasan8:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../5-gcc-12-base_12.2.0-12ubuntu1_riscv64.deb ... Unpacking gcc-12-base:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Setting up gcc-12-base:riscv64 (12.2.0-12ubuntu1) ... (Reading database ... 13006 files and directories currently installed.) Preparing to unpack .../libstdc++6_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libstdc++6:riscv64 (12.2.0-12ubuntu1) ... (Reading database ... 13006 files and directories currently installed.) Preparing to unpack .../0-g++-12_12.2.0-12ubuntu1_riscv64.deb ... Unpacking g++-12 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../1-libstdc++-12-dev_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libstdc++-12-dev:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../2-libgcc-12-dev_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libgcc-12-dev:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../3-gcc-12_12.2.0-12ubuntu1_riscv64.deb ... Unpacking gcc-12 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../4-cpp-12_12.2.0-12ubuntu1_riscv64.deb ... Unpacking cpp-12 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Preparing to unpack .../5-libgcc-s1_12.2.0-12ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (12.2.0-12ubuntu1) over (12.2.0-10ubuntu1) ... Setting up libgcc-s1:riscv64 (12.2.0-12ubuntu1) ... (Reading database ... 13006 files and directories currently installed.) Preparing to unpack .../libmpfr6_4.1.1-3_riscv64.deb ... Unpacking libmpfr6:riscv64 (4.1.1-3) over (4.1.0-3build3) ... Preparing to unpack .../libzstd1_1.5.2+dfsg2-3_riscv64.deb ... Unpacking libzstd1:riscv64 (1.5.2+dfsg2-3) over (1.5.2+dfsg-1) ... Setting up libzstd1:riscv64 (1.5.2+dfsg2-3) ... (Reading database ... 13006 files and directories currently installed.) Preparing to unpack .../0-libctf-nobfd0_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../1-libctf0_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking libctf0:riscv64 (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../2-libbinutils_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking libbinutils:riscv64 (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../3-binutils-common_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking binutils-common:riscv64 (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../4-binutils_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking binutils (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../5-binutils-riscv64-linux-gnu_2.39.90.20221231-1ubuntu1_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.39.90.20221231-1ubuntu1) over (2.39.50.20221224-1ubuntu1) ... Preparing to unpack .../6-libcap2_1%3a2.66-3_riscv64.deb ... Unpacking libcap2:riscv64 (1:2.66-3) over (1:2.44-1build3) ... Setting up libcap2:riscv64 (1:2.66-3) ... (Reading database ... 13008 files and directories currently installed.) Preparing to unpack .../debconf_1.5.82_all.deb ... Unpacking debconf (1.5.82) over (1.5.79ubuntu1) ... Setting up debconf (1.5.82) ... (Reading database ... 13008 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.7-1ubuntu1_riscv64.deb ... Unpacking libssl3:riscv64 (3.0.7-1ubuntu1) over (3.0.5-2ubuntu2) ... Setting up libssl3:riscv64 (3.0.7-1ubuntu1) ... (Reading database ... 13008 files and directories currently installed.) Preparing to unpack .../systemd_252.4-1ubuntu1_riscv64.deb ... Unpacking systemd (252.4-1ubuntu1) over (251.4-1ubuntu7) ... Preparing to unpack .../libsystemd-shared_252.4-1ubuntu1_riscv64.deb ... Unpacking libsystemd-shared:riscv64 (252.4-1ubuntu1) over (251.4-1ubuntu7) ... Preparing to unpack .../libsystemd0_252.4-1ubuntu1_riscv64.deb ... Unpacking libsystemd0:riscv64 (252.4-1ubuntu1) over (251.4-1ubuntu7) ... Setting up libsystemd0:riscv64 (252.4-1ubuntu1) ... (Reading database ... 13035 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.42-1_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.42-1) over (10.40-1ubuntu1) ... Setting up libpcre2-8-0:riscv64 (10.42-1) ... (Reading database ... 13035 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.4-1_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.4-1) over (6.3+20220423-2) ... Preparing to unpack .../libncurses6_6.4-1_riscv64.deb ... Unpacking libncurses6:riscv64 (6.4-1) over (6.3+20220423-2) ... Preparing to unpack .../libtinfo6_6.4-1_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.4-1) over (6.3+20220423-2) ... Setting up libtinfo6:riscv64 (6.4-1) ... (Reading database ... 13035 files and directories currently installed.) Preparing to unpack .../libudev1_252.4-1ubuntu1_riscv64.deb ... Unpacking libudev1:riscv64 (252.4-1ubuntu1) over (251.4-1ubuntu7) ... Setting up libudev1:riscv64 (252.4-1ubuntu1) ... (Reading database ... 13036 files and directories currently installed.) Preparing to unpack .../adduser_3.129ubuntu1_all.deb ... moving unchanged adduser.conf to adduser.conf.update-old. New dpkg-conffile will come from the package. Unpacking adduser (3.129ubuntu1) over (3.121ubuntu1) ... Setting up adduser (3.129ubuntu1) ... Installing new version of config file /etc/deluser.conf ... (Reading database ... 13003 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.40-1ubuntu2_riscv64.deb ... Unpacking gpgv (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Setting up gpgv (2.2.40-1ubuntu2) ... (Reading database ... 13003 files and directories currently installed.) Preparing to unpack .../0-libsqlite3-0_3.40.1-1_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.40.1-1) over (3.40.0-1) ... Preparing to unpack .../1-openssl_3.0.7-1ubuntu1_riscv64.deb ... Unpacking openssl (3.0.7-1ubuntu1) over (3.0.5-2ubuntu2) ... Preparing to unpack .../2-tzdata_2022g-2ubuntu1_all.deb ... Unpacking tzdata (2022g-2ubuntu1) over (2022g-1ubuntu1) ... Preparing to unpack .../3-xz-utils_5.4.0-0.1_riscv64.deb ... Unpacking xz-utils (5.4.0-0.1) over (5.2.9-0.0) ... Preparing to unpack .../4-dpkg-dev_1.21.17ubuntu5_all.deb ... Unpacking dpkg-dev (1.21.17ubuntu5) over (1.21.11ubuntu2) ... Preparing to unpack .../5-libdpkg-perl_1.21.17ubuntu5_all.deb ... Unpacking libdpkg-perl (1.21.17ubuntu5) over (1.21.11ubuntu2) ... Preparing to unpack .../6-gpg_2.2.40-1ubuntu2_riscv64.deb ... Unpacking gpg (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../7-gpgconf_2.2.40-1ubuntu2_riscv64.deb ... Unpacking gpgconf (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../8-gpg-agent_2.2.40-1ubuntu2_riscv64.deb ... Unpacking gpg-agent (2.2.40-1ubuntu2) over (2.2.40-1ubuntu1) ... Preparing to unpack .../9-linux-libc-dev_5.19.0-23.24_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (5.19.0-23.24) over (5.19.0-21.21) ... Setting up libsqlite3-0:riscv64 (3.40.1-1) ... Setting up binutils-common:riscv64 (2.39.90.20221231-1ubuntu1) ... Setting up linux-libc-dev:riscv64 (5.19.0-23.24) ... Setting up libctf-nobfd0:riscv64 (2.39.90.20221231-1ubuntu1) ... Setting up libgomp1:riscv64 (12.2.0-12ubuntu1) ... Setting up tzdata (2022g-2ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Jan 12 18:38:12 UTC 2023. Universal Time is now: Thu Jan 12 18:38:12 UTC 2023. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up perl-modules-5.36 (5.36.0-7) ... Setting up libmpfr6:riscv64 (4.1.1-3) ... Setting up libncurses6:riscv64 (6.4-1) ... Setting up xz-utils (5.4.0-0.1) ... Setting up libatomic1:riscv64 (12.2.0-12ubuntu1) ... Setting up libsystemd-shared:riscv64 (252.4-1ubuntu1) ... Setting up libncursesw6:riscv64 (6.4-1) ... Setting up libcrypt-dev:riscv64 (1:4.4.33-2) ... Setting up libasan8:riscv64 (12.2.0-12ubuntu1) ... Setting up gpgconf (2.2.40-1ubuntu2) ... Setting up libbinutils:riscv64 (2.39.90.20221231-1ubuntu1) ... Setting up openssl (3.0.7-1ubuntu1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libcc1-0:riscv64 (12.2.0-12ubuntu1) ... Setting up libperl5.36:riscv64 (5.36.0-7) ... Setting up gpg (2.2.40-1ubuntu2) ... Setting up libctf0:riscv64 (2.39.90.20221231-1ubuntu1) ... Setting up cpp-12 (12.2.0-12ubuntu1) ... Setting up gpg-agent (2.2.40-1ubuntu2) ... Setting up binutils-riscv64-linux-gnu (2.39.90.20221231-1ubuntu1) ... Setting up systemd (252.4-1ubuntu1) ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up binutils (2.39.90.20221231-1ubuntu1) ... Setting up perl (5.36.0-7) ... Setting up libgcc-12-dev:riscv64 (12.2.0-12ubuntu1) ... Setting up libdpkg-perl (1.21.17ubuntu5) ... Setting up systemd-sysv (252.4-1ubuntu1) ... Setting up libstdc++-12-dev:riscv64 (12.2.0-12ubuntu1) ... Setting up dpkg-dev (1.21.17ubuntu5) ... Setting up gcc-12 (12.2.0-12ubuntu1) ... Setting up g++-12 (12.2.0-12ubuntu1) ... Processing triggers for debianutils (5.7-0.4) ... Processing triggers for libc-bin (2.36-0ubuntu4) ... (Reading database ... 13029 files and directories currently installed.) Purging configuration files for lsb-base (11.2ubuntu1) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-25479043 riscv64 lunar-proposed -c chroot:build-PACKAGEBUILD-25479043 --arch=riscv64 --dist=lunar-proposed --nolog xilinx-bootgen_2022.2-2ubuntu1.dsc Initiating build PACKAGEBUILD-25479043 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lgw01-063.buildd +==============================================================================+ | xilinx-bootgen 2022.2-2ubuntu1 (riscv64) Thu, 12 Jan 2023 18:38:49 +0000 | +==============================================================================+ Package: xilinx-bootgen Version: 2022.2-2ubuntu1 Source Version: 2022.2-2ubuntu1 Distribution: lunar-proposed Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-25479043/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/xilinx-bootgen-KVN590/resolver-XseqjY' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- xilinx-bootgen_2022.2-2ubuntu1.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/xilinx-bootgen-KVN590/xilinx-bootgen-2022.2' with '<>' I: NOTICE: Log filtering will replace 'build/xilinx-bootgen-KVN590' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), libssl-dev, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 13), libssl-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [377 B] Get:5 copy:/<>/apt_archive ./ Packages [460 B] Fetched 1794 B in 0s (4871 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libfile-stripnondeterminism-perl libicu71 libmagic-mgc libmagic1 libpipeline1 libssl-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libssl-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libfile-stripnondeterminism-perl libicu71 libmagic-mgc libmagic1 libpipeline1 libssl-dev libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-main-dummy 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 22.6 MB of archives. After this operation, 100 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [674 B] Get:2 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libelf1 riscv64 0.188-2 [48.7 kB] Get:3 http://ftpmaster.internal/ubuntu lunar/main riscv64 libicu71 riscv64 71.1-3ubuntu1 [10.5 MB] Get:4 http://ftpmaster.internal/ubuntu lunar/main riscv64 libxml2 riscv64 2.9.14+dfsg-1.1 [598 kB] Get:5 http://ftpmaster.internal/ubuntu lunar/main riscv64 bsdextrautils riscv64 2.38.1-4ubuntu1 [81.6 kB] Get:6 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libmagic-mgc riscv64 1:5.44-1 [291 kB] Get:7 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libmagic1 riscv64 1:5.44-1 [85.1 kB] Get:8 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 file riscv64 1:5.44-1 [20.6 kB] Get:9 http://ftpmaster.internal/ubuntu lunar/main riscv64 gettext-base riscv64 0.21-10 [38.4 kB] Get:10 http://ftpmaster.internal/ubuntu lunar/main riscv64 libuchardet0 riscv64 0.0.7-1build2 [78.9 kB] Get:11 http://ftpmaster.internal/ubuntu lunar/main riscv64 groff-base riscv64 1.22.4-9 [906 kB] Get:12 http://ftpmaster.internal/ubuntu lunar/main riscv64 libpipeline1 riscv64 1.5.7-1 [26.8 kB] Get:13 http://ftpmaster.internal/ubuntu lunar/main riscv64 man-db riscv64 2.11.2-1 [1177 kB] Get:14 http://ftpmaster.internal/ubuntu lunar/main riscv64 m4 riscv64 1.4.19-2 [242 kB] Get:15 http://ftpmaster.internal/ubuntu lunar/main riscv64 autoconf all 2.71-2 [338 kB] Get:16 http://ftpmaster.internal/ubuntu lunar/main riscv64 autotools-dev all 20220109.1 [44.9 kB] Get:17 http://ftpmaster.internal/ubuntu lunar/main riscv64 automake all 1:1.16.5-1.3 [558 kB] Get:18 http://ftpmaster.internal/ubuntu lunar/main riscv64 autopoint all 0.21-10 [421 kB] Get:19 http://ftpmaster.internal/ubuntu lunar/main riscv64 libdebhelper-perl all 13.10.1ubuntu1 [67.1 kB] Get:20 http://ftpmaster.internal/ubuntu lunar/main riscv64 libtool all 2.4.7-5 [166 kB] Get:21 http://ftpmaster.internal/ubuntu lunar/main riscv64 dh-autoreconf all 20 [16.1 kB] Get:22 http://ftpmaster.internal/ubuntu lunar/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:23 http://ftpmaster.internal/ubuntu lunar/main riscv64 libsub-override-perl all 0.09-4 [8706 B] Get:24 http://ftpmaster.internal/ubuntu lunar/main riscv64 libfile-stripnondeterminism-perl all 1.13.0-2 [18.2 kB] Get:25 http://ftpmaster.internal/ubuntu lunar/main riscv64 dh-strip-nondeterminism all 1.13.0-2 [5308 B] Get:26 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libdw1 riscv64 0.188-2 [229 kB] Get:27 http://ftpmaster.internal/ubuntu lunar/main riscv64 debugedit riscv64 1:5.0-5 [48.8 kB] Get:28 http://ftpmaster.internal/ubuntu lunar/main riscv64 dwz riscv64 0.15-1 [115 kB] Get:29 http://ftpmaster.internal/ubuntu lunar/main riscv64 gettext riscv64 0.21-10 [811 kB] Get:30 http://ftpmaster.internal/ubuntu lunar/main riscv64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:31 http://ftpmaster.internal/ubuntu lunar/main riscv64 po-debconf all 1.0.21+nmu1 [233 kB] Get:32 http://ftpmaster.internal/ubuntu lunar/main riscv64 debhelper all 13.10.1ubuntu1 [924 kB] Get:33 http://ftpmaster.internal/ubuntu lunar-proposed/main riscv64 libssl-dev riscv64 3.0.7-1ubuntu1 [4411 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 22.6 MB in 5s (4117 kB/s) Selecting previously unselected package libelf1:riscv64. (Reading database ... 13029 files and directories currently installed.) Preparing to unpack .../00-libelf1_0.188-2_riscv64.deb ... Unpacking libelf1:riscv64 (0.188-2) ... Selecting previously unselected package libicu71:riscv64. Preparing to unpack .../01-libicu71_71.1-3ubuntu1_riscv64.deb ... Unpacking libicu71:riscv64 (71.1-3ubuntu1) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../02-libxml2_2.9.14+dfsg-1.1_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.14+dfsg-1.1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../03-bsdextrautils_2.38.1-4ubuntu1_riscv64.deb ... Unpacking bsdextrautils (2.38.1-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.44-1_riscv64.deb ... Unpacking libmagic-mgc (1:5.44-1) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../05-libmagic1_1%3a5.44-1_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.44-1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.44-1_riscv64.deb ... Unpacking file (1:5.44-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-10_riscv64.deb ... Unpacking gettext-base (0.21-10) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../08-libuchardet0_0.0.7-1build2_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.22.4-9_riscv64.deb ... Unpacking groff-base (1.22.4-9) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../10-libpipeline1_1.5.7-1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.11.2-1_riscv64.deb ... Unpacking man-db (2.11.2-1) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.19-2_riscv64.deb ... Unpacking m4 (1.4.19-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-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 .../16-autopoint_0.21-10_all.deb ... Unpacking autopoint (0.21-10) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.10.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.10.1ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../21-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_1.13.0-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.0-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_1.13.0-2_all.deb ... Unpacking dh-strip-nondeterminism (1.13.0-2) ... Selecting previously unselected package libdw1:riscv64. Preparing to unpack .../24-libdw1_0.188-2_riscv64.deb ... Unpacking libdw1:riscv64 (0.188-2) ... Selecting previously unselected package debugedit. Preparing to unpack .../25-debugedit_1%3a5.0-5_riscv64.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1_riscv64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-10_riscv64.deb ... Unpacking gettext (0.21-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-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 .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.10.1ubuntu1_all.deb ... Unpacking debhelper (13.10.1ubuntu1) ... Selecting previously unselected package libssl-dev:riscv64. Preparing to unpack .../31-libssl-dev_3.0.7-1ubuntu1_riscv64.deb ... Unpacking libssl-dev:riscv64 (3.0.7-1ubuntu1) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../32-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:riscv64 (1.5.7-1) ... Setting up libicu71:riscv64 (71.1-3ubuntu1) ... Setting up bsdextrautils (2.38.1-4ubuntu1) ... Setting up libmagic-mgc (1:5.44-1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.10.1ubuntu1) ... Setting up libmagic1:riscv64 (1:5.44-1) ... Setting up gettext-base (0.21-10) ... Setting up m4 (1.4.19-2) ... Setting up file (1:5.44-1) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:riscv64 (3.0.7-1ubuntu1) ... Setting up autopoint (0.21-10) ... Setting up autoconf (2.71-2) ... Setting up libuchardet0:riscv64 (0.0.7-1build2) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:riscv64 (0.188-2) ... Setting up libxml2:riscv64 (2.9.14+dfsg-1.1) ... 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.13.0-2) ... Setting up libdw1:riscv64 (0.188-2) ... Setting up gettext (0.21-10) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.0-2) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-9) ... Setting up debugedit (1:5.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up debhelper (13.10.1ubuntu1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.36-0ubuntu4) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 (riscv64) Toolchain package versions: binutils_2.39.90.20221231-1ubuntu1 dpkg-dev_1.21.17ubuntu5 g++-12_12.2.0-12ubuntu1 gcc-12_12.2.0-12ubuntu1 libc6-dev_2.36-0ubuntu4 libstdc++-12-dev_12.2.0-12ubuntu1 libstdc++6_12.2.0-12ubuntu1 linux-libc-dev_5.19.0-23.24 Package versions: adduser_3.129ubuntu1 advancecomp_2.4-1 apt_2.5.4 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-10 autotools-dev_20220109.1 base-files_12.3ubuntu1 base-passwd_3.6.1 bash_5.2.15-2ubuntu1 binutils_2.39.90.20221231-1ubuntu1 binutils-common_2.39.90.20221231-1ubuntu1 binutils-riscv64-linux-gnu_2.39.90.20221231-1ubuntu1 bsdextrautils_2.38.1-4ubuntu1 bsdutils_1:2.38.1-4ubuntu1 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20211016ubuntu1 coreutils_9.1-1ubuntu2 cpp_4:12.2.0-1ubuntu1 cpp-12_12.2.0-12ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-9ubuntu1 debconf_1.5.82 debhelper_13.10.1ubuntu1 debianutils_5.7-0.4 debugedit_1:5.0-5 dh-autoreconf_20 dh-strip-nondeterminism_1.13.0-2 diffutils_1:3.8-3 dpkg_1.21.17ubuntu5 dpkg-dev_1.21.17ubuntu5 dwz_0.15-1 e2fsprogs_1.46.6~rc1-1ubuntu1 fakeroot_1.30.1-1ubuntu1 file_1:5.44-1 findutils_4.9.0-3ubuntu1 g++_4:12.2.0-1ubuntu1 g++-12_12.2.0-12ubuntu1 gcc_4:12.2.0-1ubuntu1 gcc-12_12.2.0-12ubuntu1 gcc-12-base_12.2.0-12ubuntu1 gettext_0.21-10 gettext-base_0.21-10 gpg_2.2.40-1ubuntu2 gpg-agent_2.2.40-1ubuntu2 gpgconf_2.2.40-1ubuntu2 gpgv_2.2.40-1ubuntu2 grep_3.8-3 groff-base_1.22.4-9 gzip_1.12-1ubuntu1 hostname_3.23ubuntu2 init_1.65.2 init-system-helpers_1.65.2 intltool-debian_0.35.0+20060710.6 libacl1_2.3.1-2 libapparmor1_3.0.8-1ubuntu1 libapt-pkg6.0_2.5.4 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_12.2.0-12ubuntu1 libassuan0_2.5.5-5 libatomic1_12.2.0-12ubuntu1 libattr1_1:2.5.1-3 libaudit-common_1:3.0.7-1ubuntu3 libaudit1_1:3.0.7-1ubuntu3 libbinutils_2.39.90.20221231-1ubuntu1 libblkid1_2.38.1-4ubuntu1 libbz2-1.0_1.0.8-5build1 libc-bin_2.36-0ubuntu4 libc-dev-bin_2.36-0ubuntu4 libc6_2.36-0ubuntu4 libc6-dev_2.36-0ubuntu4 libcap-ng0_0.8.3-1build1 libcap2_1:2.66-3 libcc1-0_12.2.0-12ubuntu1 libcom-err2_1.46.6~rc1-1ubuntu1 libcrypt-dev_1:4.4.33-2 libcrypt1_1:4.4.33-2 libcryptsetup12_2:2.5.0-6ubuntu3 libctf-nobfd0_2.39.90.20221231-1ubuntu1 libctf0_2.39.90.20221231-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.264ubuntu1 libdebhelper-perl_13.10.1ubuntu1 libdevmapper1.02.1_2:1.02.185-1ubuntu1 libdpkg-perl_1.21.17ubuntu5 libdw1_0.188-2 libelf1_0.188-2 libext2fs2_1.46.6~rc1-1ubuntu1 libfakeroot_1.30.1-1ubuntu1 libfdisk1_2.38.1-4ubuntu1 libffi8_3.4.4-1 libfile-stripnondeterminism-perl_1.13.0-2 libgcc-12-dev_12.2.0-12ubuntu1 libgcc-s1_12.2.0-12ubuntu1 libgcrypt20_1.10.1-2ubuntu1 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1ubuntu1 libgnutls30_3.7.7-2ubuntu2 libgomp1_12.2.0-12ubuntu1 libgpg-error0_1.46-1 libgssapi-krb5-2_1.20.1-1build1 libhogweed6_3.8.1-2 libicu71_71.1-3ubuntu1 libidn2-0_2.3.3-1build1 libip4tc2_1.8.7-1ubuntu7 libisl23_0.25-1 libjansson4_2.14-2 libjson-c5_0.16-2 libk5crypto3_1.20.1-1build1 libkeyutils1_1.6.3-2 libkmod2_30+20220905-1ubuntu1 libkrb5-3_1.20.1-1build1 libkrb5support0_1.20.1-1build1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblz4-1_1.9.4-1 liblzma5_5.4.0-0.1 libmagic-mgc_1:5.44-1 libmagic1_1:5.44-1 libmd0_1.0.4-2 libmount1_2.38.1-4ubuntu1 libmpc3_1.3.1-1 libmpfr6_4.1.1-3 libncurses6_6.4-1 libncursesw6_6.4-1 libnettle8_3.8.1-2 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libp11-kit0_0.24.1-1ubuntu2 libpam-modules_1.5.2-5ubuntu1 libpam-modules-bin_1.5.2-5ubuntu1 libpam-runtime_1.5.2-5ubuntu1 libpam0g_1.5.2-5ubuntu1 libpcre2-8-0_10.42-1 libperl5.36_5.36.0-7 libpipeline1_1.5.7-1 libpng16-16_1.6.39-2 libprocps8_2:3.3.17-7ubuntu1 libreadline8_8.2-1.2 libseccomp2_2.5.4-1ubuntu2 libselinux1_3.4-1build1 libsemanage-common_3.4-1build1 libsemanage2_3.4-1build1 libsepol2_3.4-2 libsmartcols1_2.38.1-4ubuntu1 libsqlite3-0_3.40.1-1 libss2_1.46.6~rc1-1ubuntu1 libssl-dev_3.0.7-1ubuntu1 libssl3_3.0.7-1ubuntu1 libstdc++-12-dev_12.2.0-12ubuntu1 libstdc++6_12.2.0-12ubuntu1 libsub-override-perl_0.09-4 libsystemd-shared_252.4-1ubuntu1 libsystemd0_252.4-1ubuntu1 libtasn1-6_4.19.0-2 libtinfo6_6.4-1 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-5 libuchardet0_0.0.7-1build2 libudev1_252.4-1ubuntu1 libunistring2_1.0-2 libuuid1_2.38.1-4ubuntu1 libxml2_2.9.14+dfsg-1.1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg2-3 linux-libc-dev_5.19.0-23.24 lockfile-progs_0.1.19build1 login_1:4.13+dfsg1-1ubuntu1 logsave_1.46.6~rc1-1ubuntu1 lto-disabled-list_37 m4_1.4.19-2 make_4.3-4.1build1 man-db_2.11.2-1 mawk_1.3.4.20200120-3.1 mount_2.38.1-4ubuntu1 ncurses-base_6.4-1 ncurses-bin_6.4-1 openssl_3.0.7-1ubuntu1 optipng_0.7.7-2build1 passwd_1:4.13+dfsg1-1ubuntu1 patch_2.7.6-7build2 perl_5.36.0-7 perl-base_5.36.0-7 perl-modules-5.36_5.36.0-7 pinentry-curses_1.2.1-1ubuntu1 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:3.3.17-7ubuntu1 readline-common_8.2-1.2 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1ubuntu2 sensible-utils_0.0.17 systemd_252.4-1ubuntu1 systemd-sysv_252.4-1ubuntu1 sysvinit-utils_3.05-7ubuntu1 tar_1.34+dfsg-1.1 tzdata_2022g-2ubuntu1 ubuntu-keyring_2021.03.26 usrmerge_33ubuntu1 util-linux_2.38.1-4ubuntu1 util-linux-extra_2.38.1-4ubuntu1 xz-utils_5.4.0-0.1 zlib1g_1:1.2.13.dfsg-1ubuntu4 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: xilinx-bootgen Binary: xilinx-bootgen, bootgen-xlnx Architecture: any Version: 2022.2-2ubuntu1 Maintainer: Ubuntu Developers 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: bootgen-xlnx deb oldlibs optional arch=any xilinx-bootgen deb devel optional arch=any Checksums-Sha1: ec4b93da4961f0f7c43afa677835b1f407862db1 521270 xilinx-bootgen_2022.2.orig.tar.gz a6859c2e8e6f26889b7860a2e825000b7ac5d7f1 7856 xilinx-bootgen_2022.2-2ubuntu1.debian.tar.xz Checksums-Sha256: af1d494e30f357b46868ad4580f78bef7c660b5a32a10308c3bc8ae452a9eaba 521270 xilinx-bootgen_2022.2.orig.tar.gz 7d173cec0ccf3cebed547820e7a5c14b9b8cbd8348ef5d10e98b7032cb081b67 7856 xilinx-bootgen_2022.2-2ubuntu1.debian.tar.xz Files: 61981ab89d331a1f28e98a4aca1f123c 521270 xilinx-bootgen_2022.2.orig.tar.gz c4e254fc45185fd08a42d765600a7f1d 7856 xilinx-bootgen_2022.2-2ubuntu1.debian.tar.xz Original-Maintainer: Debian Xilinx Package Maintainers -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEExtj8aO6RAzy4vZE6PWM+RKBX+NUFAmPATykZHGRhdmUuam9u ZXNAY2Fub25pY2FsLmNvbQAKCRA9Yz5EoFf41Y9NEAC2C/+SbyGA/07VkdfoJeGJ aTyMRjsGJWVuQBUmvKNafgRmIpe7KXwlnPjhmhey9FDLo0pfzTGL6hU5aEpuQ+Pu rvCA+KPpmbPPnJxUdFyGaKotAzq3roxt9g+Ey3FwjF2YBLlDCTqnbT97ghBgu1Pu DRR/jFju9QBYWNv1U7D9BSZg9lP67N13rmPSaErmHrydfAPjNfPbtc33BG5NBFYX oiz5q44OCwSdpEZQZaRT3hmk3g1/B2grLYvvkF3RpdmgKRR3ICob1k80fZFjc9k7 2Apdic0WJgNR2R7nO0FnbztP+9HOg1N3wyvlyGShjS47ZYa2l5ZNG7z+N5UVp+DS R0aItLgMWZofxLJQrgfqucBOHYgDSWJyU+QIA5vvquasn47q5+bhMxGTe9OPKJ+u whYcrk6L1MtfRwhhLEckrVYotliXvHDjrEm317Dq4MWg2qWoJaI+hEs/J7AIURJT uw92LEnOSRNFHu6budhUrsByzqyig++CtU0u9ZyX7Bo20OyySt/bwiXtk/4epbRx Vph+MLk4tvDuvlNCsSTNBNioYPdgaNFmjJgGL9bAuMa/WVtUqIKsszjrMoqgYcMW q3zRGI53q77PTZh6QG2PWfjlBoQMKwCVPbUI2ZMgk4j1J58bn/Kjaeg+glIh3fK7 ckIFE7VkexYVzv2/myWoxg== =JONe -----END PGP SIGNATURE----- gpgv: Signature made Thu Jan 12 18:19:21 2023 UTC gpgv: using RSA key C6D8FC68EE91033CB8BD913A3D633E44A057F8D5 gpgv: issuer "dave.jones@canonical.com" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xilinx-bootgen_2022.2-2ubuntu1.dsc: no acceptable signature found dpkg-source: info: extracting xilinx-bootgen in /<> dpkg-source: info: unpacking xilinx-bootgen_2022.2.orig.tar.gz dpkg-source: info: unpacking xilinx-bootgen_2022.2-2ubuntu1.debian.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=8 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-25479043 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-25479043 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-25479043 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2ubuntu1 dpkg-buildpackage: info: source distribution lunar dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la make -j8 clean make[1]: Entering directory '/<>' 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 '/<>' dh_autoreconf_clean -O--exclude=.la dh_clean -O--exclude=.la debian/rules binary-arch dh binary-arch --with autoreconf --exclude=.la dh_update_autotools_config -a -O--exclude=.la dh_autoreconf -a -O--exclude=.la debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' dh_auto_configure -- --enable-static make[1]: Leaving directory '/<>' dh_auto_build -a -O--exclude=.la make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/<>' g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp 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.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:293:28: note: declared here 293 | 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.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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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 authentication-versal.h:35: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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:447:1: note: declared here 447 | 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:232:37: note: declared here 232 | 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:234:37: note: declared here 234 | 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:449:1: note: declared here 449 | 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:232:37: note: declared here 232 | 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:232:37: note: declared here 232 | 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:233:37: note: declared here 233 | 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:232:37: note: declared here 232 | 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:233:37: note: declared here 233 | 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:234:37: note: declared here 234 | 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:449:1: note: declared here 449 | 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:447:1: note: declared here 447 | 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:463:1: note: declared here 463 | 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:462:1: note: declared here 462 | 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:253:30: note: declared here 253 | 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:253:30: note: declared here 253 | 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:998:31: note: declared here 998 | 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:998:31: note: declared here 998 | 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:1101:27: note: declared here 1101 | 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:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ 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:998:31: note: declared here 998 | 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:998:31: note: declared here 998 | 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:998:31: note: declared here 998 | 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:998:31: note: declared here 998 | 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:1003:28: note: declared here 1003 | 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:462:1: note: declared here 462 | 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:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(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 ../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); } | ~~~~~~~~~~~^~~~~~ 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 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); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | 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:659:27: note: declared here 659 | 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:1062:39: note: declared here 1062 | 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:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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:463:1: note: declared here 463 | 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:1107:27: note: declared here 1107 | 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:1062:39: note: declared here 1062 | 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:659:27: note: declared here 659 | 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:1062:39: note: declared here 1062 | 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:659:27: note: declared here 659 | 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:449:1: note: declared here 449 | 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:463:1: note: declared here 463 | 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:293:28: note: declared here 293 | 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:968:31: note: declared here 968 | 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:1042:27: note: declared here 1042 | 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:1087:28: note: declared here 1087 | 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:1048:37: note: declared here 1048 | 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:1062:39: note: declared here 1062 | 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:1056:27: note: declared here 1056 | 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:1070:27: note: declared here 1070 | 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:1365:34: note: declared here 1365 | 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:1003:28: note: declared here 1003 | 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:968:31: note: declared here 968 | 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:1042:27: note: declared here 1042 | 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:1087:28: note: declared here 1087 | 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:1048:37: note: declared here 1048 | 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:1062:39: note: declared here 1062 | 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:1056:27: note: declared here 1056 | 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:1070:27: note: declared here 1070 | 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:1365:34: note: declared here 1365 | 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:1003:28: note: declared here 1003 | 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:293:28: note: declared here 293 | 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] g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | 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-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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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); | ^~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.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 authkeys.h:30: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.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-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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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:449:1: note: declared here 449 | 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:463:1: note: declared here 463 | 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:449:1: note: declared here 449 | 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:463:1: note: declared here 463 | 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:463:1: note: declared here 463 | 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:1034:39: note: declared here 1034 | 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:462:1: note: declared here 462 | 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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function ‘virtual void VersalBootImage::ParseBootImage(PartitionBifOptions*)’: bootimage-versal.cpp:297:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 297 | fread(bH, 1, sizeof(VersalBootHeaderStructure), binFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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:293:28: note: declared here 293 | 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.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:293:28: note: declared here 293 | 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=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 ../../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:293:28: note: declared here 293 | 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] 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:293:28: note: declared here 293 | 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] g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.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-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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.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:293:28: note: declared here 293 | 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); | ^~~~~~~~~~~~ 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:293:28: note: declared here 293 | 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-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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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.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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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); | ^~~~~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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: 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 ../../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:293:28: note: declared here 293 | 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-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:293:28: note: declared here 293 | 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); | ^~~~~~~~~~~ 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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 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:293:28: note: declared here 293 | 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 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -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.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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-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 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cJSON.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] ../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 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-alloc.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:998:31: note: declared here 998 | 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:1122:27: note: declared here 1122 | 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:1087:28: note: declared here 1087 | 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:1107:27: note: declared here 1107 | 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:1391:27: note: declared here 1391 | 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:1003:28: note: declared here 1003 | 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:998:31: note: declared here 998 | 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:1122:27: note: declared here 1122 | 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:1087:28: note: declared here 1087 | 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:1107:27: note: declared here 1107 | 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:1391:27: note: declared here 1391 | 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:1003:28: note: declared here 1003 | 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:201:28: note: declared here 201 | 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:207:27: note: declared here 207 | 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:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-binary.c gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-command.c 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:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-load.c gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-npi.c gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-overlay.c gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-raw.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:201:28: note: declared here 201 | 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:207:27: note: declared here 207 | 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:233:37: note: declared here 233 | 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:232:37: note: declared here 232 | 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:282:5: note: declared here 282 | 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:232:37: note: declared here 232 | 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:233:37: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-source.c echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/<>=. -fdebug-prefix-map=/<>=/usr/src/xilinx-bootgen-2022.2-2ubuntu1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-Bsymbolic-functions -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 '/<>' dh: command-omitted: The call to "dh_auto_test -a -O--exclude=.la" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_testroot -a -O--exclude=.la dh_prep -a -O--exclude=.la dh_auto_install -a -O--exclude=.la dh_install -a -O--exclude=.la dh_installdocs -a -O--exclude=.la dh_installchangelogs -a -O--exclude=.la dh_installsystemduser -a -O--exclude=.la dh_perl -a -O--exclude=.la dh_link -a -O--exclude=.la dh_strip_nondeterminism -a -O--exclude=.la dh_compress -a -O--exclude=.la dh_fixperms -a -O--exclude=.la dh_missing -a -O--exclude=.la dh_dwz -a -O--exclude=.la dh_strip -a -O--exclude=.la ff62e9f1cf8d4076ef8ffbfbdda8856489e0748f dh_makeshlibs -a -O--exclude=.la dh_shlibdeps -a -O--exclude=.la dh_installdeb -a -O--exclude=.la dh_gencontrol -a -O--exclude=.la dh_md5sums -a -O--exclude=.la dh_builddeb -a -O--exclude=.la INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing bootgen-xlnx (in debian/bootgen-xlnx); do_strip: , oemstrip: pkgstriptranslations: processing xilinx-bootgen-dbgsym (in debian/.debhelper/xilinx-bootgen/dbgsym-root); do_strip: , oemstrip: pkgstriptranslations: processing xilinx-bootgen (in debian/xilinx-bootgen); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/bootgen-xlnx/DEBIAN/control, package bootgen-xlnx, directory debian/bootgen-xlnx INFO: pkgstripfiles: waiting for lock (bootgen-xlnx) ... pkgstripfiles: processing control file: debian/xilinx-bootgen/DEBIAN/control, package xilinx-bootgen, directory debian/xilinx-bootgen pkgstripfiles: processing control file: debian/.debhelper/xilinx-bootgen/dbgsym-root/DEBIAN/control, package xilinx-bootgen-dbgsym, directory debian/.debhelper/xilinx-bootgen/dbgsym-root dpkg-deb: building package 'xilinx-bootgen-dbgsym' in 'debian/.debhelper/scratch-space/build-xilinx-bootgen/xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.deb'. pkgstripfiles: Running PNG optimization (using 8 cpus) for package xilinx-bootgen ... pkgstripfiles: No PNG files. INFO: pkgstripfiles: waiting for lock (bootgen-xlnx) ... dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb'. Searching for duplicated docs in dependency xilinx-bootgen... symlinking changelog.Debian.gz in bootgen-xlnx to file in xilinx-bootgen pkgstripfiles: Running PNG optimization (using 8 cpus) for package bootgen-xlnx ... pkgstripfiles: No PNG files. dpkg-deb: building package 'bootgen-xlnx' in '../bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb'. Renaming xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.deb to xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb dpkg-genbuildinfo --build=any -O../xilinx-bootgen_2022.2-2ubuntu1_riscv64.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../xilinx-bootgen_2022.2-2ubuntu1_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2023-01-12T18:49:22Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ xilinx-bootgen_2022.2-2ubuntu1_riscv64.changes: ----------------------------------------------- Format: 1.8 Date: Thu, 12 Jan 2023 17:45:38 +0000 Source: xilinx-bootgen Binary: bootgen-xlnx xilinx-bootgen Built-For-Profiles: noudeb Architecture: riscv64 Version: 2022.2-2ubuntu1 Distribution: lunar-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Dave Jones Description: bootgen-xlnx - transitional package xilinx-bootgen - boot image converter for Xilinx ARM SoCs Launchpad-Bugs-Fixed: 1998728 2000774 Changes: xilinx-bootgen (2022.2-2ubuntu1) lunar; urgency=medium . * d/rules, d/control: Place Breaks, Replaces in d/control and add transitional definition for xlnx-bootgen. This delta can be removed after lunar's release (LP: #1998728, LP: #2000774) Checksums-Sha1: b822fbcabfeffb7170bedf4f5c78de9c73f48349 7264 bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb e98c17b052fe4d8426f3a8c40fe7e037f5b3d5f2 4596746 xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb 004bea2364ea28c2cc1f5a96455474d2923deca0 5937 xilinx-bootgen_2022.2-2ubuntu1_riscv64.buildinfo dc8087ee15e3b62e88f83d2fe1fbf0b0095b614a 465738 xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Checksums-Sha256: 11e528cb21a88ba8933f5f3af8ba9bb51312af510aa130fa7683401d560b16ef 7264 bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb 8e773d99f86fc3b37178ac6282f48fc50e943acaa07628bba7188ff24589c8b6 4596746 xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb 6a21eb7f9f040afebc195b3ffdfc4d26797518de4f1c92e4788e378b6e1d521b 5937 xilinx-bootgen_2022.2-2ubuntu1_riscv64.buildinfo 30f10de3c7162313072367ba5172a7a17b400650bb131c260d8405e3f1fbe211 465738 xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Files: f01012863de3f05c542de6c9379231f3 7264 oldlibs optional bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb e859c252831622749e3018847bec1895 4596746 debug optional xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb 1060001997a4c40c8599f6aa72561a62 5937 devel optional xilinx-bootgen_2022.2-2ubuntu1_riscv64.buildinfo 4b204e6331cdea84e2067d06237329d0 465738 devel optional xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Original-Maintainer: Debian Xilinx Package Maintainers /<>/xilinx-bootgen_2022.2-2ubuntu1_riscv64.changes.new could not be renamed to /<>/xilinx-bootgen_2022.2-2ubuntu1_riscv64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: xilinx-bootgen Binary: bootgen-xlnx xilinx-bootgen xilinx-bootgen-dbgsym Architecture: riscv64 Version: 2022.2-2ubuntu1 Checksums-Md5: f01012863de3f05c542de6c9379231f3 7264 bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb e859c252831622749e3018847bec1895 4596746 xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb 4b204e6331cdea84e2067d06237329d0 465738 xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Checksums-Sha1: b822fbcabfeffb7170bedf4f5c78de9c73f48349 7264 bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb e98c17b052fe4d8426f3a8c40fe7e037f5b3d5f2 4596746 xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb dc8087ee15e3b62e88f83d2fe1fbf0b0095b614a 465738 xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Checksums-Sha256: 11e528cb21a88ba8933f5f3af8ba9bb51312af510aa130fa7683401d560b16ef 7264 bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb 8e773d99f86fc3b37178ac6282f48fc50e943acaa07628bba7188ff24589c8b6 4596746 xilinx-bootgen-dbgsym_2022.2-2ubuntu1_riscv64.ddeb 30f10de3c7162313072367ba5172a7a17b400650bb131c260d8405e3f1fbe211 465738 xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Thu, 12 Jan 2023 18:49:17 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-10), autotools-dev (= 20220109.1), base-files (= 12.3ubuntu1), base-passwd (= 3.6.1), bash (= 5.2.15-2ubuntu1), binutils (= 2.39.90.20221231-1ubuntu1), binutils-common (= 2.39.90.20221231-1ubuntu1), binutils-riscv64-linux-gnu (= 2.39.90.20221231-1ubuntu1), bsdextrautils (= 2.38.1-4ubuntu1), bsdutils (= 1:2.38.1-4ubuntu1), build-essential (= 12.9ubuntu3), bzip2 (= 1.0.8-5build1), coreutils (= 9.1-1ubuntu2), cpp (= 4:12.2.0-1ubuntu1), cpp-12 (= 12.2.0-12ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-9ubuntu1), debconf (= 1.5.82), debhelper (= 13.10.1ubuntu1), debianutils (= 5.7-0.4), debugedit (= 1:5.0-5), dh-autoreconf (= 20), dh-strip-nondeterminism (= 1.13.0-2), diffutils (= 1:3.8-3), dpkg (= 1.21.17ubuntu5), dpkg-dev (= 1.21.17ubuntu5), dwz (= 0.15-1), file (= 1:5.44-1), findutils (= 4.9.0-3ubuntu1), g++ (= 4:12.2.0-1ubuntu1), g++-12 (= 12.2.0-12ubuntu1), gcc (= 4:12.2.0-1ubuntu1), gcc-12 (= 12.2.0-12ubuntu1), gcc-12-base (= 12.2.0-12ubuntu1), gettext (= 0.21-10), gettext-base (= 0.21-10), grep (= 3.8-3), groff-base (= 1.22.4-9), gzip (= 1.12-1ubuntu1), hostname (= 3.23ubuntu2), init-system-helpers (= 1.65.2), intltool-debian (= 0.35.0+20060710.6), libacl1 (= 2.3.1-2), libarchive-zip-perl (= 1.68-1), libasan8 (= 12.2.0-12ubuntu1), libatomic1 (= 12.2.0-12ubuntu1), libattr1 (= 1:2.5.1-3), libaudit-common (= 1:3.0.7-1ubuntu3), libaudit1 (= 1:3.0.7-1ubuntu3), libbinutils (= 2.39.90.20221231-1ubuntu1), libblkid1 (= 2.38.1-4ubuntu1), libbz2-1.0 (= 1.0.8-5build1), libc-bin (= 2.36-0ubuntu4), libc-dev-bin (= 2.36-0ubuntu4), libc6 (= 2.36-0ubuntu4), libc6-dev (= 2.36-0ubuntu4), libcap-ng0 (= 0.8.3-1build1), libcap2 (= 1:2.66-3), libcc1-0 (= 12.2.0-12ubuntu1), libcom-err2 (= 1.46.6~rc1-1ubuntu1), libcrypt-dev (= 1:4.4.33-2), libcrypt1 (= 1:4.4.33-2), libctf-nobfd0 (= 2.39.90.20221231-1ubuntu1), libctf0 (= 2.39.90.20221231-1ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.10), libdebconfclient0 (= 0.264ubuntu1), libdebhelper-perl (= 13.10.1ubuntu1), libdpkg-perl (= 1.21.17ubuntu5), libdw1 (= 0.188-2), libelf1 (= 0.188-2), libfile-stripnondeterminism-perl (= 1.13.0-2), libgcc-12-dev (= 12.2.0-12ubuntu1), libgcc-s1 (= 12.2.0-12ubuntu1), libgcrypt20 (= 1.10.1-2ubuntu1), libgdbm-compat4 (= 1.23-3), libgdbm6 (= 1.23-3), libgmp10 (= 2:6.2.1+dfsg1-1.1ubuntu1), libgomp1 (= 12.2.0-12ubuntu1), libgpg-error0 (= 1.46-1), libgssapi-krb5-2 (= 1.20.1-1build1), libicu71 (= 71.1-3ubuntu1), libisl23 (= 0.25-1), libjansson4 (= 2.14-2), libk5crypto3 (= 1.20.1-1build1), libkeyutils1 (= 1.6.3-2), libkrb5-3 (= 1.20.1-1build1), libkrb5support0 (= 1.20.1-1build1), liblz4-1 (= 1.9.4-1), liblzma5 (= 5.4.0-0.1), libmagic-mgc (= 1:5.44-1), libmagic1 (= 1:5.44-1), libmd0 (= 1.0.4-2), libmount1 (= 2.38.1-4ubuntu1), libmpc3 (= 1.3.1-1), libmpfr6 (= 4.1.1-3), libnsl-dev (= 1.3.0-2build2), libnsl2 (= 1.3.0-2build2), libpam-modules (= 1.5.2-5ubuntu1), libpam-modules-bin (= 1.5.2-5ubuntu1), libpam-runtime (= 1.5.2-5ubuntu1), libpam0g (= 1.5.2-5ubuntu1), libpcre2-8-0 (= 10.42-1), libperl5.36 (= 5.36.0-7), libpipeline1 (= 1.5.7-1), libselinux1 (= 3.4-1build1), libsmartcols1 (= 2.38.1-4ubuntu1), libssl-dev (= 3.0.7-1ubuntu1), libssl3 (= 3.0.7-1ubuntu1), libstdc++-12-dev (= 12.2.0-12ubuntu1), libstdc++6 (= 12.2.0-12ubuntu1), libsub-override-perl (= 0.09-4), libsystemd0 (= 252.4-1ubuntu1), libtinfo6 (= 6.4-1), libtirpc-common (= 1.3.3+ds-1), libtirpc-dev (= 1.3.3+ds-1), libtirpc3 (= 1.3.3+ds-1), libtool (= 2.4.7-5), libuchardet0 (= 0.0.7-1build2), libudev1 (= 252.4-1ubuntu1), libunistring2 (= 1.0-2), libuuid1 (= 2.38.1-4ubuntu1), libxml2 (= 2.9.14+dfsg-1.1), libzstd1 (= 1.5.2+dfsg2-3), linux-libc-dev (= 5.19.0-23.24), login (= 1:4.13+dfsg1-1ubuntu1), lto-disabled-list (= 37), m4 (= 1.4.19-2), make (= 4.3-4.1build1), man-db (= 2.11.2-1), mawk (= 1.3.4.20200120-3.1), ncurses-base (= 6.4-1), ncurses-bin (= 6.4-1), patch (= 2.7.6-7build2), perl (= 5.36.0-7), perl-base (= 5.36.0-7), perl-modules-5.36 (= 5.36.0-7), po-debconf (= 1.0.21+nmu1), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.8-1ubuntu2), sensible-utils (= 0.0.17), sysvinit-utils (= 3.05-7ubuntu1), tar (= 1.34+dfsg-1.1), usrmerge (= 33ubuntu1), util-linux (= 2.38.1-4ubuntu1), util-linux-extra (= 2.38.1-4ubuntu1), xz-utils (= 5.4.0-0.1), zlib1g (= 1:1.2.13.dfsg-1ubuntu4) Environment: DEB_BUILD_OPTIONS="nocheck parallel=8" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1673545538" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ bootgen-xlnx_2022.2-2ubuntu1_riscv64.deb ---------------------------------------- new Debian package, version 2.0. size 7264 bytes: control archive=460 bytes. 470 bytes, 13 lines control 71 bytes, 1 lines md5sums Package: bootgen-xlnx Source: xilinx-bootgen Version: 2022.2-2ubuntu1 Architecture: riscv64 Maintainer: Ubuntu Developers Installed-Size: 27 Depends: xilinx-bootgen Section: oldlibs Priority: optional Homepage: https://github.com/Xilinx/bootgen Description: transitional package This is a transitional package. It can be safely removed. Original-Maintainer: Debian Xilinx Package Maintainers drwxr-xr-x root/root 0 2023-01-12 17:45 ./ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/doc/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/doc/bootgen-xlnx/ lrwxrwxrwx root/root 0 2023-01-12 17:45 ./usr/share/doc/bootgen-xlnx/changelog.Debian.gz -> ../xilinx-bootgen/changelog.Debian.gz -rw-r--r-- root/root 19838 2023-01-12 16:04 ./usr/share/doc/bootgen-xlnx/copyright xilinx-bootgen_2022.2-2ubuntu1_riscv64.deb ------------------------------------------ new Debian package, version 2.0. size 465738 bytes: control archive=708 bytes. 771 bytes, 17 lines control 206 bytes, 3 lines md5sums Package: xilinx-bootgen Version: 2022.2-2ubuntu1 Architecture: riscv64 Maintainer: Ubuntu Developers Installed-Size: 1274 Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libssl3 (>= 3.0.0), libstdc++6 (>= 11) Breaks: bootgen-xlnx (<< 2022.2-1~) Replaces: bootgen-xlnx (<< 2022.2-1~) Section: devel Priority: optional Homepage: https://github.com/Xilinx/bootgen Description: boot image converter for Xilinx ARM SoCs xilinx-bootgen provides tools to generate a boot image (BOOT.BIN) for Xilinx ARM SoC (Zynq-7000, Zynq UltraScale + MPSoC, etc) devices. This also provides features such as boot authentication and OpenSSL-based encryption. Original-Maintainer: Debian Xilinx Package Maintainers drwxr-xr-x root/root 0 2023-01-12 17:45 ./ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/bin/ -rwxr-xr-x root/root 1275488 2023-01-12 17:45 ./usr/bin/bootgen drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/doc/ drwxr-xr-x root/root 0 2023-01-12 17:45 ./usr/share/doc/xilinx-bootgen/ -rw-r--r-- root/root 636 2023-01-12 17:45 ./usr/share/doc/xilinx-bootgen/changelog.Debian.gz -rw-r--r-- root/root 19838 2023-01-12 16:04 ./usr/share/doc/xilinx-bootgen/copyright +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 119720 Build-Time: 509 Distribution: lunar-proposed Host Architecture: riscv64 Install-Time: 103 Job: xilinx-bootgen_2022.2-2ubuntu1.dsc Machine Architecture: riscv64 Package: xilinx-bootgen Package-Time: 633 Source-Version: 2022.2-2ubuntu1 Space: 119720 Status: successful Version: 2022.2-2ubuntu1 -------------------------------------------------------------------------------- Finished at 2023-01-12T18:49:22Z Build needed 00:10:33, 119720k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 Scanning for processes to kill in build PACKAGEBUILD-25479043 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 Stopping target for build PACKAGEBUILD-25479043 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=lunar --arch=riscv64 PACKAGEBUILD-25479043 Removing build PACKAGEBUILD-25479043