diff mbox series

[scarthgap] gnupg: upgrade 2.4.4 -> 2.4.5

Message ID 20250131191948.396835-1-gudni.m.g@gmail.com
State Changes Requested
Delegated to: Steve Sakoman
Headers show
Series [scarthgap] gnupg: upgrade 2.4.4 -> 2.4.5 | expand

Commit Message

Guðni Már Gilbert Jan. 31, 2025, 7:19 p.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
==========
* gpg,gpgv: New option --assert-pubkey-algo.
* gpg: Emit status lines for errors in the compression layer.
* gpg: Fix invocation with --trusted-keys and --no-options.
* gpgsm: Allow for a longer salt in PKCS#12 files.
* gpgtar: Make --status-fd=2 work on Windows.
* scd: Support for the ACR-122U NFC reader.
* scd: Suport D-TRUST ECC cards.
* scd: Allow auto detaching of kernel drivers; can be disabled with
  the new compatibility-flag ccid-no-auto-detach.
* scd: Allow setting a PIN length of 6 also with a reset code for
  openpgp cards.
* agent: Allow GET_PASSPHRASE in restricted mode.
* dirmngr: Trust system's root CAs for checking CRL issuers.
* dirmngr: Fix regression in 2.4.4 in fetching keys via hkps.
* gpg-wks-client: Make option --mirror work properly w/o specifying
  domains.
* g13,gpg-wks-client: Allow command style options as in "g13 mount
  foo".
* Allow tilde expansion for the foo-program options.
* Make the getswdb.sh tool usable outside the GnuPG tree.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-support/gnupg/{gnupg_2.4.4.bb => gnupg_2.4.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/gnupg/{gnupg_2.4.4.bb => gnupg_2.4.5.bb} (97%)

Comments

Guðni Már Gilbert Jan. 31, 2025, 7:28 p.m. UTC | #1
I tried upgrading to latest stable version (2.4.7) but it fails because 2.4.6 broke the "--enable-gpg-is-gpg2 " option. Version 2.4.5 works though.

I found two reports on the mailing list for this bug, but no full patches to backport.

1. https://lists.gnupg.org/pipermail/gnupg-devel/2024-November/035673.html this one contains a patch which seems to work though I'm not sure its complete.
2. https://lists.gnupg.org/pipermail/gnupg-devel/2024-December/035748.html another report but no patch.

I tracked down the problem to this commit https://github.com/gpg/gnupg/commit/685acf650a68871d8effeaa1c2ca01f2c4752266.

----

The 2.4.5 version was already in master branch so this was a simple cherry-pick.
Steve Sakoman Feb. 4, 2025, 1:44 p.m. UTC | #2
This version bump appears to be causing a number of errors in
autobuilder testing:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/939

All are in the toolchain tests, error logs below:

https://errors.yoctoproject.org/Errors/Details/842566/
https://errors.yoctoproject.org/Errors/Details/842563/
https://errors.yoctoproject.org/Errors/Details/842564/
https://errors.yoctoproject.org/Errors/Details/842565/

Steve

On Fri, Jan 31, 2025 at 11:28 AM Guðni Már Gilbert via
lists.openembedded.org <gudni.m.g=gmail.com@lists.openembedded.org>
wrote:
>
> I tried upgrading to latest stable version (2.4.7) but it fails because 2.4.6 broke the "--enable-gpg-is-gpg2 " option. Version 2.4.5 works though.
>
> I found two reports on the mailing list for this bug, but no full patches to backport.
>
> 1. https://lists.gnupg.org/pipermail/gnupg-devel/2024-November/035673.html this one contains a patch which seems to work though I'm not sure its complete.
> 2. https://lists.gnupg.org/pipermail/gnupg-devel/2024-December/035748.html another report but no patch.
>
> I tracked down the problem to this commit https://github.com/gpg/gnupg/commit/685acf650a68871d8effeaa1c2ca01f2c4752266.
>
> ----
>
> The 2.4.5 version was already in master branch so this was a simple cherry-pick.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#210494): https://lists.openembedded.org/g/openembedded-core/message/210494
> Mute This Topic: https://lists.openembedded.org/mt/110922127/3620601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Guðni Már Gilbert Feb. 4, 2025, 4:30 p.m. UTC | #3
Hi Steve, It's not clear to me how this error relates to gnupg. It seems to be related to rust somehow. gnupg isn't mentioned anywhere in the log.

rust.RustSelfTestSystemEmulated.test_rust: FAILED (499.08s)
Steve Sakoman Feb. 4, 2025, 5:53 p.m. UTC | #4
On Tue, Feb 4, 2025 at 8:30 AM Guðni Már Gilbert via
lists.openembedded.org <gudni.m.g=gmail.com@lists.openembedded.org>
wrote:
>
> Hi Steve, It's not clear to me how this error relates to gnupg. It seems to be related to rust somehow. gnupg isn't mentioned anywhere in the log.

Understood, but without the patch I get an error free build, and with
the patch I get these errors.

I've tried twice with and without your patch, and the issue is reproducible.

I'm open to suggestions, copying Alex since he's more familiar with
building rust than I am!

Steve

>
>
> rust.RustSelfTestSystemEmulated.test_rust: FAILED (499.08s)
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#210811): https://lists.openembedded.org/g/openembedded-core/message/210811
> Mute This Topic: https://lists.openembedded.org/mt/110922127/3620601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Alexander Kanavin Feb. 4, 2025, 6:58 p.m. UTC | #5
On Tue, 4 Feb 2025 at 18:53, Steve Sakoman <steve@sakoman.com> wrote:
> Understood, but without the patch I get an error free build, and with
> the patch I get these errors.
>
> I've tried twice with and without your patch, and the issue is reproducible.
>
> I'm open to suggestions, copying Alex since he's more familiar with
> building rust than I am!

I see

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found
(required by /srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-2023465/tmp/work/core2-32-poky-linux/rust/1.75.0/recipe-sysroot-native/usr/lib/libexpat.so.1)

I can't explain what gnupg can possibly have to do with this, I can
only suggest that the failing test needs to be reproduced locally
first on the submitter's side.

Alex
diff mbox series

Patch

diff --git a/meta/recipes-support/gnupg/gnupg_2.4.4.bb b/meta/recipes-support/gnupg/gnupg_2.4.5.bb
similarity index 97%
rename from meta/recipes-support/gnupg/gnupg_2.4.4.bb
rename to meta/recipes-support/gnupg/gnupg_2.4.5.bb
index ec75960235..97b5d8856c 100644
--- a/meta/recipes-support/gnupg/gnupg_2.4.4.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.5.bb
@@ -23,7 +23,7 @@  SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-
                                 file://relocate.patch"
 SRC_URI:append:class-nativesdk = " file://relocate.patch"
 
-SRC_URI[sha256sum] = "67ebe016ca90fa7688ce67a387ebd82c6261e95897db7b23df24ff335be85bc6"
+SRC_URI[sha256sum] = "f68f7d75d06cb1635c336d34d844af97436c3f64ea14bcb7c869782f96f44277"
 
 EXTRA_OECONF = "--disable-ldap \
 		--disable-ccid-driver \