public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* optee-ftpm-stm32mp15x sometimes fails to build
@ 2023-07-20  5:11 Uladzimir Bely
  2023-07-20  6:22 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Uladzimir Bely @ 2023-07-20  5:11 UTC (permalink / raw)
  To: isar-users; +Cc: Jan Kiszka

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

We are currently experiencing sporadic CI full build failures of optee-
ftpm-stm32mp15x package ("nocross" build):

```
make[3]: *** No rule to make target
'lib/wolf/wolf_symlink/wolfcrypt/src/aes.c', needed by
'../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/aes.o'.  Stop.
```

I'm just wondering if this is something known and there might be a fix,
or we should investigate it.

For details, I'm attaching two build logs from `tmp/work/debian-
bullseye-armhf/optee-os-stm32mp15x/3.21.0-r0/`. They are both received
for the same isar revision, but one is OK while another got failed.

Initially, this was observed on top of "imager-schroot" + "base-apt"
patchsets, but it also appears to happen with current "next" branch.

[-- Attachment #2: log.do_dpkg_build.1714229 --]
[-- Type: text/plain, Size: 22362 bytes --]

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_dpkg_build
DEBUG: Executing shell function schroot_create_configs
DEBUG: Shell function schroot_create_configs finished
DEBUG: Executing shell function dpkg_runbuild
sbuild (Debian sbuild) 0.81.2+deb11u1 (31 August 2022) on turar.m.ilbers.de

+==============================================================================+
| optee-ftpm-stm32mp15x 0~230316+git (armhf)   Wed, 19 Jul 2023 17:30:39 +0000 |
+==============================================================================+

Package: optee-ftpm-stm32mp15x
Version: 0~230316+git
Source Version: 0~230316+git
Distribution: isar
Machine Architecture: amd64
Host Architecture: armhf
Build Architecture: armhf
Build Type: binary

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/isar-jenkins-7462442a-220c-4ae6-ac2e-f0dc66a5278d-1714229-d8b2c7be-948e-494b-b190-b35aaa81b813' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Chroot Setup Commands                                                        |
+------------------------------------------------------------------------------+


echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt
--------------------------------------------------------------------------------------------


I: Finished running 'echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt'.

echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt
---------------------------------------------------------------------


I: Finished running 'echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt'.

rm -f /var/log/dpkg.log
-----------------------


I: Finished running 'rm -f /var/log/dpkg.log'.

ln -sf /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || :
---------------------------------------------------------------------------------------------------------------


I: Finished running 'ln -sf /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || :'.

:
-


I: Finished running ':'.

Finished processing commands.
--------------------------------------------------------------------------------
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-988bWY/resolver-Tq3t5U' with '<<RESOLVERDIR>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Local sources
-------------

/workspace/build/isar_ub_ba_full_old/14/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/optee-ftpm-stm32mp15x_0~230316+git.dsc exists in /workspace/build/isar_ub_ba_full_old/14/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0; copying to chroot
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-988bWY/optee-ftpm-stm32mp15x-0~230316+git' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-988bWY' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 10), python3-cryptography, optee-os-tadevkit-stm32mp15x, build-essential, fakeroot
Filtered Build-Depends: debhelper (>= 10), python3-cryptography, optee-os-tadevkit-stm32mp15x, build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [405 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [484 B]
Fetched 1846 B in 0s (12.3 kB/s)
Reading package lists...
Get:1 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar InRelease
Ign:1 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar InRelease
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release [5087 B]
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release [5087 B]
Get:3 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release.gpg
Ign:3 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release.gpg
Get:4 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar/main armhf Packages [4783 B]
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:
  optee-os-tadevkit-stm32mp15x python3-cffi-backend python3-cryptography
  python3-six
Suggested packages:
  python-cryptography-doc python3-cryptography-vectors
The following NEW packages will be installed:
  optee-os-tadevkit-stm32mp15x python3-cffi-backend python3-cryptography
  python3-six sbuild-build-depends-main-dummy
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 908 B/819 kB of archives.
After this operation, 6434 kB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [908 B]
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar/main armhf optee-os-tadevkit-stm32mp15x armhf 3.21.0 [519 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 908 B in 0s (1995 B/s)
Selecting previously unselected package optee-os-tadevkit-stm32mp15x.
(Reading database ... 17394 files and directories currently installed.)
Preparing to unpack .../optee-os-tadevkit-stm32mp15x_3.21.0_armhf.deb ...
Unpacking optee-os-tadevkit-stm32mp15x (3.21.0) ...
Selecting previously unselected package python3-cffi-backend:armhf.
Preparing to unpack .../python3-cffi-backend_1.14.5-1_armhf.deb ...
Unpacking python3-cffi-backend:armhf (1.14.5-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.16.0-2_all.deb ...
Unpacking python3-six (1.16.0-2) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../python3-cryptography_3.3.2-1_armhf.deb ...
Unpacking python3-cryptography (3.3.2-1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up python3-six (1.16.0-2) ...
Setting up python3-cffi-backend:armhf (1.14.5-1) ...
Setting up optee-os-tadevkit-stm32mp15x (3.21.0) ...
Setting up python3-cryptography (3.3.2-1) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) amd64 (x86_64)
Toolchain package versions: binutils_2.35.2-2 dpkg-dev_1.20.12 g++-10_10.2.1-6 gcc-10_10.2.1-6 libc6-dev_2.31-13+deb11u6 libstdc++-10-dev_10.2.1-6 libstdc++6_10.2.1-6 linux-libc-dev_5.10.179-2
Package versions: adduser_3.118 apt_2.2.4 autoconf_2.69-14 automake_1:1.16.3-2 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_11.1+deb11u7 base-passwd_3.5.51 bash_5.1-2+deb11u1 binutils_2.35.2-2 binutils-arm-linux-gnueabihf_2.35.2-2 binutils-common_2.35.2-2 bsdextrautils_2.36.1-8+deb11u1 bsdutils_1:2.36.1-8+deb11u1 build-essential_12.9 bzip2_1.0.8-4 ca-certificates_20210119 coreutils_8.32-4 cpp_4:10.2.1-1 cpp-10_10.2.1-6 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.77 debhelper_13.3.4 debian-archive-keyring_2021.1.1+deb11u1 debianutils_4.11.2 devscripts_2.21.3+deb11u1 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-1 diffutils_1:3.7-5 dirmngr_2.2.27-2+deb11u2 dpkg_1.20.12 dpkg-dev_1.20.12 dwz_0.13+20210201-1 e2fsprogs_1.46.2-2 equivs_2.3.1 fakeroot_1.25.3-1.1 file_1:5.39-3 findutils_4.8.0-1 g++_4:10.2.1-1 g++-10_10.2.1-6 gcc_4:10.2.1-1 gcc-10_10.2.1-6 gcc-10-base_10.2.1-6 gcc-9-base_9.3.0-22 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-2+deb11u2 gnupg-l10n_2.2.27-2+deb11u2 gnupg-utils_2.2.27-2+deb11u2 gpg_2.2.27-2+deb11u2 gpg-agent_2.2.27-2+deb11u2 gpg-wks-client_2.2.27-2+deb11u2 gpg-wks-server_2.2.27-2+deb11u2 gpgconf_2.2.27-2+deb11u2 gpgsm_2.2.27-2+deb11u2 gpgv_2.2.27-2+deb11u2 grep_3.6-1+deb11u1 groff-base_1.22.4-6 gzip_1.10-4+deb11u1 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-10 libapt-pkg6.0_2.2.4 libarchive-zip-perl_1.68-1 libasan6_10.2.1-6 libassuan0_2.5.3-7.1 libatomic1_10.2.1-6 libattr1_1:2.4.48-6 libaudit-common_1:3.0-2 libaudit1_1:3.0-2 libb-hooks-op-check-perl_0.22-1+b3 libbinutils_2.35.2-2 libblkid1_2.36.1-8+deb11u1 libbz2-1.0_1.0.8-4 libc-bin_2.31-13+deb11u6 libc-dev-bin_2.31-13+deb11u6 libc-l10n_2.31-13+deb11u6 libc6_2.31-13+deb11u6 libc6-dev_2.31-13+deb11u6 libcap-ng0_0.7.9-2.2+b1 libcc1-0_10.2.1-6 libclass-method-modifiers-perl_2.13-1 libcom-err2_1.46.2-2 libcrypt-dev_1:4.4.18-4 libcrypt1_1:4.4.18-4 libctf-nobfd0_2.35.2-2 libctf0_2.35.2-2 libdb5.3_5.3.28+dfsg1-0.8 libdebconfclient0_0.260 libdebhelper-perl_13.3.4 libdevel-callchecker-perl_0.008-1+b2 libdpkg-perl_1.20.12 libdynaloader-functions-perl_0.003-1.1 libelf1_0.183-1 libencode-locale-perl_1.05-1.1 libexpat1_2.2.10-2+deb11u5 libext2fs2_1.46.2-2 libfakeroot_1.25.3-1.1 libffi7_3.3-6 libfile-dirlist-perl_0.05-2 libfile-homedir-perl_1.006-1 libfile-listing-perl_6.14-1 libfile-stripnondeterminism-perl_1.12.0-1 libfile-touch-perl_0.11-1 libfile-which-perl_1.23-1 libgcc-10-dev_10.2.1-6 libgcc-s1_10.2.1-6 libgcrypt20_1.8.7-6 libgdbm-compat4_1.19-2 libgdbm6_1.19-2 libgmp10_2:6.2.1+dfsg-1+deb11u1 libgnutls30_3.7.1-5+deb11u3 libgomp1_10.2.1-6 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-6+deb11u3 libhogweed6_3.7.3-1 libhtml-parser-perl_3.75-1+b1 libhtml-tagset-perl_3.20-4 libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.10-1 libhttp-date-perl_6.05-1 libhttp-message-perl_6.28-1 libhttp-negotiate-perl_6.01-1 libicu67_67.1-7 libidn2-0_2.3.0-5 libimport-into-perl_1.002005-1 libio-html-perl_1.004-2 libio-pty-perl_1:1.15-2 libio-socket-ssl-perl_2.069-1 libipc-run-perl_20200505.0-1 libisl23_0.23-1 libk5crypto3_1.18.3-6+deb11u3 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-6+deb11u3 libkrb5support0_1.18.3-6+deb11u3 libksba8_1.5.0-3+deb11u2 libldap-2.4-2_2.4.57+dfsg-3+deb11u1 liblwp-mediatypes-perl_6.04-1 liblwp-protocol-https-perl_6.10-1 liblz4-1_1.9.3-2 liblzma5_5.2.5-2.1~deb11u1 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmodule-runtime-perl_0.016-1 libmoo-perl_2.004004-1 libmount1_2.36.1-8+deb11u1 libmpc3_1.2.0-1 libmpdec3_2.5.1-1 libmpfr6_4.1.0-3 libncursesw6_6.2+20201114-2+deb11u1 libnet-http-perl_6.20-1 libnet-ssleay-perl_1.88-3+b1 libnettle8_3.7.3-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.23.22-1 libpam-modules_1.4.0-9+deb11u1 libpam-modules-bin_1.4.0-9+deb11u1 libpam-runtime_1.4.0-9+deb11u1 libpam0g_1.4.0-9+deb11u1 libparams-classify-perl_0.015-1+b3 libpcre2-8-0_10.36-2+deb11u1 libpcre3_2:8.39-13 libperl5.32_5.32.1-4+deb11u2 libpipeline1_1.5.3-1 libpython3-stdlib_3.9.2-3 libpython3.9-minimal_3.9.2-1 libpython3.9-stdlib_3.9.2-1 libreadline8_8.1-1 librole-tiny-perl_2.002004-1 libsasl2-2_2.1.27+dfsg-2.1+deb11u1 libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1 libseccomp2_2.5.1-1+deb11u1 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b2 libsepol1_3.1-1 libsigsegv2_2.13-1 libsmartcols1_2.36.1-8+deb11u1 libsqlite3-0_3.34.1-3 libss2_1.46.2-2 libssl1.1_1.1.1n-0+deb11u5 libstdc++-10-dev_10.2.1-6 libstdc++6_10.2.1-6 libstrictures-perl_2.000006-1 libsub-override-perl_0.09-2 libsub-quote-perl_2.006006-1 libsystemd0_247.3-7+deb11u2 libtasn1-6_4.16.0-2+deb11u1 libtimedate-perl_2.3300-2 libtinfo6_6.2+20201114-2+deb11u1 libtirpc-common_1.3.1-1+deb11u1 libtirpc-dev_1.3.1-1+deb11u1 libtirpc3_1.3.1-1+deb11u1 libtool_2.4.6-15 libtry-tiny-perl_0.30-1 libubsan1_10.2.1-6 libuchardet0_0.0.7-1 libudev1_247.3-7+deb11u2 libunistring2_0.9.10-4 liburi-perl_5.08-1 libuuid1_2.36.1-8+deb11u1 libwww-perl_6.52-1 libwww-robotrules-perl_6.02-1 libxml2_2.9.10+dfsg-6.7+deb11u4 libxxhash0_0.8.0-2 libzstd1_1.4.8+dfsg-2.1 linux-libc-dev_5.10.179-2 locales_2.31-13+deb11u6 login_1:4.8.1-1 logsave_1.46.2-2 lsb-base_11.1.0 m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 media-types_4.0.0 mount_2.36.1-8+deb11u1 ncurses-base_6.2+20201114-2+deb11u1 ncurses-bin_6.2+20201114-2+deb11u1 netbase_6.3 openssl_1.1.1n-0+deb11u5 optee-os-tadevkit-stm32mp15x_3.21.0 passwd_1:4.8.1-1 patch_2.7.6-7 patchutils_0.4.2-1 perl_5.32.1-4+deb11u2 perl-base_5.32.1-4+deb11u2 perl-modules-5.32_5.32.1-4+deb11u2 perl-openssl-defaults_5 pinentry-curses_1.1.0-4 po-debconf_1.0.21+nmu1 python3_3.9.2-3 python3-cffi-backend_1.14.5-1 python3-cryptography_3.3.2-1 python3-minimal_3.9.2-3 python3-six_1.16.0-2 python3.9_3.9.2-1 python3.9-minimal_3.9.2-1 readline-common_8.1-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.14 sysvinit-utils_2.96-7+deb11u1 tar_1.34+dfsg-1 tzdata_2021a-1+deb11u10 util-linux_2.36.1-8+deb11u1 wdiff_1.2.2-2+b1 xz-utils_5.2.5-2.1~deb11u1 zlib1g_1:1.2.11.dfsg-2+deb11u2

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

Format: 1.0
Source: optee-ftpm-stm32mp15x
Binary: optee-ftpm-stm32mp15x
Architecture: any
Version: 0~230316+git
Maintainer: Unknown maintainer <unknown@example.com>
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 10), python3-cryptography:native, optee-os-tadevkit-stm32mp15x
Package-List:
 optee-ftpm-stm32mp15x deb misc optional arch=any
Checksums-Sha1:
 7f53c3222978290220d9422376fe5544c4bd3183 11919014 optee-ftpm-stm32mp15x_0~230316+git.tar.gz
Checksums-Sha256:
 c4a3f22ccbf7c7669396bc8cda1c5261f103aa449a04e4d24ac1426341ea2151 11919014 optee-ftpm-stm32mp15x_0~230316+git.tar.gz
Files:
 e7ca2e43e3f987ab0a96fff2a6fa62ad 11919014 optee-ftpm-stm32mp15x_0~230316+git.tar.gz

dpkg-source: warning: extracting unsigned source package (optee-ftpm-stm32mp15x_0~230316+git.dsc)
dpkg-source: info: extracting optee-ftpm-stm32mp15x in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking optee-ftpm-stm32mp15x_0~230316+git.tar.gz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
CCACHE_DISABLE=1
HOME=/sbuild-nonexistent
LC_ALL=C.UTF-8
LOGNAME=jenkins
PARALLEL_MAKE=-j 24
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=isar-jenkins-7462442a-220c-4ae6-ac2e-f0dc66a5278d-1714229
SCHROOT_CHROOT_NAME=isar-jenkins-7462442a-220c-4ae6-ac2e-f0dc66a5278d-1714229
SCHROOT_COMMAND=env
SCHROOT_GID=116
SCHROOT_GROUP=jenkins
SCHROOT_SESSION_ID=isar-jenkins-7462442a-220c-4ae6-ac2e-f0dc66a5278d-1714229-d8b2c7be-948e-494b-b190-b35aaa81b813
SCHROOT_UID=109
SCHROOT_USER=jenkins
SHELL=/bin/sh
USER=jenkins

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot --source-option=-I
dpkg-buildpackage: info: source package optee-ftpm-stm32mp15x
dpkg-buildpackage: info: source version 0~230316+git
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Unknown maintainer <unknown@example.com>
 dpkg-source -I --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd Samples/ARM32-FirmwareTPM/optee_ta && \
	TA_CROSS_COMPILE= \
	TA_CPU=cortex-a7 \
	TA_DEV_KIT_DIR=/usr/lib/optee-os/stm32mp15x/export-ta_arm32 \
	CFG_TEE_TA_LOG_LEVEL=2 \
	CFG_FTPM_USE_WOLF=y \
	/usr/bin/make -j 24
make[2]: Entering directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta'
/usr/bin/make -C fTPM CROSS_COMPILE=
make[3]: Entering directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta/fTPM'
Checking symlink to the TPM folder: /<<PKGBUILDDIR>>
Checking symlink to the WolfSSL folder: /<<PKGBUILDDIR>>/external/wolfssl
Establishing symlink.
  CC      ../out/fTPM/platform/Cancel.o
Establishing symlink.
  CC      ../out/fTPM/platform/AdminPPI.o
  CC      ../out/fTPM/platform/Entropy.o
make[3]: *** No rule to make target 'lib/wolf/wolf_symlink/wolfcrypt/src/aes.c', needed by '../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/aes.o'.  Stop.
make[3]: *** Waiting for unfinished jobs....
  CC      ../out/fTPM/platform/NvAdmin.o
  CC      ../out/fTPM/platform/NVMem.o
  CC      ../out/fTPM/platform/Clock.o
  CC      ../out/fTPM/platform/LocalityPlat.o
  CC      ../out/fTPM/platform/PlatformACT.o
  CC      ../out/fTPM/platform/PlatformData.o
  CC      ../out/fTPM/platform/PowerPlat.o
  CC      ../out/fTPM/reference/RuntimeSupport.o
  CC      ../out/fTPM/platform/PPPlat.o
  CC      ../out/fTPM/platform/fTPM_helpers.o
  CC      ../out/fTPM/platform/Unique.o
  CC      ../out/fTPM/platform/RunCommand.o
  CC      ../out/fTPM/platform/EPS.o
  CC      ../out/fTPM/fTPM.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta/fTPM'
make[2]: *** [Makefile:6: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta'
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-07-19T17:31:46Z

+------------------------------------------------------------------------------+
| Finished Timed Build Commands                                                |
+------------------------------------------------------------------------------+


rm -f /var/cache/apt/archives/sbuild-build-depends-main-dummy_*.deb
-------------------------------------------------------------------


I: Finished running 'rm -f /var/cache/apt/archives/sbuild-build-depends-main-dummy_*.deb'.

cp -Ln --no-preserve=owner /var/cache/apt/archives/*.deb -t /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/ || :
-----------------------------------------------------------------------------------------------------------------------------------


I: Finished running 'cp -Ln --no-preserve=owner /var/cache/apt/archives/*.deb -t /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/ || :'.

mkdir -p /home/builder/optee-ftpm-stm32mp15x/rootfs
---------------------------------------------------


I: Finished running 'mkdir -p /home/builder/optee-ftpm-stm32mp15x/rootfs'.

cp /var/log/dpkg.log /home/builder/optee-ftpm-stm32mp15x/rootfs/dpkg_partial.log
--------------------------------------------------------------------------------


I: Finished running 'cp /var/log/dpkg.log /home/builder/optee-ftpm-stm32mp15x/rootfs/dpkg_partial.log'.

Finished processing commands.
--------------------------------------------------------------------------------

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build Type: binary
Build-Space: 65812
Build-Time: 12
Distribution: isar
Fail-Stage: build
Host Architecture: armhf
Install-Time: 45
Job: /workspace/build/isar_ub_ba_full_old/14/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/optee-ftpm-stm32mp15x_0~230316+git.dsc
Machine Architecture: amd64
Package: optee-ftpm-stm32mp15x
Package-Time: 67
Source-Version: 0~230316+git
Space: 65812
Status: attempted
Version: 0~230316+git
--------------------------------------------------------------------------------
Finished at 2023-07-19T17:31:46Z
Build needed 00:01:07, 65812k disk space
E: Build failure (dpkg-buildpackage died)
WARNING: exit code 2 from a shell command.
DEBUG: Executing shell function schroot_delete_configs
DEBUG: Shell function schroot_delete_configs finished
DEBUG: Python function do_dpkg_build finished

[-- Attachment #3: log.do_dpkg_build.382279 --]
[-- Type: text/plain, Size: 54045 bytes --]

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_dpkg_build
DEBUG: Executing shell function schroot_create_configs
DEBUG: Shell function schroot_create_configs finished
DEBUG: Executing shell function dpkg_runbuild
sbuild (Debian sbuild) 0.81.2+deb11u1 (31 August 2022) on turar.m.ilbers.de

+==============================================================================+
| optee-ftpm-stm32mp15x 0~230316+git (armhf)   Wed, 19 Jul 2023 16:22:24 +0000 |
+==============================================================================+

Package: optee-ftpm-stm32mp15x
Version: 0~230316+git
Source Version: 0~230316+git
Distribution: isar
Machine Architecture: amd64
Host Architecture: armhf
Build Architecture: armhf
Build Type: binary

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/isar-jenkins-df0f0ea7-e0dd-403e-bd11-64213102dc0a-382279-700fd4a1-7e46-44ce-8c9a-8d16630f1b60' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Chroot Setup Commands                                                        |
+------------------------------------------------------------------------------+


echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt
--------------------------------------------------------------------------------------------


I: Finished running 'echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt'.

echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt
---------------------------------------------------------------------


I: Finished running 'echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt'.

rm -f /var/log/dpkg.log
-----------------------


I: Finished running 'rm -f /var/log/dpkg.log'.

ln -sf /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || :
---------------------------------------------------------------------------------------------------------------


I: Finished running 'ln -sf /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || :'.

:
-


I: Finished running ':'.

Finished processing commands.
--------------------------------------------------------------------------------
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-uHoiRT/resolver-GkCoHl' with '<<RESOLVERDIR>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Local sources
-------------

/workspace/build/isar_ub_ba_full_old/13/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/optee-ftpm-stm32mp15x_0~230316+git.dsc exists in /workspace/build/isar_ub_ba_full_old/13/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0; copying to chroot
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-uHoiRT/optee-ftpm-stm32mp15x-0~230316+git' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/optee-ftpm-stm32mp15x-uHoiRT' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 10), python3-cryptography, optee-os-tadevkit-stm32mp15x, build-essential, fakeroot
Filtered Build-Depends: debhelper (>= 10), python3-cryptography, optee-os-tadevkit-stm32mp15x, build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [405 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [485 B]
Fetched 1847 B in 0s (11.6 kB/s)
Reading package lists...
Get:1 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar InRelease
Ign:1 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar InRelease
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release [5087 B]
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release [5087 B]
Get:3 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release.gpg
Ign:3 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar Release.gpg
Get:4 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar/main armhf Packages [4784 B]
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:
  optee-os-tadevkit-stm32mp15x python3-cffi-backend python3-cryptography
  python3-six
Suggested packages:
  python-cryptography-doc python3-cryptography-vectors
The following NEW packages will be installed:
  optee-os-tadevkit-stm32mp15x python3-cffi-backend python3-cryptography
  python3-six sbuild-build-depends-main-dummy
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 908 B/819 kB of archives.
After this operation, 6434 kB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [908 B]
Get:2 file:/home/builder/optee-ftpm-stm32mp15x/isar-apt/debian-bullseye-armhf/apt/debian-bullseye isar/main armhf optee-os-tadevkit-stm32mp15x armhf 3.21.0 [519 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 908 B in 1s (1655 B/s)
Selecting previously unselected package optee-os-tadevkit-stm32mp15x.
(Reading database ... 17394 files and directories currently installed.)
Preparing to unpack .../optee-os-tadevkit-stm32mp15x_3.21.0_armhf.deb ...
Unpacking optee-os-tadevkit-stm32mp15x (3.21.0) ...
Selecting previously unselected package python3-cffi-backend:armhf.
Preparing to unpack .../python3-cffi-backend_1.14.5-1_armhf.deb ...
Unpacking python3-cffi-backend:armhf (1.14.5-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.16.0-2_all.deb ...
Unpacking python3-six (1.16.0-2) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../python3-cryptography_3.3.2-1_armhf.deb ...
Unpacking python3-cryptography (3.3.2-1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up python3-six (1.16.0-2) ...
Setting up python3-cffi-backend:armhf (1.14.5-1) ...
Setting up optee-os-tadevkit-stm32mp15x (3.21.0) ...
Setting up python3-cryptography (3.3.2-1) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) amd64 (x86_64)
Toolchain package versions: binutils_2.35.2-2 dpkg-dev_1.20.12 g++-10_10.2.1-6 gcc-10_10.2.1-6 libc6-dev_2.31-13+deb11u6 libstdc++-10-dev_10.2.1-6 libstdc++6_10.2.1-6 linux-libc-dev_5.10.179-2
Package versions: adduser_3.118 apt_2.2.4 autoconf_2.69-14 automake_1:1.16.3-2 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_11.1+deb11u7 base-passwd_3.5.51 bash_5.1-2+deb11u1 binutils_2.35.2-2 binutils-arm-linux-gnueabihf_2.35.2-2 binutils-common_2.35.2-2 bsdextrautils_2.36.1-8+deb11u1 bsdutils_1:2.36.1-8+deb11u1 build-essential_12.9 bzip2_1.0.8-4 ca-certificates_20210119 coreutils_8.32-4 cpp_4:10.2.1-1 cpp-10_10.2.1-6 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.77 debhelper_13.3.4 debian-archive-keyring_2021.1.1+deb11u1 debianutils_4.11.2 devscripts_2.21.3+deb11u1 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-1 diffutils_1:3.7-5 dirmngr_2.2.27-2+deb11u2 dpkg_1.20.12 dpkg-dev_1.20.12 dwz_0.13+20210201-1 e2fsprogs_1.46.2-2 equivs_2.3.1 fakeroot_1.25.3-1.1 file_1:5.39-3 findutils_4.8.0-1 g++_4:10.2.1-1 g++-10_10.2.1-6 gcc_4:10.2.1-1 gcc-10_10.2.1-6 gcc-10-base_10.2.1-6 gcc-9-base_9.3.0-22 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-2+deb11u2 gnupg-l10n_2.2.27-2+deb11u2 gnupg-utils_2.2.27-2+deb11u2 gpg_2.2.27-2+deb11u2 gpg-agent_2.2.27-2+deb11u2 gpg-wks-client_2.2.27-2+deb11u2 gpg-wks-server_2.2.27-2+deb11u2 gpgconf_2.2.27-2+deb11u2 gpgsm_2.2.27-2+deb11u2 gpgv_2.2.27-2+deb11u2 grep_3.6-1+deb11u1 groff-base_1.22.4-6 gzip_1.10-4+deb11u1 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-10 libapt-pkg6.0_2.2.4 libarchive-zip-perl_1.68-1 libasan6_10.2.1-6 libassuan0_2.5.3-7.1 libatomic1_10.2.1-6 libattr1_1:2.4.48-6 libaudit-common_1:3.0-2 libaudit1_1:3.0-2 libb-hooks-op-check-perl_0.22-1+b3 libbinutils_2.35.2-2 libblkid1_2.36.1-8+deb11u1 libbz2-1.0_1.0.8-4 libc-bin_2.31-13+deb11u6 libc-dev-bin_2.31-13+deb11u6 libc-l10n_2.31-13+deb11u6 libc6_2.31-13+deb11u6 libc6-dev_2.31-13+deb11u6 libcap-ng0_0.7.9-2.2+b1 libcc1-0_10.2.1-6 libclass-method-modifiers-perl_2.13-1 libcom-err2_1.46.2-2 libcrypt-dev_1:4.4.18-4 libcrypt1_1:4.4.18-4 libctf-nobfd0_2.35.2-2 libctf0_2.35.2-2 libdb5.3_5.3.28+dfsg1-0.8 libdebconfclient0_0.260 libdebhelper-perl_13.3.4 libdevel-callchecker-perl_0.008-1+b2 libdpkg-perl_1.20.12 libdynaloader-functions-perl_0.003-1.1 libelf1_0.183-1 libencode-locale-perl_1.05-1.1 libexpat1_2.2.10-2+deb11u5 libext2fs2_1.46.2-2 libfakeroot_1.25.3-1.1 libffi7_3.3-6 libfile-dirlist-perl_0.05-2 libfile-homedir-perl_1.006-1 libfile-listing-perl_6.14-1 libfile-stripnondeterminism-perl_1.12.0-1 libfile-touch-perl_0.11-1 libfile-which-perl_1.23-1 libgcc-10-dev_10.2.1-6 libgcc-s1_10.2.1-6 libgcrypt20_1.8.7-6 libgdbm-compat4_1.19-2 libgdbm6_1.19-2 libgmp10_2:6.2.1+dfsg-1+deb11u1 libgnutls30_3.7.1-5+deb11u3 libgomp1_10.2.1-6 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-6+deb11u3 libhogweed6_3.7.3-1 libhtml-parser-perl_3.75-1+b1 libhtml-tagset-perl_3.20-4 libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.10-1 libhttp-date-perl_6.05-1 libhttp-message-perl_6.28-1 libhttp-negotiate-perl_6.01-1 libicu67_67.1-7 libidn2-0_2.3.0-5 libimport-into-perl_1.002005-1 libio-html-perl_1.004-2 libio-pty-perl_1:1.15-2 libio-socket-ssl-perl_2.069-1 libipc-run-perl_20200505.0-1 libisl23_0.23-1 libk5crypto3_1.18.3-6+deb11u3 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-6+deb11u3 libkrb5support0_1.18.3-6+deb11u3 libksba8_1.5.0-3+deb11u2 libldap-2.4-2_2.4.57+dfsg-3+deb11u1 liblwp-mediatypes-perl_6.04-1 liblwp-protocol-https-perl_6.10-1 liblz4-1_1.9.3-2 liblzma5_5.2.5-2.1~deb11u1 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmodule-runtime-perl_0.016-1 libmoo-perl_2.004004-1 libmount1_2.36.1-8+deb11u1 libmpc3_1.2.0-1 libmpdec3_2.5.1-1 libmpfr6_4.1.0-3 libncursesw6_6.2+20201114-2+deb11u1 libnet-http-perl_6.20-1 libnet-ssleay-perl_1.88-3+b1 libnettle8_3.7.3-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.23.22-1 libpam-modules_1.4.0-9+deb11u1 libpam-modules-bin_1.4.0-9+deb11u1 libpam-runtime_1.4.0-9+deb11u1 libpam0g_1.4.0-9+deb11u1 libparams-classify-perl_0.015-1+b3 libpcre2-8-0_10.36-2+deb11u1 libpcre3_2:8.39-13 libperl5.32_5.32.1-4+deb11u2 libpipeline1_1.5.3-1 libpython3-stdlib_3.9.2-3 libpython3.9-minimal_3.9.2-1 libpython3.9-stdlib_3.9.2-1 libreadline8_8.1-1 librole-tiny-perl_2.002004-1 libsasl2-2_2.1.27+dfsg-2.1+deb11u1 libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1 libseccomp2_2.5.1-1+deb11u1 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b2 libsepol1_3.1-1 libsigsegv2_2.13-1 libsmartcols1_2.36.1-8+deb11u1 libsqlite3-0_3.34.1-3 libss2_1.46.2-2 libssl1.1_1.1.1n-0+deb11u5 libstdc++-10-dev_10.2.1-6 libstdc++6_10.2.1-6 libstrictures-perl_2.000006-1 libsub-override-perl_0.09-2 libsub-quote-perl_2.006006-1 libsystemd0_247.3-7+deb11u2 libtasn1-6_4.16.0-2+deb11u1 libtimedate-perl_2.3300-2 libtinfo6_6.2+20201114-2+deb11u1 libtirpc-common_1.3.1-1+deb11u1 libtirpc-dev_1.3.1-1+deb11u1 libtirpc3_1.3.1-1+deb11u1 libtool_2.4.6-15 libtry-tiny-perl_0.30-1 libubsan1_10.2.1-6 libuchardet0_0.0.7-1 libudev1_247.3-7+deb11u2 libunistring2_0.9.10-4 liburi-perl_5.08-1 libuuid1_2.36.1-8+deb11u1 libwww-perl_6.52-1 libwww-robotrules-perl_6.02-1 libxml2_2.9.10+dfsg-6.7+deb11u4 libxxhash0_0.8.0-2 libzstd1_1.4.8+dfsg-2.1 linux-libc-dev_5.10.179-2 locales_2.31-13+deb11u6 login_1:4.8.1-1 logsave_1.46.2-2 lsb-base_11.1.0 m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 media-types_4.0.0 mount_2.36.1-8+deb11u1 ncurses-base_6.2+20201114-2+deb11u1 ncurses-bin_6.2+20201114-2+deb11u1 netbase_6.3 openssl_1.1.1n-0+deb11u5 optee-os-tadevkit-stm32mp15x_3.21.0 passwd_1:4.8.1-1 patch_2.7.6-7 patchutils_0.4.2-1 perl_5.32.1-4+deb11u2 perl-base_5.32.1-4+deb11u2 perl-modules-5.32_5.32.1-4+deb11u2 perl-openssl-defaults_5 pinentry-curses_1.1.0-4 po-debconf_1.0.21+nmu1 python3_3.9.2-3 python3-cffi-backend_1.14.5-1 python3-cryptography_3.3.2-1 python3-minimal_3.9.2-3 python3-six_1.16.0-2 python3.9_3.9.2-1 python3.9-minimal_3.9.2-1 readline-common_8.1-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.14 sysvinit-utils_2.96-7+deb11u1 tar_1.34+dfsg-1 tzdata_2021a-1+deb11u10 util-linux_2.36.1-8+deb11u1 wdiff_1.2.2-2+b1 xz-utils_5.2.5-2.1~deb11u1 zlib1g_1:1.2.11.dfsg-2+deb11u2

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

Format: 1.0
Source: optee-ftpm-stm32mp15x
Binary: optee-ftpm-stm32mp15x
Architecture: any
Version: 0~230316+git
Maintainer: Unknown maintainer <unknown@example.com>
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 10), python3-cryptography:native, optee-os-tadevkit-stm32mp15x
Package-List:
 optee-ftpm-stm32mp15x deb misc optional arch=any
Checksums-Sha1:
 65e1feb5b38459f2a4fead7ff193fc2d526a12d8 11919015 optee-ftpm-stm32mp15x_0~230316+git.tar.gz
Checksums-Sha256:
 23c914f786c1b9a6cba4ca2d71fe8070f787c71ddb2f617ba88f2e6191bb9ad8 11919015 optee-ftpm-stm32mp15x_0~230316+git.tar.gz
Files:
 6ccd8a5b0f96e98af66fb34db3454eba 11919015 optee-ftpm-stm32mp15x_0~230316+git.tar.gz

dpkg-source: warning: extracting unsigned source package (optee-ftpm-stm32mp15x_0~230316+git.dsc)
dpkg-source: info: extracting optee-ftpm-stm32mp15x in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking optee-ftpm-stm32mp15x_0~230316+git.tar.gz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
CCACHE_DISABLE=1
HOME=/sbuild-nonexistent
LC_ALL=C.UTF-8
LOGNAME=jenkins
PARALLEL_MAKE=-j 24
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=isar-jenkins-df0f0ea7-e0dd-403e-bd11-64213102dc0a-382279
SCHROOT_CHROOT_NAME=isar-jenkins-df0f0ea7-e0dd-403e-bd11-64213102dc0a-382279
SCHROOT_COMMAND=env
SCHROOT_GID=116
SCHROOT_GROUP=jenkins
SCHROOT_SESSION_ID=isar-jenkins-df0f0ea7-e0dd-403e-bd11-64213102dc0a-382279-700fd4a1-7e46-44ce-8c9a-8d16630f1b60
SCHROOT_UID=109
SCHROOT_USER=jenkins
SHELL=/bin/sh
USER=jenkins

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot --source-option=-I
dpkg-buildpackage: info: source package optee-ftpm-stm32mp15x
dpkg-buildpackage: info: source version 0~230316+git
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Unknown maintainer <unknown@example.com>
 dpkg-source -I --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd Samples/ARM32-FirmwareTPM/optee_ta && \
	TA_CROSS_COMPILE= \
	TA_CPU=cortex-a7 \
	TA_DEV_KIT_DIR=/usr/lib/optee-os/stm32mp15x/export-ta_arm32 \
	CFG_TEE_TA_LOG_LEVEL=2 \
	CFG_FTPM_USE_WOLF=y \
	/usr/bin/make -j 24
make[2]: Entering directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta'
/usr/bin/make -C fTPM CROSS_COMPILE=
make[3]: Entering directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta/fTPM'
Checking symlink to the TPM folder: /<<PKGBUILDDIR>>
Checking symlink to the WolfSSL folder: /<<PKGBUILDDIR>>/external/wolfssl
Establishing symlink.
Establishing symlink.
  CC      ../out/fTPM/platform/AdminPPI.o
  CC      ../out/fTPM/platform/Cancel.o
  CC      ../out/fTPM/platform/Clock.o
  CC      ../out/fTPM/platform/Entropy.o
  CC      ../out/fTPM/platform/LocalityPlat.o
  CC      ../out/fTPM/platform/NvAdmin.o
  CC      ../out/fTPM/platform/NVMem.o
  CC      ../out/fTPM/platform/Unique.o
  CC      ../out/fTPM/platform/EPS.o
  CC      ../out/fTPM/platform/RunCommand.o
  CC      ../out/fTPM/platform/PowerPlat.o
  CC      ../out/fTPM/platform/PlatformACT.o
  CC      ../out/fTPM/platform/PlatformData.o
  CC      ../out/fTPM/platform/PPPlat.o
  CC      ../out/fTPM/reference/RuntimeSupport.o
  CC      ../out/fTPM/platform/fTPM_helpers.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/asn.o
  CC      ../out/fTPM/fTPM.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/aes.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/ecc.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/integer.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/sha256.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/memory.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/sha.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/sha512.o
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c: In function ‘wolfSSL_Malloc’:
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:140:15: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
  140 |         res = malloc(size);
      |               ^~~~~~
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:140:15: warning: incompatible implicit declaration of built-in function ‘malloc’
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:75:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
   74 | #include <wolfssl/wolfcrypt/logging.h>
  +++ |+#include <stdlib.h>
   75 | 
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c: In function ‘wolfSSL_Free’:
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:205:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
  205 |         free(ptr);
      |         ^~~~
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:205:9: warning: incompatible implicit declaration of built-in function ‘free’
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:205:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c: In function ‘wolfSSL_Realloc’:
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:229:15: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration]
  229 |         res = realloc(ptr, size);
      |               ^~~~~~~
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:229:15: warning: incompatible implicit declaration of built-in function ‘realloc’
lib/wolf/wolf_symlink/wolfcrypt/src/memory.c:229:15: note: include ‘<stdlib.h>’ or provide a declaration of ‘realloc’
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/tfm.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/wolfmath.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/des3.o
  CC      ../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/random.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/X509/X509_ECC.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/X509/X509_RSA.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/X509/X509_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/X509/TpmASN1.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/CertifyX509.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/GetSessionAuditDigest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/GetCommandAuditDigest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/Attest_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/Quote.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/Certify.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/CertifyCreation.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Attestation/GetTime.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Random/GetRandom.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Random/StirRandom.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_WriteLock.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_ReadPublic.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_Increment.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_ChangeAuth.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_UndefineSpaceSpecial.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_Write.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_SetBits.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_GlobalWriteLock.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_Read.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_Extend.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_Certify.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_ReadLock.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_DefineSpace.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/NVStorage/NV_UndefineSpace.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/HashSequenceStart.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/SequenceUpdate.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/EventSequenceComplete.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/MAC_Start.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/HMAC_Start.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/HashHMAC/SequenceComplete.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Vendor/Vendor_TCG_Test.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Ecdaa/Commit.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Startup/Startup.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Startup/Shutdown.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/FieldUpgrade/FieldUpgradeData.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/FieldUpgrade/FirmwareRead.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/FieldUpgrade/FieldUpgradeStart.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Capability/TestParms.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Capability/GetCapability.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/ClockTimer/ACT_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/ClockTimer/ClockRateAdjust.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/ClockTimer/ACT_SetTimeout.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/ClockTimer/ReadClock.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/ClockTimer/ClockSet.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Session/PolicyRestart.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Session/StartAuthSession.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyDuplicationSelect.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyPCR.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicySecret.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyTicket.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyTemplate.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyNV.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyGetDigest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyCpHash.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyOR.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/Policy_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyLocality.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyAuthorize.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyAuthorizeNV.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyPassword.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyCounterTimer.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyAuthValue.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicySigned.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyNameHash.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyNvWritten.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyPhysicalPresence.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/EA/PolicyCommandCode.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/ChangePPS.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/HierarchyControl.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/HierarchyChangeAuth.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/ChangeEPS.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/ClearControl.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/Clear.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/SetPrimaryPolicy.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Hierarchy/CreatePrimary.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/CommandAudit/SetCommandCodeAuditStatus.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/Object_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/ReadPublic.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/Load.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/LoadExternal.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/MakeCredential.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/Unseal.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/CreateLoaded.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/ObjectChangeAuth.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/ActivateCredential.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/AttachedComponent/AC_GetCapability.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Object/Create.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/AttachedComponent/AC_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/AttachedComponent/AC_Send.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Signature/VerifySignature.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/AttachedComponent/Policy_AC_SendSelect.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Signature/Sign.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Duplication/Import.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Duplication/Rewrap.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Duplication/Duplicate.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/EncryptDecrypt2.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/EncryptDecrypt_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/HMAC.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/Hash.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/EncryptDecrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Symmetric/MAC.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Context/ContextSave.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Context/FlushContext.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Context/Context_spt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Context/ContextLoad.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Context/EvictControl.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_Reset.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_Allocate.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_Extend.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_SetAuthValue.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_Event.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_SetAuthPolicy.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/PCR/PCR_Read.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/DA/DictionaryAttackParameters.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/DA/DictionaryAttackLockReset.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Misc/PP_Commands.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Misc/SetAlgorithmSet.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Testing/GetTestResult.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Testing/SelfTest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ECC_Parameters.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Testing/IncrementalSelfTest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/RSA_Encrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ECDH_ZGen.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ECDH_KeyGen.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ZGen_2Phase.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ECC_Decrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/RSA_Decrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/EC_Ephemeral.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/command/Asymmetric/ECC_Encrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/DA.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/NvDynamic.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/PP.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/Session.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/Object.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/NvReserved.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/Hierarchy.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/Time.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/PCR.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/subsystem/CommandAudit.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/events/_TPM_Hash_Start.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/events/_TPM_Init.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/events/_TPM_Hash_End.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/events/_TPM_Hash_Data.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptSmac.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptEccData.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptCmac.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/BnMath.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptEccSignature.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/wolf/TpmToWolfDesSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/wolf/TpmToWolfMath.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/wolf/TpmToWolfSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/AlgorithmTests.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptSelfTest.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/Ticket.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptDes.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/BnMemory.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptPrimeSieve.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ossl/TpmToOsslSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ossl/TpmToOsslDesSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptEccKeyExchange.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/BnConvert.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptRand.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ltc/TpmToLtcSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ltc/TpmToLtcDesSupport.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/ltc/TpmToLtcMath.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptEccMain.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptSym.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/RsaKeyCache.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptUtil.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptEccCrypt.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptRsa.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptPrime.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/PrimeData.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/crypt/CryptHash.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Marshal.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/MathOnByteBuffers.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/TableDrivenMarshal.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/PropertyCap.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Locality.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/TableMarshalData.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Memory.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Response.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/ResponseCodeProcessing.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Global.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Power.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/AlgorithmCap.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/CommandCodeAttributes.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Entity.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Handle.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/TpmFail.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/TpmSizeChecks.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Manufacture.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/IoBuffers.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/support/Bits.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/main/SessionProcess.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/main/ExecCommand.o
  CC      ../out/fTPM/./lib/tpm/tpm_symlink/TPMCmd/tpm/src/main/CommandDispatcher.o
  CPP     ../out/fTPM/ta.lds
  CC      ../out/fTPM/user_ta_header.o
  AS      ../out/fTPM/ta_entry_a32.o
  GEN     ../out/fTPM/dyn_list
  LD      ../out/fTPM/bc50d971-d4c9-42c4-82cb-343fb7f37896.elf
  OBJDUMP ../out/fTPM/bc50d971-d4c9-42c4-82cb-343fb7f37896.dmp
  OBJCOPY ../out/fTPM/bc50d971-d4c9-42c4-82cb-343fb7f37896.stripped.elf
  SIGN    ../out/fTPM/bc50d971-d4c9-42c4-82cb-343fb7f37896.ta
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta/fTPM'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Samples/ARM32-FirmwareTPM/optee_ta'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'optee-ftpm-stm32mp15x' in '../optee-ftpm-stm32mp15x_0~230316+git_armhf.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../optee-ftpm-stm32mp15x_0~230316+git_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source -I --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2023-07-19T16:24:22Z

+------------------------------------------------------------------------------+
| Finished Timed Build Commands                                                |
+------------------------------------------------------------------------------+


rm -f /var/cache/apt/archives/sbuild-build-depends-main-dummy_*.deb
-------------------------------------------------------------------


I: Finished running 'rm -f /var/cache/apt/archives/sbuild-build-depends-main-dummy_*.deb'.

cp -Ln --no-preserve=owner /var/cache/apt/archives/*.deb -t /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/ || :
-----------------------------------------------------------------------------------------------------------------------------------


I: Finished running 'cp -Ln --no-preserve=owner /var/cache/apt/archives/*.deb -t /home/builder/optee-ftpm-stm32mp15x/rootfs/var/cache/apt/archives/ || :'.

mkdir -p /home/builder/optee-ftpm-stm32mp15x/rootfs
---------------------------------------------------


I: Finished running 'mkdir -p /home/builder/optee-ftpm-stm32mp15x/rootfs'.

cp /var/log/dpkg.log /home/builder/optee-ftpm-stm32mp15x/rootfs/dpkg_partial.log
--------------------------------------------------------------------------------


I: Finished running 'cp /var/log/dpkg.log /home/builder/optee-ftpm-stm32mp15x/rootfs/dpkg_partial.log'.

Finished processing commands.
--------------------------------------------------------------------------------

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


optee-ftpm-stm32mp15x_0~230316+git_armhf.changes:
-------------------------------------------------

Format: 1.8
Date: Thu, 01 Jan 1970 02:00:00 +0100
Source: optee-ftpm-stm32mp15x
Binary: optee-ftpm-stm32mp15x
Architecture: armhf
Version: 0~230316+git
Distribution: isar
Urgency: low
Maintainer: Unknown maintainer <unknown@example.com>
Changed-By: Unknown maintainer <unknown@example.com>
Description:
 optee-ftpm-stm32mp15x - TCG reference implementation of the TPM 2.0 Specification.
Changes:
 optee-ftpm-stm32mp15x (0~230316+git) UNRELEASED; urgency=low
 .
   * generated by Isar
Checksums-Sha1:
 f732347327665217537d9f8741904cbbb39482bd 5506 optee-ftpm-stm32mp15x_0~230316+git_armhf.buildinfo
 db77682eb83fee83f2c6f6169d7b532cf13de014 150980 optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
Checksums-Sha256:
 aa306e5c52965a79518dd30437ced5333bf771da328fd0cc53c2ea0ff67cff8c 5506 optee-ftpm-stm32mp15x_0~230316+git_armhf.buildinfo
 d869d2a6475c939a6a8022b587012877ab37506fd913cfd90d6aaec412d55c84 150980 optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
Files:
 d4a9443583e3d47f44ac7259a7e9f1d5 5506 misc optional optee-ftpm-stm32mp15x_0~230316+git_armhf.buildinfo
 b40b8ef4a008894424f97f9edebe7d2f 150980 misc optional optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
/<<BUILDDIR>>/optee-ftpm-stm32mp15x_0~230316+git_armhf.changes.new could not be renamed to /<<BUILDDIR>>/optee-ftpm-stm32mp15x_0~230316+git_armhf.changes: Illegal seek
Distribution field may be wrong!!!
+------------------------------------------------------------------------------+
| Buildinfo                                                                    |
+------------------------------------------------------------------------------+

Format: 1.0
Source: optee-ftpm-stm32mp15x
Binary: optee-ftpm-stm32mp15x
Architecture: armhf
Version: 0~230316+git
Checksums-Md5:
 b40b8ef4a008894424f97f9edebe7d2f 150980 optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
Checksums-Sha1:
 db77682eb83fee83f2c6f6169d7b532cf13de014 150980 optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
Checksums-Sha256:
 d869d2a6475c939a6a8022b587012877ab37506fd913cfd90d6aaec412d55c84 150980 optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
Build-Origin: Debian
Build-Architecture: armhf
Build-Date: Wed, 19 Jul 2023 16:24:20 +0000
Build-Path: /<<PKGBUILDDIR>>
Build-Tainted-By:
 merged-usr-via-aliased-dirs
Installed-Build-Depends:
 autoconf (= 2.69-14),
 automake (= 1:1.16.3-2),
 autopoint (= 0.21-4),
 autotools-dev (= 20180224.1+nmu1),
 base-files (= 11.1+deb11u7),
 base-passwd (= 3.5.51),
 bash (= 5.1-2+deb11u1),
 binutils (= 2.35.2-2),
 binutils-arm-linux-gnueabihf (= 2.35.2-2),
 binutils-common (= 2.35.2-2),
 bsdextrautils (= 2.36.1-8+deb11u1),
 bsdutils (= 1:2.36.1-8+deb11u1),
 build-essential (= 12.9),
 bzip2 (= 1.0.8-4),
 coreutils (= 8.32-4),
 cpp (= 4:10.2.1-1),
 cpp-10 (= 10.2.1-6),
 dash (= 0.5.11+git20200708+dd9ef66-5),
 debconf (= 1.5.77),
 debhelper (= 13.3.4),
 debianutils (= 4.11.2),
 dh-autoreconf (= 20),
 dh-strip-nondeterminism (= 1.12.0-1),
 diffutils (= 1:3.7-5),
 dpkg (= 1.20.12),
 dpkg-dev (= 1.20.12),
 dwz (= 0.13+20210201-1),
 file (= 1:5.39-3),
 findutils (= 4.8.0-1),
 g++ (= 4:10.2.1-1),
 g++-10 (= 10.2.1-6),
 gcc (= 4:10.2.1-1),
 gcc-10 (= 10.2.1-6),
 gcc-10-base (= 10.2.1-6),
 gettext (= 0.21-4),
 gettext-base (= 0.21-4),
 grep (= 3.6-1+deb11u1),
 groff-base (= 1.22.4-6),
 gzip (= 1.10-4+deb11u1),
 hostname (= 3.23),
 init-system-helpers (= 1.60),
 intltool-debian (= 0.35.0+20060710.5),
 libacl1 (= 2.2.53-10),
 libarchive-zip-perl (= 1.68-1),
 libasan6 (= 10.2.1-6),
 libatomic1 (= 10.2.1-6),
 libattr1 (= 1:2.4.48-6),
 libaudit-common (= 1:3.0-2),
 libaudit1 (= 1:3.0-2),
 libbinutils (= 2.35.2-2),
 libblkid1 (= 2.36.1-8+deb11u1),
 libbz2-1.0 (= 1.0.8-4),
 libc-bin (= 2.31-13+deb11u6),
 libc-dev-bin (= 2.31-13+deb11u6),
 libc6 (= 2.31-13+deb11u6),
 libc6-dev (= 2.31-13+deb11u6),
 libcap-ng0 (= 0.7.9-2.2+b1),
 libcc1-0 (= 10.2.1-6),
 libcom-err2 (= 1.46.2-2),
 libcrypt-dev (= 1:4.4.18-4),
 libcrypt1 (= 1:4.4.18-4),
 libctf-nobfd0 (= 2.35.2-2),
 libctf0 (= 2.35.2-2),
 libdb5.3 (= 5.3.28+dfsg1-0.8),
 libdebconfclient0 (= 0.260),
 libdebhelper-perl (= 13.3.4),
 libdpkg-perl (= 1.20.12),
 libelf1 (= 0.183-1),
 libexpat1 (= 2.2.10-2+deb11u5),
 libffi7 (= 3.3-6),
 libfile-stripnondeterminism-perl (= 1.12.0-1),
 libgcc-10-dev (= 10.2.1-6),
 libgcc-s1 (= 10.2.1-6),
 libgcrypt20 (= 1.8.7-6),
 libgdbm-compat4 (= 1.19-2),
 libgdbm6 (= 1.19-2),
 libgmp10 (= 2:6.2.1+dfsg-1+deb11u1),
 libgomp1 (= 10.2.1-6),
 libgpg-error0 (= 1.38-2),
 libgssapi-krb5-2 (= 1.18.3-6+deb11u3),
 libicu67 (= 67.1-7),
 libisl23 (= 0.23-1),
 libk5crypto3 (= 1.18.3-6+deb11u3),
 libkeyutils1 (= 1.6.1-2),
 libkrb5-3 (= 1.18.3-6+deb11u3),
 libkrb5support0 (= 1.18.3-6+deb11u3),
 liblz4-1 (= 1.9.3-2),
 liblzma5 (= 5.2.5-2.1~deb11u1),
 libmagic-mgc (= 1:5.39-3),
 libmagic1 (= 1:5.39-3),
 libmount1 (= 2.36.1-8+deb11u1),
 libmpc3 (= 1.2.0-1),
 libmpdec3 (= 2.5.1-1),
 libmpfr6 (= 4.1.0-3),
 libncursesw6 (= 6.2+20201114-2+deb11u1),
 libnsl-dev (= 1.3.0-2),
 libnsl2 (= 1.3.0-2),
 libpam-modules (= 1.4.0-9+deb11u1),
 libpam-modules-bin (= 1.4.0-9+deb11u1),
 libpam-runtime (= 1.4.0-9+deb11u1),
 libpam0g (= 1.4.0-9+deb11u1),
 libpcre2-8-0 (= 10.36-2+deb11u1),
 libpcre3 (= 2:8.39-13),
 libperl5.32 (= 5.32.1-4+deb11u2),
 libpipeline1 (= 1.5.3-1),
 libpython3-stdlib (= 3.9.2-3),
 libpython3.9-minimal (= 3.9.2-1),
 libpython3.9-stdlib (= 3.9.2-1),
 libreadline8 (= 8.1-1),
 libseccomp2 (= 2.5.1-1+deb11u1),
 libselinux1 (= 3.1-3),
 libsigsegv2 (= 2.13-1),
 libsmartcols1 (= 2.36.1-8+deb11u1),
 libsqlite3-0 (= 3.34.1-3),
 libssl1.1 (= 1.1.1n-0+deb11u5),
 libstdc++-10-dev (= 10.2.1-6),
 libstdc++6 (= 10.2.1-6),
 libsub-override-perl (= 0.09-2),
 libsystemd0 (= 247.3-7+deb11u2),
 libtinfo6 (= 6.2+20201114-2+deb11u1),
 libtirpc-common (= 1.3.1-1+deb11u1),
 libtirpc-dev (= 1.3.1-1+deb11u1),
 libtirpc3 (= 1.3.1-1+deb11u1),
 libtool (= 2.4.6-15),
 libubsan1 (= 10.2.1-6),
 libuchardet0 (= 0.0.7-1),
 libudev1 (= 247.3-7+deb11u2),
 libunistring2 (= 0.9.10-4),
 libuuid1 (= 2.36.1-8+deb11u1),
 libxml2 (= 2.9.10+dfsg-6.7+deb11u4),
 libzstd1 (= 1.4.8+dfsg-2.1),
 linux-libc-dev (= 5.10.179-2),
 login (= 1:4.8.1-1),
 lsb-base (= 11.1.0),
 m4 (= 1.4.18-5),
 make (= 4.3-4.1),
 man-db (= 2.9.4-2),
 mawk (= 1.3.4.20200120-2),
 media-types (= 4.0.0),
 ncurses-base (= 6.2+20201114-2+deb11u1),
 ncurses-bin (= 6.2+20201114-2+deb11u1),
 optee-os-tadevkit-stm32mp15x (= 3.21.0),
 patch (= 2.7.6-7),
 perl (= 5.32.1-4+deb11u2),
 perl-base (= 5.32.1-4+deb11u2),
 perl-modules-5.32 (= 5.32.1-4+deb11u2),
 po-debconf (= 1.0.21+nmu1),
 python3 (= 3.9.2-3),
 python3-cffi-backend (= 1.14.5-1),
 python3-cryptography (= 3.3.2-1),
 python3-minimal (= 3.9.2-3),
 python3-six (= 1.16.0-2),
 python3.9 (= 3.9.2-1),
 python3.9-minimal (= 3.9.2-1),
 readline-common (= 8.1-1),
 sed (= 4.7-1),
 sensible-utils (= 0.0.14),
 sysvinit-utils (= 2.96-7+deb11u1),
 tar (= 1.34+dfsg-1),
 tzdata (= 2021a-1+deb11u10),
 util-linux (= 2.36.1-8+deb11u1),
 xz-utils (= 5.2.5-2.1~deb11u1),
 zlib1g (= 1:1.2.11.dfsg-2+deb11u2)
Environment:
 DEB_BUILD_OPTIONS="parallel=24"
 LC_ALL="C.UTF-8"
 LC_COLLATE="C.UTF-8"
 SOURCE_DATE_EPOCH="3600"


+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


optee-ftpm-stm32mp15x_0~230316+git_armhf.deb
--------------------------------------------

 new Debian package, version 2.0.
 size 150980 bytes: control archive=572 bytes.
     251 bytes,     8 lines      control              
     303 bytes,     3 lines      md5sums              
 Package: optee-ftpm-stm32mp15x
 Version: 0~230316+git
 Architecture: armhf
 Maintainer: Unknown maintainer <unknown@example.com>
 Installed-Size: 533
 Section: misc
 Priority: optional
 Description: TCG reference implementation of the TPM 2.0 Specification.

drwxr-xr-x root/root         0 1970-01-01 01:00 ./
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/lib/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/lib/optee-os/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/lib/optee-os/stm32mp15x/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/lib/optee-os/stm32mp15x/ta/
-rwxr-xr-x root/root    266504 1970-01-01 01:00 ./usr/lib/optee-os/stm32mp15x/ta/bc50d971-d4c9-42c4-82cb-343fb7f37896.stripped.elf
-rw-r--r-- root/root    266920 1970-01-01 01:00 ./usr/lib/optee-os/stm32mp15x/ta/bc50d971-d4c9-42c4-82cb-343fb7f37896.ta
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/share/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/share/doc/
drwxr-xr-x root/root         0 1970-01-01 01:00 ./usr/share/doc/optee-ftpm-stm32mp15x/
-rw-r--r-- root/root       164 1970-01-01 01:00 ./usr/share/doc/optee-ftpm-stm32mp15x/changelog.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build Type: binary
Build-Space: 122592
Build-Time: 62
Distribution: isar
Host Architecture: armhf
Install-Time: 44
Job: /workspace/build/isar_ub_ba_full_old/13/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/optee-ftpm-stm32mp15x_0~230316+git.dsc
Machine Architecture: amd64
Package: optee-ftpm-stm32mp15x
Package-Time: 118
Source-Version: 0~230316+git
Space: 122592
Status: successful
Version: 0~230316+git
--------------------------------------------------------------------------------
Finished at 2023-07-19T16:24:22Z
Build needed 00:01:58, 122592k disk space
DEBUG: Shell function dpkg_runbuild finished
DEBUG: Executing shell function schroot_delete_configs
DEBUG: Shell function schroot_delete_configs finished
DEBUG: Python function do_dpkg_build finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 0o002 (not 22) for sstate packaging
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'find /workspace/build/isar_ub_ba_full_old/13/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/sstate-build-dpkg_build/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'None' -e 'None' -e 'None' | tee /workspace/build/isar_ub_ba_full_old/13/build/tmp/work/debian-bullseye-armhf/optee-ftpm-stm32mp15x/0~230316+git-r0/sstate-build-dpkg_build/fixmepath | xargs --no-run-if-empty sed -i -e 's:None:FIXMESTAGINGDIRHOST:g' -e 's:None:FIXMESTAGINGDIRTARGET:g' -e 's:None:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing shell function dpkg_build_sstate_prepare
DEBUG: Shell function dpkg_build_sstate_prepare finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing shell function sstate_create_package
DEBUG: Shell function sstate_create_package finished
DEBUG: Executing python function sstate_hardcode_path_unpack
DEBUG: Python function sstate_hardcode_path_unpack finished
DEBUG: Executing shell function dpkg_build_sstate_finalize
DEBUG: Shell function dpkg_build_sstate_finalize finished
DEBUG: Python function sstate_task_postfunc finished

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: optee-ftpm-stm32mp15x sometimes fails to build
  2023-07-20  5:11 optee-ftpm-stm32mp15x sometimes fails to build Uladzimir Bely
@ 2023-07-20  6:22 ` Jan Kiszka
  2023-07-20  9:19   ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2023-07-20  6:22 UTC (permalink / raw)
  To: Uladzimir Bely, isar-users

