I: pbuilder: network access will be disabled during build I: Current time: Sat May 6 13:37:32 +14 2023 I: pbuilder-time-stamp: 1683329852 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [imx-code-signing-tool_3.3.1+dfsg-2.dsc] I: copying [./imx-code-signing-tool_3.3.1+dfsg.orig.tar.xz] I: copying [./imx-code-signing-tool_3.3.1+dfsg-2.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Aug 13 04:03:43 2021 +14 gpgv: using EDDSA key 83DCD17F44B22CC83656EDA1E8446B4AC8C77261 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./imx-code-signing-tool_3.3.1+dfsg-2.dsc: no acceptable signature found dpkg-source: info: extracting imx-code-signing-tool in imx-code-signing-tool-3.3.1+dfsg dpkg-source: info: unpacking imx-code-signing-tool_3.3.1+dfsg.orig.tar.xz dpkg-source: info: unpacking imx-code-signing-tool_3.3.1+dfsg-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying unbreak-scripts.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/29462/tmp/hooks/D01_modify_environment starting debug: Running on virt64b. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 6 13:37 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/29462/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/29462/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=340be331c788438baa04497f67dbaa30 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=29462 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.J35Q7vSm/pbuilderrc_DTq4 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.J35Q7vSm/b2 --logfile b2/build.log --extrapackages usrmerge imx-code-signing-tool_3.3.1+dfsg-2.dsc' SUDO_GID=113 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux I: ls -l /bin total 5072 -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash -rwxr-xr-x 1 root root 133220 Sep 21 2022 date -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd -rwxr-xr-x 1 root root 68104 Sep 21 2022 df -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep -rwxr-xr-x 1 root root 67548 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed lrwxrwxrwx 1 root root 9 May 6 13:37 sh -> /bin/bash -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch -rwxr-xr-x 1 root root 67548 Sep 21 2022 true -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/29462/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libssl-dev, byacc, flex dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19329 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on byacc; however: Package byacc is not installed. pbuilder-satisfydepends-dummy depends on flex; however: Package flex is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} byacc{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} flex{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libssl-dev{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libfl-dev libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 20.7 MB of archives. After unpacking 77.4 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main armhf m4 armhf 1.4.19-3 [265 kB] Get: 2 http://deb.debian.org/debian bookworm/main armhf flex armhf 2.6.4-8.1 [424 kB] Get: 3 http://deb.debian.org/debian bookworm/main armhf sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 4 http://deb.debian.org/debian bookworm/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB] Get: 5 http://deb.debian.org/debian bookworm/main armhf libmagic1 armhf 1:5.44-3 [96.5 kB] Get: 6 http://deb.debian.org/debian bookworm/main armhf file armhf 1:5.44-3 [41.6 kB] Get: 7 http://deb.debian.org/debian bookworm/main armhf gettext-base armhf 0.21-12 [157 kB] Get: 8 http://deb.debian.org/debian bookworm/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 9 http://deb.debian.org/debian bookworm/main armhf groff-base armhf 1.22.4-10 [825 kB] Get: 10 http://deb.debian.org/debian bookworm/main armhf bsdextrautils armhf 2.38.1-5+b1 [78.6 kB] Get: 11 http://deb.debian.org/debian bookworm/main armhf libpipeline1 armhf 1.5.7-1 [33.6 kB] Get: 12 http://deb.debian.org/debian bookworm/main armhf man-db armhf 2.11.2-2 [1351 kB] Get: 13 http://deb.debian.org/debian bookworm/main armhf autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian bookworm/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian bookworm/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian bookworm/main armhf autopoint all 0.21-12 [495 kB] Get: 17 http://deb.debian.org/debian bookworm/main armhf byacc armhf 1:2.0.20221106-1 [114 kB] Get: 18 http://deb.debian.org/debian bookworm/main armhf libdebhelper-perl all 13.11.4 [81.2 kB] Get: 19 http://deb.debian.org/debian bookworm/main armhf libtool all 2.4.7-5 [517 kB] Get: 20 http://deb.debian.org/debian bookworm/main armhf dh-autoreconf all 20 [17.1 kB] Get: 21 http://deb.debian.org/debian bookworm/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 22 http://deb.debian.org/debian bookworm/main armhf libsub-override-perl all 0.09-4 [9304 B] Get: 23 http://deb.debian.org/debian bookworm/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 24 http://deb.debian.org/debian bookworm/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 25 http://deb.debian.org/debian bookworm/main armhf libelf1 armhf 0.188-2.1 [170 kB] Get: 26 http://deb.debian.org/debian bookworm/main armhf dwz armhf 0.15-1 [101 kB] Get: 27 http://deb.debian.org/debian bookworm/main armhf libicu72 armhf 72.1-3 [9048 kB] Get: 28 http://deb.debian.org/debian bookworm/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [591 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf gettext armhf 0.21-12 [1229 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 33 http://deb.debian.org/debian bookworm/main armhf libssl-dev armhf 3.0.8-1 [2132 kB] Fetched 20.7 MB in 2s (10.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) Preparing to unpack .../00-m4_1.4.19-3_armhf.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package flex. Preparing to unpack .../01-flex_2.6.4-8.1_armhf.deb ... Unpacking flex (2.6.4-8.1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../02-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.44-3_armhf.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../04-libmagic1_1%3a5.44-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.44-3_armhf.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-12_armhf.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../07-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.22.4-10_armhf.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.38.1-5+b1_armhf.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../10-libpipeline1_1.5.7-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.11.2-2_armhf.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-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 .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package byacc. Preparing to unpack .../16-byacc_1%3a2.0.20221106-1_armhf.deb ... Unpacking byacc (1:2.0.20221106-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... 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.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../24-libelf1_0.188-2.1_armhf.deb ... Unpacking libelf1:armhf (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../25-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../26-libicu72_72.1-3_armhf.deb ... Unpacking libicu72:armhf (72.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../27-libxml2_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../28-gettext_0.21-12_armhf.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../29-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 .../30-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../31-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libssl-dev:armhf. Preparing to unpack .../32-libssl-dev_3.0.8-1_armhf.deb ... Unpacking libssl-dev:armhf (3.0.8-1) ... Setting up libpipeline1:armhf (1.5.7-1) ... Setting up libicu72:armhf (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:armhf (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up byacc (1:2.0.20221106-1) ... update-alternatives: using /usr/bin/byacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libssl-dev:armhf (3.0.8-1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:armhf (0.188-2.1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.2) ... 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.1-1) ... Setting up flex (2.6.4-8.1) ... Setting up gettext (0.21-12) ... 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.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/29462/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/29462/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/imx-code-signing-tool-3.3.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../imx-code-signing-tool_3.3.1+dfsg-2_source.changes dpkg-buildpackage: info: source package imx-code-signing-tool dpkg-buildpackage: info: source version 3.3.1+dfsg-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andrej Shadura dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg' ln -sf debian/Makefile . ln -sf /build/imx-code-signing-tool-3.3.1+dfsg/debian/debian-toolchain.mk code/cst/code/build/make/ make[1]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_auto_build make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg' make -C code/cst/code/obj.linux64 -f ../build/make/binaries.mk build ENCRYPTION=yes make[2]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64' Compile srktool.o Compile openssl_helper.o # generate dependency file Compile srk_helper.o # generate dependency file # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/srktool/src/srktool.c -o srktool.d arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/common/src/openssl_helper.c -o openssl_helper.d arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/common/src/srk_helper.c -o srk_helper.d Compile err.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/common/src/err.c -o err.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_err -c ../../code/common/src/err.c -o err.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_srk_helper -c ../../code/common/src/srk_helper.c -o srk_helper.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_srktool -c ../../code/srktool/src/srktool.c -o srktool.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_openssl_helper -c ../../code/common/src/openssl_helper.c -o openssl_helper.o Compile cst.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/cst.c -o cst.d ../../code/common/src/srk_helper.c: In function 'srk_entry_pkcs1': ../../code/common/src/srk_helper.c:86:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from ../../code/common/hdr/openssl_helper.h:49, from ../../code/common/hdr/srk_helper.h:45, from ../../code/common/src/srk_helper.c:44: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ../../code/common/src/srk_helper.c:86:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ../../code/common/src/srk_helper.c: In function 'srk_entry_ec': ../../code/common/src/srk_helper.c:228:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 228 | pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:33: /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); | ^~~~~~~~~~~~~~~~~~~~~~ ../../code/common/src/srk_helper.c:228:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 228 | pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)); | ^~~~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../../code/common/src/srk_helper.c:244:5: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | if (!EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)), | ^~ /usr/include/openssl/ec.h:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../code/common/src/srk_helper.c:244:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | if (!EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)), | ^~ /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); | ^~~~~~~~~~~~~~~~~ ../../code/common/src/srk_helper.c:244:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | if (!EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)), | ^~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_cst -c ../../code/front_end/src/cst.c -o cst.o ../../code/common/src/openssl_helper.c: In function 'ver_sig_data': ../../code/common/src/openssl_helper.c:565:13: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 565 | if (1 != RSA_verify(EVP_MD_type(hash_type), hash, hash_bytes, | ^~ In file included from /usr/include/openssl/x509.h:36, from ../../code/common/src/openssl_helper.c:50: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ ../../code/common/src/openssl_helper.c:566:33: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 566 | sig_buf, sig_buf_bytes, EVP_PKEY_get0_RSA(pkey))) | ^~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ../../code/common/src/openssl_helper.c:566:57: warning: passing argument 6 of 'RSA_verify' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 566 | sig_buf, sig_buf_bytes, EVP_PKEY_get0_RSA(pkey))) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:354:64: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 354 | unsigned int siglen, RSA *rsa); | ~~~~~^~~ ../../code/common/src/openssl_helper.c:580:13: warning: 'ECDSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 580 | if (1 != ECDSA_verify(0 /* ignored */, hash, hash_bytes, | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1447:27: note: declared here 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, | ^~~~~~~~~~~~ ../../code/common/src/openssl_helper.c:581:35: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 581 | ecdsa_der, ecdsa_der_size, EVP_PKEY_get0_EC_KEY(pkey))) | ^~~~~~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../../code/common/src/openssl_helper.c:581:62: warning: passing argument 6 of 'ECDSA_verify' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 581 | ecdsa_der, ecdsa_der_size, EVP_PKEY_get0_EC_KEY(pkey))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1449:60: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1449 | int siglen, EC_KEY *eckey); | ~~~~~~~~^~~~~ Compile misc_helper.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/misc_helper.c -o misc_helper.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_misc_helper -c ../../code/front_end/src/misc_helper.c -o misc_helper.o Compile csf_cmd_aut_dat.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/csf_cmd_aut_dat.c -o csf_cmd_aut_dat.d Compile csf_cmd_ins_key.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/csf_cmd_ins_key.c -o csf_cmd_ins_key.d Compile csf_cmd_misc.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/csf_cmd_misc.c -o csf_cmd_misc.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_csf_cmd_aut_dat -c ../../code/front_end/src/csf_cmd_aut_dat.c -o csf_cmd_aut_dat.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_csf_cmd_ins_key -c ../../code/front_end/src/csf_cmd_ins_key.c -o csf_cmd_ins_key.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_csf_cmd_misc -c ../../code/front_end/src/csf_cmd_misc.c -o csf_cmd_misc.o Compile acst.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/front_end/src/acst.c -o acst.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_acst -c ../../code/front_end/src/acst.c -o acst.o Create parser cst_parser.c byacc -d -o cst_parser.c ../../code/front_end/src/cst_parser.y Create lexical analyser cst_lexer.c flex -t ../../code/front_end/src/cst_lexer.l > cst_lexer.c Compile adapt_layer_openssl.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/back_end/src/adapt_layer_openssl.c -o adapt_layer_openssl.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_adapt_layer_openssl -c ../../code/back_end/src/adapt_layer_openssl.c -o adapt_layer_openssl.o ../../code/back_end/src/adapt_layer_openssl.c: In function 'gen_sig_data_raw': ../../code/back_end/src/adapt_layer_openssl.c:311:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | rsa = EVP_PKEY_get1_RSA(key); | ^~~ In file included from ../../code/back_end/hdr/ssl_wrapper.h:42, from ../../code/back_end/src/adapt_layer_openssl.c:50: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:321:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 321 | key_bytes = RSA_size(rsa); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../../code/back_end/src/adapt_layer_openssl.c:53: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:334:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 334 | if (!RSA_sign(hash_nid, rsa_in, | ^~ /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:354:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 354 | if (rsa) RSA_free(rsa); | ^~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c: In function 'gen_sig_data_ecdsa': ../../code/back_end/src/adapt_layer_openssl.c:570:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 570 | sign_bytes = ECDSA_size(EVP_PKEY_get0_EC_KEY(key)); | ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1455:27: note: declared here 1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:570:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 570 | sign_bytes = ECDSA_size(EVP_PKEY_get0_EC_KEY(key)); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:573:9: warning: 'ECDSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | if (0 == ECDSA_sign(0 /* ignored */, hash, hash_bytes, sign, &sign_bytes, EVP_PKEY_get0_EC_KEY(key))) { | ^~ /usr/include/openssl/ec.h:1414:27: note: declared here 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, | ^~~~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:573:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | if (0 == ECDSA_sign(0 /* ignored */, hash, hash_bytes, sign, &sign_bytes, EVP_PKEY_get0_EC_KEY(key))) { | ^~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../../code/back_end/src/adapt_layer_openssl.c:573:83: warning: passing argument 6 of 'ECDSA_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 573 | if (0 == ECDSA_sign(0 /* ignored */, hash, hash_bytes, sign, &sign_bytes, EVP_PKEY_get0_EC_KEY(key))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1416:68: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1416 | unsigned int *siglen, EC_KEY *eckey); | ~~~~~~~~^~~~~ ../../code/back_end/src/adapt_layer_openssl.c: In function 'calculate_sig_buf_size': ../../code/back_end/src/adapt_layer_openssl.c:672:5: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 672 | rsa_key = EVP_PKEY_get1_RSA(public_key); | ^~~~~~~ /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Compile pkey.o ../../code/back_end/src/adapt_layer_openssl.c:673:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 673 | key_length = RSA_size(rsa_key); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ # generate dependency file Compile ssl_wrapper.o arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/back_end/src/pkey.c -o pkey.d # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../code/back_end/src/ssl_wrapper.c -o ssl_wrapper.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_pkey -c ../../code/back_end/src/pkey.c -o pkey.o # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_ssl_wrapper -c ../../code/back_end/src/ssl_wrapper.c -o ssl_wrapper.o Link srktool arm-linux-gnueabihf-gcc srktool.o openssl_helper.o srk_helper.o err.o -L -Wl,-z,relro -lcrypto -o srktool Compile cst_parser.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c cst_parser.c -o cst_parser.d ../../code/back_end/src/pkey.c: In function 'get_passcode_to_key_file': ../../code/back_end/src/pkey.c:130:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | fgets(buf, size, password_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_cst_parser -c cst_parser.c -o cst_parser.o Compile cst_lexer.o # generate dependency file arm-linux-gnueabihf-gcc -MM -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -c cst_lexer.c -o cst_lexer.d # compile arm-linux-gnueabihf-gcc -I../../code/common/hdr -I../../code/back_end/hdr -I../../code/srktool/hdr -I../../code/front_end/hdr -I../../code/convlb/hdr -I/include -std=c99 -D_POSIX_C_SOURCE=200809L -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64=. -fstack-protector-strong -Wformat -Werror=format-security -DFILE_cst_lexer -c cst_lexer.c -o cst_lexer.o Create archive libbackend.a arm-linux-gnueabihf-ar -rc libbackend.a adapt_layer_openssl.o pkey.o ssl_wrapper.o arm-linux-gnueabihf-objcopy --weaken libbackend.a Create archive libfrontend.a arm-linux-gnueabihf-ar -rc libfrontend.a openssl_helper.o srk_helper.o misc_helper.o err.o csf_cmd_aut_dat.o csf_cmd_ins_key.o csf_cmd_misc.o cst.o acst.o cst_parser.o cst_lexer.o arm-linux-gnueabihf-objcopy --weaken libfrontend.a Link cst arm-linux-gnueabihf-gcc cst.o libfrontend.a libbackend.a -L -Wl,-z,relro -lcrypto -o cst rm cst_lexer.c cst_parser.c make[2]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg/code/cst/code/obj.linux64' make -C code/hab_csf_parser CC=arm-linux-gnueabihf-gcc COPTS= CFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security" make[2]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg/code/hab_csf_parser' arm-linux-gnueabihf-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/imx-code-signing-tool-3.3.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -o csf_parser csf_parser.c extract_csf.c make[2]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg/code/hab_csf_parser' make[1]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/imx-code-signing-tool/ dh_install dh_installdocs debian/rules execute_after_dh_installdocs make[1]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg' # shebang has to be the first line, *above* the copyrights sed -e '1 s^.*^#!/usr/bin/python3^' -i debian/*/usr/share/doc/*/*/parse_sig_blk.py sed -e '1 s^.*^#!/bin/bash^' -i debian/*/usr/share/doc/*/*/createSRK* cp code/hab_csf_parser/README debian/imx-code-signing-tool/usr/share/doc/imx-code-signing-tool/README.csf_parser make[1]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg' debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_installchangelogs Release_Notes.txt make[1]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_lintian dh_perl dh_link dh_strip_nondeterminism debian/rules override_dh_compress make[1]: Entering directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_compress -XcreateSRK -X.py -X.sh make[1]: Leaving directory '/build/imx-code-signing-tool-3.3.1+dfsg' dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'imx-code-signing-tool-dbgsym' in '../imx-code-signing-tool-dbgsym_3.3.1+dfsg-2_armhf.deb'. dpkg-deb: building package 'imx-code-signing-tool' in '../imx-code-signing-tool_3.3.1+dfsg-2_armhf.deb'. dpkg-genbuildinfo --build=binary -O../imx-code-signing-tool_3.3.1+dfsg-2_armhf.buildinfo dpkg-genchanges --build=binary -O../imx-code-signing-tool_3.3.1+dfsg-2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/29462/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/29462/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/29462 and its subdirectories I: Current time: Sat May 6 13:40:04 +14 2023 I: pbuilder-time-stamp: 1683330004