Bug#816387: qwtplot3d FTBFS on armel and armhf

2018-09-19 Thread Adrian Bunk
On Sat, Aug 13, 2016 at 10:46:46AM +0200, Gudjon I. Gudjonsson wrote:
>...
> I have tried to fix the source but without success. It needs to be ported 
> from 
> GL to GLES and that is above my knowledge. I reduce the severity to a 
> wishlist. If you find any solution please tell me.

With Qt4 support dropped, please:
- change the build dependency from libqt5opengl5-dev to 
  libqt5opengl5-desktop-dev, and
- go back to Architecture: any

libqt5opengl5-desktop-dev will do the right thing of no longer 
attempting to build the pacakge on armel/armhf in Debian and
on armhf/arm64 in Ubuntu.

"Architecture: any" will add support for the ia64 and riscv64 
architectures that are currently accidentally excluded.

> Regards
> Gudjon

Thanks
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#816387: qwtplot3d FTBFS on armel and armhf

2016-08-13 Thread Gudjon I. Gudjonsson
Hi Arto

I have tried to fix the source but without success. It needs to be ported from 
GL to GLES and that is above my knowledge. I reduce the severity to a 
wishlist. If you find any solution please tell me.

Regards
Gudjon



Bug#816387: qwtplot3d FTBFS on armel and armhf

2016-03-06 Thread Gudjon I. Gudjonsson
Hi Arto

My only solution to the problem is to exclude the arm architectures and there 
is a new version at mentors 
which I haven't got any sponsor for.

I tried to exclude patch 03_fix_ftbs and compile the package in my armhf chroot 
but without success.

I prefer to keep the arm architecture but I don't have time to fix the code.

Regards
Gudjon



Bug#816387: qwtplot3d FTBFS on armel and armhf

2016-03-01 Thread Arto Jantunen
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