#1147690 ukui-biometric-manager: FTBFS with OpenCV 5.0

#1147690#5
Date:
2026-09-14 11:37:58 UTC
From:
To:
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 ukui-biometric-manager's case, the qmake build fails during
dh_auto_configure (debian/rules:13) because the project's .pro file
checks for the "opencv4" pkg-config module before any compilation
starts, and that module no longer exists under OpenCV 5. qmake
reports "Project ERROR: opencv4 development package not found" and
exits, which make turns into "Error 25", and dpkg-buildpackage aborts
the whole binary target. The maintainer should update the .pro file's
package check (and any PKGCONFIG += opencv4 entry) to opencv5 so
qmake queries the new opencv5.pc instead. The build never reaches the
compile step, so this log does not show whether any hardcoded
/usr/include/opencv4 paths also need updating.

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.


  make[1]: Leaving directory
'/build/reproducible-path/ukui-biometric-manager-1.0.3.1'
     dh_clean
   debian/rules binary
  dh binary
  dh: warning: Implicitly activating single-binary dh addon for
backwards compatibility.  In compat 14+,
  dh: warning: this fallback will *not* happen automatically via
dh_auto_install will instead use a
  dh: warning: different default for --destdir unless the
single-binary add-on is active,
  dh: warning: which can cause the source to produce an empty binary package
  dh: warning:
  dh: warning: To keep the existing behaviour (compat 13), please
activate the single-binary addon explicitly.
  dh: warning: This can be done by adding "dh-sequence-single-binary"
to Build-Depends or passing
  dh: warning: --with=single-binary to dh.
  dh: warning:
  dh: warning: If you have solved this issue differently (e.g., by
passing --destdir explicitly to
  dh: warning: dh_auto_install or not using dh_auto_install at all)
and want to silence this warning
  dh: warning: without activating the addon, you can do that by
passing --without=single-binary to dh
  dh: warning: to explicitly acknowledge the change.
  dh: warning:
  dh: warning: Please see the description of the "single-binary" in
"man dh" for more details of what
  dh: warning: it does and why this is changing from implicit
behaviour to explicitly opt-in.
     dh_update_autotools_config
     dh_autoreconf
     dh_auto_configure
  Info: creating stash file
/build/reproducible-path/ukui-biometric-manager-1.0.3.1/.qmake.stash
  Updating 'i18n_ts/bo.qm'...
      Generated 0 translation(s) (0 finished and 0 unfinished)
      Ignored 141 untranslated source text(s)
  Updating 'i18n_ts/es.qm'...
      Generated 123 translation(s) (118 finished and 5 unfinished)
      Ignored 18 untranslated source text(s)
  Updating 'i18n_ts/fr.qm'...
      Generated 123 translation(s) (118 finished and 5 unfinished)
      Ignored 18 untranslated source text(s)
  Updating 'i18n_ts/pt.qm'...
      Generated 123 translation(s) (118 finished and 5 unfinished)
      Ignored 18 untranslated source text(s)
  Updating 'i18n_ts/ru.qm'...
      Generated 123 translation(s) (118 finished and 5 unfinished)
      Ignored 18 untranslated source text(s)
  Updating 'i18n_ts/tr.qm'...
      Generated 126 translation(s) (124 finished and 2 unfinished)
      Ignored 15 untranslated source text(s)
  Updating 'i18n_ts/zh_CN.qm'...
      Generated 140 translation(s) (140 finished and 0 unfinished)
      Ignored 1 untranslated source text(s)
  Project ERROR: opencv4 development package not found
  make: *** [debian/rules:13: 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

#1147690#12
Date:
2026-10-01 13:19:15 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ukui-biometric-manager, 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 1147690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
handsome_feng <jianfengli@ubuntukylin.com> (supplier of updated ukui-biometric-manager 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)
Format: 1.8
Date: Thu, 01 Oct 2026 08:52:59 -0400
Source: ukui-biometric-manager
Architecture: source
Version: 1.0.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: handsome_feng <jianfengli@ubuntukylin.com>
Closes: 1147690
Changes:
 ukui-biometric-manager (1.0.3.2-1) unstable; urgency=medium
 .
   [ zhangpan ]
   * New upstream bugfix-only release.
   * Fix build with OpenCV 5: select the OpenCV pkg-config module
     with packagesExist (opencv4 or opencv5) and take the OpenCV
     include directory from pkg-config instead of hardcoding
     opencv4 and /usr/include/opencv4. (Closes: #1147690)
Checksums-Sha1:
 31bf2de23ca16dbe0ac3bb30b585bf98541f9baf 2315 ukui-biometric-manager_1.0.3.2-1.dsc
 3db8d07d95010b258b759abae67238661d60d447 2513059 ukui-biometric-manager_1.0.3.2.orig.tar.gz
 356b875c0a432f0b3432bdc4f8141d9c0e85786a 3116 ukui-biometric-manager_1.0.3.2-1.debian.tar.xz
 1b3be0cafa305de8f6f8372f84f4d689d5f82d7d 22981 ukui-biometric-manager_1.0.3.2-1_source.buildinfo
Checksums-Sha256:
 9c3ed8d7991a7cffb17b9546c2f943e878fe3dd88612474ef89c756d5126c69e 2315 ukui-biometric-manager_1.0.3.2-1.dsc
 d739ae5d7ae24b0c1e70a1de0566a9d740e853d2ca15b1132ecc377fde667b36 2513059 ukui-biometric-manager_1.0.3.2.orig.tar.gz
 c68758cf72a6f115392a45a900ae0ae87e7378b0ad3123553ac51ec1bf9e4ab7 3116 ukui-biometric-manager_1.0.3.2-1.debian.tar.xz
 3488b20bb60132c3acc2983deef570aa69a5edf7c1239181160bbfff0b6402e7 22981 ukui-biometric-manager_1.0.3.2-1_source.buildinfo
Files:
 27cca055d43a29fc32686f3ee43c4365 2315 x11 optional ukui-biometric-manager_1.0.3.2-1.dsc
 846aa742dad961b6164d3b1e6fd3f450 2513059 x11 optional ukui-biometric-manager_1.0.3.2.orig.tar.gz
 754a5c09d47324c97b091dc58a589bb2 3116 x11 optional ukui-biometric-manager_1.0.3.2-1.debian.tar.xz
 b3fcd674578ea4cc405264b485c4cdad 22981 x11 optional ukui-biometric-manager_1.0.3.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEEhsgAHpUwnacZWWSCm7hQwBMRHwwFAmq+WxgbHGppYW5mZW5n
bGlAdWJ1bnR1a3lsaW4uY29tAAoJEJu4UMATER8Mr8kP/ipN6LWcB9k0retG4SKO
H1gHVkcYO67B/bLG1fs4sM2yP/NS90ZwqCglAhmak/sdxztZlPpoVyaskPu1l/V/
JatPe3IsS7xf/pytaA3FNsYTtx9p1WD73EzOjG+f/IVn0AgqBaCD5ha02xa0UdrT
NCU31yIx5/W8HXXHEWM0sqnkTmbD06RPjwNqTM6JLHPX95zwr8B70kArCKIewILe
dkWZyuWXIlB8UplTJTOubqog856Ity0k+lJHj2iOlQPSbCMgsvgw99FkmD6d/tjC
dXvcQqao8oYOasCLhOwU5dcHp7Wc20NrjoGm9b/ak1LWRpWWtqdbDZSwijUq4Xfo
rFtnBgl4JS3lXqf2+8fZ+YXqAvbE7xO+1w8oALOnIkTae/SjyBbp49Gnh5zLYqyL
63IB+aMMLYmbmUZaGgxSHDWDYqWAUbhANRwtZqPu/y6MYgn+QkRV1kymFd3vxcYq
WVguQ08s24tVq0JR+Ch3YDMidIyLPs2QbsXaH3HhzKjVkc6Pqep9UDLJrM6wHPia
jX7mzHHdRp/87C3FKy725nRROEaCANzMYKP7nPB+YXp2aGobyGRfYI80OPWzd5FJ
s6sN2PuHV/cRBobHLI3sQutEztFnyrUmkXo5SFVEF5t5TghfOVgm4K7EUj6uUSP/
hBYdwTMAE4Vkao3vU09+S3B6
=m6FA
-----END PGP SIGNATURE-----