Bug 2274016 - [EPEL8] boost1.78-static .cmake incorrect path for static libraries
Summary: [EPEL8] boost1.78-static .cmake incorrect path for static libraries
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: boost1.78
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Denis Arnaud
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-08 15:16 UTC by rhys.parry
Modified: 2024-04-09 08:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Test repro (1.20 KB, application/gzip)
2024-04-08 15:16 UTC, rhys.parry
no flags Details

Description rhys.parry 2024-04-08 15:16:17 UTC
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

Comment 1 Denis Arnaud 2024-04-09 08:35:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.