diff mbox series

[meta-oe,v2] libspdm: upgrade 3.6.0 -> 3.7.0

Message ID 1744189624-6858-1-git-send-email-wangmy@fujitsu.com
State Accepted
Headers show
Series [meta-oe,v2] libspdm: upgrade 3.6.0 -> 3.7.0 | expand

Commit Message

Mingyu Wang (Fujitsu) April 9, 2025, 9:07 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb}             | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-support/libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb} (95%)

Comments

Khem Raj April 11, 2025, 1:51 a.m. UTC | #1
it still fails for me.


build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c
   In file included from
build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c:12:
  build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/recipe-sysroot/usr/include/openssl/pem.h:399:28:
error: unknown type name '
   ↪ OSSL_i2d_of_void_ctx'
     399 | int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
         |                            ^
   1 error generated.
   [37/176] Building C object
os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o
   FAILED: os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o

On Wed, Apr 9, 2025 at 2:07 AM wangmy via lists.openembedded.org
<wangmy=fujitsu.com@lists.openembedded.org> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb}             | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>  rename meta-oe/recipes-support/libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb} (95%)
>
> diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> similarity index 95%
> rename from meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> rename to meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> index 4c0483ebac..a3012e10bd 100644
> --- a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> +++ b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8f9b59a81a88da8e812af43728b72dd7"
>  DEPENDS = "openssl"
>
>  SRC_URI = "git://github.com/DMTF/libspdm.git;branch=main;protocol=https"
> -SRCREV = "5ebe5e3946b9439928fa3a7548268c29cccc1b16"
> +SRCREV = "1be116c7b7713fa9003e1bd53b53a34758549eb9"
>
>  S = "${WORKDIR}/git"
>
> @@ -23,6 +23,7 @@ LIBSPDM_CFLAGS = "\
>         -DLIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP=0 \
>         -DLIBSPDM_ENABLE_CAPABILITY_SET_KEY_PAIR_INFO_CAP=0 \
>         -DLIBSPDM_HAL_PASS_SPDM_CONTEXT=1 \
> +        -DLIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP=0 \
>         "
>
>  LIBSPDM_CFLAGS:append:toolchain-gcc = " -fPIE"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116728): https://lists.openembedded.org/g/openembedded-devel/message/116728
> Mute This Topic: https://lists.openembedded.org/mt/112168951/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj April 11, 2025, 1:56 a.m. UTC | #2
This seems likely due to openssl upgrade in core

92c32a6de92 openssl: upgrade 3.4.1 -> 3.5.0

On Thu, Apr 10, 2025 at 6:51 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> it still fails for me.
>
>
> build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c
>    In file included from
> build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c:12:
>   build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/recipe-sysroot/usr/include/openssl/pem.h:399:28:
> error: unknown type name '
>    ↪ OSSL_i2d_of_void_ctx'
>      399 | int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
>          |                            ^
>    1 error generated.
>    [37/176] Building C object
> os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o
>    FAILED: os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o
>
> On Wed, Apr 9, 2025 at 2:07 AM wangmy via lists.openembedded.org
> <wangmy=fujitsu.com@lists.openembedded.org> wrote:
> >
> > From: Wang Mingyu <wangmy@fujitsu.com>
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> >  .../libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb}             | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >  rename meta-oe/recipes-support/libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb} (95%)
> >
> > diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > similarity index 95%
> > rename from meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> > rename to meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > index 4c0483ebac..a3012e10bd 100644
> > --- a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> > +++ b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8f9b59a81a88da8e812af43728b72dd7"
> >  DEPENDS = "openssl"
> >
> >  SRC_URI = "git://github.com/DMTF/libspdm.git;branch=main;protocol=https"
> > -SRCREV = "5ebe5e3946b9439928fa3a7548268c29cccc1b16"
> > +SRCREV = "1be116c7b7713fa9003e1bd53b53a34758549eb9"
> >
> >  S = "${WORKDIR}/git"
> >
> > @@ -23,6 +23,7 @@ LIBSPDM_CFLAGS = "\
> >         -DLIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP=0 \
> >         -DLIBSPDM_ENABLE_CAPABILITY_SET_KEY_PAIR_INFO_CAP=0 \
> >         -DLIBSPDM_HAL_PASS_SPDM_CONTEXT=1 \
> > +        -DLIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP=0 \
> >         "
> >
> >  LIBSPDM_CFLAGS:append:toolchain-gcc = " -fPIE"
> > --
> > 2.43.0
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#116728): https://lists.openembedded.org/g/openembedded-devel/message/116728
> > Mute This Topic: https://lists.openembedded.org/mt/112168951/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Martin Jansa April 11, 2025, 5:50 a.m. UTC | #3
I'm seeing this error as well.

