Gentoo Archives: gentoo-user

From: Jonathan Callen <jcallen@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: GTK+ circular dependency
Date: Sun, 16 Oct 2016 16:38:04
Message-Id: 16713b2a-c5d9-88b3-bea3-41ec4e9aa098@gentoo.org
In Reply to: [gentoo-user] GTK+ circular dependency by Daniel Quinn
1 On 10/12/2016 05:50 PM, Daniel Quinn wrote:
2 > Have any of you seen this before? This is on a fresh install. I can't
3 > get anything GNOME-based to install as it looks like gnome-keyring is
4 > bringing in an older version of gtk+ which somehow depends on
5 > gtk-engines-adwaita which in turn depends on gtk+.
6 >
7 > Details:
8 > * ACCEPT_KEYWORDS="~amd64"
9 > * Profile: gnome/systemd
10 > * No additional USE flags.
11 >
12 >
13 >
14 > # emerge -auDN --keep-going --with-bdeps=y @world
15 >
16 > These are the packages that would be merged, in order:
17 >
18 > Calculating dependencies... done!
19 >
20 >
21 > [nomerge ] app-crypt/libsecret-0.18.5::gentoo USE="crypt
22 > introspection -debug {-test} -vala"
23 > [nomerge ] gnome-base/gnome-keyring-3.20.0::gentoo USE="caps
24 > filecaps pam ssh-agent (-selinux) {-test}"
25 > [nomerge ] app-crypt/pinentry-0.9.7-r1::gentoo
26 > USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static"
27 > [nomerge ] x11-libs/gtk+-2.24.31-r1:2::gentoo
28 > [3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
29 > {-test} -xinerama" ABI_X86="(64) -32 (-x32)"
30 > [ebuild N ] x11-themes/gtk-engines-adwaita-3.20.2::gentoo
31 > ABI_X86="(64) -32 (-x32)" 2,812 KiB
32 > [ebuild NS ] x11-libs/gtk+-2.24.31-r1:2::gentoo
33 > [3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
34 > {-test} -xinerama" ABI_X86="(64) -32 (-x32)" 12,506 KiB
35 > [ebuild N ] app-crypt/gnupg-2.1.15::gentoo USE="bzip2 gnutls nls
36 > readline usb -doc -ldap (-selinux) -smartcard -tofu -tools" 5,590 KiB
37 > [ebuild N ] app-crypt/pinentry-0.9.7-r1::gentoo
38 > USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static" 423 KiB
39 > [ebuild N ] gnome-base/gnome-keyring-3.20.0::gentoo USE="caps
40 > filecaps pam ssh-agent (-selinux) {-test}" 1,187 KiB
41 > [nomerge ] sys-apps/openrc-0.22.2::gentoo USE="ncurses netifrc
42 > pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools"
43 > [ebuild R ] sys-auth/pambase-20150213::gentoo USE="cracklib
44 > gnome-keyring* nullok sha512 systemd (-consolekit) -debug -minimal
45 > -mktemp -pam_krb5 -pam_ssh -passwdqc -securetty (-selinux)" 4 KiB
46 >
47 > Total: 6 packages (4 new, 1 in new slot, 1 reinstall), Size of
48 > downloads: 22,519 KiB
49 >
50 > * Error: circular dependencies:
51 >
52 > (x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
53 > depends on
54 > (x11-themes/gtk-engines-adwaita-3.20.2:0/0::gentoo, ebuild scheduled
55 > for merge) (runtime)
56 > (x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
57 > (buildtime)
58 >
59 > * Note that circular dependencies can often be avoided by temporarily
60 > * disabling USE flags that trigger optional dependencies.
61 >
62 >
63 >
64
65 This is bug 597068[1]. The issue appears to have been caused by a
66 misunderstanding of when the package manager can and cannot solve
67 circular dependencies, and the fix is likely to be to move
68 gtk-engines-adwaita from RDEPEND to PDEPEND in gtk+:2, as
69 gtk-engines-adwaita has a build-time DEPEND on gtk+:2 (not just a
70 runtime RDEPEND).
71
72 [1] https://bugs.gentoo.org/show_bug.cgi?id=597068
73
74 --
75 Jonathan Callen

Attachments

File name MIME type
signature.asc application/pgp-signature