Bug 2215745
| Summary: | OpenCV build detects oneVPL but fails to build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dominik 'Rathann' Mierzejewski <dominik> |
| Component: | opencv | Assignee: | Nicolas Chauvet (kwizart) <kwizart> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | hhorak, jkucera, jridky, karlthered, kwizart, sergio |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2215700 | ||
|
Description
Dominik 'Rathann' Mierzejewski
2023-06-18 09:37:00 UTC
Affected version: 4.7.0-9.fc38. Same issue in modules/videoio/CMakeFiles/opencv_perf_videoio.dir/build.make:142 bin/opencv_perf_videoio: VPL::dispatcher-NOTFOUND opencv-4.7.0/modules/videoio/cmake/detect_msdk.cmake looks relevant to this issue. Can you forward the issue upstream ? Likely fixeable in the next opencv version (We could make a backport by then). we have the same problem with opencv-4.8.0 IMPORTED_LOCATION not set for imported target "VPL::dispatcher" testing build here : https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/6137720/ OneVPL dispatcher library path handling is non-standard / surprising to users #418 https://github.com/oneapi-src/oneAPI-spec/issues/418 https://github.com/oneapi-src/oneVPL/issues/56 conclusion build with ReleaseWithDebInfo doesn't work but : - -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ fix the build what do uou thin we build opencv-4.8.0 with -DCMAKE_BUILD_TYPE=Release and VPL or with -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo and libmfx ? (In reply to Sergio Basto from comment #6) > what do uou thin we build opencv-4.8.0 with -DCMAKE_BUILD_TYPE=Release > and VPL or with -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo and libmfx ? If it doesn't affect -debuginfo sub-package generation then I'd say build with VPL and switch to =Release until VPL bugs are fixed. |