Skip to contentSkip to conversation

gnupg: upgrade 2.4.4 -> 2.4.5

PATCH In review Guðni Már Gilbert 3 participants 7 messages Jan 31, 2025 – Feb 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnupg: upgrade 2.4.4 -> 2.4.5

From: Wang Mingyu <[email protected]>

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.

---
 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%)
meta/recipes-support/gnupg/gnupg_2.4.5.bb renamed from meta/recipes-support/gnupg/gnupg_2.4.4.bb +1 -1
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
@@ -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 \
Signature · 1 line
2.43.0
#1 lore raw

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.

#2 lore raw

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

Quoted 22 lines · Guðni Már Gilbert via lists.openembedded.org

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

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)

#4 lore raw
Quoted 2 lines · Guðni Már Gilbert via lists.openembedded.org

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

Quoted 13 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 7 lines · Steve Sakoman

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

#6 lore raw
In reply to Steve Sakoman
Quoted 7 lines · Steve Sakoman
Quoted 2 lines · Guðni Már Gilbert via lists.openembedded.org

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.

Quoted 7 lines

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!

After taking a number of rust fixes I retried this patch and the problem no longer occurs.

So I've included this patch in the set currently out for review.

Steve

Quoted 11 lines
Quoted 11 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-