Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resolving Dependency Conflicts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 60

PostPosted: Tue May 28, 2024 4:48 pm    Post subject: Resolving Dependency Conflicts Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22649

PostPosted: Tue May 28, 2024 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 60

PostPosted: Tue May 28, 2024 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 60

PostPosted: Tue May 28, 2024 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1918

PostPosted: Wed May 29, 2024 12:34 am    Post subject: Reply with quote

To determine why, please show the output of: grep -rv \# /etc/portage/package.use
Back to top
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 60

PostPosted: Wed May 29, 2024 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22649

PostPosted: Wed May 29, 2024 3:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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