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
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-24 15:54 UTC by matoro
Modified: 2025-02-19 14:35 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.
Comment 1 Larry the Git Cow gentoo-dev 2025-02-19 14:35:19 UTC
The bug has been referenced in the following commit(s):

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

commit 547225b02c24b53d302a694c8e2c341f89121311
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-02-19 13:47:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-19 14:35:00 +0000

    media-libs/libsdl2: add 2.32.0
    
    Bug: https://bugs.gentoo.org/932644
    Bug: https://bugs.gentoo.org/949387
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40651
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libsdl2/Manifest                        |   1 +
 ....0-fix-tests-for-disabled-vulkan-and-gles.patch |  40 ++++
 media-libs/libsdl2/libsdl2-2.32.0.ebuild           | 213 +++++++++++++++++++++
 3 files changed, 254 insertions(+)