Skip to contentSkip to conversation

gnutls: upgrade 3.8.10 -> 3.8.11

PATCH Superseded Peter Marko 2 participants 5 messages Nov 26, 2025 – Dec 3, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnutls: upgrade 3.8.10 -> 3.8.11

From: Peter Marko <[email protected]>

Release information: [1]
Includes fix for CVE-2025-9820.

Refresh patches.

[1] https://lists.gnupg.org/pipermail/gnutls-help/2025-November/004906.html

---
 ...eating-.hmac-file-should-be-excuted-in-target-envi.patch | 2 +-
 meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch  | 6 +++---
 .../gnutls/{gnutls_3.8.10.bb => gnutls_3.8.11.bb}           | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls_3.8.10.bb => gnutls_3.8.11.bb} (97%)
meta/recipes-support/gnutls/gnutls/0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch +1 -1
index 2dccea7859..0847dde8a9 100644
@@ -14,7 +14,7 @@ diff --git a/lib/Makefile.am b/lib/Makefile.am
 index a50d311..193ea19 100644
 --- a/lib/Makefile.am
 +++ b/lib/Makefile.am
-@@ -272,8 +272,7 @@ hmac_file = .libs/.$(gnutls_so).hmac
+@@ -275,8 +275,7 @@ hmac_file = .libs/.$(gnutls_so).hmac
  
  all-local: $(hmac_file)
  
meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch +3 -3
index 339d3d2f9e..d8b5035b38 100644
@@ -15,7 +15,7 @@ diff --git a/Makefile.am b/Makefile.am
 index 843193f..816b09f 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -194,6 +194,9 @@ dist-hook:
+@@ -197,6 +197,9 @@ dist-hook:
  distcheck-hook:
  	@test -d "$(top_srcdir)/po/.reference" || { echo "PO files are not downloaded; run ./bootstrap without --skip-po"; exit 1; }
  
@@ -29,7 +29,7 @@ diff --git a/configure.ac b/configure.ac
 index 1744813..efb9e34 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1491,6 +1491,8 @@ AC_SUBST(LIBGNUTLS_CFLAGS)
+@@ -1447,6 +1447,8 @@ AC_SUBST(LIBGNUTLS_CFLAGS)
  
  AM_CONDITIONAL(NEEDS_LIBRT, test "$gnutls_needs_librt" = "yes")
  
@@ -42,7 +42,7 @@ diff --git a/tests/Makefile.am b/tests/Makefile.am
 index 189d068..8430b05 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -678,6 +678,12 @@ SH_LOG_COMPILER = $(SHELL)
+@@ -719,6 +719,12 @@ SH_LOG_COMPILER = $(SHELL)
  AM_VALGRINDFLAGS = --suppressions=$(srcdir)/suppressions.valgrind
  LOG_COMPILER = $(LOG_VALGRIND)
  
meta/recipes-support/gnutls/gnutls_3.8.11.bb renamed from meta/recipes-support/gnutls/gnutls_3.8.10.bb +1 -1
similarity index 97%
rename from meta/recipes-support/gnutls/gnutls_3.8.10.bb
rename to meta/recipes-support/gnutls/gnutls_3.8.11.bb
index 2ef71a1213..7fee64080b 100644
@@ -25,7 +25,7 @@ SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar
            file://Add-ptest-support.patch \
            "
 
-SRC_URI[sha256sum] = "db7fab7cce791e7727ebbef2334301c821d79a550ec55c9ef096b610b03eb6b7"
+SRC_URI[sha256sum] = "91bd23c4a86ebc6152e81303d20cf6ceaeb97bc8f84266d0faec6e29f17baa20"
 
 inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest
 
#1 lore raw
Quoted 11 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Release information: [1]
Includes fix for CVE-2025-9820.

Refresh patches.

[1] https://lists.gnupg.org/pipermail/gnutls-help/2025-November/004906.html

---

Hi Peter,

Thanks for your patch.

It looks like we got some build issues, at least when building native:

ERROR: gnutls-native-3.8.11-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-2982165/tmp/work/x86_64-linux/gnutls-native/3.8.11/temp/run.do_compile.1834094' failed with exit code 1
...

| In file included from ../../sources/gnutls-3.8.11/lib/audit.h:22,
|                  from ../../sources/gnutls-3.8.11/lib/audit.c:26:
| ../../sources/gnutls-3.8.11/lib/crau/crau.h:255:23: error: missing binary operator before token "("
|   255 |     __has_c_attribute (__maybe_unused__)
|       |                       ^

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2721
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2632

Can you have a look at what's going on?

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 40 lines

-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Wednesday, December 3, 2025 13:14
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: Re: [OE-core][PATCH] gnutls: upgrade 3.8.10 -> 3.8.11