On 20.07.23 07:11, Uladzimir Bely wrote:
> We are currently experiencing sporadic CI full build failures of optee-
> ftpm-stm32mp15x package ("nocross" build):
> 
> ```
> make[3]: *** No rule to make target
> 'lib/wolf/wolf_symlink/wolfcrypt/src/aes.c', needed by
> '../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/aes.o'.  Stop.
> ```
> 
> I'm just wondering if this is something known and there might be a fix,
> or we should investigate it.
> 

I've built that now a couple of times, but only on 6 cores, and there
this never occurred. Possibly a parallel build bug in this wolfssl thing.

> For details, I'm attaching two build logs from `tmp/work/debian-
> bullseye-armhf/optee-os-stm32mp15x/3.21.0-r0/`. They are both received
> for the same isar revision, but one is OK while another got failed.
> 
> Initially, this was observed on top of "imager-schroot" + "base-apt"
> patchsets, but it also appears to happen with current "next" branch.

Let me see if I can reproduce locally, maybe outside of Isar.

Jan

-- 
Siemens AG, Technology
Linux Expert Center


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: optee-ftpm-stm32mp15x sometimes fails to build
  2023-07-20  6:22 ` Jan Kiszka
@ 2023-07-20  9:19   ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-07-20  9:19 UTC (permalink / raw)
  To: Uladzimir Bely, isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)

