View previous topic :: View next topic |
Author |
Message |
xanrer n00b
Joined: 18 Nov 2024 Posts: 13
|
Posted: Sun Nov 24, 2024 6:19 pm Post subject: Can't install Ptyxis due to glib circlular dependency |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22717
|
Posted: Sun Nov 24, 2024 6:23 pm Post subject: |
|
|
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 |
|
|
xanrer n00b
Joined: 18 Nov 2024 Posts: 13
|
Posted: Sun Nov 24, 2024 6:33 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22717
|
Posted: Sun Nov 24, 2024 7:28 pm Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1982
|
Posted: Sun Nov 24, 2024 8:51 pm Post subject: |
|
|
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 |
|
|
xanrer n00b
Joined: 18 Nov 2024 Posts: 13
|
Posted: Sun Nov 24, 2024 8:56 pm Post subject: |
|
|
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 |
|
|
|