[PATCHv3,5/5] tfa: add depends on openssl

Message ID 20211115140100.24634-5-maxim.uvarov@linaro.org
State New
Headers show
Series [PATCHv3,1/5] optee: updae optee-os.inc to support external TAs | expand

Commit Message

Maxim Uvarov Nov. 15, 2021, 2:01 p.m. UTC
build ci/corstone1000-fvp.yml: generated the following error for me:
libcrypto.so.3: cannot open shared object file: No such file or directory
Add openssl to DEPENDS.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ross Burton Nov. 15, 2021, 2:03 p.m. UTC | #1
Rebase to current master and this will go away.  TF-A doesn't link to
the target libcrypto.

Ross

On Mon, 15 Nov 2021 at 14:01, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>
> build ci/corstone1000-fvp.yml: generated the following error for me:
> libcrypto.so.3: cannot open shared object file: No such file or directory
> Add openssl to DEPENDS.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
>  meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> index 243e641..0f7d3de 100644
> --- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> +++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> @@ -87,7 +87,7 @@ DEPENDS:remove = "virtual/${TARGET_PREFIX}compilerlibs virtual/libc"
>
>  # We need dtc for dtbs compilation
>  # We need openssl for fiptool
> -DEPENDS = "dtc-native openssl-native"
> +DEPENDS = "dtc-native openssl-native openssl"
>  DEPENDS:append:toolchain-clang = " compiler-rt"
>
>  # CC and LD introduce arguments which conflict with those otherwise provided by
> --
> 2.17.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#2389): https://lists.yoctoproject.org/g/meta-arm/message/2389
> Mute This Topic: https://lists.yoctoproject.org/mt/87069393/1676615
> Group Owner: meta-arm+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [ross@burtonini.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Maxim Uvarov Nov. 15, 2021, 4:02 p.m. UTC | #2
Ross, quick compilation passed without this patch. Please just skip
this v3 series. I will run the build without cache to double check
that it's already fixed.

On Mon, 15 Nov 2021 at 17:03, Ross Burton <ross@burtonini.com> wrote:
>
> Rebase to current master and this will go away.  TF-A doesn't link to
> the target libcrypto.
>
> Ross
>
> On Mon, 15 Nov 2021 at 14:01, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
> >
> > build ci/corstone1000-fvp.yml: generated the following error for me:
> > libcrypto.so.3: cannot open shared object file: No such file or directory
> > Add openssl to DEPENDS.
> >
> > Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> > ---
> >  meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> > index 243e641..0f7d3de 100644
> > --- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> > +++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
> > @@ -87,7 +87,7 @@ DEPENDS:remove = "virtual/${TARGET_PREFIX}compilerlibs virtual/libc"
> >
> >  # We need dtc for dtbs compilation
> >  # We need openssl for fiptool
> > -DEPENDS = "dtc-native openssl-native"
> > +DEPENDS = "dtc-native openssl-native openssl"
> >  DEPENDS:append:toolchain-clang = " compiler-rt"
> >
> >  # CC and LD introduce arguments which conflict with those otherwise provided by
> > --
> > 2.17.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#2389): https://lists.yoctoproject.org/g/meta-arm/message/2389
> > Mute This Topic: https://lists.yoctoproject.org/mt/87069393/1676615
> > Group Owner: meta-arm+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [ross@burtonini.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >

Patch

diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
index 243e641..0f7d3de 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
+++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
@@ -87,7 +87,7 @@  DEPENDS:remove = "virtual/${TARGET_PREFIX}compilerlibs virtual/libc"
 
 # We need dtc for dtbs compilation
 # We need openssl for fiptool
-DEPENDS = "dtc-native openssl-native"
+DEPENDS = "dtc-native openssl-native openssl"
 DEPENDS:append:toolchain-clang = " compiler-rt"
 
 # CC and LD introduce arguments which conflict with those otherwise provided by