Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699126 - dev-libs/efl-1.23.x : USE=drm should force USE=gles2 - ../efl-1.23.2/src/modules/evas/engines/gl_drm/evas_engine.h:25:11: fatal error: GLES2/gl2.h: No such file or directory
Summary: dev-libs/efl-1.23.x : USE=drm should force USE=gles2 - ../efl-1.23.2/src/modu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 04:57 UTC by DaggyStyle
Modified: 2020-01-11 08:16 UTC (History)
1 user (show)

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


Attachments
build.log (dev-libs:efl-1.23.2:20191102-042525.log.lzma,35.78 KB, application/x-lzma)
2019-11-02 04:59 UTC, DaggyStyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2019-11-02 04:57:35 UTC
when building efl-1.23.x with the drm but without the gles2, build fails with the following error:
../efl-1.23.2/src/modules/evas/engines/gl_drm/evas_engine.h:25:11: fatal error: GLES2/gl2.h: No such file or directory

Reproducible: Always

Steps to Reproduce:
1. run USE="-gles2 drm" emerge =efi-1.23.1
Comment 1 DaggyStyle 2019-11-02 04:59:40 UTC
Created attachment 594792 [details]
build.log
Comment 2 Joonas Niilola gentoo-dev 2019-11-02 08:14:57 UTC
Hmm, indeed. It depends on mesa[gles2]. I've been using +drm +opengl for a long time, but now I need to check if it really uses mesa's gles2 extensions (so no point not enabling gles2 in the ebuild as well then).

Thanks, will make a fix for 1.23.2.
Comment 3 Joonas Niilola gentoo-dev 2019-11-06 03:50:25 UTC
Confirmed that drm is useless without gles2. Fixed, thanks.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360efa0a789e9aab246012cc08d97fa2bdca9283
Comment 4 Sergiy Borodych 2020-01-05 21:06:44 UTC
Would be nice to change '+drm' in IUSE accordingly (to just 'drm').
Comment 5 Joonas Niilola gentoo-dev 2020-01-06 09:30:25 UTC
In the latest ebuild, 1.23.3, which is also stable, it is "+drm". Or did you want it to be "drm" without + mark?

I try to push defaults as upstream wishes, so +gles2 +drm, but I know this causes collisions with desktop profiles and requires manual work. 

... wait, why is gles2 not on by default?
Comment 6 Larry the Git Cow gentoo-dev 2020-01-06 09:36:14 UTC
The bug has been referenced in the following commit(s):

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

commit 330ea64859819340faebc8cc99687c1dae4809a7
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-01-06 09:31:34 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-06 09:35:54 +0000

    dev-libs/efl: set +gles2 by default
    
    Bug: https://bugs.gentoo.org/699126
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/efl/efl-1.23.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Sergiy Borodych 2020-01-08 18:42:58 UTC
After the recent changes I had to update my 'package.use' to avoid any kind of blocks.
To

dev-libs/efl                    fontconfig -gles2 -drm

All of these flags are not customized in any level.
I have only 'opengl' in preferred flags (related).
But maybe that's just my personal case.
Comment 8 Larry the Git Cow gentoo-dev 2020-01-11 08:16:21 UTC
The bug has been referenced in the following commit(s):

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

commit 8363ff4750d607105f671174497e71b2866465e4
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-01-11 08:15:20 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-11 08:15:20 +0000

    dev-libs/efl: prefer profile default USEs
    
    Bug: https://bugs.gentoo.org/699126
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/efl/efl-1.23.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 9 Joonas Niilola gentoo-dev 2020-01-11 08:16:51 UTC
Yep, I now see that was a bad idea. 

I think I got it now, thanks for your feedback!