[Pkg-phototools-devel] Bug#881679: openimageio: FTBFS on arm{el, hf}: mixes GLES and classic OpenGL

Aaron M. Ucko ucko at debian.org
Tue Nov 14 01:29:09 UTC 2017


Source: openimageio
Version: 1.7.17~dfsg0-1+b1
Severity: serious
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-arm at lists.debian.org
Usertags: armel armhf

Builds of openimageio on armel and armhf have been failing since the
switch to Qt 5 with a cascade of errors starting with

  In file included from /usr/include/arm-linux-gnueabihf/qt5/QtGui/qopengl.h:107:0,
                   from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/qgl.h:45,
                   from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/QGLWidget:1,
                   from /<<PKGBUILDDIR>>/src/iv/imageviewer.h:50,
                   from /<<PKGBUILDDIR>>/src/iv/imageviewer.cpp:38:
  /usr/include/GLES3/gl3.h:75:25: error: conflicting declaration 'typedef khronos_ssize_t GLsizeiptr'
   typedef khronos_ssize_t GLsizeiptr;
                           ^~~~~~~~~~
  In file included from /<<PKGBUILDDIR>>/src/iv/imageviewer.h:49:0,
                   from /<<PKGBUILDDIR>>/src/iv/imageviewer.cpp:38:
  /usr/include/GL/glew.h:1680:19: note: previous declaration as 'typedef ptrdiff_t GLsizeiptr'
   typedef ptrdiff_t GLsizeiptr;

as detailed in

https://buildd.debian.org/status/fetch.php?pkg=openimageio&arch=armel&ver=1.8.6%7Edfsg0-3&stamp=1510356066&raw=0
https://buildd.debian.org/status/fetch.php?pkg=openimageio&arch=armhf&ver=1.8.6%7Edfsg0-3&stamp=1510366058&raw=0

Could you please take a look?  I suspect you'll need to use GLES here
for consistency with Qt 5.

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/?amu@monk.mit.edu



More information about the Pkg-phototools-devel mailing list