Package: qwtplot3d Severity: serious Version: 0.2.7+svn191-9 The failure happens when building against QT5, QT4 succeeds. This appears to be related to the GL/glu.h include added in 03_fix_ftbs.patch.
make[2]: Entering directory '/«BUILDDIR»/qwtplot3d-0.2.7+svn191/build-qt5' g++ -c -pipe -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qwtplot3d-0.2.7+svn191 -I. -I../include -isystem /usr/include/arm-linux-gnueabi/qt5 -isystem /usr/include/arm-linux-gnueabi/qt5/QtOpenGL -isystem /usr/include/arm-linux-gnueabi/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabi/qt5/QtGui -isystem /usr/include/arm-linux-gnueabi/qt5/QtCore -Itmp -I/usr/lib/arm-linux-gnueabi/qt5/mkspecs/linux-g++ -o tmp/qwt3d_axis.o ../src/qwt3d_axis.cpp g++ -c -pipe -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qwtplot3d-0.2.7+svn191 -I. -I../include -isystem /usr/include/arm-linux-gnueabi/qt5 -isystem /usr/include/arm-linux-gnueabi/qt5/QtOpenGL -isystem /usr/include/arm-linux-gnueabi/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabi/qt5/QtGui -isystem /usr/include/arm-linux-gnueabi/qt5/QtCore -Itmp -I/usr/lib/arm-linux-gnueabi/qt5/mkspecs/linux-g++ -o tmp/qwt3d_color.o ../src/qwt3d_color.cpp g++ -c -pipe -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qwtplot3d-0.2.7+svn191 -I. -I../include -isystem /usr/include/arm-linux-gnueabi/qt5 -isystem /usr/include/arm-linux-gnueabi/qt5/QtOpenGL -isystem /usr/include/arm-linux-gnueabi/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabi/qt5/QtGui -isystem /usr/include/arm-linux-gnueabi/qt5/QtCore -Itmp -I/usr/lib/arm-linux-gnueabi/qt5/mkspecs/linux-g++ -o tmp/qwt3d_coordsys.o ../src/qwt3d_coordsys.cpp g++ -c -pipe -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qwtplot3d-0.2.7+svn191 -I. -I../include -isystem /usr/include/arm-linux-gnueabi/qt5 -isystem /usr/include/arm-linux-gnueabi/qt5/QtOpenGL -isystem /usr/include/arm-linux-gnueabi/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabi/qt5/QtGui -isystem /usr/include/arm-linux-gnueabi/qt5/QtCore -Itmp -I/usr/lib/arm-linux-gnueabi/qt5/mkspecs/linux-g++ -o tmp/qwt3d_drawable.o ../src/qwt3d_drawable.cpp In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../src/qwt3d_axis.cpp:1: /usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr' typedef ptrdiff_t GLsizeiptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../src/qwt3d_axis.cpp:1: /usr/include/GLES3/gl3.h:69:25: note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../src/qwt3d_axis.cpp:1: /usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr' typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../src/qwt3d_axis.cpp:1: /usr/include/GLES3/gl3.h:70:26: note: previous declaration as 'typedef khronos_intptr_t GLintptr' typedef khronos_intptr_t GLintptr; ^ In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_color.h:6, from ../src/qwt3d_color.cpp:1: /usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr' typedef ptrdiff_t GLsizeiptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_color.h:6, from ../src/qwt3d_color.cpp:1: /usr/include/GLES3/gl3.h:69:25: note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_color.h:6, from ../src/qwt3d_color.cpp:1: /usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr' typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_color.h:6, from ../src/qwt3d_color.cpp:1: /usr/include/GLES3/gl3.h:70:26: note: previous declaration as 'typedef khronos_intptr_t GLintptr' typedef khronos_intptr_t GLintptr; ^ make[2]: *** [tmp/qwt3d_axis.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:495: recipe for target 'tmp/qwt3d_axis.o' failed In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../include/qwt3d_coordsys.h:4, from ../src/qwt3d_coordsys.cpp:1: /usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr' typedef ptrdiff_t GLsizeiptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../include/qwt3d_coordsys.h:4, from ../src/qwt3d_coordsys.cpp:1: /usr/include/GLES3/gl3.h:69:25: note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../include/qwt3d_coordsys.h:4, from ../src/qwt3d_coordsys.cpp:1: /usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr' typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../include/qwt3d_label.h:10, from ../include/qwt3d_axis.h:5, from ../include/qwt3d_coordsys.h:4, from ../src/qwt3d_coordsys.cpp:1: /usr/include/GLES3/gl3.h:70:26: note: previous declaration as 'typedef khronos_intptr_t GLintptr' typedef khronos_intptr_t GLintptr; ^ make[2]: *** [tmp/qwt3d_color.o] Error 1 Makefile:516: recipe for target 'tmp/qwt3d_color.o' failed In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../src/qwt3d_drawable.cpp:1: /usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr' typedef ptrdiff_t GLsizeiptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../src/qwt3d_drawable.cpp:1: /usr/include/GLES3/gl3.h:69:25: note: previous declaration as 'typedef khronos_ssize_t GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^ In file included from /usr/include/GL/gl.h:2055:0, from /usr/include/GL/glu.h:38, from ../include/qwt3d_openglhelper.h:10, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../src/qwt3d_drawable.cpp:1: /usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr' typedef ptrdiff_t GLintptr; ^ In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:97:0, from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:39, from ../include/qwt3d_openglhelper.h:8, from ../include/qwt3d_types.h:26, from ../include/qwt3d_drawable.h:7, from ../src/qwt3d_drawable.cpp:1: /usr/include/GLES3/gl3.h:70:26: note: previous declaration as 'typedef khronos_intptr_t GLintptr' typedef khronos_intptr_t GLintptr; ^ -- Arto Jantunen