Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762799 - app-crypt/gcr: dependency loop with gnupg and pinentry
Summary: app-crypt/gcr: dependency loop with gnupg and pinentry
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-31 15:06 UTC by David Michael
Modified: 2021-01-08 16:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2020-12-31 15:06:14 UTC
There is a dependency loop gcr -> gnupg -> pinentry[gnome-keyring] -> gcr:

 * Error: circular dependencies:

(app-crypt/gnupg-2.2.20-r2:0/0::gentoo, ebuild scheduled for merge to '/usr/armv7a-gentoo-linux-gnueabihf/') depends on
 (app-crypt/pinentry-1.1.0-r3:0/0::gentoo, ebuild scheduled for merge to '/usr/armv7a-gentoo-linux-gnueabihf/') (runtime)
  (app-crypt/gcr-3.36.0:0/1::gentoo, ebuild scheduled for merge to '/usr/armv7a-gentoo-linux-gnueabihf/') (runtime)
   (app-crypt/gnupg-2.2.20-r2:0/0::gentoo, ebuild scheduled for merge to '/usr/armv7a-gentoo-linux-gnueabihf/') (runtime)

They all RDEPEND on each other.  Can one of them switch to PDEPEND?

I submitted this against gcr since it is carrying a patch to break this loop:
https://github.com/gentoo/gentoo/blob/master/app-crypt/gcr/files/3.36.0-avoid-gnupg-circular-dep.patch
Comment 1 Larry the Git Cow gentoo-dev 2021-01-08 16:24:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4e3d89728cc93439b3c72872779f9a88a661bb

commit 1e4e3d89728cc93439b3c72872779f9a88a661bb
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-01-08 04:20:12 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-01-08 16:23:53 +0000

    app-crypt/gcr: Version bump to 3.38.0
    
    Closes: https://bugs.gentoo.org/751346
    Closes: https://bugs.gentoo.org/762799
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-crypt/gcr/Manifest                             |  1 +
 .../files/3.38.0-avoid-gnupg-circular-dep.patch    | 52 +++++++++++++
 app-crypt/gcr/files/3.38.0-optional-vapi.patch     | 88 ++++++++++++++++++++++
 app-crypt/gcr/gcr-3.38.0.ebuild                    | 84 +++++++++++++++++++++
 4 files changed, 225 insertions(+)