New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653028 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Last visit 16 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

autotest-deps-glbench-0.0.1-r7284: main.h:13:23: fatal error: GLES2/gl2.h: No such file or directory

Project Member Reported by akes...@chromium.org, Oct 5 2016

Issue description

I think autotest-deps-glbench is missing an RDEPEND. It is occasionally failing with the following compilation error, presumably  a race condition against whatever ebuild provides that missing file. This needlessly slows down the build (because the package must be retried).


Build log: https://uberchromegw.corp.google.com/i/chromeos/builders/nyan-paladin/builds/10781/steps/BuildPackages/logs/stdio


snippet:
autotest-deps-glbench-0.0.1-r7284: compilation terminated.
autotest-deps-glbench-0.0.1-r7284: make: *** [Makefile:101: contexttest.o] Error 1
autotest-deps-glbench-0.0.1-r7284: In file included from testbase.h:10:0,
autotest-deps-glbench-0.0.1-r7284:                  from testbase.cc:16:
autotest-deps-glbench-0.0.1-r7284: main.h:13:23: fatal error: GLES2/gl2.h: No such file or directory
autotest-deps-glbench-0.0.1-r7284:  #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7284:                        ^
autotest-deps-glbench-0.0.1-r7284: compilation terminated.
autotest-deps-glbench-0.0.1-r7284: make: *** [Makefile:101: testbase.o] Error 1
autotest-deps-glbench-0.0.1-r7284: In file included from varyingsandddxytest.cc:5:0:
autotest-deps-glbench-0.0.1-r7284: main.h:13:23: fatal error: GLES2/gl2.h: No such file or directory
autotest-deps-glbench-0.0.1-r7284:  #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7284:                        ^
autotest-deps-glbench-0.0.1-r7284: compilation terminated.
autotest-deps-glbench-0.0.1-r7284: make: *** [Makefile:101: varyingsandddxytest.o] Error 1
autotest-deps-glbench-0.0.1-r7284: In file included from cleartest.cc:5:0:
autotest-deps-glbench-0.0.1-r7284: main.h:13:23: fatal error: GLES2/gl2.h: No such file or directory
autotest-deps-glbench-0.0.1-r7284:  #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7284:                        ^
 
Cc: vapier@chromium.org
vapier any ideas?
i think the issue is that opengles-headers is listed in RDEPEND when it should be in DEPEND:
overlays/overlay-nyan/virtual/opengles/opengles-2.ebuild
RDEPEND="
        !tegra-ldk? ( x11-drivers/opengles )
        tegra-ldk? ( x11-drivers/opengles-bin x11-drivers/opengles-headers )
        "
DEPEND=""

Comment 5 by autumn@chromium.org, Oct 11 2016

Labels: -current-issue
 Issue 666428  has been merged into this issue.
Happened to spot a very similar issue on a tryjob (cyan-paladin):
https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/paladin/builds/1674/steps/BuildPackages/logs/stdio

autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] In file included from varyingsandddxytest.cc:5:
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] ./main.h:13:10: fatal error: 'GLES2/gl2.h' file not found
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr]          ^
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] In file included from attributefetchtest.cc:5:
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] ./main.h:13:10: fatal error: 'GLES2/gl2.h' file not found
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr]          ^
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] In file included from cleartest.cc:5:
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] ./main.h:13:10: fatal error: 'GLES2/gl2.h' file not found
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] #include <GLES2/gl2.h>
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr]          ^
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] 1 error generated.
autotest-deps-glbench-0.0.1-r7414: ERROR:root:[stderr] make: *** [Makefile:101: cleartest.o] Error 1

Looks like the dependencies are incorrect in some other places...
daisy_spring-paladin this time:
https://uberchromegw.corp.google.com/i/chromeos/builders/daisy_spring-paladin/builds/13693/steps/BuildPackages/logs/stdio

Errors are a little bit different (different include file), though:
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr] In file included from /build/daisy_spring/usr/include/EGL/egl.h:39:0,
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]                  from main.h:14,
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]                  from yuvtest.cc:11:
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr] /build/daisy_spring/usr/include/EGL/eglplatform.h:99:22: fatal error: X11/Xlib.h: No such file or directory
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]  #include <X11/Xlib.h>
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]                       ^
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr] compilation terminated.
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr] In file included from /build/daisy_spring/usr/include/EGL/egl.h:39:0,
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]                  from main.h:14,
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]                  from attributefetchtest.cc:5:
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr] /build/daisy_spring/usr/include/EGL/eglplatform.h:99:22: fatal error: X11/Xlib.h: No such file or directory
autotest-deps-glbench-0.0.1-r7416: ERROR:root:[stderr]  #include <X11/Xlib.h>
Status: Archived (was: Untriaged)
This bug has not been touched in over a year.  It is probably no longer relevant.

Sign in to add a comment