GNU bug report logs - #36109
GNU Privacy Assistant

Previous Next

Package: guix;

Reported by: Raghav Gururajan <rvgn <at> disroot.org>

Date: Wed, 5 Jun 2019 22:19:02 UTC

Severity: serious

Done: Marius Bakke <mbakke <at> fastmail.com>

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 36109 in the body.
You can then email your comments to 36109 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 bug-guix <at> gnu.org:
bug#36109; Package guix. (Wed, 05 Jun 2019 22:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raghav Gururajan <rvgn <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 05 Jun 2019 22:19:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: GNU Privacy Assistant
Date: Wed, 05 Jun 2019 18:18:08 -0400
Hello Guix!

GPA gives out the following errors upon opening the app.

**START**

First:

The GPGME library returned an unexpected
error at confdialog.c:1459. The error was:

Unsupported protocol

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.
 
Second:

Fatal Error in GPGME library
(invoked from file options.c, line 302):

Unsupported protocol

The application will be terminated.

**END**

It appears that GPA will be non-usable until the bug is fixed. ☹

Regards,
RG.




Severity set to 'serious' from 'normal' Request was from Raghav Gururajan <rvgn <at> disroot.org> to control <at> debbugs.gnu.org. (Tue, 02 Jul 2019 18:45:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Wed, 10 Jul 2019 08:10:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Wed, 10 Jul 2019 11:09:19 +0300
[Message part 1 (text/plain, inline)]
I've bumped the version to 0.10.0. Can you give it a try and see if
it's still a problem?

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Wed, 10 Jul 2019 17:50:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Wed, 10 Jul 2019 13:49:44 -0400
> 	Error verifying signature: Failed to execute gpg.
> I've bumped the version to 0.10.0. Can you give it a try and see if
> it's still a problem?

Thanks for updating. Unfortunately, it is showing the same errors. 😕

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Thu, 18 Jul 2019 03:15:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Wed, 17 Jul 2019 23:14:07 -0400
Apart from the errors showed on the GUI, running gpa via terminal shows
following additional error messages:

** Message: 23:11:17.193: tool to start the agent is not available
** Message: 23:11:20.515: error connecting an UI server: Invalid value
passed to IPC - assuming not running

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Thu, 18 Jul 2019 08:44:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Thu, 18 Jul 2019 11:43:30 +0300
[Message part 1 (text/plain, inline)]
On Wed, Jul 17, 2019 at 11:14:07PM -0400, Raghav Gururajan wrote:
> Apart from the errors showed on the GUI, running gpa via terminal shows
> following additional error messages:
> 
> ** Message: 23:11:17.193: tool to start the agent is not available
> ** Message: 23:11:20.515: error connecting an UI server: Invalid value
> passed to IPC - assuming not running
> 
I tried running: './pre-inst-env guix environment --pure --ad-hoc gpa -- gpa'

console message of:
** Message: 11:38:44.814: tool to start the agent is not available

pop-up message of:
The GPGME library returned an unexpected
error at confdialog.c:1472. The error was:

Unsupported protocol

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.

This was followed by another message:
Fatal Error in GPGME library
(invoked from file options.c, line 302):

Unsupported protocol

The application will be terminated

and from the console:
** Message: 11:40:37.432: error connecting an UI server: Invalid value passed to IPC - assuming not running

and then it exited on me.

so it looks like it might be missing something, but if GPA or GMGME is
missing something remains to be seen.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Thu, 18 Jul 2019 09:52:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Thu, 18 Jul 2019 12:51:28 +0300
[Message part 1 (text/plain, inline)]
On Thu, Jul 18, 2019 at 11:43:30AM +0300, Efraim Flashner wrote:
> On Wed, Jul 17, 2019 at 11:14:07PM -0400, Raghav Gururajan wrote:
> > Apart from the errors showed on the GUI, running gpa via terminal shows
> > following additional error messages:
> > 
> > ** Message: 23:11:17.193: tool to start the agent is not available
> > ** Message: 23:11:20.515: error connecting an UI server: Invalid value
> > passed to IPC - assuming not running
> > 
> I tried running: './pre-inst-env guix environment --pure --ad-hoc gpa -- gpa'
> 
> console message of:
> ** Message: 11:38:44.814: tool to start the agent is not available
> 
> pop-up message of:
> The GPGME library returned an unexpected
> error at confdialog.c:1472. The error was:
> 
> Unsupported protocol
> 
> This is either an installation problem or a bug in GPA.
> GPA will now try to recover from this error.
> 
> This was followed by another message:
> Fatal Error in GPGME library
> (invoked from file options.c, line 302):
> 
> Unsupported protocol
> 
> The application will be terminated
> 
> and from the console:
> ** Message: 11:40:37.432: error connecting an UI server: Invalid value passed to IPC - assuming not running
> 
> and then it exited on me.
> 
> so it looks like it might be missing something, but if GPA or GMGME is
> missing something remains to be seen.
> 

The two lines referenced above reference gpgme, and
'guix gc -R $(guix build gpa) | grep gpgme' does show that gpa does
reference gpgme. However, 'guix gc -R $(guix build gpa) | grep gnupg'
doesn't show anything, so it seems that this might be where the problem
is.
'./pre-inst-env guix environment --pure --ad-hoc gnupg gpa -- gpa' does
allow gpa to start without any errors.


While persuing this bug I noticed that gpa looks for gpg2keys_ldap,
which may have been depreciated in favor of dirmngr_ldap. I don't
(knowingly) fetch keys over ldap so I don't know if the fix I made
actually does anything. With it 'guix gc -R ...' does reference gnupg,
but it doesn't on its own cause the program to suddenly work without
having gnupg explicitly installed.

It seems that many distros separate the dirmngr binary which is required
for GPA to work from the gnupg binary, but if that's the case then it
should still find dirmngr with my patch and work for some things


On the other hand 'guix gc -R $(guix build gpgme) | grep gnupg' doesn't
yield any results, so there could be a problem there too.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Thu, 18 Jul 2019 22:19:01 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Thu, 18 Jul 2019 17:39:45 -0400
Efraim. thank you for working on this. I will guix pull and update gpa
to check whether your recent patch works.

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36109; Package guix. (Fri, 19 Jul 2019 03:48:03 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 36109 <at> debbugs.gnu.org
Subject: Re: bug#36109: GNU Privacy Assistant
Date: Thu, 18 Jul 2019 23:47:34 -0400
I tried and checked after updating gpa. I get the same errors.




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Thu, 19 Mar 2020 09:52:02 GMT) Full text and rfc822 format available.

Notification sent to Raghav Gururajan <rvgn <at> disroot.org>:
bug acknowledged by developer. (Thu, 19 Mar 2020 09:52:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brice Waegeneire <brice <at> waegenei.re>, 40129-done <at> debbugs.gnu.org
Cc: 36109-done <at> debbugs.gnu.org
Subject: Re: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program.
Date: Thu, 19 Mar 2020 10:51:05 +0100
[Message part 1 (text/plain, inline)]
Brice Waegeneire <brice <at> waegenei.re> writes:

> Fixes <https://bugs.gnu.org/36109>
>
> * gnu/packages/gnupg.scm (gpa)[arguments]: Add phase wrap-program.

Applied, thanks!

[...]

> +         (add-after 'install 'wrap-program
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out"))
> +                   (gnupg (assoc-ref inputs "gnupg")))
> +               (wrap-program (string-append out "/bin/gpa")
> +                 `("PATH" ":" prefix (,(string-append gnupg "/bin")))
> +                 )))))))

I ended this phase on a #t and fixed the lonely parens as reported by
'guix lint gpa'.
[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. (Thu, 16 Apr 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 346 days ago.

Previous Next


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