Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673702 - =dev-libs/efl-1.20.7-r2 with USE=opengl - The following REQUIRED_USE flag constraints are unsatisfied: egl gles
Summary: =dev-libs/efl-1.20.7-r2 with USE=opengl - The following REQUIRED_USE flag con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-12-25 02:28 UTC by Scott McClung
Modified: 2019-02-04 01:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McClung 2018-12-25 02:28:18 UTC
Trying to compile the current stable dev-libs/efl with opengl results in unmet USE flag dependencies:

# emerge -av dev-libs/efl

These are the packages that would be merged, in order:

Calculating dependencies \

!!! Problem resolving dependencies for dev-libs/efl                                                                                                           ... done!

!!! The ebuild selected to satisfy "dev-libs/efl" has unmet requirements.
- dev-libs/efl-1.20.7-r2::gentoo USE="X bmp eet fbcon fontconfig gif gnutls ico jpeg2k nls opengl pdf physics ppm psd sdl ssl static-libs svg tiff vnc webp xim xine xpm -avahi -connman -dds -debug -doc -drm -egl -examples -fribidi -gles -glib -gstreamer -harfbuzz -hyphen -ibus -ivi -libressl -libuv -luajit (-neon) (-pixman) -postscript -pulseaudio -raw -scim -sound -systemd -tga -tslib -unwind -v4l -valgrind -vlc -wayland -xcf -xpresent" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    egl gles

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( opengl egl ) at-most-one-of ( opengl gles ) egl ( gles ) fbcon? ( !tslib ) gles? ( any-of ( X wayland ) !sdl egl ) ibus? ( glib ) opengl? ( X ) pulseaudio? ( sound ) sdl? ( opengl ) vnc? ( X fbcon ) wayland? ( egl gles !opengl ) xim? ( X )

Looking at the constraints it appears egl and hence gles are required even if opengl is selected.  The above was generated while using the following USE flags:

dev-libs/efl physics xpm gnutls xine xim vnc fbcon opengl -gles sdl -egl

Unless I've completely failed to understand what's going on here.
Comment 1 Joonas Niilola gentoo-dev 2018-12-26 07:09:57 UTC
Yeah, that's my mistake. Sorry. 

For now, please do your world update with '--exclude efl' flag until this bug gets resolved.
Comment 2 Larry the Git Cow gentoo-dev 2019-01-04 10:08:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a8085ec11862db8853c3a8268f35702396141c

commit 39a8085ec11862db8853c3a8268f35702396141c
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2019-01-04 10:07:54 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2019-01-04 10:08:27 +0000

    dev-libs/efl: Fix broken REQUIRED_USE constraint typo
    
    Acked-By: Joonas Niilola <juippis@gmail.com>
    Bug: https://bugs.gentoo.org/673588
    Bug: https://bugs.gentoo.org/673460
    Closes: https://bugs.gentoo.org/673702
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 dev-libs/efl/{efl-1.21.1-r2.ebuild => efl-1.21.1-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Sergiy Borodych 2019-01-08 08:35:40 UTC
It looks like you forgot to update efl-1.20.7-r2.ebuild, which is now "stable" for some arches.
Comment 4 Joonas Niilola gentoo-dev 2019-01-08 14:12:17 UTC
Right, I now see this bug got wrongly closed. Kentnl was kind enough to fix the latest efl, since he uses it himself. There's still a PR open (linked) to fix stable efl. Reopening until that gets merged.
Comment 5 needle 2019-01-15 09:10:31 UTC
I hit this bug as well. efl is marked stable for my arch.
Please fix this issue.

 emerge -va dev-libs/efl                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                
These are the packages that would be merged, in order:

Calculating dependencies                        h

!!! Problem resolving dependencies for dev-libs/efl
... done!                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                
!!! The ebuild selected to satisfy "dev-libs/efl" has unmet requirements.
- dev-libs/efl-1.20.7-r2::gentoo USE="X bmp drm eet fbcon fontconfig gif ico jpeg2k opengl pdf ppm psd ssl svg tga tiff -avahi -connman -dds -debug -doc -egl -examples -fribidi -gles -glib -gnutls -gstreamer -harfbuzz -hyphen -ibus -ivi -libressl -libuv -luajit (-neon) -nls -physics (-pixman) -postscript -pulseaudio -raw -scim -sdl -sound -static-libs -systemd -tslib -unwind -v4l -valgrind -vlc -vnc -wayland -webp -xcf -xim -xine -xpm -xpresent" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    egl gles

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( opengl egl ) at-most-one-of ( opengl gles ) egl ( gles ) fbcon? ( !tslib ) gles? ( any-of ( X wayland ) !sdl egl ) ibus? ( glib ) opengl? ( X ) pulseaudio? ( sound ) sdl? ( opengl ) vnc? ( X fbcon ) wayland? ( egl gles !opengl ) xim? ( X )
Comment 6 Joonas Niilola gentoo-dev 2019-01-15 09:28:36 UTC
There's still a PR open to fix this, 
https://github.com/gentoo/gentoo/pull/10696

just needs attention and love from someone capable of merging (any dev) :) 

Sorry all for this, hopefully it gets merged soon!
Comment 7 Larry the Git Cow gentoo-dev 2019-02-04 01:14:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77b1be67b97101d6efdb430dc14cd2e1f780287

commit f77b1be67b97101d6efdb430dc14cd2e1f780287
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2019-01-11 04:57:59 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-04 01:12:04 +0000

    dev-libs/efl: fix GL handling in ebuilds
    
    Bug: https://bugs.gentoo.org/673460
    Closes: https://bugs.gentoo.org/673702
    Closes: https://bugs.gentoo.org/673588
    Package-Manager: Portage[mgorny]-2.3.51.1
    Signed-off-by: Joonas Niilola <juippis@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/10696
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/efl/efl-1.20.7-r3.ebuild | 302 ++++++++++++++++++++++++++++++++++++++
 dev-libs/efl/efl-1.21.1-r3.ebuild |  24 ++-
 dev-libs/efl/metadata.xml         |   1 +
 3 files changed, 313 insertions(+), 14 deletions(-)