View previous topic :: View next topic |
Author |
Message |
luz n00b
Joined: 17 Jul 2018 Posts: 5
|
Posted: Sat Aug 04, 2018 5:52 pm Post subject: gles2 & opengl |
|
|
Hi everyone,
I can't emerge @world, I've been trying for days, some packages want USE=gles2 and others want USE=opengl, some say exactly-one-of (gles2 opengl) so I can't make them all agree. I've tried changing USE flags and emerging individual packages so they don't conflict, but I've had no success. Any help would be greatly appreciated, the only thing left for me is reinstalling; if someone can help me avoid that, she/he will be a lifesaver. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Aug 04, 2018 6:01 pm Post subject: |
|
|
my advice would be to start off with system
emerge @system -uvDa . Get the main profile all up to date. Then the specifics of the clashes of USE flags... do per-package USE flag configuration.
/etc/portage/package/use/* will allow you to manage specific package needs on a case by case basis.
do an emerge @system then paste the output of emerge @world _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
|
Back to top |
|
|
luz n00b
Joined: 17 Jul 2018 Posts: 5
|
Posted: Sat Aug 04, 2018 7:34 pm Post subject: |
|
|
Many thanks for the suggestions. I'll try all of that and get back to you if I have any further problems. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21674
|
Posted: Sat Aug 04, 2018 8:19 pm Post subject: |
|
|
If you still have problems, post specific output of the commands you ran, how they failed, and how you have currently configured those packages. Do not summarize or paraphrase. |
|
Back to top |
|
|
luz n00b
Joined: 17 Jul 2018 Posts: 5
|
Posted: Mon Aug 06, 2018 6:16 pm Post subject: |
|
|
Please help *-* Output below:
Code: | emerge --update --newuse --deep --with-bdeps=y @world
------
Calculating dependencies... done!
[ebuild U ] app-admin/sudo-9999::gentoo [1.8.23-r1::gentoo] USE="ldap nls pam sendmail -gcrypt -offensive -openssl -sasl (-selinux) -skey" 0 KiB
[ebuild N ] dev-vcs/mercurial-9999::gentoo USE="-bugzilla -emacs -gpg -test -tk -zsh-completion" PYTHON_TARGETS="python2_7" 0 KiB
Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 KiB
* Error: circular dependencies:
(dev-vcs/mercurial-9999:0/0::gentoo, ebuild scheduled for merge) depends on
(dev-vcs/mercurial-9999:0/0::gentoo, ebuild scheduled for merge) (buildtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-lang/perl:0
(dev-lang/perl-5.28.9999:0/5.28::gentoo, ebuild scheduled for merge) pulled in by
=dev-lang/perl-5.28* required by (virtual/perl-Compress-Raw-Bzip2-2.74.0-r1:0/0::gentoo, installed)
^ ^^^^^
(and 12 more with the same problem)
(dev-lang/perl-5.26.9999:0/5.26::gentoo, ebuild scheduled for merge) pulled in by
=dev-lang/perl-5.26* required by (virtual/perl-Test-Harness-3.380.0:0/0::gentoo, installed)
^ ^^^^^
dev-lang/perl:0/5.26= required by (dev-perl/X11-Protocol-0.560.0-r2:0/0::gentoo, installed)
^^^^^^^^
(and 116 more with the same problems)
x11-libs/gtk+:3
(x11-libs/gtk+-3.22.30:3/3::gentoo, ebuild scheduled for merge) pulled in by
>=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs/clutter-gtk-1.8.4:1.0/1.0::gentoo, ebuild scheduled for merge)
^^^^^^^^
(x11-libs/gtk+-3.22.30:3/3::gentoo, installed) pulled in by
>=x11-libs/gtk+-3.22.0:3[X,wayland?] required by (gnome-base/gnome-control-center-3.24.4:2/2::gentoo, installed)
^^^^^^^^
sys-apps/dbus:0
(sys-apps/dbus-1.12.8:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/dbus-1.6:=[user-session=] required by (net-wireless/bluez-5.50:0/3::gentoo, ebuild scheduled for merge)
^^^^^^^^^^^^^
(sys-apps/dbus-1.12.8:0/0::gentoo, installed) pulled in by
sys-apps/dbus[user-session] required by (kde-plasma/plasma-workspace-5.13.3:5/5::gentoo, installed)
^^^^^^^^^^^^
NOTE: Use the '--verbose-conflicts' option to display parents omitted above
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook. |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30940 Location: here
|
Posted: Mon Aug 06, 2018 6:52 pm Post subject: |
|
|
You can post also emerge --info?
It's a your choice to install 9999 package?
You can post output with also -t option (emerge -uNDtp --with-bdeps=y @world)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Tue Aug 07, 2018 7:57 am Post subject: |
|
|
Just a note: OpenGL is for Desktop systems (and laptops/notebooks of course) while GL ES is for [e]mbedded [s]ystems like mobile phones. You really only need one. And unless you are installing for a phone or tablet, you do not need USE="gles2" anywhere.
(And no, egl does not need gles2 any more. egl simply replaces glx.) _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Wed Aug 08, 2018 9:34 am Post subject: |
|
|
Yamakuzure wrote: | And unless you are installing for a phone or tablet, you do not need USE="gles2" anywhere. |
Afaik wayland requires gles2 |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Wed Aug 08, 2018 10:53 am Post subject: |
|
|
Dr.Willy wrote: | Yamakuzure wrote: | And unless you are installing for a phone or tablet, you do not need USE="gles2" anywhere. |
Afaik wayland requires gles2 | No, it doesn't. It needs EGL. (Although Weston uses OpenGL ES to render.)
EGL is used, because GLX would, as the name suggests, pull in X.
There was a time (several years ago) EGL couldn't create a desktop OpenGL context. This is not true any more since at least 2011.
However, that implied of course, that you had to use GLES[123], as that was what EGL could do for you.
Edith found it: https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglBindAPI.xhtml => eglBindAPI()
— Set the current rendering API to bind, one of EGL_OPENGL_API, EGL_OPENGL_ES_API, or EGL_OPENVG_API
This "EGL on Wayland"-example uses the EGL_OPENGL_API. _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Last edited by Yamakuzure on Wed Aug 08, 2018 11:07 am; edited 1 time in total |
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Wed Aug 08, 2018 11:07 am Post subject: |
|
|
I layed out a plan what to do with these USE flags in ebuilds here:
https://archives.gentoo.org/gentoo-dev/message/e04f6d321e424a237af62721d1d09211
However I haven't had time to go further than that, and actually change the tree globally to adhere to these guidelines via a tracker bug and individual bugs to packages that don't adhere to this (blocking the tracker bug).
But yes, the idea is to end up with something where you can just have opengl OR gles2 and have things just work without any messing around per-package. We just aren't there yet. Perhaps someone could help with getting to this. This isn't exactly high priority for me right now with GNOME 3.28 and upcoming GNOME 3.30 work still to do - was just something I had to deal for gstreamer and webkit-gtk bumps myself and sort it out for them, then the proposal came naturally from there (gstreamer supports both together and has various other choices for windowing system, etc; webkit-gtk only one right now).
As for some of the issues with gstreamer I've seen posted regarding opengl and gles2 - they just need to match between GL using gstreamer packages (gst-plugins-base, gst-plugins-bad, gst-plugins-gtk, gst-plugins-vaapi), which is why there will be problems if you per-package set things for gst-plugins-base, but not the others. _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
|
|
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
|
|