public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: baocheng.su@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH v3 3/7] Add recipe for optee-client
Date: Thu, 06 Jul 2023 08:35:29 +0300	[thread overview]
Message-ID: <dc10427516e6da1bbbf30d521c3cd0c0655daf5b.camel@ilbers.de> (raw)
In-Reply-To: <20230705053340.1158024-4-baocheng.su@siemens.com>

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

On Wed, 2023-07-05 at 13:33 +0800, baocheng.su via isar-users wrote:
> From: Baocheng Su <baocheng.su@siemens.com>
> 
> optee-client provides the userland library for communicating with the
> trusted applications running in OP-TEE.
> 
> It also provides a optee-client-dev package for developing host
> application that talks to the TA counterpart.
> 
> Also a user land deamon tee-supplicant is provided to serve the
> trusted
> applications for user-land resources such as RPMB accessing.
> 
> This brings the .inc for customization, and also a demo recipe for
> stm32mp15x.
> 
> The debianization is learnt from the debian offical package. The
> tee-supplicant.service is refined by Jan to fix some timing issues.
> 
> Signed-off-by: Baocheng Su <baocheng.su@siemens.com>
> ---
>  meta-isar/conf/machine/stm32mp15x.conf        |  2 +-
>  .../optee-client-stm32mp15x_3.21.0.bb         | 18 +++++++
>  .../optee-client/files/debian/compat          |  1 +
>  .../optee-client/files/debian/control.tmpl    | 51
> +++++++++++++++++++
>  .../optee-client/files/debian/rules.tmpl      | 27 ++++++++++
>  .../files/debian/tee-supplicant.service       | 21 ++++++++
>  .../optee-client/optee-client-custom.inc      | 41 +++++++++++++++
>  7 files changed, 160 insertions(+), 1 deletion(-)
>  create mode 100644 meta-isar/recipes-bsp/optee-client/optee-client-
> stm32mp15x_3.21.0.bb
>  create mode 100644 meta/recipes-bsp/optee-client/files/debian/compat
>  create mode 100644 meta/recipes-bsp/optee-
> client/files/debian/control.tmpl
>  create mode 100755 meta/recipes-bsp/optee-
> client/files/debian/rules.tmpl
>  create mode 100644 meta/recipes-bsp/optee-client/files/debian/tee-
> supplicant.service
>  create mode 100644 meta/recipes-bsp/optee-client/optee-client-
> custom.inc
> 

The recipe is currently not buildable (at least, in cross mode) for
buster. So, CI fails.



