[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 Tue, Nov 20, 2018 at 8:31 AM Mathieu Malaterre <malat@debian.org> wrote:
>
> On Tue, Nov 20, 2018 at 8:19 AM Timo Aaltonen <tjaalton@debian.org> 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.
>
> 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 <stddef.h>
>
> 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]
...


Reply to: