Your message dated Thu, 29 Nov 2018 18:51:17 +0200
with message-id <20181129165117.GA3209@localhost>
and subject line With #894076 fixed this now builds
has caused the Debian Bug report #883100,
regarding ksudoku FTBFS on armel/armhf: error: conflicting declaration 'typedef 
ptrdiff_t GLsizeiptr'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
883100: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883100
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ksudoku
Version: 4:17.08.3-1
Severity: serious
Tags: patch

https://buildd.debian.org/status/package.php?p=ksudoku

...
In file included from /usr/include/GL/gl.h:2055:0,
                 from /<<PKGBUILDDIR>>/src/gui/views/ArcBall.h:43,
                 from /<<PKGBUILDDIR>>/src/gui/views/roxdokuview.h:34,
                 from /<<PKGBUILDDIR>>/src/gui/views/ksview.cpp:35:
/usr/include/GL/glext.h:466: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:107:0,
                 from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/QGL:1,
                 from /<<PKGBUILDDIR>>/src/gui/views/roxdokuview.h:26,
                 from /<<PKGBUILDDIR>>/src/gui/views/ksview.cpp:35:
/usr/include/GLES3/gl3.h:75: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 /<<PKGBUILDDIR>>/src/gui/views/ArcBall.h:43,
                 from /<<PKGBUILDDIR>>/src/gui/views/roxdokuview.h:34,
                 from /<<PKGBUILDDIR>>/src/gui/views/ksview.cpp:35:
/usr/include/GL/glext.h:467: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:107:0,
                 from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/QGL:1,
                 from /<<PKGBUILDDIR>>/src/gui/views/roxdokuview.h:26,
                 from /<<PKGBUILDDIR>>/src/gui/views/ksview.cpp:35:
/usr/include/GLES3/gl3.h:76:26: note: previous declaration as 'typedef 
khronos_intptr_t GLintptr'
 typedef khronos_intptr_t GLintptr;
                          ^~~~~~~~
src/gui/CMakeFiles/ksudoku_gui.dir/build.make:321: recipe for target 
'src/gui/CMakeFiles/ksudoku_gui.dir/views/ksview.cpp.o' failed
make[4]: *** [src/gui/CMakeFiles/ksudoku_gui.dir/views/ksview.cpp.o] Error 1


Fix is attached.
Description: OpenGL support doesn't build when Qt is compiled with OpenGL ES
Author: Adrian Bunk <b...@debian.org>

--- ksudoku-17.08.3.orig/CMakeLists.txt
+++ ksudoku-17.08.3/CMakeLists.txt
@@ -26,7 +26,9 @@ find_package(KF5 ${KF5_MIN_VERSION} REQU
 
 find_package(KF5KDEGames 4.9.0 REQUIRED)
 
-find_package(OpenGL)
+if(NOT ${Qt5Gui_OPENGL_IMPLEMENTATION} MATCHES "GLES")
+    find_package(OpenGL)
+endif()
 set_package_properties(OpenGL PROPERTIES DESCRIPTION "API for developing 
portable, interactive 2D and 3Dgraphics applications" TYPE REQUIRED PURPOSE 
"Kubrick will not be built and KSudoku will not have Roxdoku support without 
OpenGL.")
 
 include(FeatureSummary)

--- End Message ---
--- Begin Message ---
With #894076 fixed this now builds.

cu
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

--- End Message ---

Reply via email to