Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80130 - [opencv-cuda] OpenCVConfig.cmake requires cuda 12.2, which breaks building packages

Attached to Project: Arch Linux
Opened by Andrey Kashlak (andreymal) - Wednesday, 01 November 2023, 11:37 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 November 2023, 12:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/usr/lib/cmake/opencv4/OpenCVConfig.cmake in opencv-cuda 4.8.1-1 contains this line:

set(OpenCV_CUDA_VERSION "12.2")

But the current version of the cuda package is 12.3.0-1.

As a result, I can't build packages that depend on opencv-cuda because the build fails with this error:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find CUDA: Found unsuitable version "12.3", but required is exact
version "12.2" (found /opt/cuda)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindCUDA.cmake:1291 (find_package_handle_standard_args)
/usr/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package)
/usr/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)

(I tried to just flag the package as out-of-date, but it was immediately unflagged, so I had to create this bug report instead.)
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 01 November 2023, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  opencv 4.8.1-2
Comment by Antonio Rojas (arojas) - Wednesday, 01 November 2023, 12:40 GMT
Yes, please do not flag packages out of date to report issues.

Loading...