Quoted 11 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Release information: [1]
Includes fix for CVE-2025-9820.

Refresh patches.

[1] https://lists.gnupg.org/pipermail/gnutls-help/2025-November/004906.html

---

Hi Peter,

Thanks for your patch.

It looks like we got some build issues, at least when building native:

ERROR: gnutls-native-3.8.11-r0 do_compile: Execution of '/srv/pokybuild/yocto- worker/qemux86-tc/build/build-st-2982165/tmp/work/x86_64-linux/gnutls- native/3.8.11/temp/run.do_compile.1834094' failed with exit code 1
...

| In file included from ../../sources/gnutls-3.8.11/lib/audit.h:22,
|                  from ../../sources/gnutls-3.8.11/lib/audit.c:26:
| ../../sources/gnutls-3.8.11/lib/crau/crau.h:255:23: error: missing binary operator
before token "("
|   255 |     __has_c_attribute (__maybe_unused__)
|       |                       ^
Quoted 2 lines

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2721
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2632

Hi Matthieu,

only Debian-11 or more hosts had this problem?

Peter

Quoted 10 lines

Can you have a look at what's going on?

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw
Quoted 40 lines · Peter Marko
Quoted 40 lines

-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Wednesday, December 3, 2025 13:14
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: Re: [OE-core][PATCH] gnutls: upgrade 3.8.10 -> 3.8.11

Quoted 11 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Release information: [1]
Includes fix for CVE-2025-9820.

Refresh patches.

[1] https://lists.gnupg.org/pipermail/gnutls-help/2025-November/004906.html

---

Hi Peter,

Thanks for your patch.

It looks like we got some build issues, at least when building native:

ERROR: gnutls-native-3.8.11-r0 do_compile: Execution of '/srv/pokybuild/yocto- worker/qemux86-tc/build/build-st-2982165/tmp/work/x86_64-linux/gnutls- native/3.8.11/temp/run.do_compile.1834094' failed with exit code 1
...

| In file included from ../../sources/gnutls-3.8.11/lib/audit.h:22,
|                  from ../../sources/gnutls-3.8.11/lib/audit.c:26:
| ../../sources/gnutls-3.8.11/lib/crau/crau.h:255:23: error: missing binary operator
before token "("
|   255 |     __has_c_attribute (__maybe_unused__)
|       |                       ^
Quoted 9 lines
Quoted 2 lines

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2721
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2632

Hi Matthieu,

only Debian-11 or more hosts had this problem?

Peter

It looks like it is indeed only occurring on debian 11. I've launched two other builds on other workers, and I can't see the issue so far (build is still in progress).

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2724
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2635

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

I have backported patch to fix build on Debian 11 and sent a v2. Peter

Quoted 75 lines

-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Wednesday, December 3, 2025 17:23
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: Re: [OE-core][PATCH] gnutls: upgrade 3.8.10 -> 3.8.11

Quoted 10 lines · Peter Marko
Quoted 10 lines

-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Wednesday, December 3, 2025 13:14
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>; [email protected]
Subject: Re: [OE-core][PATCH] gnutls: upgrade 3.8.10 -> 3.8.11

On Thu Nov 27, 2025 at 12:34 AM CET, Peter Marko via

lists.openembedded.org

Quoted 13 lines
Quoted 13 lines
Quoted 11 lines · wrote:

From: Peter Marko <[email protected]>

Release information: [1]
Includes fix for CVE-2025-9820.

Refresh patches.

[1] https://lists.gnupg.org/pipermail/gnutls-help/2025-November/004906.html

---

Quoted 7 lines
Quoted 7 lines

Hi Peter,

Thanks for your patch.

It looks like we got some build issues, at least when building native:

ERROR: gnutls-native-3.8.11-r0 do_compile: Execution of

'/srv/pokybuild/yocto-

Quoted 6 lines
Quoted 6 lines

worker/qemux86-tc/build/build-st-2982165/tmp/work/x86_64-linux/gnutls- native/3.8.11/temp/run.do_compile.1834094' failed with exit code 1
...

| In file included from ../../sources/gnutls-3.8.11/lib/audit.h:22,
|                  from ../../sources/gnutls-3.8.11/lib/audit.c:26:
| ../../sources/gnutls-3.8.11/lib/crau/crau.h:255:23: error: missing binary

operator

Quoted 4 lines
Quoted 4 lines

before token "("

|   255 |     __has_c_attribute (__maybe_unused__)
|       |                       ^
Quoted 9 lines
Quoted 2 lines

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2721
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2632

Hi Matthieu,

only Debian-11 or more hosts had this problem?

Peter

It looks like it is indeed only occurring on debian 11. I've launched two other builds on other workers, and I can't see the issue so far (build is still in progress).

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2724
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2635

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com