Your message dated Sat, 18 Jul 2026 08:16:02 +0000
with message-id <[email protected]>
and subject line Bug#1142180: fixed in opencv 4.10.0+dfsg-8
has caused the Debian Bug report #1142180,
regarding FTBFS: vtkVizInteractorStyle.cpp:99:5: error: ‘cout’ was not declared
in this scope
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 [email protected]
immediately.)
--
1142180: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142180
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: opencv
Version: 4.10.0+dfsg-7
Severity: serious
Tags: ftbfs
opencv currently FTBFS,
see
https://buildd.debian.org/status/fetch.php?pkg=opencv&arch=amd64&ver=4.10.0%2Bdfsg-7%2Bb3&stamp=1784188231&raw=0
[552/1223] /usr/bin/x86_64-linux-gnu-g++ -DCVAPI_EXPORTS -DFMT_SHARED
-DGLAD_API_CALL_EXPORT -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REGEX=0
-DSCN_REGEX_BACKEND=0 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Dkiss_fft_scalar=double
-DvtkRenderingCore_AUTOINIT_INCLUDE=\"/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/vtkModuleAutoInit_be7301261a49b13d6a9b1d9e110eacd8.h\"
-I/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu
-I/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/include
-I/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu/modules/viz
-I/build/reproducible-path/opencv-4.10.0+dfsg/modules/core/include -isystem
/usr/include/gdal -isystem /usr/include/eigen3 -isystem /usr/include/vtk-9.6
-isystem /usr/include/vtk-9.6/vtkfmt -isystem
/usr/include/vtk-9.6/vtkscn/include -isystem /usr/include/vtk-9.6/vtkscn
-isystem /usr/include/vtk-9.6/token -isystem /usr/include/vtk-9.6/vtkkissfft
-isystem /usr/include/freetype2 -isystem /usr/include/jsoncpp -isystem
/usr/include/vtk-9.6/vtkglad -g -O2
-ffile-prefix-map=/build/reproducible-path/opencv-4.10.0+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress
-Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef
-Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized
-Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3
-Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread
-fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2
-fvisibility=hidden -fvisibility-inlines-hidden -Wno-suggest-override -g -O2
-ffile-prefix-map=/build/reproducible-path/opencv-4.10.0+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -DNDEBUG -std=c++17 -fPIC -MD -MT
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o -MF
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o.d -o
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o -c
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp
FAILED: [code=1]
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DCVAPI_EXPORTS -DFMT_SHARED
-DGLAD_API_CALL_EXPORT -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REGEX=0
-DSCN_REGEX_BACKEND=0 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Dkiss_fft_scalar=double
-DvtkRenderingCore_AUTOINIT_INCLUDE=\"/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/vtkModuleAutoInit_be7301261a49b13d6a9b1d9e110eacd8.h\"
-I/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu
-I/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/include
-I/build/reproducible-path/opencv-4.10.0+dfsg/obj-x86_64-linux-gnu/modules/viz
-I/build/reproducible-path/opencv-4.10.0+dfsg/modules/core/include -isystem
/usr/include/gdal -isystem /usr/include/eigen3 -isystem /usr/include/vtk-9.6
-isystem /usr/include/vtk-9.6/vtkfmt -isystem
/usr/include/vtk-9.6/vtkscn/include -isystem /usr/include/vtk-9.6/vtkscn
-isystem /usr/include/vtk-9.6/token -isystem /usr/include/vtk-9.6/vtkkissfft
-isystem /usr/include/freetype2 -isystem /usr/include/jsoncpp -isystem
/usr/include/vtk-9.6/vtkglad -g -O2
-ffile-prefix-map=/build/reproducible-path/opencv-4.10.0+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress
-Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef
-Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized
-Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3
-Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread
-fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2
-fvisibility=hidden -fvisibility-inlines-hidden -Wno-suggest-override -g -O2
-ffile-prefix-map=/build/reproducible-path/opencv-4.10.0+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -DNDEBUG -std=c++17 -fPIC -MD -MT
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o -MF
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o.d -o
modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o -c
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:
In member function ‘void cv::viz::vtkVizInteractorStyle::saveScreenshot(const
cv::String&)’:
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:99:5:
error: ‘cout’ was not declared in this scope
99 | cout << "Screenshot successfully captured (" << file.c_str() << ")"
<< endl;
| ^~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:
In member function ‘void cv::viz::vtkVizInteractorStyle::exportScene(const
cv::String&)’:
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:118:23:
warning: ‘void vtkExporter::SetInput(vtkRenderWindow*)’ is deprecated: Please
use SetRenderWindow instead [-Wdeprecated-declarations]
118 | exporter->SetInput(Interactor->GetRenderWindow());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/vtk-9.6/vtkOBJExporter.h:19,
from
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/../precomp.hpp:126,
from
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:46:
/usr/include/vtk-9.6/vtkExporter.h:86:8: note: declared here
86 | void SetInput(vtkRenderWindow* renWin) {
this->SetRenderWindow(renWin); }
| ^~~~~~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:121:5:
error: ‘cout’ was not declared in this scope
121 | cout << "Scene successfully exported (" << file.c_str() << ")" <<
endl;
| ^~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:
In member function ‘void cv::viz::vtkVizInteractorStyle::printCameraParams()’:
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:176:10:
error: ‘cout’ is not a member of ‘std’
176 | std::cout << data.c_str() << std::endl;
| ^~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:47:1:
note: ‘std::cout’ is defined in header ‘<iostream>’; this is probably fixable
by adding ‘#include <iostream>’
46 | #include "../precomp.hpp"
+++ |+#include <iostream>
47 |
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:
In member function ‘void cv::viz::vtkVizInteractorStyle::printHelp()’:
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:270:10:
error: ‘cout’ is not a member of ‘std’
270 | std::cout << "| Help:\n"
| ^~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:270:10:
note: ‘std::cout’ is defined in header ‘<iostream>’; this is probably fixable
by adding ‘#include <iostream>’
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:
In member function ‘virtual void cv::viz::vtkVizInteractorStyle::OnKeyDown()’:
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:398:14:
error: ‘cout’ is not a member of ‘std’
398 | std::cout << (FlyMode ? "Fly mode: on" : "Fly mode: off") <<
std::endl;
| ^~~~
/build/reproducible-path/opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp:398:14:
note: ‘std::cout’ is defined in header ‘<iostream>’; this is probably fixable
by adding ‘#include <iostream>’
The build error appears to have been triggered by the transition to vtk 9.6,
but the error itself is in opencv's modules files,
trying to access std::cout without declaring #include <iostream>
There is a new upstream release, does it fix the issue?
--- End Message ---
--- Begin Message ---
Source: opencv
Source-Version: 4.10.0+dfsg-8
Done: Santiago Vila <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 18 Jul 2026 09:35:00 +0200
Source: opencv
Architecture: source
Version: 4.10.0+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1139140 1142180
Changes:
opencv (4.10.0+dfsg-8) unstable; urgency=medium
.
* Team upload.
.
[ Mo Zhou ]
* d/control: get rid of deprecated kfreebsd and powerpcspe architectures.
* lintian: remove unused lintian overrides.
.
[ Adrian Bunk ]
* Update the Uploaders list. Closes: #1139140.
* Fix FTBFS with VTK 9.6. Closes: #1142180.
.
[ Santiago Vila ]
* Disable Salsa CI jobs which are known to fail.
* Drop "Priority: optional" (default).
* Update standards-version.
Checksums-Sha1:
cbbd24a723e5736393e346f4c9a565b7c945b812 6466 opencv_4.10.0+dfsg-8.dsc
aeb16326252e4e3c4d01d52a9d099f15d42b9eb0 49456
opencv_4.10.0+dfsg-8.debian.tar.xz
900a40501ed5f5cff9b7ed6004c0c911cd1c58d8 31636
opencv_4.10.0+dfsg-8_source.buildinfo
Checksums-Sha256:
61b7db8d17d94ae94774e32637dd0592493ccfe85def7380d89fd07c220e588f 6466
opencv_4.10.0+dfsg-8.dsc
bb9c755ef5ae9c99ac78e5a4838d9c40e878829636fe64f580fdf7406abe17ea 49456
opencv_4.10.0+dfsg-8.debian.tar.xz
f10158311406e177c1690e9cad780097479f26493fb05b189529cf42395180d7 31636
opencv_4.10.0+dfsg-8_source.buildinfo
Files:
5f732a040edde675b3e9d88e57f1564d 6466 devel optional opencv_4.10.0+dfsg-8.dsc
3dbfc28f592e246f2c60a0494cbb0285 49456 devel optional
opencv_4.10.0+dfsg-8.debian.tar.xz
104bb4bdfda5218f8eb0c54910e4bb50 31636 devel optional
opencv_4.10.0+dfsg-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmpbLTYACgkQQc5/C58b
izJVPAf/R/2Danzl6CvT0zCZOnqc8dusLDCSfkbVDvCKtIdrqTjAwufRr+oLuyer
ttfs/pXLMJ/GdKBB+vQaP6G1u/0IuUmDJpSuRxw+lKJzExe5aVL6Kvo14CAp1XP9
dGINv91ymVzzTi38EbKwpum4wnEo1FuPzvOxbTjpzNpzLiLvEwo5I+7MO56c+V0V
iWVTGo9Z2Hmo0xBBCmSCX/1maveypgVgYijFCNJAVxkjaedgUSAsy4HziMOZ/Moi
9F9nTgLy80JPVmnB1rprKZMZZXc0orQvY77uf68Tnugg3pPIy1oKL/GcfGeOeUEI
X6Tjp+qXo5Z1QTvhC2BKwmgHOn9APg==
=RSxi
-----END PGP SIGNATURE-----
pgp8q_8YOYdEa.pgp
Description: PGP signature
--- End Message ---