[Pkg-opencl-devel] Bug#809263: Bug#809263: beignet: FTBFS: /usr/include/CL/cl_egl.h:31:21: fatal error: EGL/egl.h: No such file or directory

Vincent Danjean vdanjean.ml at free.fr
Wed Jan 27 12:35:57 UTC 2016


[CC-ing pkg-nvidia-devel at lists.alioth.debian.org that is the
maintainer of src:khronos-opencl-headers]

  Hi,

Le 25/01/2016 08:29, Rebecca N. Palmer a écrit :
> On 05/01/16 18:09, J Price wrote:
>> On 5 January 2016 at 09:42, Brice Videau <brice.videau at imag.fr> wrote:
>>> On 05-Jan-16 00:02, Rebecca N. Palmer wrote:
>>>>
>>>> This is probably due to ocl-icd 2.2.8 adding CL/cl_egl.h to the headers
>>>> #included by ocl_icd.h
>>>> (https://anonscm.debian.org/cgit/collab-maint/ocl-icd.git/commit/icd_generator.rb?id=9fdd8caf362d9b848f6a722e05e4f79768a82f72).
>>>>
>>> I reported this problem to Khronos. The worst is that commenting the
>>> #include <EGL/egl.h> results in functional headers. This dependency is not
>>> needed... So I asked if they could remove the include like they did for
>>> OpenGL... So far no answer. Maybe we could distribute modified cl_egl.h
>>> without the problematic includes.
>>
>> I think this is the correct fix.
>>
>> I've raised this for discussion inside Khronos. It may take another
>> week or so but as soon as I've got agreement I'll push the fix to the
>> public Khronos GitHub repository.
>>
>> James
> 
> What's the status of this?  Nothing has happened in either the upstream or Debian repositories.

While Khronos is thinking about this problem, I think Debian
should immediately patch the khronos-opencl-headers header.

  Pro: fix FTBFS of old software not using EGL
  Const: would prevent EGL application *not already including <EGL/egl.h>*
    but relying on the (new) CL/cl_egl.h to get it to compile.

  I really think the Const is negligible where as the Pro already
occurs in the archive (this bug for beignet software)

  Regards,
    Vincent





More information about the pkg-nvidia-devel mailing list