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 |
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.
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] > -=-=-=-=-=-=-=-=-=-=-=- >
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)
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] > -=-=-=-=-=-=-=-=-=-=-=- >
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 --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 \