Debian Bug report logs -
#869975
[opencv] bug in debian/rules -> it isn't compiled with OPENGL=ON
Reported by: Jean Jacques BRUCKER <jean-jacques.brucker@supersonicimagine.com>
Date: Fri, 28 Jul 2017 10:24:02 UTC
Severity: normal
Tags: patch
Found in versions opencv/2.4.9.1+dfsg1-2, opencv/3.2.0+dfsg-1~exp1
Fixed in version opencv/3.2.0+dfsg-1~exp2
Done: Mattia Rizzolo <mattia@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#869975; Package src:opencv.
(Fri, 28 Jul 2017 10:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Jean Jacques BRUCKER <jean-jacques.brucker@supersonicimagine.com>:
New Bug report received and forwarded. Copy sent to Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>.
(Fri, 28 Jul 2017 10:24: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: opencv
Version: 2.4.9.1+dfsg1-2
There should be missing an "else" in debian/rules which implies
WITH_OPENGL is always ON for ubuntu (overriding previous if-else
statement) and always undefined for other distributions.
Here is the fix:
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,7 @@ CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
else
CMAKE_ARCH_FLAGS += -DWITH_OPENGL=OFF
endif
+else
CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
endif
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#869975; Package src:opencv.
(Fri, 28 Jul 2017 15:15:02 GMT) (full text, mbox, link).
Message #8 received at 869975@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: found -1 3.2.0+dfsg-1~exp1
Control: tag -1 patch
On Fri, Jul 28, 2017 at 12:21:32PM +0200, Jean Jacques BRUCKER wrote:
> Source: opencv
> Version: 2.4.9.1+dfsg1-2
That's also true for the version in experimental (which is the one we
care about, as we're "about" to do a transition to it.
> There should be missing an "else" in debian/rules which implies
> WITH_OPENGL is always ON for ubuntu (overriding previous if-else
> statement) and always undefined for other distributions.
ISTR the KDE/Qt team wants to also apply that change that is done in
ubuntu in debian as well, and also something about arm64. I'd like to
ask them about this, maybe that "if ubuntu" check should be
dropped.
> Here is the fix:
>
> --- a/debian/rules
> +++ b/debian/rules
> @@ -33,6 +33,7 @@ CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
> else
> CMAKE_ARCH_FLAGS += -DWITH_OPENGL=OFF
> endif
> +else
> CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
> endif
Thanks for the patch!
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
[signature.asc (application/pgp-signature, inline)]
Marked as found in versions opencv/3.2.0+dfsg-1~exp1.
Request was from Mattia Rizzolo <mattia@debian.org>
to 869975-submit@bugs.debian.org.
(Fri, 28 Jul 2017 15:15:03 GMT) (full text, mbox, link).
Added tag(s) patch.
Request was from Mattia Rizzolo <mattia@debian.org>
to 869975-submit@bugs.debian.org.
(Fri, 28 Jul 2017 15:15:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#869975; Package src:opencv.
(Mon, 31 Jul 2017 08:51:05 GMT) (full text, mbox, link).
Message #15 received at 869975@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, Jul 28, 2017 at 05:13:07PM +0200, Mattia Rizzolo wrote:
> On Fri, Jul 28, 2017 at 12:21:32PM +0200, Jean Jacques BRUCKER wrote:
> > There should be missing an "else" in debian/rules which implies
> > WITH_OPENGL is always ON for ubuntu (overriding previous if-else
> > statement) and always undefined for other distributions.
Then, apparently OpenGL is not really feasible with the gtk build we are
doing... from cmake/OpenCVFindLibsGUI.cmake:
|# --- OpenGl ---
|ocv_clear_vars(HAVE_OPENGL HAVE_QT_OPENGL)
|if(WITH_OPENGL)
| if(WITH_WIN32UI OR (HAVE_QT AND QT_QTOPENGL_FOUND) OR HAVE_GTKGLEXT)
| find_package (OpenGL QUIET)
| if(OPENGL_FOUND)
We are not building with Qt (ISTR there were good reason for not do it)
and instead we are building with GTK3. Now, that HAVE_GTKGLEXT is:
| if(WITH_OPENGL AND NOT HAVE_GTK3)
| CHECK_MODULE(gtkglext-1.0 HAVE_GTKGLEXT)
| endif()
So apparently it can never be set with GTK3…
Also, apparently I can't remember why I added that check last year, but
given the current status I'm going to just drop it, as it's not useful
to anybody.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility.
(Mon, 31 Jul 2017 10:21:20 GMT) (full text, mbox, link).
Notification sent
to Jean Jacques BRUCKER <jean-jacques.brucker@supersonicimagine.com>:
Bug acknowledged by developer.
(Mon, 31 Jul 2017 10:21:20 GMT) (full text, mbox, link).
Message #20 received at 869975-close@bugs.debian.org (full text, mbox, reply):
Source: opencv
Source-Version: 3.2.0+dfsg-1~exp2
We believe that the bug you reported is fixed in the latest version of
opencv, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 869975@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated opencv package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 31 Jul 2017 10:50:25 +0200
Source: opencv
Binary: opencv-doc libopencv-dev opencv-data libopencv-core-dev libopencv-core3.2 libopencv-ml-dev libopencv-ml3.2 libopencv-imgproc-dev libopencv-imgproc3.2 libopencv-imgcodecs-dev libopencv-imgcodecs3.2 libopencv-video-dev libopencv-video3.2 libopencv-videoio-dev libopencv-videoio3.2 libopencv-objdetect-dev libopencv-objdetect3.2 libopencv-highgui-dev libopencv-highgui3.2 libopencv-calib3d-dev libopencv-calib3d3.2 libopencv-flann-dev libopencv-flann3.2 libopencv-features2d-dev libopencv-features2d3.2 libopencv-ts-dev libopencv-photo-dev libopencv-photo3.2 libopencv-videostab-dev libopencv-videostab3.2 libopencv-stitching-dev libopencv-stitching3.2 libopencv-shape-dev libopencv-shape3.2 libopencv-superres-dev libopencv-superres3.2 libopencv-viz-dev libopencv-viz3.2 libopencv-contrib-dev libopencv-contrib3.2 libopencv3.2-java libopencv3.2-jni python-opencv python3-opencv
Architecture: source
Version: 3.2.0+dfsg-1~exp2
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
libopencv-calib3d-dev - development files for libopencv-calib3d3.2
libopencv-calib3d3.2 - computer vision Camera Calibration library
libopencv-contrib-dev - development files for libopencv-contrib3.2
libopencv-contrib3.2 - computer vision contrlib library
libopencv-core-dev - development files for libopencv-core3.2
libopencv-core3.2 - computer vision core library
libopencv-dev - development files for opencv
libopencv-features2d-dev - development files for libopencv-features2d3.2
libopencv-features2d3.2 - computer vision Feature Detection and Descriptor Extraction libra
libopencv-flann-dev - development files for libopencv-flann3.2
libopencv-flann3.2 - computer vision Clustering and Search in Multi-Dimensional spaces
libopencv-highgui-dev - development files for libopencv-highgui3.2
libopencv-highgui3.2 - computer vision High-level GUI and Media I/O library
libopencv-imgcodecs-dev - development files for libopencv-imgcodecs3.2
libopencv-imgcodecs3.2 - computer vision Image Codecs library
libopencv-imgproc-dev - development files for libopencv-imgproc3.2
libopencv-imgproc3.2 - computer vision Image Processing library
libopencv-ml-dev - development files for libopencv-ml3.2
libopencv-ml3.2 - computer vision Machine Learning library
libopencv-objdetect-dev - development files for libopencv-objdetect3.2
libopencv-objdetect3.2 - computer vision Object Detection library
libopencv-photo-dev - development files for libopencv-photo3.2
libopencv-photo3.2 - computer vision computational photography library
libopencv-shape-dev - development files for libopencv-shape3.2
libopencv-shape3.2 - computer vision shape descriptors and matchers library
libopencv-stitching-dev - development files for libopencv-stitching3.2
libopencv-stitching3.2 - computer vision image stitching library
libopencv-superres-dev - development files for libopencv-superres3.2
libopencv-superres3.2 - computer vision Super Resolution library
libopencv-ts-dev - development files for TS library of OpenCV (Open Computer Vision)
libopencv-video-dev - development files for libopencv-video3.2
libopencv-video3.2 - computer vision Video analysis library
libopencv-videoio-dev - development files for libopencv-videoio3.2
libopencv-videoio3.2 - computer vision Video I/O library
libopencv-videostab-dev - development files for libopencv-videostab3.2
libopencv-videostab3.2 - computer vision video stabilization library
libopencv-viz-dev - development files for libopencv-viz3.2
libopencv-viz3.2 - computer vision 3D data visualization library
libopencv3.2-java - Java bindings for the computer vision library
libopencv3.2-jni - Java jni library for the computer vision library
opencv-data - development data for opencv
opencv-doc - OpenCV documentation and examples
python-opencv - Python bindings for the computer vision library
python3-opencv - Python 3 bindings for the computer vision library
Closes: 869975
Changes:
opencv (3.2.0+dfsg-1~exp2) experimental; urgency=medium
.
* Team upload.
* Explicitly disable carotene support to fix FTBFS on arm*.
* Drop conditional enabling of OpenGL, it can't be enabled with GTK+3
anyway. Closes: #869975
* Changelog for 3.2.0+dfsg-1~exp2
Checksums-Sha1:
739d57c60383b60ea6f3b2e13783fea0cf41dda4 5771 opencv_3.2.0+dfsg-1~exp2.dsc
c264f821659476f7061042ff39e29ba76a0b2b62 26136 opencv_3.2.0+dfsg-1~exp2.debian.tar.xz
Checksums-Sha256:
792c7bcce3a999c5fe6d54210e136b04b77f6e24c5785a13bbf66f0b7f7e93fd 5771 opencv_3.2.0+dfsg-1~exp2.dsc
0476acef4149e402a863c30443fa00d13d329cfc20f203b06db9068a17fabf74 26136 opencv_3.2.0+dfsg-1~exp2.debian.tar.xz
Files:
8dd2f5ce78f3c9044260a7f23c9ef03d 5771 devel optional opencv_3.2.0+dfsg-1~exp2.dsc
ed18453cabe4b88704923192cc187638 26136 devel optional opencv_3.2.0+dfsg-1~exp2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAll+/qQACgkQCBa54Yx2
K62fVg/9HxUq6VHe0MkM2SQohwbxk6GGWDNjPw6ObI7S/F+lgWTB/O/w1xdU7oLD
p68TmETFJBnstX6YfCc/rOef4rxALMeNADebvhOBPWtcCCQAmW9EXoY/5YsWU9vx
z8YqpoCn1/B9TvETJ2QEZoAyOKiGNNnCLDCNXr7B/XZ0WDClb9STPr1OQe4BRbnC
B12DoQhJZN3b6l7SK6MrLenLnHJkpCAOGQhFjhnfQcrETTQrSbjV1IsFANXJNMuG
tHkyNs7PEszuYa+UebqDMA3+ytmNdc7FSkw4UigYTlGxXjmy8rhd+DxSC3ADg2Bc
muV0v/cqKn89qxIeR0PQ+HyhqwW9stkgFlX34kNAYqDEnqh7L9+SdTSLTWYjf7Yl
knRVmoIzfUergk/GcMd22gz2m8HUfB34tZ8a9S2YVf40t1WzlwWi1Ko4HiJXNnVb
/h9EYVtaQffb7Cn1ocgajbVe9m3bCtObgnjuXCyKMTTIqovJeIYf6QzFicJRaFfn
ZDsshfDZ1m//yoacKrRBvy4THysAomynfNIG9RsnY6ZkcHZiRrl27HRAiexshOLy
KkHR9ZNdRtmVgHiWfHZ+umDB8s1HZgbLU6csSSTYcZhW/Rn8j9K+Bcu4r+cbTS52
AfWO5hSnnBFgq4dhADaDSHKGcTYnotbFiDK9Hj812pJzbUrTdZE=
=w9cN
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 27 Oct 2017 07:28:37 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:
Thu Sep 28 09:23:40 2023;
Machine Name:
bembo
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.