GNU bug report logs - #29781
GnuPG 2.0 end-of-life

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Wed, 20 Dec 2017 08:31:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29781 in the body.
You can then email your comments to 29781 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 08:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 20 Dec 2017 08:31:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: guix-patches <at> gnu.org
Subject: GnuPG 2.0 end-of-life
Date: Wed, 20 Dec 2017 03:30:24 -0500
[Message part 1 (text/plain, inline)]
The 2.0 series of GnuPG will stop receiving upstream support at the the
end of the year:

"GnuPG 2.0 is an older branch of GnuPG. This branch will reach end-of-life on
2017-12-31." [0]

These patches adjust the two packages that use gnupg-2.0 to prepare for removing
or deprecating that package.

[0] https://gnupg.org/download/index.html
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 08:33:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: 29781 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: gpgme: Build with the latest GnuPG.
Date: Wed, 20 Dec 2017 03:32:33 -0500
* gnu/packages/gnupg.scm (gpgme)[inputs]: Use the latest gnupg and make
it a native-input.
---
 gnu/packages/gnupg.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 336cd8f74..b485ac9af 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -380,12 +380,13 @@ libskba (working with X.509 certificates and CMS data).")
        (base32
         "1ssc0gs02r4fasabk7c6v6r865k2j02mpb5g1vkpbmzsigdzwa8v"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("gnupg" ,gnupg)))
     (propagated-inputs
      ;; Needs to be propagated because gpgme.h includes gpg-error.h.
      `(("libgpg-error" ,libgpg-error)))
     (inputs
-     `(("gnupg" ,gnupg-2.0)
-       ("libassuan" ,libassuan)))
+     `(("libassuan" ,libassuan)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-- 
2.15.1





Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 08:33:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: 29781 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: python-pygpgme: Use GnuPG 1 for the test suite.
Date: Wed, 20 Dec 2017 03:32:34 -0500
* gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme)[inputs]: Use gnupg-1
and make it a native-input.
---
 gnu/packages/gnupg.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index b485ac9af..c0142fa9f 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -492,9 +492,10 @@ distributed separately.")
            (lambda _
              (zero? (system* "make" "check")))))))
     (build-system python-build-system)
+    (native-inputs
+     `(("gnupg" ,gnupg-1)))
     (inputs
-     `(("gnupg" ,gnupg-2.0)
-       ("gpgme" ,gpgme)))
+     `(("gpgme" ,gpgme)))
     (home-page "https://launchpad.net/pygpgme")
     (synopsis "Python module for working with OpenPGP messages")
     (description
-- 
2.15.1





Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 13:29:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: 29781 <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 1/2] gnu: gpgme: Build with the latest GnuPG.
Date: Wed, 20 Dec 2017 14:28:01 +0100
Leo Famulari <leo <at> famulari.name> skribis:

> * gnu/packages/gnupg.scm (gpgme)[inputs]: Use the latest gnupg and make
> it a native-input.

I’m surprised gpgme doesn’t retain a reference to gpg.

Apparently, ‘dirinfo.gpg_name’ in src/dirinfo.c contains the file name
of the ‘gpg’ executable.

I can’t find what its default value is, but I think we should be
recording the absolute file name of ‘gpg’ as the default value.

Thoughts?

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 13:30:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: 29781 <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 2/2] gnu: python-pygpgme: Use GnuPG 1 for the
 test suite.
Date: Wed, 20 Dec 2017 14:29:02 +0100
Leo Famulari <leo <at> famulari.name> skribis:

> * gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme)[inputs]: Use gnupg-1
> and make it a native-input.

LGTM!

BTW, gpgme itself provides Python bindings, which are recommended, I
think.  Should we build them?

Ludo’.




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Wed, 20 Dec 2017 20:16:07 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Wed, 20 Dec 2017 20:16:08 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29781-done <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 2/2] gnu: python-pygpgme: Use GnuPG 1 for the
 test suite.
Date: Wed, 20 Dec 2017 15:15:39 -0500
[Message part 1 (text/plain, inline)]
On Wed, Dec 20, 2017 at 02:29:02PM +0100, Ludovic Courtès wrote:
> Leo Famulari <leo <at> famulari.name> skribis:
> 
> > * gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme)[inputs]: Use gnupg-1
> > and make it a native-input.
> 
> LGTM!
> 
> BTW, gpgme itself provides Python bindings, which are recommended, I
> think.  Should we build them?

We package them as python-gpg.

