Project

General

Profile

Bug #49081

packages fail to install on Fedora 34/rawhide due to missing shared lib libneoradostest-support.so

Added by Kaleb KEITHLEY about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

see https://bugzilla.redhat.com/show_bug.cgi?id=1923069

cmake library targets default to shared libs, but libblk.so is apparently an internal build artifact that isn't intended to be shipped.

I fixed this with:

--- ceph-16.1.0-43-g6b74fb5c/src/test/neorados/CMakeLists.txt.orig 2021-02-01 08:25:18.006965821 -0500
+++ ceph-16.1.0-43-g6b74fb5c/src/test/neorados/CMakeLists.txt 2021-02-01 08:25:34.244407147 -0500
@ -19,7 +19,7 @
target_link_libraries(ceph_test_neorados_op_speed
libneorados fmt::fmt ${unittest_libs})

-add_library(neoradostest-support common_tests.cc)
+add_library(neoradostest-support STATIC common_tests.cc)
target_link_libraries(neoradostest-support
libneorados fmt::fmt)

Also available in: Atom PDF