#1147678#5
Date:
2026-09-14 11:15:32 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.

mupen64plus-core fails because projects/unix/Makefile line 343 aborts
with "No OpenCV development libraries found!" as soon as OPENCV=1 is
set and pkg-config cannot resolve the opencv4 module; debian/patches/
Build-against-libopencv4.patch is what wires the OpenCV feature to
"pkg-config opencv4", and OpenCV 5.0 ships opencv5.pc instead. The
probe is not confined to the build step: it also fires when running
"make distclean", so the debian/rules clean invocation that
dpkg-buildpackage runs before dh_auto_build already aborts here, and
the build never even reaches the compile stage in this log. The
maintainer should update Build-against-libopencv4.patch to probe
"pkg-config --exists opencv5" (falling back to opencv4 for older
releases) and use the CFLAGS/LIBS it reports, rather than hardcoding
the opencv4 module name.

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.


  dpkg-source: info: skipping absent keyring
/usr/share/keyrings/debian-maintainers.pgp
  dpkg-source: info: extracting mupen64plus-core in
/build/reproducible-path/mupen64plus-core-2.6.0
  dpkg-source: info: unpacking mupen64plus-core_2.6.0.orig.tar.gz
  dpkg-source: info: unpacking mupen64plus-core_2.6.0-3.debian.tar.xz
  dpkg-source: info: using patch list from debian/patches/series
  dpkg-source: info: applying Use-font-from-fonts-dejavu-core.patch
  dpkg-source: info: applying
Disable-the-disassembler-of-the-recompiled-code.patch
  dpkg-source: info: applying Fix-spelling-errors.patch
  dpkg-source: info: applying Build-against-libopencv4.patch
  dpkg-source: info: applying
Don-t-print-recomp-interpreter-debug-info-when-debugger-i.patch
  dpkg-source: info: applying Fix-minizip-includes-for-zlib-v1.3.2-1173.patch

  Check disk space
  ----------------

  Sufficient free space for build

  User Environment
  ----------------

  APT_CONFIG=/var/lib/sbuild/apt.conf
  HOME=/sbuild-nonexistent
  LANG=en_US.UTF-8
  LC_ALL=C.UTF-8
  LOGNAME=sbuild
  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 mupen64plus-core
  dpkg-buildpackage: info: source version 2.6.0-3
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Sven Eckelmann <sven@narfation.org>
   dpkg-source --before-build .
  dpkg-buildpackage: info: host architecture amd64
   debian/rules clean
  dh clean --sourcedirectory="projects/unix"
     debian/rules override_dh_auto_clean
  make[1]: Entering directory '/build/reproducible-path/mupen64plus-core-2.6.0'
  make[2]: Entering directory
'/build/reproducible-path/mupen64plus-core-2.6.0/projects/unix'
  Makefile:343: *** No OpenCV development libraries found!.  Stop.
  make[2]: Leaving directory
'/build/reproducible-path/mupen64plus-core-2.6.0/projects/unix'
  make[1]: *** [debian/rules:31: override_dh_auto_clean] Error 25
  make[1]: Leaving directory '/build/reproducible-path/mupen64plus-core-2.6.0'
  make: *** [debian/rules:25: clean] Error 2
  dpkg-buildpackage: error: debian/rules clean 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

#1147678#10
Date:
2026-09-14 13:29:34 UTC
From:
To:
Hello,

Bug #1147678 in mupen64plus-core reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/mupen64plus-core/-/commit/3529a41c5d9173292c970dd0dda23290e33c61c9
Signed-off-by: Sven Eckelmann <sven@narfation.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147678

#1147678#15
Date:
2026-09-14 13:51:20 UTC
From:
To:
Hello,

Bug #1147678 in mupen64plus-core reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/mupen64plus-core/-/commit/3529a41c5d9173292c970dd0dda23290e33c61c9
Signed-off-by: Sven Eckelmann <sven@narfation.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147678

#1147678#20
Date:
2026-09-14 14:23:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mupen64plus-core, 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 1147678@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Eckelmann <sven@narfation.org> (supplier of updated mupen64plus-core 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: Mon, 14 Sep 2026 15:28:58 +0200
Source: mupen64plus-core
Architecture: source
Version: 2.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sven Eckelmann <sven@narfation.org>
Closes: 1147678
Changes:
 mupen64plus-core (2.6.0-4) unstable; urgency=medium
 .
   * debian/patches:
     - Modify Build-against-libopencv4.patch, fix build against libopencv5
       (Closes: #1147678)
Checksums-Sha1:
 ddb4c5bfe16a61871fd9716f4891db49cabb36a7 2462 mupen64plus-core_2.6.0-4.dsc
 cd16f4b71ae7e7edb29b6f13087de88d7184858c 21460 mupen64plus-core_2.6.0-4.debian.tar.xz
 b35513ae535ffbcb5edd30d336682fc0b22116f9 23023 mupen64plus-core_2.6.0-4_amd64.buildinfo
Checksums-Sha256:
 c5bca1c013ae01ae8299449fb3e8849b3e17370ea54f6fbd68979fd7282619ce 2462 mupen64plus-core_2.6.0-4.dsc
 0353cdf8d37a27fa92c9f6adbea4b75d9675d7037b2e4d3a7dcf1b6951860fa9 21460 mupen64plus-core_2.6.0-4.debian.tar.xz
 6c73272bd519d274c0b466e6b9114be0cef710e133dac8af0eadc5734e2a779d 23023 mupen64plus-core_2.6.0-4_amd64.buildinfo
Files:
 54f6b6e9abfff22ddd4c58e4c08bda04 2462 games optional mupen64plus-core_2.6.0-4.dsc
 88c6e576d92ba44c4b7a0fee4590c1ff 21460 games optional mupen64plus-core_2.6.0-4.debian.tar.xz
 c03c5a646a977042a91944d6cbd35659 23023 games optional mupen64plus-core_2.6.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAmqn/gQACgkQXYcKB8Em
e0Ya4A/+IWJL57NhsbgERGzcIdDRvHyvhnpb0VRKvN1Vh5F6SEm53e4k4CLuvLrx
qNdda344falmUxwvCEtNjWeoPdXhdIokrTxdnDl6iekjwiv/02B5XQLQt9L5v82i
wS3A3exoTIUBGxdXX9z1e3m8cibq6t/8xfNxDF+qHqqWMD2ntZExFRyIc8wDTJVO
2Jktc/tkaJWBEzu3i9p4s04sBVfW68OMz6btUBpn0eypglrY/QulG1tSgH8GuhRo
XzMSQxj0EABkIUnVHr4nEObFAjHEa5qH1QCgDGqBeBCqFZ8njPMww3kADjxnVuFV
IKZ2iNEEq6ydCcApi2AejmKQWpvkgTzbxqxYOzI/YMA5S90EwhgrHBIlq03y7SyC
Sj8iMhioBPyH+9mWnTrtbzuEDtmBP6iU9x+VLRi2JqF4qI+WCmaH1+TNvCbRE7rN
q9EJCGSiM1+TjaensfvexXBBnDj0qZWrj49nsQZELHhu20nWHfXryngmdO4/LRhm
NQZF6wTvS91wmj9vgjlKgJa23DdVm1h9j9g3q8mmqUoiAQKmgYqKpcPlp95l7m70
WVxoN9UiPxhxJZY72UCKnAb3X+HAedD5rE4syfFpLP1Um/ssUC3pl9wjzsKvRPje
gP0Cyei3lmxSCniPQ7i9ahvD5O5AHcb1ZpJF5cIZNNHAJOReunM=
=PePg
-----END PGP SIGNATURE-----