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

2018-11-20 Thread Sven Joachim
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 
>>   ^~~
>> compilation terminated.
>> 
>> ref:
>> https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=154226&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 
> 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 
> Tested-by: Brad King 
> Reviewed-by: Emil Velikov 
> (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



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

2018-11-19 Thread Mathieu Malaterre
On Tue, Nov 20, 2018 at 8:31 AM Mathieu Malaterre  wrote:
>
> On Tue, Nov 20, 2018 at 8:19 AM 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 
> > >   ^~~
> > > compilation terminated.
> > >
> > > ref:
> > > https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=154226&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 
> > 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 
> > Tested-by: Brad King 
> > Reviewed-by: Emil Velikov 
> > (cherry picked from commit 87c156183cd668f1341326cc7c88ab6686f27d8f)
> >
> > so something else is wrong.
>
> I must admit I was hoping for some help here. Here is what I see on my side:
>
> $ head -n 467 /usr/include/GL/glext.h  | tail -1
> #include 
>
> So this is a bit mysterious what is happening on all the buildds...

As a side note, the experimental build of OpenVDB (same orig tarball
as the one in sid) went find using the previous version of mesa:

https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-4&stamp=1542634335&raw=0

...
Get: 164 http://ftp.gr.debian.org/debian unstable/main amd64
mesa-common-dev amd64 18.1.9-1 [587 kB]
...



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

2018-11-19 Thread Mathieu Malaterre
On Tue, Nov 20, 2018 at 8:19 AM 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 
> >   ^~~
> > compilation terminated.
> >
> > ref:
> > https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=154226&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 
> 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 
> Tested-by: Brad King 
> Reviewed-by: Emil Velikov 
> (cherry picked from commit 87c156183cd668f1341326cc7c88ab6686f27d8f)
>
> so something else is wrong.

I must admit I was hoping for some help here. Here is what I see on my side:

$ head -n 467 /usr/include/GL/glext.h  | tail -1
#include 

So this is a bit mysterious what is happening on all the buildds...



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

2018-11-19 Thread Timo Aaltonen
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 
>   ^~~
> compilation terminated.
> 
> ref:
> https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=154226&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 
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 
Tested-by: Brad King 
Reviewed-by: Emil Velikov 
(cherry picked from commit 87c156183cd668f1341326cc7c88ab6686f27d8f)

so something else is wrong.


-- 
t



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

2018-11-19 Thread Mathieu Malaterre
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 
  ^~~
compilation terminated.

ref:
https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=amd64&ver=5.2.0-5&stamp=154226&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