autotest-deps-glbench-0.0.1-r7284: main.h:13:23: fatal error: GLES2/gl2.h: No such file or directory |
||||
Issue descriptionI 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: ^
,
Oct 7 2016
,
Oct 7 2016
vapier any ideas?
,
Oct 8 2016
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=""
,
Oct 11 2016
,
Nov 23 2016
Issue 666428 has been merged into this issue.
,
Nov 23 2016
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...
,
Nov 23 2016
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>
,
Mar 10 2018
This bug has not been touched in over a year. It is probably no longer relevant. |
||||
►
Sign in to add a comment |
||||
Comment 1 by akes...@chromium.org
, Oct 7 2016