On 20.07.23 08:22, 'Jan Kiszka' via isar-users wrote:
> On 20.07.23 07:11, Uladzimir Bely wrote:
>> We are currently experiencing sporadic CI full build failures of optee-
>> ftpm-stm32mp15x package ("nocross" build):
>>
>> ```
>> make[3]: *** No rule to make target
>> 'lib/wolf/wolf_symlink/wolfcrypt/src/aes.c', needed by
>> '../out/fTPM/./lib/wolf/wolf_symlink/wolfcrypt/src/aes.o'.  Stop.
>> ```
>>
>> I'm just wondering if this is something known and there might be a fix,
>> or we should investigate it.
>>
> 
> I've built that now a couple of times, but only on 6 cores, and there
> this never occurred. Possibly a parallel build bug in this wolfssl thing.
> 
>> For details, I'm attaching two build logs from `tmp/work/debian-
>> bullseye-armhf/optee-os-stm32mp15x/3.21.0-r0/`. They are both received
>> for the same isar revision, but one is OK while another got failed.
>>
>> Initially, this was observed on top of "imager-schroot" + "base-apt"
>> patchsets, but it also appears to happen with current "next" branch.
> 
> Let me see if I can reproduce locally, maybe outside of Isar.
> 
> Jan
> 

Maybe this patch to ms-tpm will help:

diff --git a/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/wolf/sub.mk b/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/wolf/sub.mk
index 0a43f46..eb239e3 100644
--- a/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/wolf/sub.mk
+++ b/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/lib/wolf/sub.mk
@@ -56,3 +56,5 @@ srcs-y += wolf_symlink/wolfcrypt/src/tfm.c
 srcs-y += wolf_symlink/wolfcrypt/src/wolfmath.c
 srcs-y += wolf_symlink/wolfcrypt/src/des3.c
 srcs-y += wolf_symlink/wolfcrypt/src/random.c
+
+$(srcs-y): wolf_symlink


I didn't reproduce the issue locally yet, but there seems to be an 
ordering issue between creating the link and starting the build of the 
files in there.

Jan

-- 
Siemens AG, Technology
Linux Expert Center


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-20  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20  5:11 optee-ftpm-stm32mp15x sometimes fails to build Uladzimir Bely
2023-07-20  6:22 ` Jan Kiszka
2023-07-20  9:19   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox