Bug#878702: mutter: FTBFS on kFreeBSD: PFNEGLQUERYDMABUFFORMATSEXTPROC unknown

2017-10-15 Thread Aaron M. Ucko
"Aaron M. Ucko"  writes:

>   backends/meta-egl.c:70:3: error: unknown type name 
> 'PFNEGLQUERYDMABUFFORMATSEXTPROC'
>   backends/meta-egl.c:71:3: error: unknown type name 
> 'PFNEGLQUERYDMABUFMODIFIERSEXTPROC'

I just took a closer look myself and noticed that the same errors occur
on sh4, on which mesa is also out of date.  (It fails with assembler
errors from code that uses no inline assembly, presumably due to a
toolchain bug.) As such, my recommendation at this point is either to
version the build dependency on libegl1-mesa-dev to (>= 17~) or to
conditionalize the usage of these types on
EGL_EGLEXT_VERSION >= 20161230

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



Bug#878702: mutter: FTBFS on kFreeBSD: PFNEGLQUERYDMABUFFORMATSEXTPROC unknown

2017-10-15 Thread Aaron M. Ucko
Source: mutter
Version: 3.26.1-4
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org

Builds of mutter for kfreebsd-amd64 and kfreebsd-i386 (admittedly not
release architectures) have been failing lately with a cascade of
errors and warnings stemming from

  backends/meta-egl.c:70:3: error: unknown type name 
'PFNEGLQUERYDMABUFFORMATSEXTPROC'
  backends/meta-egl.c:71:3: error: unknown type name 
'PFNEGLQUERYDMABUFMODIFIERSEXTPROC'

I suspect builds for hurd-i386 (not a release architecture either)
would fail in the same fashion, but mutter is currently in Dep-Wait
there.  (It's waiting for libgbm-dev from recent mesa, which is in
turn waiting for libglvnd, which FTFBS on non-Linux per #870445.
However, there may well be other latent complications on that front.)

At any rate, could you please take a look and conditionalize the usage
of these symbols appropriately?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu