Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install Ptyxis due to glib circlular dependency
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 13

PostPosted: Sun Nov 24, 2024 6:19 pm    Post subject: Can't install Ptyxis due to glib circlular dependency Reply with quote

Hello, I'm trying to install the Ptyxis terminal. The problem is that when building `sudo emerge --ask ptyxis` it gives me circular dependency error:
Code:

...
 * Error: circular dependencies:

(dev-libs/gobject-introspection-1.80.1-r2:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-libs/glib-2.80.4:2/2::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-libs/gobject-introspection-1.80.1-r2:0/0::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-libs/glib-2.80.4 (Change USE: -introspection)

Note that this change can be reverted, once the package has been installed.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

gui-libs/vte-common:2.91

...


I followed the instruction `- dev-libs/glib-2.80.4 (Change USE: -introspection)` and added `dev-libs/glib introspection` to `/etc/portage/package.use/glib` but it still gives me the same error. Did I understand this wrong?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22716

PostPosted: Sun Nov 24, 2024 6:23 pm    Post subject: Reply with quote

Yes. The error told you to disable introspection. You explicitly enabled it, which is redundant since it was already enabled. Use dev-libs/glib -introspection.
Back to top
View user's profile Send private message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 13

PostPosted: Sun Nov 24, 2024 6:33 pm    Post subject: Reply with quote

Ah... Sorry, still getting used to portage.

So here is the new error after doing that change:
Code:

...
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
  (dev-libs/gobject-introspection-1.78.1-r2-1:0/0::gentoo, installed) pulled in by
...
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


!!! The following binary packages have been ignored due to non matching USE:

    =dev-python/pillow-11.0.0-r1 -lcms -tiff -truetype -xcb
    =dev-python/pillow-11.0.0-r1 python_targets_python3_13 webp
    =dev-python/pillow-11.0.0-r1 webp

NOTE: The --binpkg-respect-use=n option will prevent emerge
      from ignoring these binary packages if possible.
      Using --binpkg-respect-use=y will silence this warning.


It wants me to solve that block but I'm afraid of something bad happening if I do `emerge --deselect dev-libs/gobject-introspection`
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22716

PostPosted: Sun Nov 24, 2024 7:28 pm    Post subject: Reply with quote

Deselecting is harmless and, given your newness, probably appropriate. A package in @world is by definition one that the user wants installed, so Portage tries to avoid removing such packages. A package not in @world, but present on the system, is understood to be incidentally installed, and could be removed if Portage determines that removal is a solution to some higher priority goal. I think it unlikely you have a non-Portage reason (such as a personal project) to keep gobject-introspection installed, so giving Portage permission to remove it should be fine. It will only be removed if Portage does not need it for any other installed goals.

Beyond that, if you need more help, please post the full output. If it is long, use app-text/wgetpaste to put it in a pastebin.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1982

PostPosted: Sun Nov 24, 2024 8:51 pm    Post subject: Reply with quote

Please note that this version of glib is masked precisely because of this. See bug 937616. There's a plan in one of the linked PRs to fix that.
Back to top
View user's profile Send private message
xanrer
n00b
n00b


Joined: 18 Nov 2024
Posts: 13

PostPosted: Sun Nov 24, 2024 8:56 pm    Post subject: Reply with quote

Thank you very much, just to make sure here is the output: https://0x0.st/X5wZ.txt
From the output I realized that glib also has the same issue... That might be a problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum