From patchwork Wed Apr 1 14:36:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 86926 Return-Path: Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 388D31076387 for ; Wed, 1 Apr 2026 14:36:19 +0000 (UTC) Received: from a27-33.smtp-out.us-west-2.amazonses.com (a27-33.smtp-out.us-west-2.amazonses.com [54.240.27.33]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.14744.1775054158882956932 for ; Wed, 01 Apr 2026 07:36:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=j46ser6a2yusdzubpv7m7ewqgesde2ie header.b=KepBvVj7; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=mrwix5ZG; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.33, mailfrom: 0101019d49794570-ad10c448-b00b-4d3b-97cd-be294b31314e-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=j46ser6a2yusdzubpv7m7ewqgesde2ie; d=yoctoproject.org; t=1775054177; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=u4j25Wq5q1ifLWf+sNBS5swebBlFrAbmm8mpmw0GZNI=; b=KepBvVj77THa4amqZXBxpaD2JIdxpnbJH1sudWAvzVJ/xKa3p3QGZ9eV8sl0QfcI c0DHNeI9p/qb7OBx7hO7H+n7wOxJl7TI+S3FhZhXlPkYqe3IfYzp50XsOE5HRAGQHXi KMdvEynZv0ucvrSrNBvUF85iFOjBtxhP49cJ/iVU= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1775054177; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=u4j25Wq5q1ifLWf+sNBS5swebBlFrAbmm8mpmw0GZNI=; b=mrwix5ZGtt8rkKwI4/1BOM2vbiQk8Je/Mvaj2IFLiS9KQK00UChiTxIZRR/93+Uh VbiX2rPiF7R2+Ha8MInLuBGIk6W2Fz/tWnCtHlUrEdd/TQk+sonaYpiQvV9DXkVCTKW mZNBDF5pvKHOak26PS+m4XWkx6BGeMtbMyIQRFBo= MIME-Version: 1.0 From: auh@yoctoproject.org To: openembedded-core@lists.openembedded.org Cc: Subject: [AUH] nettle: upgrading to 4.0 FAILED Message-ID: <0101019d49794570-ad10c448-b00b-4d3b-97cd-be294b31314e-000000@us-west-2.amazonses.com> Date: Wed, 1 Apr 2026 14:36:17 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.04.01-54.240.27.33 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Apr 2026 14:36:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/234438 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *nettle* to *4.0* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-nettle-upgrade-3.10.2-4.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 33acd71b64f89d1000640fbe32d9d51d77b39eaf Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 1 Apr 2026 14:20:14 +0000 Subject: [PATCH] nettle: upgrade 3.10.2 -> 4.0 --- ...get-to-only-build-tests-not-run-them.patch | 10 ++-- ...der-files-of-openssl-only-if-enable_.patch | 6 +-- .../{nettle_3.10.2.bb => nettle_4.0.bb} | 48 +++++++++++++++++-- 3 files changed, 53 insertions(+), 11 deletions(-) rename meta/recipes-support/nettle/{nettle_3.10.2.bb => nettle_4.0.bb} (57%) diff --git a/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch b/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch index ee3e74c43b..1a861ba8d3 100644 --- a/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch +++ b/meta/recipes-support/nettle/nettle/Add-target-to-only-build-tests-not-run-them.patch @@ -1,4 +1,4 @@ -From 3ea3eaf5bda21529fc8a8da3d8b07ebc3875ba7e Mon Sep 17 00:00:00 2001 +From 837946b0fb740f76eba3c0ee4da78954a5d48b22 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 2 Aug 2024 09:48:43 -0400 Subject: [PATCH] Makefile.in: Add target to only build tests (not run them) @@ -21,10 +21,10 @@ Signed-off-by: Trevor Gamblin 2 files changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in -index 71ad761..0f239f4 100644 +index 9399985..4d4046e 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -53,6 +53,9 @@ clean distclean mostlyclean maintainer-clean tags: +@@ -56,6 +56,9 @@ clean distclean mostlyclean maintainer-clean tags: echo "Making $@ in $$d" ; (cd $$d && $(MAKE) $@); done $(MAKE) $@-here @@ -35,10 +35,10 @@ index 71ad761..0f239f4 100644 true diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in -index 0699fa0..8ac9983 100644 +index b2f0518..c93b9b6 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in -@@ -137,6 +137,8 @@ $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../non-nettle.$(OBJEXT) \ +@@ -144,6 +144,8 @@ $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../non-nettle.$(OBJEXT) \ # data. VALGRIND = valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes @IF_ASM@ --partial-loads-ok=yes diff --git a/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch b/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch index 89b5c7bec4..f4b88853fe 100644 --- a/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch +++ b/meta/recipes-support/nettle/nettle/check-header-files-of-openssl-only-if-enable_.patch @@ -1,4 +1,4 @@ -From ec2ca7e505e6bfe1fff2a7d6e6bb39b60b93e19a Mon Sep 17 00:00:00 2001 +From 78d64a970af7e30d5ad80fea169ca116657e9037 Mon Sep 17 00:00:00 2001 From: Haiqing Bai Date: Fri, 9 Dec 2016 15:23:17 +0800 Subject: [PATCH] nettle: check header files of openssl only if @@ -23,10 +23,10 @@ Signed-off-by: Trevor Gamblin 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index 7c003bb..779f7ff 100644 +index af017d8..9294e24 100644 --- a/configure.ac +++ b/configure.ac -@@ -197,9 +197,11 @@ AC_TYPE_SIZE_T +@@ -177,9 +177,11 @@ AC_TYPE_SIZE_T AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(size_t) diff --git a/meta/recipes-support/nettle/nettle_3.10.2.bb b/meta/recipes-support/nettle/nettle_4.0.bb similarity index 57% rename from meta/recipes-support/nettle/nettle_3.10.2.bb rename to meta/recipes-support/nettle/nettle_4.0.bb index e651f68cb9..ccb5aa456f 100644 --- a/meta/recipes-support/nettle/nettle_3.10.2.bb +++ b/meta/recipes-support/nettle/nettle_4.0.bb @@ -1,3 +1,44 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- COPYING.LESSERv3 +# +++ COPYING.LESSERv3 +# @@ -1,7 +1,7 @@ +# - GNU LESSER GENERAL PUBLIC LICENSE +# + GNU LESSER GENERAL PUBLIC LICENSE +# Version 3, 29 June 2007 +# +# - Copyright (C) 2007 Free Software Foundation, Inc. +# + Copyright (C) 2007 Free Software Foundation, Inc. +# Everyone is permitted to copy and distribute verbatim copies +# of this license document, but changing it is not allowed. +# +# @@ -10,7 +10,7 @@ +# the terms and conditions of version 3 of the GNU General Public +# License, supplemented by the additional permissions listed below. +# +# - 0. Additional Definitions. +# + 0. Additional Definitions. +# +# As used herein, "this License" refers to version 3 of the GNU Lesser +# General Public License, and the "GNU GPL" refers to version 3 of the GNU +# @@ -111,7 +111,7 @@ +# a copy of the Library already present on the user's computer +# system, and (b) will operate properly with a modified version +# of the Library that is interface-compatible with the Linked +# - Version. +# + Version. +# +# e) Provide Installation Information, but only if you would otherwise +# be required to provide such information under section 6 of the +# +# + SUMMARY = "A low level cryptographic library" DESCRIPTION = "Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space." HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/" @@ -7,10 +48,11 @@ context-independent set of cryptographic algorithms" SECTION = "libs" LICENSE = "LGPL-3.0-or-later | GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ +LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=3000208d539ec061b899bce1d9ce9404 \ file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://serpent-decrypt.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e \ - file://serpent-set-key.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e" + file://serpent-set-key.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e \ + " DEPENDS += "gmp" @@ -20,7 +62,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://check-header-files-of-openssl-only-if-enable_.patch \ " -SRC_URI[sha256sum] = "fe9ff51cb1f2abb5e65a6b8c10a92da0ab5ab6eaf26e7fc2b675c45f1fb519b5" +SRC_URI[sha256sum] = "3addbc00da01846b232fb3bc453538ea5468da43033f21bb345cb1e9073f5094" UPSTREAM_CHECK_REGEX = "nettle-(?P\d+(\.\d+)+)\.tar"