Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526082 - dev-libs/DirectFB-1.7.6[egl,-gles2]: w/media-libs/mesa[-gles2]: In file included from egl_primary.c:66:0: egl_system.h:43:23: fatal error: GLES2/gl2.h: No such file or directory
Summary: dev-libs/DirectFB-1.7.6[egl,-gles2]: w/media-libs/mesa[-gles2]: In file inclu...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard: Pending removal: 2018-07-17
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2014-10-20 14:03 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-07-28 12:08 UTC (History)
2 users (show)

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


Attachments
DirectFB-1.7.6:20141020-133207.log (DirectFB-1.7.6:20141020-133207.log,287.95 KB, text/plain)
2014-10-20 14:05 UTC, Arfrever Frehtes Taifersar Arahesis
Details
emerge-info.txt (emerge-info.txt,6.64 KB, text/plain)
2016-04-26 14:25 UTC, Toralf Förster
Details
dev-libs:DirectFB-1.7.6:20160426-130943.log (dev-libs:DirectFB-1.7.6:20160426-130943.log,291.43 KB, text/plain)
2016-04-26 14:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.21 KB, text/plain)
2016-04-26 14:25 UTC, Toralf Förster
Details
environment (environment,106.01 KB, text/plain)
2016-04-26 14:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2014-10-20 14:03:34 UTC
dev-libs/DirectFB-1.7.6[egl,-gles2] fails to build with media-libs/mesa[-gles2].
This problem is absent with USE="-egl" for dev-libs/DirectFB.
This problem is present with USE="egl -opengl" for dev-libs/DirectFB, which suggests another problem with dependencies, which currently have:
  opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm )

[ebuild   R    ] media-libs/mesa-10.3.1::gentoo  USE="classic dri3 egl gallium gbm llvm nptl xvmc -bindist -debug -gles1 -gles2 -opencl -openmax -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau -wayland -xa" ABI_MIPS="(-n32) (-n64) (-o32)" ABI_PPC="(-32) (-64)" ABI_S390="(-32) (-64)" ABI_X86="32 (64) (-x32)" KERNEL="(-FreeBSD)" VIDEO_CARDS="intel (-freedreno) -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 KiB

[ebuild     U  ] dev-libs/DirectFB-1.7.6::gentoo [1.6.3-r1::gentoo] USE="X alsa%* cddb%* drmkms%* dynload egl%* fbcon gif gstreamer%* jpeg jpeg2k mad%* mmx mng opengl png sdl sse svg tiff%* tremor%* truetype vorbis%* webp%* xine%* zlib -bmp -debug -divine% -doc -fusiondale% -fusionsound% -gles2 -imlib2 -input_hub -mpeg2 -mpeg3% -multicore -oss% -pnm -sawman% -static-libs (-swfdec) -timidity% -v4l -vdpau" INPUT_DEVICES="evdev -dynapro -elo2300 -joystick -keyboard -lirc -mouse -mutouch -tslib" VIDEO_CARDS="intel -mach64 -mga -neomagic (-nsc) -nvidia -r128 -radeon -s3 -sis -tdfx -via -vmware" 0 KiB


Last part of build log:

Making all in egl
make[3]: Entering directory '/var/tmp/portage/dev-libs/DirectFB-1.7.6/work/DirectFB-1.7.6/systems/egl'
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../src -I/usr/include/libdrm   -D_REENTRANT   -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -Wpointer-sign -D_GNU_SOURCE  -std=gnu99 -c -o egl_primary.lo egl_primary.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../src -I/usr/include/libdrm -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -Wpointer-sign -D_GNU_SOURCE -std=gnu99 -c egl_primary.c  -fPIC -DPIC -o .libs/egl_primary.o
In file included from egl_primary.c:66:0:
egl_system.h:43:23: fatal error: GLES2/gl2.h: No such file or directory
 #include <GLES2/gl2.h>
                       ^
compilation terminated.
Makefile:613: recipe for target 'egl_primary.lo' failed
make[3]: *** [egl_primary.lo] Error 1
Comment 1 Arfrever Frehtes Taifersar Arahesis 2014-10-20 14:05:08 UTC
Created attachment 387054 [details]
DirectFB-1.7.6:20141020-133207.log
Comment 2 Toralf Förster gentoo-dev 2016-04-26 14:25:38 UTC
Created attachment 432136 [details]
emerge-info.txt

confirmed\n\nlibtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../src -I/usr/include/libdrm -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -march=native -O2 -pipe -D_GNU_SOURCE -std=gnu99 -c egl_primary.c  -fPIC -DPIC -o .libs/egl_primary.o
In file included from egl_primary.c:66:0:
egl_system.h:43:23: fatal error: GLES2/gl2.h: No such file or directory
compilation terminated.
Makefile:624: recipe for target 'egl_primary.lo' failed
make[3]: *** [egl_primary.lo] Error 1
Comment 3 Toralf Förster gentoo-dev 2016-04-26 14:25:41 UTC
Created attachment 432138 [details]
dev-libs:DirectFB-1.7.6:20160426-130943.log
Comment 4 Toralf Förster gentoo-dev 2016-04-26 14:25:43 UTC
Created attachment 432140 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2016-04-26 14:25:46 UTC
Created attachment 432142 [details]
environment
Comment 6 ta2002 2016-12-07 23:29:55 UTC
I am missing why this hasn't been fixed a long time ago. Isn't it just editing the ebuild to require gles2 in DirectFB when egl is selected?
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-28 12:08:56 UTC
Package removed.