View previous topic :: View next topic |
Author |
Message |
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Tue May 28, 2024 4:48 pm Post subject: Resolving Dependency Conflicts |
|
|
Hey folks, I am trying to install www-client/chromium. Getting a dependency conflict while doing so. Here's the output of emerge: https://bpa.st/7TVQ
Now if I understand correctly, emerge is having problem because the dependency gtk+ requires me to enable wayland USE flag, but that is not the case because it is globally disabled in my make.conf: https://bpa.st/VMYQ. Is that correct?
So I used euse to enable the wayland flag for gtk+ but I get a message that says: WARNING: USE flag "wayland" is not used by x11-libs/gtk+. And the problem still remains. What am I not understanding right here? _________________ Regards,
ultimeight. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Tue May 28, 2024 6:00 pm Post subject: |
|
|
You need to set USE=wayland the same on both gtk+:3 and appmenu-gtk-module. You need USE=+wayland on gtk+:3 if you USE=+wayland on chromium. |
|
Back to top |
|
|
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Tue May 28, 2024 10:35 pm Post subject: |
|
|
Hu wrote: | You need to set USE=wayland the same on both gtk+:3 and appmenu-gtk-module. You need USE=+wayland on gtk+:3 if you USE=+wayland on chromium. |
Hello @Hu, I enabled wayland on both dependencies, but still getting the same error, it is also enabled on chromium. Thanks for the reply _________________ Regards,
ultimeight. |
|
Back to top |
|
|
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Tue May 28, 2024 11:55 pm Post subject: |
|
|
Disabling the screencast USE flag on www-client/chromium solves the conflict. I never really use screen cast anyway, so that's one thing. However, I still don't understand the root cause. Enabling wayland USE flag on gtk+, chromium and appmenu-gtk-module did not solve the conflict. I ran the following commands to do so:
doas euse -E wayland -p www-client/chromium
doas euse -E wayland -p x11-libs/gtk+
doas euse -E wayland -p x11-misc/appmenu-gtk-module _________________ Regards,
ultimeight. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1910
|
Posted: Wed May 29, 2024 12:34 am Post subject: |
|
|
To determine why, please show the output of: grep -rv \# /etc/portage/package.use |
|
Back to top |
|
|
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Wed May 29, 2024 2:17 pm Post subject: |
|
|
grknight wrote: | To determine why, please show the output of: grep -rv \# /etc/portage/package.use |
Output: https://bpa.st/JTGQ _________________ Regards,
ultimeight. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Wed May 29, 2024 3:22 pm Post subject: |
|
|
That output seems like the error should not still happen. What command did you use? You need to let Portage rebuild all the affected components in order for the changes to apply. I would expect emerge --oneshot --ask --verbose x11-libs/gtk+:3 x11-misc/appmenu-gtk-module to be necessary before your system is in the state you requested. |
|
Back to top |
|
|
|