Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679074 - x11-wm/mutter-3.28.3 : ./.../meta-gles3-table.h:26:10: fatal error: GLES2/gl2.h: No such file or directory
Summary: x11-wm/mutter-3.28.3 : ./.../meta-gles3-table.h:26:10: fatal error: GLES2/gl2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-28 18:34 UTC by Toralf Förster
Modified: 2019-02-28 22:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.05 KB, text/plain)
2019-02-28 18:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.21 KB, text/plain)
2019-02-28 18:34 UTC, Toralf Förster
Details
environment (environment,126.01 KB, text/plain)
2019-02-28 18:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.92 KB, application/x-bzip)
2019-02-28 18:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,20.42 KB, application/x-bzip)
2019-02-28 18:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,57.54 KB, application/x-bzip)
2019-02-28 18:34 UTC, Toralf Förster
Details
x11-wm:mutter-3.28.3:20190228-153607.log (x11-wm:mutter-3.28.3:20190228-153607.log,863.39 KB, text/plain)
2019-02-28 18:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-28 18:34:16 UTC
In file included from backends/meta-gles3.c:31:
./backends/meta-gles3-table.h:26:10: fatal error: GLES2/gl2.h: No such file or directory
 #include <GLES2/gl2.h>
          ^~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_20190227-134538

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *




emerge -qpvO x11-wm/mutter
[ebuild  N    ] x11-wm/mutter-3.28.3  USE="introspection -debug -elogind -gles2 -systemd -test -udev -wayland" INPUT_DEVICES="-wacom"
Comment 1 Toralf Förster gentoo-dev 2019-02-28 18:34:19 UTC
Created attachment 567030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-28 18:34:22 UTC
Created attachment 567032 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-28 18:34:25 UTC
Created attachment 567034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-28 18:34:28 UTC
Created attachment 567036 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-28 18:34:30 UTC
Created attachment 567038 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-28 18:34:33 UTC
Created attachment 567040 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-02-28 18:34:36 UTC
Created attachment 567042 [details]
x11-wm:mutter-3.28.3:20190228-153607.log
Comment 8 Larry the Git Cow gentoo-dev 2019-02-28 22:39:31 UTC
The bug has been closed via the following commit(s):

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

commit f7cbaff73571787a03c54ceb8a7d1a2449ec341c
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-28 22:33:24 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-28 22:37:50 +0000

    x11-wm/mutter: require gles2 for wayland, try to fix non-gles2 builds
    
    Native backend makes use of gles3 for some features, and I'm not sure if
    these gracefully degrade or not without gles3. So require gles2 with
    wayland (which is when we  enable build of native backend), which also
    allows for a simpler hacky patch for fixing non-gles2 builds when system
    doesn't have USE=gles2 on mesa.
    I consider this quite ugly, but
    1) this is ~arch
    2) this will be better in the meson port in mutter-3.32
    3) it hopefully works well enough anyways, sans potentially unnecessary
    mesa[gles2] dep and full gles2 cogl builds.
    People who mind the gles2 requirement are welcome to come up with
    something better. It should somehow express the feature dependency of
    this, even if just metadata.xml descriptions.
    
    Closes: https://bugs.gentoo.org/679074
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 x11-wm/mutter/files/3.28.3-no-gles2-fix.patch |  43 ++++++++
 x11-wm/mutter/mutter-3.28.3-r1.ebuild         | 152 ++++++++++++++++++++++++++
 2 files changed, 195 insertions(+)
Comment 9 Mart Raudsepp gentoo-dev 2019-02-28 22:40:03 UTC
I can't test the fix myself, but hopefully this works. Feedback appreciated.