Your message dated Tue, 15 Sep 2026 14:27:18 +0000
with message-id <[email protected]>
and subject line Bug#1147683: fixed in r-cran-opencv 0.6.0-1~exp
has caused the Debian Bug report #1147683,
regarding r-cran-opencv: FTBFS with OpenCV 5.0
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.)
--
1147683: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147683
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: r-cran-opencv
Version: 0.5.2-1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: opencv5-transition
Control: affects -1 src:opencv
X-Debbugs-Cc: [email protected], [email protected]
Dear maintainer,
Your package fails to build from source against opencv 5.0.0+dfsg-1~exp1,
currently in experimental.
OpenCV 5.0 renames its entire install tree from opencv4 to opencv5 and ships
no compatibility shims:
* pkg-config: only /usr/lib/<triplet>/pkgconfig/opencv5.pc. There is no
opencv4.pc and no opencv.pc.
* headers: /usr/include/opencv5/opencv2/..., no /usr/include/opencv4.
* cmake: /usr/lib/<triplet>/cmake/opencv5/OpenCVConfig.cmake. A bare
find_package(OpenCV) still resolves, but a pinned version
such as find_package(OpenCV 4.7) no longer matches.
* modules: libopencv-calib3d-dev is split into libopencv-calib-dev,
libopencv-geometry-dev, libopencv-stereo-dev and
libopencv-ptcloud-dev; libopencv-features2d-dev becomes
libopencv-features-dev. The CMake component names change
with them (features2d -> features).
* geometry: the new geometry module is not only a piece of calib3d. It
also absorbs shape and contour functions that used to live
in imgproc -- contourArea, arcLength, approxPolyDP,
boundingRect, minAreaRect, convexHull and
getPerspectiveTransform among them -- and opencv2/opencv.hpp
does not pull in opencv2/geometry.hpp, so code that reached
those through the umbrella header now needs an explicit
include of opencv2/geometry.hpp.
In r-cran-opencv's case, the configure script's anticonf check queries
pkg-config for the module name "opencv4" (see "Configuration failed to
find opencv4 library" and the "opencv4.pc file" hint just above the
failure). That pkg-config lookup fails, so PKG_CFLAGS stays empty
("Using PKG_CFLAGS="), and the subsequent compiler probe for the
header aborts with "<stdin>:1:10: fatal error: opencv2/opencv.hpp: No
such file or directory", which is what makes R CMD INSTALL exit 1 and
take down debian/rules binary (Error 25). The configure script should
also probe for the opencv5 pkg-config module (falling back to opencv4)
so the resulting include path reaches the compiler and
opencv2/opencv.hpp is found again.
The same source builds fine in the same chroot against the OpenCV 4.10
packages currently in unstable, so this is specific to OpenCV 5.
The relevant part of the build log follows; the full log is attached.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -j40
dpkg-buildpackage: info: source package r-cran-opencv
dpkg-buildpackage: info: source version 0.5.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andrius Merkys <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --buildsystem R
dh_auto_clean -O--buildsystem=R
dh_autoreconf_clean -O--buildsystem=R
dh_clean -O--buildsystem=R
debian/rules binary
dh binary --buildsystem R
dh_update_autotools_config -O--buildsystem=R
dh_autoreconf -O--buildsystem=R
dh_auto_configure -O--buildsystem=R
dh_auto_build -O--buildsystem=R
dh_auto_test -O--buildsystem=R
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=R
dh_prep -O--buildsystem=R
dh_auto_install --destdir=debian/r-cran-opencv/ -O--buildsystem=R
I: R Package: opencv Version: 0.5.2
I: Building using R version 4.6.1-6
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Wed, 25 Feb 2026 02:40:36 -0500
mkdir -p
/build/reproducible-path/r-cran-opencv-0.5.2/debian/r-cran-opencv/usr/lib/R/site-library
R CMD INSTALL -l
/build/reproducible-path/r-cran-opencv-0.5.2/debian/r-cran-opencv/usr/lib/R/site-library
--clean . --built-timestamp="'Wed, 25 Feb 2026 02:40:36 -0500'"
* installing *source* package ‘opencv’ ...
** this is package ‘opencv’ version ‘0.5.2’
** package ‘opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 2.5.1
Using PKG_CFLAGS=
Found C++17 compiler: x86_64-linux-gnu-g++
-----------------------------[ ANTICONF ]-------------------------------
Configuration failed to find opencv4 library. Try installing:
* deb: libopencv-dev (Debian, Ubuntu, etc)
* rpm: opencv-devel (Fedora, CentOS, RHEL)
* brew: opencv (Mac OSX)
If opencv4 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a opencv4.pc file.
---------------------------[ ERROR MESSAGE ]----------------------------
<stdin>:1:10: fatal error: opencv2/opencv.hpp: No such file or directory
compilation terminated.
------------------------------------------------------------------------
ERROR: configuration failed for package ‘opencv’
* removing
‘/build/reproducible-path/r-cran-opencv-0.5.2/debian/r-cran-opencv/usr/lib/R/site-library/opencv’
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with
exit status 2
--------------------------------------------------------------------------------
Please close this bug if it turns out to be a collision with another ongoing
transition rather than an OpenCV 5 problem.
Thanks,
Aron
r-cran-opencv_0.5.2-1_amd64-2026-09-11T195209Z.build.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: r-cran-opencv
Source-Version: 0.6.0-1~exp
Done: Andrius Merkys <[email protected]>
We believe that the bug you reported is fixed in the latest version of
r-cran-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.
Andrius Merkys <[email protected]> (supplier of updated r-cran-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: Tue, 15 Sep 2026 09:41:10 -0400
Source: r-cran-opencv
Architecture: source
Version: 0.6.0-1~exp
Distribution: experimental
Urgency: medium
Maintainer: Debian R Packages Maintainers <[email protected]>
Changed-By: Andrius Merkys <[email protected]>
Closes: 1147683
Changes:
r-cran-opencv (0.6.0-1~exp) experimental; urgency=medium
.
* New upstream version 0.6.0 (Closes: #1147683)
Checksums-Sha1:
b189a85c432316e9d2b32a65ab37ba78e01e558d 1485 r-cran-opencv_0.6.0-1~exp.dsc
8102fa1098c7b32fb2cf23cc9776b56553b7a037 219134 r-cran-opencv_0.6.0.orig.tar.gz
5294cf1422b392f045aa5016585675089eec6c73 2180
r-cran-opencv_0.6.0-1~exp.debian.tar.xz
1db8977c1b5402d92d64253e58b892753797bfd0 10661
r-cran-opencv_0.6.0-1~exp_source.buildinfo
Checksums-Sha256:
e52859c7107348e0e496fa197ea0a1762ab845b6b6ed40ac4ea8b217d55c1fb0 1485
r-cran-opencv_0.6.0-1~exp.dsc
4793d7c5f08aef4052f44be55226d3c15fd0660018b0b6d4fbcf38a4141a6700 219134
r-cran-opencv_0.6.0.orig.tar.gz
fd89a59bdccc9ddbefce1fe0b346c7e73327fcf37d76198db4ec84e68f7a64fb 2180
r-cran-opencv_0.6.0-1~exp.debian.tar.xz
c3ef707e01c8639fd76edb221e7b5cf058b588621797fcd0c619965aef61f0cf 10661
r-cran-opencv_0.6.0-1~exp_source.buildinfo
Files:
f5870a41cf88a1f7297b30058fe68ca2 1485 gnu-r optional
r-cran-opencv_0.6.0-1~exp.dsc
e4997924fd47a4de86f63dfd28a718e6 219134 gnu-r optional
r-cran-opencv_0.6.0.orig.tar.gz
c8798ade91df9d66f9a993e342b4d93c 2180 gnu-r optional
r-cran-opencv_0.6.0-1~exp.debian.tar.xz
d231265de2d619579977f45b497f0649 10661 gnu-r optional
r-cran-opencv_0.6.0-1~exp_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQ9mT++eHAQdiuDyvHYokBlilUePQUCaqlMVgAKCRDYokBlilUe
PXRlAQD5Z9S/erDl1C/K1YFsVoYxhAXrdv+88+xRFUFnQ4K5ugD8DZf5+Eebyscs
kyOzYRzKzbNTdcI02//SMprO0wBGBws=
=uufr
-----END PGP SIGNATURE-----
pgpebAFCoasL9.pgp
Description: PGP signature
--- End Message ---