Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885419 - media-tv/kodi-19.4-r4 fails to compile with new media-libs/mesa: GLContextEGL.h:16:10: fatal error: eglextchromium.h file not found
Summary: media-tv/kodi-19.4-r4 fails to compile with new media-libs/mesa: GLContextEGL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL: https://bugs.chromium.org/p/angleproj...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-11 08:22 UTC by Agostino Sarubbo
Modified: 2022-12-17 19:38 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,68.54 KB, application/x-xz)
2022-12-11 08:22 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-11 08:22:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/kodi-19.4-r4 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-11 08:22:20 UTC
Created attachment 841317 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-11 08:22:20 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o 
FAILED: build/windowing/X11/CMakeFiles/windowing_X11.dir/WinSystemX11GLContext.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/media-tv/kodi-19.4-r4/work/xbmc-19.4-Matrix/xbmc/windowing/X11/GLContextEGL.h:16:10: fatal error: 'EGL/eglextchromium.h' file not found
Comment 3 Andrew Udvare 2022-12-12 02:03:51 UTC
I am getting this issue on a normal ~amd64 system. Mesa has renamed eglextchromium.h to eglext_angle.h.

Workaround for now for affected packages like Kodi: ln -s /usr/include/EGL/eglext_angle.h /usr/include/EGL/eglextchromium.h
Comment 4 Ghiunhan Mamut 2022-12-16 22:09:42 UTC
https://github.com/gentoo/gentoo/pull/28683

This should do the trick
Comment 5 Larry the Git Cow gentoo-dev 2022-12-17 19:38:38 UTC
The bug has been closed via the following commit(s):

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

commit ea3f9b515f106ef3b8a48009ddc7057acf5ea7b2
Author:     V3n3RiX <venerix@koprulu.sector>
AuthorDate: 2022-12-16 22:00:54 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2022-12-17 19:38:35 +0000

    media-tv/kodi: mesa 22.3.0 compatibility
    
    Closes: https://bugs.gentoo.org/885419
    Closes: https://github.com/gentoo/gentoo/pull/28683
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch | 12 ++++++++++++
 media-tv/kodi/kodi-19.4-r3.ebuild                         |  5 +++++
 media-tv/kodi/kodi-19.4-r4.ebuild                         |  5 +++++
 3 files changed, 22 insertions(+)