[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914167: fatal error: KHR/khrplatform.h: No such file or directory



On 2018-11-20 09:19 +0200, Timo Aaltonen wrote:

> On 20.11.2018 9.04, Mathieu Malaterre wrote:
>> Package: mesa-common-dev
>> Version: 18.2.5-1
>> Severity: serious
>> Tags: ftbfs
>> 
>> OpenVDB fails to build from source because of:
>> 
>> In file included from /usr/include/GL/gl.h:2055,
>>                  from viewer/Font.h:40,
>>                  from viewer/Font.cc:31:
>> /usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No
>> such file or directory
>>  #include <KHR/khrplatform.h>
>>           ^~~~~~~~~~~~~~~~~~~
>> compilation terminated.
>> 
>> ref:
>> https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=1542666626&raw=0
>> 
>> It would be nice to fix this, upstream seems to have provided a patch:
>> 
>> https://bugs.freedesktop.org/show_bug.cgi?id=107511
>
> That commit is in 18.2.5:
>
> commit 2645ea5817f4fd05905b8deda96c268cd69fa48c
> Author: Eric Engestrom <eric.engestrom@intel.com>
> Date:   Tue Aug 7 12:56:25 2018 +0100
>
>     configure: install KHR/khrplatform.h when needed
>
>     Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107511
>     Fixes: f7d42ee7d319256608ad "include: update GL & GLES headers (v2)"
>     Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
>     Tested-by: Brad King <brad.king@kitware.com>
>     Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
>     (cherry picked from commit 87c156183cd668f1341326cc7c88ab6686f27d8f)
>
> so something else is wrong.

KHR/khrplatform.h is installed, but into libegl1-mesa-dev, on which
mesa-common-dev does not currently depend.

Cheers,
       Sven


Reply to: