Created attachment 2025856 [details] Test repro Description of problem: boost1.78-static looks in the incorrect directory for static libraries when using CMake's FindBoost. The shipped .cmake file looks to point at the same directory (/usr/lib64) for both the shared and static Boost libraries. However the static Boost libraries are instead in /usr/lib64/boost1.78 . Version-Release number of selected component (if applicable): 1.78.0-1.el8 How reproducible: Fully here. Steps to Reproduce: 1. Extract BoostEpelStaticTest.tar.gz contents 2. Open BoostEpel Folder in VS Code 3. [F1] Dev Containers: Reopen in Container 4. [F1] CMake: Delete Cache and Reconfigure 5. [F1] CMake: Clean Rebuild Actual results: [proc] Executing command: /usr/local/bin/cmake --build /workspaces/BoostEpel/build --config Debug --target all -- [build] ninja: error: '/usr/lib64/libboost_filesystem.a', needed by 'EpelStaticBoostTest', missing and no known rule to make it Expected results: Builds test exe Additional info: Workaround: Uncomment "RUN mv /usr/lib64/boost1.78/* /usr/lib64/" in Dockerfile
Thanks for reporting that bug! Do not hesitate to create a pull request (PR) on https://src.fedoraproject.org/rpms/boost1.78/tree/epel8 . It will greatly accelerate the resolution.