[-- Attachment #2: optee-client-stm32mp15x-buster.log.txt --]
[-- Type: text/plain, Size: 42453 bytes --]

builder@22badc86cac4:/build$ bitbake -v mc:stm32mp15x-buster:optee-client-stm32mp15x
Loading cache: 100% |################################################################################################################################################################################################| Time: 0:00:00
Loaded 218 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Marking Active Tasks###############################################################################                                                                                                            | ETA:  0:00:00
NOTE: Pruned 38 inactive tasks, 28 left##################################################################                                                                                                            | ETA:  0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))#################################################################                                                                                                           | ETA:  0:00:00
Initialising tasks: 100% |###########################################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 1 Local 0 Mirrors 0 Missed 1 Current 2 (0% match, 66% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: mc:stm32mp15x-buster:optee-client-stm32mp15x-3.21.0-r0 do_unpack: Unpacking /build/../work/isar/meta/recipes-bsp/optee-client/files/debian to /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/
NOTE: mc:stm32mp15x-buster:optee-client-stm32mp15x-3.21.0-r0 do_unpack: Unpacking /build/downloads/optee_client-3.21.0.tar.gz to /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/
NOTE: mc:stm32mp15x-buster:optee-client-stm32mp15x-3.21.0-r0 do_transform_template: envsubst \${PN} \${PV} \${DESCRIPTION} \${HOMEPAGE} \${MAINTAINER} \${DISTRO_ARCH} \${TEE_FS_PARENT_PATH} \${RPMB_EMU} [in: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/debian/rules.tmpl out: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/debian/rules]
NOTE: mc:stm32mp15x-buster:optee-client-stm32mp15x-3.21.0-r0 do_transform_template: envsubst \${PN} \${PV} \${DESCRIPTION} \${HOMEPAGE} \${MAINTAINER} \${DISTRO_ARCH} \${TEE_FS_PARENT_PATH} \${RPMB_EMU} [in: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/debian/control.tmpl out: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/debian/control]
+ do_prepare_build
+ cp -r /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/debian /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee_client-3.21.0/

+ deb_add_changelog
+ changelog_v=3.21.0
+ timestamp=3600

+ [ -f /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee_client-3.21.0/debian/changelog ]

+ LANG=C date -R -d
 @3600

+ date=Thu, 01 Jan 1970 01:00:00 +0000

+ cat

+ touch /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/changelog.orig

+ [ -s /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/changelog.orig ]
+ [ -f /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/changelog ]

+ echo /usr/sbin/*
+ echo lib/optee_armtz/
+ echo usr/lib/tee-supplicant/plugins/
+ echo usr/lib/*/libteec*.so.*

+ echo usr/include/*
+ echo usr/lib/*/lib*.so
+ rm -rf /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/isar-apt/debian-buster-armhf/*

+ mkdir -p /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/isar-apt/debian-buster-armhf/apt/debian-buster

+ cp -Rf /build/tmp/deploy/isar-apt/debian-buster-armhf/apt/debian-buster/dists /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/isar-apt/debian-buster-armhf/apt/debian-buster/

+ [ -d /build/tmp/deploy/isar-apt/debian-buster-armhf/apt/debian-buster/pool ]

+ env

+ ret=0
+ trap  0
+ exit 0

+ schroot_create_configs
+ mkdir -p /build/tmp/schroot-overlay

+ sudo -s

+ ret=0
+ trap  0
+ exit 0

+ dpkg_runbuild
+ E=False
+ E=None
+ export DEB_BUILD_OPTIONS=
+ export PARALLEL_MAKE=-j 16
+ rm -f /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ 
env
+ read -r line

+ grep -q ^HOME=/tmp/tmp8zqvrwgi /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ continue
+ read -r line

+ grep -q ^CCACHE_DISABLE=1 /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ echo
 CCACHE_DISABLE=1
+ 
grep -q ^HOME=

+ echo
 CCACHE_DISABLE=1
+ 
grep -q ^PWD=

+ echo CCACHE_DISABLE=1

+ 
cut -d = -f1

+ var=CCACHE_DISABLE

+ 
echo CCACHE_DISABLE=1

+ cut -d = -f2-

+ value=1
+ sbuild_export CCACHE_DISABLE 1

+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ touch /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ grep -q ^$build_environment = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ echo $build_environment = {

+ echo };
+ VAR=CCACHE_DISABLE
+ shift
+ VAR_LINE='CCACHE_DISABLE' => '1',
+ sed -i -e /^'CCACHE_DISABLE' =>/d /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf -e /^$build_environment =.*/a 'CCACHE_DISABLE' => '1', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ [ CCACHE_DISABLE = PARALLEL_MAKE ]
+ [ CCACHE_DISABLE = CCACHE_DIR ]
+ [ CCACHE_DISABLE =
 CCACHE_DEBUGDIR ]
+ [ CCACHE_DISABLE = CCACHE_DEBUG ]
+ [ CCACHE_DISABLE = CCACHE_DISABLE ]
+ continue
+ read -r line
+ grep -q ^PATH=/work/isar/scripts:/work/isar/bitbake/bin:/usr/sbin:/usr/bin:/sbin:/bin /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ continue
+ read -r line
+ grep
 -q ^DEB_BUILD_OPTIONS= /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ echo DEB_BUILD_OPTIONS=

+ grep
 -q ^HOME=

+ echo DEB_BUILD_OPTIONS=

+ grep -q
 ^PWD=

+ echo DEB_BUILD_OPTIONS=

+ cut -d = -f1

+ var=DEB_BUILD_OPTIONS

+ echo DEB_BUILD_OPTIONS=

+ cut -d = -f2-

+ value=
+ sbuild_export DEB_BUILD_OPTIONS 

+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$build_environment = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ VAR=DEB_BUILD_OPTIONS
+ shift
+ VAR_LINE='DEB_BUILD_OPTIONS' => '',

+ sed -i -e /^'DEB_BUILD_OPTIONS' =>/d /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf -e /^$build_environment =.*/a 'DEB_BUILD_OPTIONS' => '', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ [ DEB_BUILD_OPTIONS = PARALLEL_MAKE ]
+ [ DEB_BUILD_OPTIONS = CCACHE_DIR ]

+ [ DEB_BUILD_OPTIONS = CCACHE_DEBUGDIR ]
+ [ DEB_BUILD_OPTIONS = CCACHE_DEBUG ]
+ [ DEB_BUILD_OPTIONS = CCACHE_DISABLE ]
+ [ DEB_BUILD_OPTIONS = PATH_PREPEND ]
+ [ DEB_BUILD_OPTIONS = DEB_BUILD_OPTIONS ]
+ continue
+ read -r line
+ grep -q ^SHELL=/bin/bash /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ continue
+ read -r line

+ grep -q ^PARALLEL_MAKE=-j 16 /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ echo PARALLEL_MAKE=-j 16

+ grep -q ^HOME=

+ echo PARALLEL_MAKE=-j 16

+ grep -q ^PWD=

+ echo PARALLEL_MAKE=-j 16

+ cut -d = -f1

+ var=PARALLEL_MAKE

+ echo PARALLEL_MAKE=-j 16

+ cut -d = -f2-

+ value=-j 16
+ sbuild_export PARALLEL_MAKE -j 16

+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$build_environment = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ VAR=PARALLEL_MAKE
+ shift
+ VAR_LINE='PARALLEL_MAKE' => '-j 16',
+ sed -i -e /^'PARALLEL_MAKE' =>/d /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf -e /^$build_environment =.*/a 'PARALLEL_MAKE' => '-j 16', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ [ PARALLEL_MAKE = PARALLEL_MAKE ]
+ continue
+ read -r line

+ grep -q ^PWD=/build /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ continue
+ read -r line
+ grep -q ^LC_ALL=en_US.UTF-8
 /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/dpkg_prebuild.env

+ continue
+ read -r line

+ distro=debian-buster
+ [ 1 -eq 1 ]
+ distro=debian-buster
+ deb_dl_dir_import /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/rootfs debian-buster

+ export pc=/build/downloads/deb/debian-buster
+ export rootfs=/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/rootfs
+ sudo mkdir -p /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/rootfs/var/cache/apt/archives/

+ [ ! -d /build/downloads/deb/debian-buster ]

+ flock -s /build/downloads/deb/debian-buster.lock sudo -Es

+ deb_dir=/var/cache/apt/archives
+ ext_root=/home/builder/optee-client-stm32mp15x/rootfs
+ ext_deb_dir=/home/builder/optee-client-stm32mp15x/rootfs/var/cache/apt/archives
+ [ 0 -eq 1 ]
+ profiles=cross
+ [ ! -z cross ]

+ echo --profiles=cross
+ sed -e s/ \+/,/g

+ profiles=--profiles=cross
+ export SBUILD_CONFIG=/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf
+ sbuild_add_env_filter http_proxy

+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ echo $environment_filter = [

+ echo ];
+ FILTER=http_proxy
+ sed -i -e /'\^http_proxy\$/d -e /^$environment_filter =.*/a '^http_proxy$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter HTTP_PROXY
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=HTTP_PROXY
+ sed -i -e /'\^HTTP_PROXY\$/d -e /^$environment_filter =.*/a '^HTTP_PROXY$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter https_proxy
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=https_proxy
+ sed -i -e /'\^https_proxy\$/d -e /^$environment_filter =.*/a '^https_proxy$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter HTTPS_PROXY
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q
 ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=HTTPS_PROXY
+ sed -i -e /'\^HTTPS_PROXY\$/d -e /^$environment_filter =.*/a '^HTTPS_PROXY$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter ftp_proxy
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]

