Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670546 - dev-python/Kivy-1.10.1 fails to compile with: include/gl_redirect.h:55:13: fatal error: GLES2/gl2.h: No such file or directory
Summary: dev-python/Kivy-1.10.1 fails to compile with: include/gl_redirect.h:55:13: fa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sławek Lis (RETIRED)
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 655512
  Show dependency tree
 
Reported: 2018-11-06 18:14 UTC by tt_1
Modified: 2018-11-10 22:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2018-11-06 18:14:18 UTC
This is likely due to missing media-libs/mesa DEP in the ebuild: 

[ebuild   R    ] media-libs/mesa-18.1.9::gentoo  USE="classic dri3 egl gallium gbm llvm nptl -bindist -d3d9 -debug -gles1 -gles2 (-opencl) (-openmax) -osmesa -pax_kernel -pic (-selinux) -unwind (-vaapi) -valgrind (-vdpau) (-vulkan) -wayland -xa -xvmc" VIDEO_CARDS="vc4 -freedreno (-i915) (-i965) -imx (-intel) (-nouveau) (-r100) (-r200) (-r300) (-r600) (-radeon) (-radeonsi) -virgl -vivante (-vmware)" 0 KiB

[ebuild  N    *] dev-python/Kivy-1.10.1::gentoo  USE="sdl -cairo -camera -doc -examples -garden -gstreamer -spell -test" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB

snipet from build.log: 

armv7a-unknown-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard /var/tmp/portage/dev-python/Kivy-1.10.1/work/kivy-1.10.1-python2_7/build/temp.linux-armv7l-2.7/kivy/core/text/_text_sdl2.o -L/usr/include/SDL2 -L/usr/local/include/SDL2 -L/usr/include/SDL2 -L/usr/include/SDL2 -L/usr/lib -lSDL2 -lSDL2_ttf -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2_image -lSDL2_mixer -lSDL2 -lpython2.7 -o /var/tmp/portage/dev-python/Kivy-1.10.1/work/kivy-1.10.1-python2_7/kivy/core/text/_text_sdl2.so -lm
cythoning kivy/graphics/opengl.pyx to kivy/graphics/opengl.c
building 'kivy.graphics.opengl' extension
creating /var/tmp/portage/dev-python/Kivy-1.10.1/work/kivy-1.10.1-python2_7/build/temp.linux-armv7l-2.7/kivy/graphics
armv7a-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Ikivy/include -Ikivy/include -I/usr/include/python2.7 -c kivy/graphics/opengl.c -o /var/tmp/portage/dev-python/Kivy-1.10.1/work/kivy-1.10.1-python2_7/build/temp.linux-armv7l-2.7/kivy/graphics/opengl.o
In file included from kivy/graphics/opengl.c:435:0:
kivy/include/gl_redirect.h:55:13: fatal error: GLES2/gl2.h: No such file or directory
 #   include <GLES2/gl2.h>
             ^~~~~~~~~~~~~
compilation terminated.
Comment 1 tt_1 2018-11-07 16:27:28 UTC
Adding media-libs/mesa [gles2] as a dep unbreaks the compile.
Comment 2 Larry the Git Cow gentoo-dev 2018-11-10 22:40:05 UTC
The bug has been closed via the following commit(s):

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

commit a209905bd724016fb92afc711db8a834528ea208
Author:     stefson <herrtimson@yahoo.de>
AuthorDate: 2018-11-07 18:06:46 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-11-10 22:39:52 +0000

    dev-python/Kivy: add mesa to RDEPEND.
    
    Signed-off-by: Steffen Kuhn <nielson2@yandex.com>
    
    Closes: https://bugs.gentoo.org/670546
    Closes: https://github.com/gentoo/gentoo/pull/10355
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 dev-python/Kivy/Kivy-1.10.1.ebuild | 1 +
 1 file changed, 1 insertion(+)