Debian Bug report logs -
#883100
ksudoku FTBFS on armel/armhf: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr'
Reported by: Adrian Bunk <bunk@debian.org>
Date: Wed, 29 Nov 2017 17:18:01 UTC
Severity: important
Tags: ftbfs
Found in version ksudoku/4:17.08.3-1
Done: Adrian Bunk <bunk@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#883100; Package src:ksudoku.
(Wed, 29 Nov 2017 17:18:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Wed, 29 Nov 2017 17:18:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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.
[opengl-es.patch (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#883100; Package src:ksudoku.
(Wed, 03 Jan 2018 18:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Wed, 03 Jan 2018 18:51:03 GMT) (full text, mbox, link).
Message #10 received at 883100@bugs.debian.org (full text, mbox, reply):
On Wed, Jan 03, 2018 at 07:32:46PM +0100, Pino Toscano wrote:
> On mercoledì 3 gennaio 2018 20:26:53 CET Adrian Bunk wrote:
> > On Wed, Jan 03, 2018 at 07:14:58PM +0100, Pino Toscano wrote:
> > > On mercoledì 3 gennaio 2018 20:12:05 CET Adrian Bunk wrote:
> > >...
> > > > Regarding ksudoku, is there any reason why you didn't apply
> > > > either my patch from #883100 or the similar change from Ubuntu?
> > > > Either one would fix the build on armel and armhf.
> > >
> > > It is a bad hack, and I do not want to carry and support it.
> >
> > Ubuntu backported the upstream fix.
>
> Ah I see, a different hack than yours [1],
>...
> [1] that btw will not work, since even if you skip the
> find_package(OpenGL) call, then set_package_properties(OpenGL ...) sets
> TYPE REQUIRED, and thus make cmake error out (see feature_summary)
> because a required dependency was not found
Why are you implying that I did not test that my patch fixed the FTBFS
before submitting it?
When you are claiming that it "will not work", all I can say is
that it did work for me in an armel build on November 29th 2017.
> Pino Toscano
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#883100; Package src:ksudoku.
(Wed, 03 Jan 2018 19:24:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Pino Toscano <pino@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Wed, 03 Jan 2018 19:24:03 GMT) (full text, mbox, link).
Message #15 received at 883100@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On mercoledì 3 gennaio 2018 20:48:25 CET Adrian Bunk wrote:
> On Wed, Jan 03, 2018 at 07:32:46PM +0100, Pino Toscano wrote:
> > On mercoledì 3 gennaio 2018 20:26:53 CET Adrian Bunk wrote:
> > > On Wed, Jan 03, 2018 at 07:14:58PM +0100, Pino Toscano wrote:
> > > > On mercoledì 3 gennaio 2018 20:12:05 CET Adrian Bunk wrote:
> > > >...
> > > > > Regarding ksudoku, is there any reason why you didn't apply
> > > > > either my patch from #883100 or the similar change from Ubuntu?
> > > > > Either one would fix the build on armel and armhf.
> > > >
> > > > It is a bad hack, and I do not want to carry and support it.
> > >
> > > Ubuntu backported the upstream fix.
> >
> > Ah I see, a different hack than yours [1],
> >...
> > [1] that btw will not work, since even if you skip the
> > find_package(OpenGL) call, then set_package_properties(OpenGL ...) sets
> > TYPE REQUIRED, and thus make cmake error out (see feature_summary)
> > because a required dependency was not found
>
> Why are you implying that I did not test that my patch fixed the FTBFS
> before submitting it?
>
> When you are claiming that it "will not work", all I can say is
> that it did work for me in an armel build on November 29th 2017.
I stand corrected: your patch "builds" (although IMHO it should not).
Still, both yours and "upstream" patches are hacks, and no, I am *not*
going to support them. If you could stop pushing for them, it would
be less time I am wasting on this.
Thanks,
--
Pino Toscano
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#883100; Package src:ksudoku.
(Thu, 04 Jan 2018 14:48:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Pino Toscano <pino@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Thu, 04 Jan 2018 14:48:05 GMT) (full text, mbox, link).
Message #20 received at 883100@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
severity 883100 important
tag 883100 - patch
thanks
Since ksudoku was removed from unstable (and soon testing), this is no
more a blocking issue.
--
Pino Toscano
[signature.asc (application/pgp-signature, inline)]
Severity set to 'important' from 'serious'
Request was from Pino Toscano <pino@debian.org>
to control@bugs.debian.org.
(Thu, 04 Jan 2018 14:48:09 GMT) (full text, mbox, link).
Removed tag(s) patch.
Request was from Pino Toscano <pino@debian.org>
to control@bugs.debian.org.
(Thu, 04 Jan 2018 14:48:10 GMT) (full text, mbox, link).
Added tag(s) ftbfs.
Request was from Adrian Bunk <bunk@debian.org>
to control@bugs.debian.org.
(Fri, 22 Jun 2018 16:43:18 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#883100; Package src:ksudoku.
(Sun, 24 Jun 2018 18:30:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Sun, 24 Jun 2018 18:30:07 GMT) (full text, mbox, link).
Message #31 received at 883100@bugs.debian.org (full text, mbox, reply):
Control: tags -1 patch
The following fixes the armel build similar to the armhf build:
--- debian/control.old 2018-06-24 16:15:54.987390079 +0000
+++ debian/control 2018-06-24 16:17:45.541199061 +0000
@@ -12,8 +12,8 @@
Build-Depends: cmake (>= 2.8.12~),
debhelper (>= 11),
extra-cmake-modules (>= 5.31.0~),
- libgl1-mesa-dev [!armhf] | libgl-dev [!armhf],
- libglu1-mesa-dev [!armhf],
+ libgl1-mesa-dev [!armhf !armel] | libgl-dev [!armhf !armel],
+ libglu1-mesa-dev [!armhf !armel],
libkf5archive-dev (>= 5.31.0~),
libkf5config-dev (>= 5.31.0~),
libkf5configwidgets-dev (>= 5.31.0~),
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
Added tag(s) patch.
Request was from Adrian Bunk <bunk@debian.org>
to 883100-submit@bugs.debian.org.
(Sun, 24 Jun 2018 18:30:07 GMT) (full text, mbox, link).
Removed tag(s) patch.
Request was from Pino Toscano <pino@debian.org>
to control@bugs.debian.org.
(Sun, 24 Jun 2018 19:18:02 GMT) (full text, mbox, link).
Reply sent
to Adrian Bunk <bunk@debian.org>:
You have taken responsibility.
(Thu, 29 Nov 2018 16:54:04 GMT) (full text, mbox, link).
Notification sent
to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer.
(Thu, 29 Nov 2018 16:54:04 GMT) (full text, mbox, link).
Message #40 received at 883100-done@bugs.debian.org (full text, mbox, reply):
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
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 28 Dec 2018 07:24:54 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 14:04:51 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.