+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=ftp_proxy
+ sed -i -e /'\^ftp_proxy\$/d -e /^$environment_filter =.*/a '^ftp_proxy$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter FTP_PROXY
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=FTP_PROXY
+ sed -i -e /'\^FTP_PROXY\$/d -e /^$environment_filter =.*/a '^FTP_PROXY$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter no_proxy
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=no_proxy
+ sed -i -e /'\^no_proxy\$/d -e /^$environment_filter =.*/a '^no_proxy$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ sbuild_add_env_filter NO_PROXY
+ [ -w /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf ]
+ grep -q ^$environment_filter = /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ FILTER=NO_PROXY
+ sed -i -e /'\^NO_PROXY\$/d -e /^$environment_filter =.*/a '^NO_PROXY$', /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/sbuild.conf

+ echo $apt_keep_downloaded_packages = 1;

+ 
dpkg-parsechangelog --show-field Source --file /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee_client-3.21.0/debian/changelog

+ DEB_SOURCE_NAME=optee-client-stm32mp15x
+ find /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0 -name optee-client-stm32mp15x*.dsc -delete

+ sh -c cd /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0; dpkg-source -q -b optee_client-3.21.0

+ find /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0 -name optee-client-stm32mp15x*.dsc -print

+ DSC_FILE=/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee-client-stm32mp15x_3.21.0.dsc

+ sbuild -A -n -c isar-builder-aefca26a-597c-4691-a179-5eafb7f83007-25811 --extra-repository=deb [trusted=yes] file:///home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar main --host=armhf --build=amd64 --profiles=cross --no-run-lintian --no-run-piuparts --no-run-autopkgtest --resolve-alternatives --bd-uninstallable-explainer=apt --no-apt-update --chroot-setup-commands=echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt --chroot-setup-commands=echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt --chroot-setup-commands=rm -f /var/log/dpkg.log --chroot-setup-commands=ln -sf /home/builder/optee-client-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || : --finished-build-commands=rm -f /var/cache/apt/archives/sbuild-build-depends-main-dummy_*.deb --finished-build-commands=cp -Ln --no-preserve=owner /var/cache/apt/archives/*.deb -t /home/builder/optee-client-stm32mp15x/rootfs/var/cache/apt/archives/ || : --finished-build-commands=cp /var/log/dpkg.log /home/builder/optee-client-stm32mp15x/rootfs/dpkg_partial.log --debbuildopts=--source-option=-I --build-dir=/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0 --dist=isar /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee-client-stm32mp15x_3.21.0.dsc

sbuild (Debian sbuild) 0.85.0 (04 January 2023) on 22badc86cac4

+==============================================================================+
| optee-client-stm32mp15x 3.21.0 (armhf)       Thu, 06 Jul 2023 05:29:19 +0000 |
+==============================================================================+

Package: optee-client-stm32mp15x
Version: 3.21.0
Source Version: 3.21.0
Distribution: isar
Machine Architecture: amd64
Host Architecture: armhf
Build Architecture: amd64
Build Profiles: cross
Build Type: binary


