emacs-shroud propagates the wrong gnupg

  • Open
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Maxime Devos
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal
E
E
Efraim Flashner wrote on 11 Jan 2022 14:46
(address . bug-guix@gnu.org)
Yd2KIVU62SXajbuw@3900XT
--
Efraim Flashner <efraim@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
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHdiiEACgkQQarn3Mo9
g1HNKw/9E+YzxmHgCpy4e8zCGnGFNZTWYj70Rq0T/CCPCogiobKU1lrQs67/RNGT
+v/uJc2KgqJ4xBnMk/ojp3p24BfFVZ1xV4I/oDyzQaSCqSelCkHGIhXXvW4MTarT
KJ7iZt7T9+Lq92YxO/sfh7VNGhJubGmpg5CD+6pvoQ9szfnvokirR9Qaii4TpFem
IOzGO0wLdClmUJ7U0ssf73Ts61f75VPTMlyQfoGyfeqSHfTb1agT+i4mXltFm2yu
2gQqnNxg8Zqo6lyQoLlIAFo6ZaIpUWKcvu3Xfu6wRV/at3hrS72+M2AteV+qGalA
Ig9kSkexAkOoO5HwnJhA1OmLXW5gL0UQqb/CgwMcGH39ohQd61lLXPIFMIG2z+Fb
TEO6+sqDHFRAbc7HGad0B6WMR+xA/A480P/BsbawHQzbv1oeYNP0Ow7eYou+/Rdq
eloSXG66vA69Oz6xqZRkZNkL/E2F7EsjnjLIybjvxZsWRJ8AXm4l4ptPA34pNMK1
Fkly5ot1oZO3ZUIF57uRwivoWVWNRtoQkNa17eLeqMqHdJHF/Md++GOIxhCIjFf5
gBf1x1UJASdFymsZeVAMzj/frV0jFuU8S5wGZOTxwj1eI0WVSiV6SJNLOrABvVMn
u75MytAlClioDrn5TmTzfmQ/XAhiB1q/clKhexpu4AbV/byKB/Q=
=PnsY
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 11 Jan 2022 16:15
52689d4966f75c2026192f459de566f5cb54526e.camel@telenet.be
Efraim Flashner schreef op di 11-01-2022 om 15:46 [+0200]:
Toggle quote (20 lines)
> guix package: error:   first entry:
> gnupg@2.2.30 /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
> guix package: error:    ... propagated from emacs-shroud@1.105
> guix package: error:   second entry:
> gnupg@2.2.32 /gnu/store/75122spwjdkxxgd32gkkil3n7ifax8i5-gnupg-2.2.32
> guix package: error:    ... propagated from
> emacs-pinentry@0.1-1.dcc9ba0
> hint: Try upgrading both `emacs-shroud' and `emacs-pinentry', or
> remove one of them from the profile.
> ```
>
> Note, that while the above error message is complaining about
> emacs-pinentry, it still barfs even if I remove emacs-pinentry and
> just
> install gnupg directly since the current gnupg is 2.2.32.
>
> Can whoever is maintaining the emacs-shroud package please update it
> to
> gnupg@2.2.32, so it can be installed again?

Instead of working around the limitations of propagation, why not
unpropagate?

I took a look at emacs-shroud's source code, and I don't see it calling
gnupg anywhere, so maybe propagating gnupg from emacs-shroud isn't
necessary? The dependency 'shroud' hardcodes the GPG binary location,
so I don't see why 'gpg' was included in 'propagated-inputs'.

I made the following change in emacs-shroud

(propagated-inputs
(list emacs-bui
emacs-dash
emacs-f
emacs-s
#;gnupg ;; <--- changed line
shroud)),


ran "./pre-inst-env guix shell --pure emacs shroud emacs-shroud -- emacs"
and evaluated the following S-exps:
(require 'shroud) ;; why is this required? e.g. emacs-magit
(shroud--init) ;; require things like this.

Then did "M-x shroud-bui" but nothing happened (a bug?),
so I couldn't test the change.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYd2fHxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sZrAQCkFSI608VJaqkd7nxSdzRTBGgG
LKnznTRqslqXQmwYsAD/cOLXzFqfPnX5D60SGwDEVUZx8H6LzLZR9zYwx5BW6gM=
=DTWZ
-----END PGP SIGNATURE-----


?