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!
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!
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
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
|
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
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.