I: NOTICE: Log filtering will replace 'var/run/schroot/mount/isar-builder-aefca26a-597c-4691-a179-5eafb7f83007-25811-5b2abb26-8100-4d04-9e85-5d8ece0fc374' 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-client-stm32mp15x/rootfs/var/cache/apt/archives/*.deb -t /var/cache/apt/archives/ || :
-----------------------------------------------------------------------------------------------------------------



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

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

I: NOTICE: Log filtering will replace 'build/optee-client-stm32mp15x-LNvG65/resolver-0htGOz' 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
-------------

/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee-client-stm32mp15x_3.21.0.dsc exists in /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0; copying to chroot

I: NOTICE: Log filtering will replace 'build/optee-client-stm32mp15x-LNvG65/optee-client-stm32mp15x-3.21.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/optee-client-stm32mp15x-LNvG65' with '<<BUILDDIR>>'


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


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


Merged Build-Depends: pkg-config, uuid-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf
Filtered Build-Depends: pkg-config, uuid-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf

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 [609 B]

Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg

Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [686 B]

Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [729 B]

Fetched 2024 B in 0s (0 B/s)

Reading package lists...

Get:1 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar InRelease
Ign:1 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar InRelease

Get:2 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar Release [4994 B]

Get:2 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar Release [4994 B]

Get:3 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar Release.gpg

Ign:3 file:/home/builder/optee-client-stm32mp15x/isar-apt/debian-buster-armhf/apt/debian-buster isar Release.gpg

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...

Execute external solver...

The following additional packages will be installed:

  libuuid1:armhf pkg-config uuid-dev:armhf

Recommended packages:
  uuid-runtime:armhf

The following NEW packages will be installed:

  libuuid1:armhf pkg-config sbuild-build-depends-main-dummy:armhf

  uuid-dev:armhf

0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 235 kB of archives.
After this operation, 473 kB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [900 B]

Get:2 http://deb.debian.org/debian buster/main armhf libuuid1 armhf 2.33.1-0.1 [77.5 kB]

Get:3 http://deb.debian.org/debian buster/main amd64 pkg-config amd64 0.29-6 [63.5 kB]

Get:4 http://deb.debian.org/debian buster/main armhf uuid-dev armhf 2.33.1-0.1 [92.6 kB]

Fetched 235 kB in 0s (588 kB/s)

Selecting previously unselected package libuuid1:armhf.

(Reading database ... 21139 files and directories currently installed.)

Preparing to unpack .../libuuid1_2.33.1-0.1_armhf.deb ...

Unpacking libuuid1:armhf (2.33.1-0.1) ...

Selecting previously unselected package pkg-config.

Preparing to unpack .../pkg-config_0.29-6_amd64.deb ...

Unpacking pkg-config (0.29-6) ...

Selecting previously unselected package uuid-dev:armhf.

Preparing to unpack .../uuid-dev_2.33.1-0.1_armhf.deb ...

Unpacking uuid-dev:armhf (2.33.1-0.1) ...

Selecting previously unselected package sbuild-build-depends-main-dummy:armhf.

Preparing to unpack .../sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...

Unpacking sbuild-build-depends-main-dummy:armhf (0.invalid.0) ...

Setting up libuuid1:armhf (2.33.1-0.1) ...

Setting up pkg-config (0.29-6) ...

Setting up uuid-dev:armhf (2.33.1-0.1) ...

Setting up sbuild-build-depends-main-dummy:armhf (0.invalid.0) ...

Processing triggers for man-db (2.8.5-2) ...

Processing triggers for libc-bin (2.28-10+deb10u2) ...


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

+------------------------------------------------------------------------------+


Initial Foreign Architectures: armhf 

Arch check ok (armhf included in armhf)


+------------------------------------------------------------------------------+

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

Kernel: Linux 6.1.31 #1 SMP PREEMPT_DYNAMIC Fri Jun 23 23:20:16 +03 2023 amd64 (x86_64)

Toolchain package versions: binutils_2.31.1-16 dpkg-dev_1.19.8 g++-8_8.3.0-6 gcc-8_8.3.0-6 libc6-dev_2.28-10+deb10u2 libstdc++-8-dev_8.3.0-6 libstdc++-8-dev-armhf-cross_8.3.0-2cross1 libstdc++6_8.3.0-6 libstdc++6-armhf-cross_8.3.0-2cross1 linux-libc-dev_4.19.282-1

Package versions: adduser_3.118 apt_1.8.2.3 apt-utils_1.8.2.3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.3+deb10u13 base-passwd_3.5.46 bash_5.0-4 binutils_2.31.1-16 binutils-arm-linux-gnueabihf_2.31.1-16 binutils-common_2.31.1-16 binutils-x86-64-linux-gnu_2.31.1-16 bsdmainutils_11.1.2+b1 bsdutils_1:2.33.1-0.1 build-essential_12.6 bzip2_1.0.6-9.2~deb10u2 ca-certificates_20200601~deb10u2 coreutils_8.30-3 cpp_4:8.3.0-1 cpp-8_8.3.0-6 cpp-8-arm-linux-gnueabihf_8.3.0-2cross1 cpp-arm-linux-gnueabihf_4:8.3.0-1 cross-config_2.6.15-3 crossbuild-essential-armhf_12.6 dash_0.5.10.2-5 debconf_1.5.71+deb10u1 debhelper_12.1.1 debian-archive-keyring_2019.1+deb10u1 debianutils_4.8.6.1 devscripts_2.19.5+deb10u1 dh-autoreconf_19 dh-strip-nondeterminism_1.1.2-1 diffutils_1:3.7-3 dirmngr_2.2.12-1+deb10u2 dpkg_1.19.8 dpkg-cross_2.6.15-3 dpkg-dev_1.19.8 dwz_0.12-3 e2fsprogs_1.44.5-1+deb10u3 equivs_2.2.0 fakeroot_1.23-1 fdisk_2.33.1-0.1 file_1:5.35-4+deb10u2 findutils_4.6.0+git+20190209-2 g++_4:8.3.0-1 g++-8_8.3.0-6 g++-8-arm-linux-gnueabihf_8.3.0-2cross1 g++-arm-linux-gnueabihf_4:8.3.0-1 gcc_4:8.3.0-1 gcc-8_8.3.0-6 gcc-8-arm-linux-gnueabihf_8.3.0-2cross1 gcc-8-arm-linux-gnueabihf-base_8.3.0-2cross1 gcc-8-base_8.3.0-6 gcc-8-cross-base_8.3.0-2cross1 gcc-arm-linux-gnueabihf_4:8.3.0-1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gnupg_2.2.12-1+deb10u2 gnupg-l10n_2.2.12-1+deb10u2 gnupg-utils_2.2.12-1+deb10u2 gpg_2.2.12-1+deb10u2 gpg-agent_2.2.12-1+deb10u2 gpg-wks-client_2.2.12-1+deb10u2 gpg-wks-server_2.2.12-1+deb10u2 gpgconf_2.2.12-1+deb10u2 gpgsm_2.2.12-1+deb10u2 gpgv_2.2.12-1+deb10u2 grep_3.3-1 groff-base_1.22.4-3+deb10u1 gzip_1.9-3+deb10u1 hostname_3.21 init-system-helpers_1.56+nmu1 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-inst2.0_1.8.2.3 libapt-pkg5.0_1.8.2.3 libarchive-zip-perl_1.64-1 libasan5_8.3.0-6 libasan5-armhf-cross_8.3.0-2cross1 libassuan0_2.5.2-1 libatomic1_8.3.0-6 libatomic1-armhf-cross_8.3.0-2cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.4-3 libaudit1_1:2.8.4-3 libb-hooks-op-check-perl_0.22-1+b1 libbinutils_2.31.1-16 libblkid1_2.33.1-0.1 libbsd0_0.9.1-2+deb10u1 libbz2-1.0_1.0.6-9.2~deb10u2 libc-bin_2.28-10+deb10u2 libc-dev-bin_2.28-10+deb10u2 libc-l10n_2.28-10+deb10u2 libc6_2.28-10+deb10u2 libc6-armhf-cross_2.28-7cross1 libc6-dev_2.28-10+deb10u2 libc6-dev-armhf-cross_2.28-7cross1 libcap-ng0_0.7.9-2 libcc1-0_8.3.0-6 libclass-method-modifiers-perl_2.12-1 libcom-err2_1.44.5-1+deb10u3 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.12-3 libdb5.3_5.3.28+dfsg1-0.5 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-3 libdevel-callchecker-perl_0.008-1 libdevel-globaldestruction-perl_0.14-1 libdpkg-perl_1.19.8 libdynaloader-functions-perl_0.003-1 libelf1_0.176-1.1 libencode-locale-perl_1.05-1 libexpat1_2.2.6-2+deb10u6 libext2fs2_1.44.5-1+deb10u3 libfakeroot_1.23-1 libfdisk1_2.33.1-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-listing-perl_6.04-1 libfile-stripnondeterminism-perl_1.1.2-1 libfile-which-perl_1.23-1 libgcc-8-dev_8.3.0-6 libgcc-8-dev-armhf-cross_8.3.0-2cross1 libgcc1_1:8.3.0-6 libgcc1-armhf-cross_1:8.3.0-2cross1 libgcrypt20_1.8.4-5+deb10u1 libgdbm-compat4_1.18.1-4 libgdbm6_1.18.1-4 libglib2.0-0_2.58.3-2+deb10u4 libgmp10_2:6.1.2+dfsg-4+deb10u1 libgnutls30_3.6.7-4+deb10u10 libgomp1_8.3.0-6 libgomp1-armhf-cross_8.3.0-2cross1 libgpg-error0_1.35-1 libhogweed4_3.4.1-1+deb10u1 libhtml-parser-perl_3.72-3+b3 libhtml-tagset-perl_3.20-3 libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.04-1 libhttp-date-perl_6.02-1 libhttp-message-perl_6.18-1 libhttp-negotiate-perl_6.01-1 libicu63_63.1-6+deb10u3 libidn2-0_2.0.5-1+deb10u1 libimport-into-perl_1.002005-1 libio-html-perl_1.001-1 libio-pty-perl_1:1.08-1.1+b5 libio-socket-ssl-perl_2.060-3 libio-string-perl_1.08-3 libipc-run-perl_20180523.0-1 libisl19_0.20-2 libitm1_8.3.0-6 libksba8_1.3.5-2+deb10u2 libldap-2.4-2_2.4.47+dfsg-3+deb10u7 libldap-common_2.4.47+dfsg-3+deb10u7 liblocale-gettext-perl_1.07-3+b4 liblsan0_8.3.0-6 liblwp-mediatypes-perl_6.02-1 liblwp-protocol-https-perl_6.07-2 liblz4-1_1.8.3-1+deb10u1 liblzma5_5.2.4-1+deb10u1 libmagic-mgc_1:5.35-4+deb10u2 libmagic1_1:5.35-4+deb10u2 libmodule-runtime-perl_0.016-1 libmoo-perl_2.003004-2 libmount1_2.33.1-0.1 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2-1 libmpx2_8.3.0-6 libncurses6_6.1+20181013-2+deb10u3 libncursesw6_6.1+20181013-2+deb10u3 libnet-http-perl_6.18-1 libnet-ssleay-perl_1.85-2+deb10u1 libnettle6_3.4.1-1+deb10u1 libnpth0_1.6-1 libp11-kit0_0.23.15-2+deb10u1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libparams-classify-perl_0.015-1+b1 libpcre3_2:8.39-12 libperl5.28_5.28.1-6+deb10u1 libpipeline1_1.5.1-2 libpython3-stdlib_3.7.3-1 libpython3.7-minimal_3.7.3-2+deb10u5 libpython3.7-stdlib_3.7.3-2+deb10u5 libquadmath0_8.3.0-6 libreadline7_7.0-5 librole-tiny-perl_2.000006-1 libsasl2-2_2.1.27+dfsg-1+deb10u2 libsasl2-modules-db_2.1.27+dfsg-1+deb10u2 libseccomp2_2.3.3-4 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33.1-0.1 libsqlite3-0_3.27.2-3+deb10u2 libss2_1.44.5-1+deb10u3 libssl1.1_1.1.1n-0+deb10u5 libstdc++-8-dev_8.3.0-6 libstdc++-8-dev-armhf-cross_8.3.0-2cross1 libstdc++6_8.3.0-6 libstdc++6-armhf-cross_8.3.0-2cross1 libstrictures-perl_2.000005-1 libsub-exporter-progressive-perl_0.001013-1 libsub-quote-perl_2.005001-1 libsystemd0_241-7~deb10u10 libtasn1-6_4.13-3+deb10u1 libtimedate-perl_2.3000-2+deb10u1 libtinfo6_6.1+20181013-2+deb10u3 libtool_2.4.6-9 libtry-tiny-perl_0.30-1 libtsan0_8.3.0-6 libubsan1_8.3.0-6 libubsan1-armhf-cross_8.3.0-2cross1 libuchardet0_0.0.6-3 libudev1_241-7~deb10u10 libunistring2_0.9.10-1 liburi-perl_1.76-1 libuuid1_2.33.1-0.1 libwww-perl_6.36-2 libwww-robotrules-perl_6.02-1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.00+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+deb10u6 libyaml-perl_1.27-1 libzstd1_1.3.8+dfsg-3+deb10u2 linux-libc-dev_4.19.282-1 linux-libc-dev-armhf-cross_4.19.20-1cross1 locales_2.28-10+deb10u2 login_1:4.5-1.1 lsb-base_10.2019051400 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-2 mawk_1.3.3-17+b3 mime-support_3.62 mount_2.33.1-0.1 ncurses-base_6.1+20181013-2+deb10u3 ncurses-bin_6.1+20181013-2+deb10u3 netbase_5.6 openssl_1.1.1n-0+deb10u5 passwd_1:4.5-1.1 patch_2.7.6-3+deb10u1 patchutils_0.3.4-2 perl_5.28.1-6+deb10u1 perl-base_5.28.1-6+deb10u1 perl-modules-5.28_5.28.1-6+deb10u1 perl-openssl-defaults_3 pinentry-curses_1.1.0-2 pkg-config_0.29-6 po-debconf_1.0.21 python3_3.7.3-1 python3-minimal_3.7.3-1 python3.7_3.7.3-2+deb10u5 python3.7-minimal_3.7.3-2+deb10u5 readline-common_7.0-5 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.93-8 tar_1.30+dfsg-6 tzdata_2021a-0+deb10u11 ucf_3.0038+nmu1 util-linux_2.33.1-0.1 uuid-dev_2.33.1-0.1 wdiff_1.2.2-2+b1 xz-utils_5.2.4-1+deb10u1 zlib1g_1:1.2.11.dfsg-1+deb10u2


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



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


Format: 1.0
Source: optee-client-stm32mp15x
Binary: optee-client-dev, libteec1, tee-supplicant

Architecture: armhf
Version: 3.21.0
Maintainer: Unknown maintainer <unknown@example.com>
Homepage: https://github.com/OP-TEE/optee_client
Standards-Version: 4.1.3
Build-Depends: pkg-config, uuid-dev
Package-List:
 libteec1 deb libs optional arch=armhf
 optee-client-dev deb libdevel optional arch=armhf
 tee-supplicant deb libs optional arch=armhf
Checksums-Sha1:
 9b0971b17a823e6577765188ff535b0e2edf725f 109653 optee-client-stm32mp15x_3.21.0.tar.gz
Checksums-Sha256:
 e4a6c2d8ba97e760307c4442530ea688b707a59bf1c5b0bee70c1d5077b84606 109653 optee-client-stm32mp15x_3.21.0.tar.gz
Files:

 e777d8e8aacd6dc31e1a17cc5fc9d493 109653 optee-client-stm32mp15x_3.21.0.tar.gz


dpkg-source: warning: extracting unsigned source package (optee-client-stm32mp15x_3.21.0.dsc)

dpkg-source: info: extracting optee-client-stm32mp15x in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking optee-client-stm32mp15x_3.21.0.tar.gz


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


Sufficient free space for build


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


APT_CONFIG=/var/lib/sbuild/apt.conf
CCACHE_DISABLE=1
CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf

HOME=/sbuild-nonexistent
LC_ALL=C.UTF-8
LOGNAME=builder
PARALLEL_MAKE=-j 16
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=isar-builder-aefca26a-597c-4691-a179-5eafb7f83007-25811
SCHROOT_CHROOT_NAME=isar-builder-aefca26a-597c-4691-a179-5eafb7f83007-25811
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=builder
SCHROOT_SESSION_ID=isar-builder-aefca26a-597c-4691-a179-5eafb7f83007-25811-5b2abb26-8100-4d04-9e85-5d8ece0fc374

SCHROOT_UID=1000
SCHROOT_USER=builder
SHELL=/bin/sh
USER=builder

dpkg-buildpackage

-----------------

Command: dpkg-buildpackage -aarmhf -Pcross -us -uc -b -rfakeroot --source-option=-I

dpkg-buildpackage: info: source package optee-client-stm32mp15x
dpkg-buildpackage: info: source version 3.21.0
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Unknown maintainer <unknown@example.com>

dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable

 dpkg-source -I --before-build .

dpkg-buildpackage: info: host architecture armhf

 debian/rules clean

dh clean --exclude=.a

   debian/rules override_dh_auto_clean

make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean

        make -j16 distclean

make[2]: Entering directory '/<<PKGBUILDDIR>>'

rm -f /<<PKGBUILDDIR>>/libteec/../out/libteec/tee_client_api.o /<<PKGBUILDDIR>>/libteec/../out/libteec/teec_trace.o /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.so.1.0.0 /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.so.1 \

        /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.so.1.0 /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.so

rm -f /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/tee_supplicant.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/teec_ta_load.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/tee_supp_fs.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/rpmb.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/handle.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/tee_socket.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/sha2.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/hmac_sha2.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/prof.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/plugin.o /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant/tee-supplicant

rm -f /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.a

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/se.o

rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/pkcs11_api.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/ck_debug.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/ck_helpers.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/invoke_ta.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/pkcs11_processing.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/pkcs11_token.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/serializer.o /<<PKGBUILDDIR>>/libckteec/../out/libckteec/serialize_ck.o

if [ -d "/<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant" ] ; then rmdir --ignore-fail-on-non-empty /<<PKGBUILDDIR>>/tee-supplicant/../out/tee-supplicant ; fi

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/libseteec.so.0.1.0

if [ -d "/<<PKGBUILDDIR>>/libteec/../out/libteec" ] ; then rmdir --ignore-fail-on-non-empty /<<PKGBUILDDIR>>/libteec/../out/libteec ; fi

rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/libckteec.so.0.1.0

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/libseteec.so.0.1

rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/libckteec.so.0.1

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/libseteec.so.0

rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/libckteec.so.0

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/libseteec.so.0.1.0

rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/libckteec.so.0.1.0

rm -f /<<PKGBUILDDIR>>/libseteec/../out/libseteec/libseteec.a

if [ -d "/<<PKGBUILDDIR>>/libseteec/../out/libseteec" ] ; then rmdir --ignore-fail-on-non-empty /<<PKGBUILDDIR>>/libseteec/../out/libseteec ; fi
rm -f /<<PKGBUILDDIR>>/libckteec/../out/libckteec/libckteec.a

if [ -d "/<<PKGBUILDDIR>>/libckteec/../out/libckteec" ] ; then rmdir --ignore-fail-on-non-empty /<<PKGBUILDDIR>>/libckteec/../out/libckteec ; fi

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/group.o /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/tee_uuid.o

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/libteeacl.so.0.1.0

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/libteeacl.so.0.1

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/libteeacl.so.0

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/libteeacl.so.0.1.0

rm -f /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl/libteeacl.a

if [ -d "/<<PKGBUILDDIR>>/libteeacl/../out/libteeacl" ] ; then rmdir --ignore-fail-on-non-empty /<<PKGBUILDDIR>>/libteeacl/../out/libteeacl ; fi

make[2]: Leaving directory '/<<PKGBUILDDIR>>'

rm -rf /<<PKGBUILDDIR>>/out

make[1]: Leaving directory '/<<PKGBUILDDIR>>'

   dh_autoreconf_clean -O--exclude=.a

   dh_clean -O--exclude=.a

 debian/rules binary

dh binary --exclude=.a

   dh_update_autotools_config -O--exclude=.a

   dh_autoreconf -O--exclude=.a

   dh_auto_configure -O--exclude=.a

   debian/rules override_dh_auto_build

make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- LIBDIR=/usr/lib/arm-linux-gnueabihf \

        CFG_TEE_FS_PARENT_PATH=/var/lib/optee-client/data/tee RPMB_EMU=1

        make -j16 PKG_CONFIG=arm-linux-gnueabihf-pkg-config CXX=arm-linux-gnueabihf-g\+\+ CC=arm-linux-gnueabihf-gcc LIBDIR=/usr/lib/arm-linux-gnueabihf CFG_TEE_FS_PARENT_PATH=/var/lib/optee-client/data/tee RPMB_EMU=1

make[2]: Entering directory '/<<PKGBUILDDIR>>'

Building libteec.so

Building libteeacl.so

  CC      src/tee_client_api.c

  CC      src/teec_trace.c

  Finding uuid.pc

  CC      src/group.c

  CC      src/tee_uuid.c

make[3]: *** [Makefile:47: check-libuuid] Error 1
make[3]: *** Waiting for unfinished jobs....

make[2]: *** [Makefile:58: build-libteeacl] Error 2
make[2]: *** Waiting for unfinished jobs....

  LINK    /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.so.1.0.0
  AR      /<<PKGBUILDDIR>>/libteec/../out/libteec/libteec.a



make[2]: Leaving directory '/<<PKGBUILDDIR>>'

dh_auto_build: make -j16 PKG_CONFIG=arm-linux-gnueabihf-pkg-config CXX=arm-linux-gnueabihf-g\+\+ CC=arm-linux-gnueabihf-gcc LIBDIR=/usr/lib/arm-linux-gnueabihf CFG_TEE_FS_PARENT_PATH=/var/lib/optee-client/data/tee RPMB_EMU=1 returned exit code 2

make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

make: *** [debian/rules:15: binary] Error 2

dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--------------------------------------------------------------------------------

Build finished at 2023-07-06T05:29:25Z

+------------------------------------------------------------------------------+

| 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-client-stm32mp15x/rootfs/var/cache/apt/archives/ || :
-------------------------------------------------------------------------------------------------------------------------------------





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

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




I: Finished running 'cp /var/log/dpkg.log /home/builder/optee-client-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: amd64
Build Profiles: cross
Build Type: binary

Build-Space: 1092
Build-Time: 1
Distribution: isar
Fail-Stage: build
Foreign Architectures: armhf
Host Architecture: armhf

Install-Time: 3
Job: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/optee-client-stm32mp15x_3.21.0.dsc
Machine Architecture: amd64
Package: optee-client-stm32mp15x
Package-Time: 6
Source-Version: 3.21.0
Space: 1092

Status: attempted
Version: 3.21.0
--------------------------------------------------------------------------------
Finished at 2023-07-06T05:29:25Z
Build needed 00:00:06, 1092k disk space

E: Build failure (dpkg-buildpackage died)

+ bb_sh_exit_handler
+ ret=2
+ [ 2 != 0 ]
+ echo
WARNING: exit code 2 from a shell command.

 WARNING: exit code 2 from a shell command.
+ exit 2

+ schroot_delete_configs
+ 
sudo -s

+ ret=0
+ trap  0
+ exit 0

ERROR: mc:stm32mp15x-buster:optee-client-stm32mp15x-3.21.0-r0 do_dpkg_build: ExecutionError('/build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/temp/run.dpkg_runbuild.25811', 2, None, None)
ERROR: Logfile of failure stored in: /build/tmp/work/debian-buster-armhf/optee-client-stm32mp15x/3.21.0-r0/temp/log.do_dpkg_build.25811
ERROR: Task (mc:stm32mp15x-buster:/build/../work/isar/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb:do_dpkg_build) failed with exit code '1'
NOTE: Tasks Summary: Attempted 26 tasks of which 19 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  mc:stm32mp15x-buster:/build/../work/isar/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb:do_dpkg_build
Summary: There was 1 ERROR message, returning a non-zero exit code.
builder@22badc86cac4:/build$ 

  reply	other threads:[~2023-07-06  5:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-05  5:33 [PATCH v3 0/7] Add optee family and friends baocheng.su
2023-07-05  5:33 ` [PATCH v3 1/7] stm32mp15x: Bump optee-os to 3.21.0 baocheng.su
2023-07-05  5:33 ` [PATCH v3 2/7] Add recipe for optee TA devkit baocheng.su
2023-07-05  5:33 ` [PATCH v3 3/7] Add recipe for optee-client baocheng.su
2023-07-06  5:35   ` Uladzimir Bely [this message]
2023-07-06  6:56     ` Jan Kiszka
2023-07-12 12:17   ` Jan Kiszka
2023-07-05  5:33 ` [PATCH v3 4/7] Add recipe for optee examples baocheng.su
2023-07-05  5:33 ` [PATCH v3 5/7] Add recipe for optee ftpm baocheng.su
2023-07-12 12:16   ` Jan Kiszka
2023-07-05  5:33 ` [PATCH v3 6/7] initramfs: Add recipe for tee-supplicant hook baocheng.su
2023-07-17 16:09   ` Jan Kiszka
2023-07-05  5:33 ` [PATCH v3 7/7] initramfs: Add recipe for tee-ftpm hook baocheng.su
2023-07-11  6:43 ` [PATCH v3 0/7] Add optee family and friends Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc10427516e6da1bbbf30d521c3cd0c0655daf5b.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=baocheng.su@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox