public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] GTK+ circular dependency
@ 2016-10-12 21:50 Daniel Quinn
  2016-10-13  1:36 ` wabe
  2016-10-16 16:37 ` [gentoo-user] " Jonathan Callen
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Quinn @ 2016-10-12 21:50 UTC (permalink / raw
  To: gentoo-user

Have any of you seen this before?  This is on a fresh install.  I can't
get anything GNOME-based to install as it looks like gnome-keyring is
bringing in an older version of gtk+ which somehow depends on
gtk-engines-adwaita which in turn depends on gtk+.

Details:
* ACCEPT_KEYWORDS="~amd64"
* Profile: gnome/systemd
* No additional USE flags.



# emerge -auDN --keep-going --with-bdeps=y @world

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge       ] app-crypt/libsecret-0.18.5::gentoo  USE="crypt
introspection -debug {-test} -vala"
[nomerge       ]  gnome-base/gnome-keyring-3.20.0::gentoo  USE="caps
filecaps pam ssh-agent (-selinux) {-test}"
[nomerge       ]   app-crypt/pinentry-0.9.7-r1::gentoo 
USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static"
[nomerge       ]    x11-libs/gtk+-2.24.31-r1:2::gentoo
[3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
{-test} -xinerama" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]     x11-themes/gtk-engines-adwaita-3.20.2::gentoo 
ABI_X86="(64) -32 (-x32)" 2,812 KiB
[ebuild  NS    ]      x11-libs/gtk+-2.24.31-r1:2::gentoo
[3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
{-test} -xinerama" ABI_X86="(64) -32 (-x32)" 12,506 KiB
[ebuild  N     ]   app-crypt/gnupg-2.1.15::gentoo  USE="bzip2 gnutls nls
readline usb -doc -ldap (-selinux) -smartcard -tofu -tools" 5,590 KiB
[ebuild  N     ]    app-crypt/pinentry-0.9.7-r1::gentoo 
USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static" 423 KiB
[ebuild  N     ]  gnome-base/gnome-keyring-3.20.0::gentoo  USE="caps
filecaps pam ssh-agent (-selinux) {-test}" 1,187 KiB
[nomerge       ] sys-apps/openrc-0.22.2::gentoo  USE="ncurses netifrc
pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[ebuild   R    ]  sys-auth/pambase-20150213::gentoo  USE="cracklib
gnome-keyring* nullok sha512 systemd (-consolekit) -debug -minimal
-mktemp -pam_krb5 -pam_ssh -passwdqc -securetty (-selinux)" 4 KiB

Total: 6 packages (4 new, 1 in new slot, 1 reinstall), Size of
downloads: 22,519 KiB

 * Error: circular dependencies:

(x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
depends on
 (x11-themes/gtk-engines-adwaita-3.20.2:0/0::gentoo, ebuild scheduled
for merge) (runtime)
  (x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
(buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-12 21:50 [gentoo-user] GTK+ circular dependency Daniel Quinn
@ 2016-10-13  1:36 ` wabe
  2016-10-13 17:01   ` Daniel Quinn
  2016-10-16 16:37 ` [gentoo-user] " Jonathan Callen
  1 sibling, 1 reply; 8+ messages in thread
From: wabe @ 2016-10-13  1:36 UTC (permalink / raw
  To: gentoo-user

Daniel Quinn <gentoo@danielquinn.org> wrote:

> Have any of you seen this before?  This is on a fresh install.  I
> can't get anything GNOME-based to install as it looks like
> gnome-keyring is bringing in an older version of gtk+ which somehow
> depends on gtk-engines-adwaita which in turn depends on gtk+.
> 
> Details:
> * ACCEPT_KEYWORDS="~amd64"
> * Profile: gnome/systemd
> * No additional USE flags.
> 
> 
> 
> # emerge -auDN --keep-going --with-bdeps=y @world

Have you tried to increase the backtrack value? 

Since the update process is dead slow anyway and I really don't care about a few minutes less ore more, I always use --backtrack=999. 

--
Regards
wabe


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-13  1:36 ` wabe
@ 2016-10-13 17:01   ` Daniel Quinn
  2016-10-13 17:14     ` Neil Bothwick
  2016-10-14  8:09     ` Stroller
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Quinn @ 2016-10-13 17:01 UTC (permalink / raw
  To: gentoo-user

On 13/10/16 02:36, wabe wrote:
> Since the update process is dead slow anyway and I really don't care
about a few minutes less ore more, I always use --backtrack=999.

Unfortunately yes.  I took your advice just now and it's still
complaining about circular dependencies.  Maybe I'm missing something,
but how can gtk+ *depend* on gtk-engines-adwaita?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-13 17:01   ` Daniel Quinn
@ 2016-10-13 17:14     ` Neil Bothwick
  2016-10-13 17:17       ` Daniel Quinn
  2016-10-14  8:09     ` Stroller
  1 sibling, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2016-10-13 17:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

On Thu, 13 Oct 2016 18:01:53 +0100, Daniel Quinn wrote:

> Unfortunately yes.  I took your advice just now and it's still
> complaining about circular dependencies.  Maybe I'm missing something,
> but how can gtk+ *depend* on gtk-engines-adwaita?

Because the ebuild says so. The question you should be asking is "why",
especially as none of the other gtk+ ebuilds contain this DEPEND. And
that's a question that is probably best asked on b.g.o.


-- 
Neil Bothwick

Okay, who put a "stop payment" on my reality check?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-13 17:14     ` Neil Bothwick
@ 2016-10-13 17:17       ` Daniel Quinn
  2016-10-13 17:38         ` Neil Bothwick
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Quinn @ 2016-10-13 17:17 UTC (permalink / raw
  To: gentoo-user

> Because the ebuild says so. The question you should be asking is "why",
> especially as none of the other gtk+ ebuilds contain this DEPEND. And
> that's a question that is probably best asked on b.g.o.

Sorry, but what's "b.g.o."?  Are you saying that this might be a bug?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-13 17:17       ` Daniel Quinn
@ 2016-10-13 17:38         ` Neil Bothwick
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2016-10-13 17:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Thu, 13 Oct 2016 18:17:18 +0100, Daniel Quinn wrote:

> > Because the ebuild says so. The question you should be asking is
> > "why", especially as none of the other gtk+ ebuilds contain this
> > DEPEND. And that's a question that is probably best asked on b.g.o.  
> 
> Sorry, but what's "b.g.o."?  Are you saying that this might be a bug?

bugs.gentoo.org

A circular dependency that cannot be avoided with USE flags, and this is
not conditional dependency, sounds like it might be a bug to me.


-- 
Neil Bothwick

I am Scooby Doo of Borg- Reware roo re arimorated, Raggy!

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] GTK+ circular dependency
  2016-10-13 17:01   ` Daniel Quinn
  2016-10-13 17:14     ` Neil Bothwick
@ 2016-10-14  8:09     ` Stroller
  1 sibling, 0 replies; 8+ messages in thread
From: Stroller @ 2016-10-14  8:09 UTC (permalink / raw
  To: gentoo-user


> On 13 Oct 2016, at 18:01, Daniel Quinn <gentoo@danielquinn.org> wrote:
> 
> On 13/10/16 02:36, wabe wrote:
>> Since the update process is dead slow anyway and I really don't care
> about a few minutes less ore more, I always use --backtrack=999.
> 
> Unfortunately yes.  I took your advice just now and it's still
> complaining about circular dependencies.  Maybe I'm missing something,
> but how can gtk+ *depend* on gtk-engines-adwaita?

If you look in the ebuilds:

• gtk+-2.24.31-r1 depends upon x11-themes/gtk-engines-adwaita, [1] and
• gtk-engines-adwaita-3.20.2 depends upon >=x11-libs/gtk+-2.24.15 [2]

If you look at the packages page for x11-libs/gtk+ [3], you'll see there are some earlier versions of it in the tree that fulfils gtk-engines-adwaita's requirement, x11-libs/gtk+-2.24.28-r1 for example.

x11-libs/gtk+-2.24.28-r1 does not seem to require gtk-engines-adwaita. [4]

So you should be able to `emerge -1 =x11-libs/gtk+-2.24.28-r1` and then `emerge -1 gtk-engines-adwaita` should pull in the 3.20.2 version of it.

You can then, for good measure, update gtk+ to version 2.24.31-r1 (`emerge -1 =x11-libs/gtk+-2.24.31-r1`), I think.

Stroller.



[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/gtk+/gtk+-2.24.31-r1.ebuild
[2] https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-themes/gtk-engines-adwaita/gtk-engines-adwaita-3.20.2.ebuild
[3] https://packages.gentoo.org/packages/x11-libs/gtk+
[4] https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/gtk+/gtk+-2.24.28-r1.ebuild

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: GTK+ circular dependency
  2016-10-12 21:50 [gentoo-user] GTK+ circular dependency Daniel Quinn
  2016-10-13  1:36 ` wabe
@ 2016-10-16 16:37 ` Jonathan Callen
  1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Callen @ 2016-10-16 16:37 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 3181 bytes --]

On 10/12/2016 05:50 PM, Daniel Quinn wrote:
> Have any of you seen this before?  This is on a fresh install.  I can't
> get anything GNOME-based to install as it looks like gnome-keyring is
> bringing in an older version of gtk+ which somehow depends on
> gtk-engines-adwaita which in turn depends on gtk+.
> 
> Details:
> * ACCEPT_KEYWORDS="~amd64"
> * Profile: gnome/systemd
> * No additional USE flags.
> 
> 
> 
> # emerge -auDN --keep-going --with-bdeps=y @world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> 
> [nomerge       ] app-crypt/libsecret-0.18.5::gentoo  USE="crypt
> introspection -debug {-test} -vala"
> [nomerge       ]  gnome-base/gnome-keyring-3.20.0::gentoo  USE="caps
> filecaps pam ssh-agent (-selinux) {-test}"
> [nomerge       ]   app-crypt/pinentry-0.9.7-r1::gentoo 
> USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static"
> [nomerge       ]    x11-libs/gtk+-2.24.31-r1:2::gentoo
> [3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
> {-test} -xinerama" ABI_X86="(64) -32 (-x32)"
> [ebuild  N     ]     x11-themes/gtk-engines-adwaita-3.20.2::gentoo 
> ABI_X86="(64) -32 (-x32)" 2,812 KiB
> [ebuild  NS    ]      x11-libs/gtk+-2.24.31-r1:2::gentoo
> [3.20.9:3::gentoo] USE="introspection vim-syntax (-aqua) -cups -examples
> {-test} -xinerama" ABI_X86="(64) -32 (-x32)" 12,506 KiB
> [ebuild  N     ]   app-crypt/gnupg-2.1.15::gentoo  USE="bzip2 gnutls nls
> readline usb -doc -ldap (-selinux) -smartcard -tofu -tools" 5,590 KiB
> [ebuild  N     ]    app-crypt/pinentry-0.9.7-r1::gentoo 
> USE="gnome-keyring gtk ncurses -caps -emacs -qt4 -qt5 -static" 423 KiB
> [ebuild  N     ]  gnome-base/gnome-keyring-3.20.0::gentoo  USE="caps
> filecaps pam ssh-agent (-selinux) {-test}" 1,187 KiB
> [nomerge       ] sys-apps/openrc-0.22.2::gentoo  USE="ncurses netifrc
> pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools"
> [ebuild   R    ]  sys-auth/pambase-20150213::gentoo  USE="cracklib
> gnome-keyring* nullok sha512 systemd (-consolekit) -debug -minimal
> -mktemp -pam_krb5 -pam_ssh -passwdqc -securetty (-selinux)" 4 KiB
> 
> Total: 6 packages (4 new, 1 in new slot, 1 reinstall), Size of
> downloads: 22,519 KiB
> 
>  * Error: circular dependencies:
> 
> (x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
> depends on
>  (x11-themes/gtk-engines-adwaita-3.20.2:0/0::gentoo, ebuild scheduled
> for merge) (runtime)
>   (x11-libs/gtk+-2.24.31-r1:2/2::gentoo, ebuild scheduled for merge)
> (buildtime)
> 
>  * Note that circular dependencies can often be avoided by temporarily
>  * disabling USE flags that trigger optional dependencies.
> 
> 
> 

This is bug 597068[1].  The issue appears to have been caused by a
misunderstanding of when the package manager can and cannot solve
circular dependencies, and the fix is likely to be to move
gtk-engines-adwaita from RDEPEND to PDEPEND in gtk+:2, as
gtk-engines-adwaita has a build-time DEPEND on gtk+:2 (not just a
runtime RDEPEND).

[1] https://bugs.gentoo.org/show_bug.cgi?id=597068

-- 
Jonathan Callen


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-16 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 21:50 [gentoo-user] GTK+ circular dependency Daniel Quinn
2016-10-13  1:36 ` wabe
2016-10-13 17:01   ` Daniel Quinn
2016-10-13 17:14     ` Neil Bothwick
2016-10-13 17:17       ` Daniel Quinn
2016-10-13 17:38         ` Neil Bothwick
2016-10-14  8:09     ` Stroller
2016-10-16 16:37 ` [gentoo-user] " Jonathan Callen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox