Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932644 - media-libs/libsdl2-2.30.3[test] fails to compile: test/testgles2.c:32: fatal error: GLES2/gl2platform.h: No such file or directory
Summary: media-libs/libsdl2-2.30.3[test] fails to compile: test/testgles2.c:32: fatal ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 15:54 UTC by matoro
Modified: 2024-05-24 15:54 UTC (History)
0 users

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


Attachments
build.log and emerge --info (file_932644.txt,518.87 KB, text/plain)
2024-05-24 15:54 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-24 15:54:19 UTC
Created attachment 894255 [details]
build.log and emerge --info

Discovered on loong but leaving as target-independent since it looks like a dep issue.

FAILED: test/CMakeFiles/testgles2.dir/testgles2.c.o 
/usr/bin/loongarch64-unknown-linux-gnu-gcc  -I/var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3_build-.lp64d/include -I/var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3_build-.lp64d/include/SDL2 -I/var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3_build-.lp64d/include-config-relwithdebinfo/SDL2  -pipe -O2 -idirafter "/var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3/src/video/khronos" -DHAVE_LINUX_VERSION_H  -Wall -Wundef -fno-strict-aliasing -Wdeclaration-after-statement -fvisibility=hidden -Wshadow -Wno-unused-local-typedefs -fdiagnostics-color=always -DMESA_EGL_NO_X11_HEADERS -DEGL_NO_X11 -D_REENTRANT  -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=30 -DSDL_BUILD_MICRO_VERSION=3 -fno-fast-math -MD -MT test/CMakeFiles/testgles2.dir/testgles2.c.o -MF test/CMakeFiles/testgles2.dir/testgles2.c.o.d -o test/CMakeFiles/testgles2.dir/testgles2.c.o -c /var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3/test/testgles2.c
In file included from /var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3/test/testgles2.c:32:
/var/tmp/portage/media-libs/libsdl2-2.30.3/work/SDL2-2.30.3_build-.lp64d/include/SDL2/SDL_opengles2.h:35:10: fatal error: GLES2/gl2platform.h: No such file or directory
   35 | #include <GLES2/gl2platform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.