GNU bug report logs - #75559
gnupg update to 2.4.7 causing guix build -K seahorse to fail

Previous Next

Package: guix;

Reported by: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>

Date: Tue, 14 Jan 2025 16:54:01 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

To reply to this bug, email your comments to 75559 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#75559; Package guix. (Tue, 14 Jan 2025 16:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 14 Jan 2025 16:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: bug-guix <at> gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: gnupg update to 2.4.7 causing guix build -K seahorse to fail
Date: Tue, 14 Jan 2025 17:52:46 +0100
Hello,

I believe the commit:
  64d95c78e3 2024-12-29 gnu: gnupg: Update to 2.4.7.
causes guix build --keep-failed seahorse to fail. The build log shows:

../seahorse-43.0/meson.build:52:22: ERROR: Command
`/tmp/guix-build-seahorse-43.0.drv-0/seahorse-43.0/build-aux/gpg_check_version.py
/gnu/store/bsp4vbhqpzajsdmg2k21l1lalainqasd-gnupg-2.4.7/bin/gpg 2.2.0
2.3.0` failed with status 1.

When rerun on my system, I get:
/tmp/guix-build-seahorse-43.0.drv-0/seahorse-43.0/build-aux/gpg_check_version.py
/gnu/store/bsp4vbhqpzajsdmg2k21l1lalainqasd-gnupg-2.4.7/bin/gpg 2.2.0
2.3.0
2.4.7

From casually looking at gpg_check_version.py, it appears to check
whether the available GPG version is between 2.2.0 and 2.3.0, so 2.4.7
fails that check.

Cheers
Bost




Information forwarded to bug-guix <at> gnu.org:
bug#75559; Package guix. (Tue, 14 Jan 2025 20:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 75559 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
Cc: 75559 <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re: bug#75559: gnupg update to 2.4.7 causing guix build -K seahorse
 to fail
Date: Tue, 14 Jan 2025 15:45:05 -0500
On Tue, Jan 14, 2025 at 05:52:46PM +0100, Rostislav Svoboda wrote:
> I believe the commit:
>   64d95c78e3 2024-12-29 gnu: gnupg: Update to 2.4.7.
> causes guix build --keep-failed seahorse to fail. The build log shows:

Thanks for the report!

> From casually looking at gpg_check_version.py, it appears to check
> whether the available GPG version is between 2.2.0 and 2.3.0, so 2.4.7
> fails that check.

I cloned the seahorse Git repository:

https://gitlab.gnome.org/GNOME/seahorse

Then, I grepped for the string "2.3.0". The only match is in
'meson.build'.

Guix includes seahorse version 43.0. I checked the Git log of
Seahorse's 'meson.build' since version 43.0, and found this interesting
commit:

------
$ git log 43.0..HEAD meson.build
[...]
commit 9260c74779be3d7a378db0671af862ffa3573d42
Author: Xi Ruoyao <xry111 <at> xry111.site>
Date:   Wed Dec 21 20:58:26 2022 +0800

    Allow building with GnuPG-2.4.x
------

This commit is included in Seahorse 47.0 and later versions. Hopefully
that helps!




Information forwarded to bug-guix <at> gnu.org:
bug#75559; Package guix. (Wed, 15 Jan 2025 01:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 75559 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 75559 <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re: bug#75559: gnupg update to 2.4.7 causing guix build -K seahorse
 to fail
Date: Wed, 15 Jan 2025 02:10:41 +0100
[Message part 1 (text/plain, inline)]
> This commit is included in Seahorse 47.0 and later versions. Hopefully
> that helps!

Thanks Leo. In theory, the fix should be straightforward (see
attachment). However, we need to be careful:

$ guix search ^seahorse\$ | grep synopsis
synopsis: Manage encryption keys and passwords in the GNOME keyring

Cheers,
Bost
[0001-gnu-seahorse-Update-to-47.0.1.patch (text/x-patch, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#75559; Package guix. (Wed, 15 Jan 2025 19:06:02 GMT) Full text and rfc822 format available.

Message #14 received at 75559 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
Cc: 75559 <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re: bug#75559: gnupg update to 2.4.7 causing guix build -K seahorse
 to fail
Date: Wed, 15 Jan 2025 14:05:09 -0500
On Wed, Jan 15, 2025 at 02:10:41AM +0100, Rostislav Svoboda wrote:
> Thanks Leo. In theory, the fix should be straightforward (see
> attachment). However, we need to be careful:
> 
> $ guix search ^seahorse\$ | grep synopsis
> synopsis: Manage encryption keys and passwords in the GNOME keyring

Can you check if the new version of Seahorse provided by your patch
works on your GNOME system?  Sometimes GNOME software is very tightly
coupled, sometimes it might work to update things like this.

And if it doesn't work, we can try just relaxing the version
constraints. There are no relevant code changes in Seahorse before they relaxed
the GnuPG version constraint. They simply released version 43.0,
aupdated some translations, adjusted some variable names related to SSH,
and then allowed GnuPG 2.4.*:

------
$ git log 43.0..9260c747 --oneline
9260c747 Allow building with GnuPG-2.4.x
8e43721e Update Russian translation
3c33ab1f Update Belarusian translation
6170a9bc Add Interlingue translation
d12f2330 Update Dutch translation
6d673637 ssh: avoid stdout and stderr variable names
------

There's actually very few code changes between Seahorse 43 and 47,
overall.




Information forwarded to bug-guix <at> gnu.org:
bug#75559; Package guix. (Thu, 16 Jan 2025 11:25:02 GMT) Full text and rfc822 format available.

Message #17 received at 75559 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 75559 <at> debbugs.gnu.org, ludo <at> gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: bug#75559: gnupg update to 2.4.7 causing guix build -K seahorse
 to fail
Date: Thu, 16 Jan 2025 12:24:14 +0100
> Can you check if the new version of Seahorse provided by your patch
> works on your GNOME system?

The ship has sailed:

6576487c29 2025-01-16 gnu: seahorse: Update to 47.0.1. (4 hours ago)
Liliana Marie Prikler

Please somebody close this bug.

Cheers,
Bost




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Thu, 16 Jan 2025 11:35:02 GMT) Full text and rfc822 format available.

Notification sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
bug acknowledged by developer. (Thu, 16 Jan 2025 11:35:02 GMT) Full text and rfc822 format available.

Message #22 received at 75559-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>, Leo Famulari
 <leo <at> famulari.name>
Cc: 75559-done <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re: bug#75559: gnupg update to 2.4.7 causing guix build -K seahorse
 to fail
Date: Thu, 16 Jan 2025 12:34:09 +0100
Am Donnerstag, dem 16.01.2025 um 12:24 +0100 schrieb Rostislav Svoboda:
> > Can you check if the new version of Seahorse provided by your patch
> > works on your GNOME system?
> 
> The ship has sailed:
> 
> 6576487c29 2025-01-16 gnu: seahorse: Update to 47.0.1. (4 hours ago)
> Liliana Marie Prikler
> 
> Please somebody close this bug.
Consider it done.

I independently (re)discovered this and made sure that it runs in my
current GNOME desktop :)

Cheers




This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.