However, this PyPi-based package seems to be abandoned by the GPGME
maintainers. At least, it doesn't get updated regularly.

I've been trying to build the bindings as part of the GPGME build, so
that we can get the latest version, but I haven't had time to finish the
work yet.

Once we are able to build the bindings from the latest GPGME, we will be
able to drop the pygpgme package and just use the GPGME bindings for
the package 'alot', which is the only user of pygpgme.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 21:44:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29781-done <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 1/2] gnu: gpgme: Build with the latest GnuPG.
Date: Wed, 20 Dec 2017 16:43:13 -0500
[Message part 1 (text/plain, inline)]
On Wed, Dec 20, 2017 at 02:28:01PM +0100, Ludovic Courtès wrote:
> Leo Famulari <leo <at> famulari.name> skribis:
> 
> > * gnu/packages/gnupg.scm (gpgme)[inputs]: Use the latest gnupg and make
> > it a native-input.
> 
> I’m surprised gpgme doesn’t retain a reference to gpg.
> 
> Apparently, ‘dirinfo.gpg_name’ in src/dirinfo.c contains the file name
> of the ‘gpg’ executable.
> 
> I can’t find what its default value is, but I think we should be
> recording the absolute file name of ‘gpg’ as the default value.
> 
> Thoughts?

Good point. I pushed 0e06bec250f which uses the latest GnuPG package and
makes GPGME use that particular GnuPG.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 20 Dec 2017 22:27:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: 29781-done <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 2/2] gnu: python-pygpgme: Use GnuPG 1 for the
 test suite.
Date: Wed, 20 Dec 2017 23:26:01 +0100
Leo Famulari <leo <at> famulari.name> skribis:

> On Wed, Dec 20, 2017 at 02:29:02PM +0100, Ludovic Courtès wrote:
>> Leo Famulari <leo <at> famulari.name> skribis:
>> 
>> > * gnu/packages/gnupg.scm (python-pygpgme, python2-pygpgme)[inputs]: Use gnupg-1
>> > and make it a native-input.
>> 
>> LGTM!
>> 
>> BTW, gpgme itself provides Python bindings, which are recommended, I
>> think.  Should we build them?
>
> We package them as python-gpg.
>
> However, this PyPi-based package seems to be abandoned by the GPGME
> maintainers. At least, it doesn't get updated regularly.
>
> I've been trying to build the bindings as part of the GPGME build, so
> that we can get the latest version, but I haven't had time to finish the
> work yet.
>
> Once we are able to build the bindings from the latest GPGME, we will be
> able to drop the pygpgme package and just use the GPGME bindings for
> the package 'alot', which is the only user of pygpgme.

OK, sounds good.  Thanks for explaining!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#29781; Package guix-patches. (Wed, 27 Dec 2017 05:05:03 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
Cc: 29781-done <at> debbugs.gnu.org
Subject: Re: [bug#29781] [PATCH 1/2] gnu: gpgme: Build with the latest GnuPG.
Date: Wed, 27 Dec 2017 00:04:32 -0500
[Message part 1 (text/plain, inline)]
On Wed, Dec 20, 2017 at 04:43:13PM -0500, Leo Famulari wrote:
> On Wed, Dec 20, 2017 at 02:28:01PM +0100, Ludovic Courtès wrote:
> > Leo Famulari <leo <at> famulari.name> skribis:
> > 
> > > * gnu/packages/gnupg.scm (gpgme)[inputs]: Use the latest gnupg and make
> > > it a native-input.
> > 
> > I’m surprised gpgme doesn’t retain a reference to gpg.
> > 
> > Apparently, ‘dirinfo.gpg_name’ in src/dirinfo.c contains the file name
> > of the ‘gpg’ executable.
> > 
> > I can’t find what its default value is, but I think we should be
> > recording the absolute file name of ‘gpg’ as the default value.
> > 
> > Thoughts?
> 
> Good point. I pushed 0e06bec250f which uses the latest GnuPG package and
> makes GPGME use that particular GnuPG.

Due to breakage of python-pygpgme, which does not support GnuPG > 2.0, I
reverted the part of that commit which binds GPGME with the GnuPG used
during building in commit b3ecb3fe8d4:

https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00371.html

I think this is okay. I use GPGME heavily for Mutt's PGP integration,
and it works fine for GPGME to find GnuPG in the environment.

Maybe once we are building the latest version of GPGME's Python bindings
we can undo the reversion.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 151 days ago.

Previous Next


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