Fedora Account System
Red Hat Associate
Red Hat Customer
The most recent changes in Rawhide are causing FTBFS in Monado due to: CMake Error at /usr/lib64/cmake/realsense2/realsense2Targets.cmake:107 (message): The imported target "realsense2::rs_lz4" references the file "/usr/lib64/librs_lz4.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/realsense2/realsense2Targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/realsense2/realsense2Config.cmake:47 (include) CMakeLists.txt:124 (find_package) Reproducible: Always Steps to Reproduce: 1. Try to use the realsense cmake Actual Results: Internal checks fail due to missing file. Expected Results: Builds work. Additional Information: I don't know if we need to patch the cmake or -static subpackage, or what here.
Fix has been pushed as as PR please test with the CI package build: https://koji.fedoraproject.org/koji/taskinfo?taskID=147044777
Something is still not working: -- #####----- Config -----##### -- Configuring done (7.3s) CMake Error at /usr/lib64/cmake/realsense2/realsense2Targets.cmake:80 (set_target_properties): The link interface of target "realsense2::rs_lz4" contains: PkgConfig::LZ4 but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. Call Stack (most recent call first): /usr/lib64/cmake/realsense2/realsense2Config.cmake:47 (include) CMakeLists.txt:124 (find_package) -- Generating done (0.2s) This occurs when trying to: BuildRequires: pkgconfig(realsense2) I confirmed that lz4-devel is in my failing build, so that's not the problem.
I updated the patch to now point to lz4 link libraries, I have tested by taking artifacts from https://koji.fedoraproject.org/koji/buildinfo?buildID=2993314 and it builds successfully. updated rpm should be available at: https://koji.fedoraproject.org/koji/taskinfo?taskID=147065417
This resolves the issue.
I've issued a build based on the latest merge and Monado is building again. Thanks for getting this fixed!