https://github.com/openssl/openssl/issues/27344 looks related but was
closed as not reproducible, not sure what's going on.

On Fri, Apr 11, 2025 at 3:57 AM Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
>
> This seems likely due to openssl upgrade in core
>
> 92c32a6de92 openssl: upgrade 3.4.1 -> 3.5.0
>
> On Thu, Apr 10, 2025 at 6:51 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > it still fails for me.
> >
> >
> > build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c
> >    In file included from
> > build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/git/os_stub/cryptlib_openssl/pem/pem.c:12:
> >   build/tmp/work/core2-64-yoe-linux/libspdm/3.7.0/recipe-sysroot/usr/include/openssl/pem.h:399:28:
> > error: unknown type name '
> >    ↪ OSSL_i2d_of_void_ctx'
> >      399 | int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
> >          |                            ^
> >    1 error generated.
> >    [37/176] Building C object
> > os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o
> >    FAILED: os_stub/cryptlib_openssl/CMakeFiles/cryptlib_openssl.dir/pk/x509.c.o
> >
> > On Wed, Apr 9, 2025 at 2:07 AM wangmy via lists.openembedded.org
> > <wangmy=fujitsu.com@lists.openembedded.org> wrote:
> > >
> > > From: Wang Mingyu <wangmy@fujitsu.com>
> > >
> > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > > ---
> > >  .../libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb}             | 3 ++-
> > >  1 file changed, 2 insertions(+), 1 deletion(-)
> > >  rename meta-oe/recipes-support/libspdm/{libspdm_3.6.0.bb => libspdm_3.7.0.bb} (95%)
> > >
> > > diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > > similarity index 95%
> > > rename from meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> > > rename to meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > > index 4c0483ebac..a3012e10bd 100644
> > > --- a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
> > > +++ b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
> > > @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8f9b59a81a88da8e812af43728b72dd7"
> > >  DEPENDS = "openssl"
> > >
> > >  SRC_URI = "git://github.com/DMTF/libspdm.git;branch=main;protocol=https"
> > > -SRCREV = "5ebe5e3946b9439928fa3a7548268c29cccc1b16"
> > > +SRCREV = "1be116c7b7713fa9003e1bd53b53a34758549eb9"
> > >
> > >  S = "${WORKDIR}/git"
> > >
> > > @@ -23,6 +23,7 @@ LIBSPDM_CFLAGS = "\
> > >         -DLIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP=0 \
> > >         -DLIBSPDM_ENABLE_CAPABILITY_SET_KEY_PAIR_INFO_CAP=0 \
> > >         -DLIBSPDM_HAL_PASS_SPDM_CONTEXT=1 \
> > > +        -DLIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP=0 \
> > >         "
> > >
> > >  LIBSPDM_CFLAGS:append:toolchain-gcc = " -fPIE"
> > > --
> > > 2.43.0
> > >
> > >
> > >
> > >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116790): https://lists.openembedded.org/g/openembedded-devel/message/116790
> Mute This Topic: https://lists.openembedded.org/mt/112168951/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
similarity index 95%
rename from meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
rename to meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
index 4c0483ebac..a3012e10bd 100644
--- a/meta-oe/recipes-support/libspdm/libspdm_3.6.0.bb
+++ b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
@@ -10,7 +10,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8f9b59a81a88da8e812af43728b72dd7"
 DEPENDS = "openssl"
 
 SRC_URI = "git://github.com/DMTF/libspdm.git;branch=main;protocol=https"
-SRCREV = "5ebe5e3946b9439928fa3a7548268c29cccc1b16"
+SRCREV = "1be116c7b7713fa9003e1bd53b53a34758549eb9"
 
 S = "${WORKDIR}/git"
 
@@ -23,6 +23,7 @@  LIBSPDM_CFLAGS = "\
 	-DLIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP=0 \
 	-DLIBSPDM_ENABLE_CAPABILITY_SET_KEY_PAIR_INFO_CAP=0 \
 	-DLIBSPDM_HAL_PASS_SPDM_CONTEXT=1 \
+        -DLIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP=0 \
 	"
 
 LIBSPDM_CFLAGS:append:toolchain-gcc = " -fPIE"