Actions
Bug #42353
closedPackaging of libceph-common.so.0 violates openSUSE shared library packaging policy
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Quoting from https://en.opensuse.org/openSUSE:Shared_library_packaging_policy
A versioned package is allowed to ship multiple library files, provided they share the same numbers and these numbers always change in lockstep throughout.
Relevant portion of the spec file showing that libceph-common.so.0 is owned by librados2 package:
%files -n librados2 %{_libdir}/librados.so.* %dir %{_libdir}/ceph %{_libdir}/ceph/libceph-common.so.* %if %{with lttng} %{_libdir}/librados_tp.so.* %endif
Source of SO version number discrepancy:
librados2 SO is defined in src/librados/CMakeLists.txt:
set_target_properties(librados PROPERTIES OUTPUT_NAME rados VERSION 2.0.0 SOVERSION 2 VISIBILITY_INLINES_HIDDEN ON)
and libceph-common SO in src/CMakeLists.txt:
set_target_properties(ceph-common PROPERTIES SOVERSION 0 SKIP_RPATH TRUE)
Updated by Nathan Cutler over 4 years ago
- Status changed from In Progress to Fix Under Review
- Backport set to nautilus
- Pull request ID set to 30976
Updated by Sage Weil over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42701: nautilus: Packaging of libceph-common.so.0 violates openSUSE shared library packaging policy added
Updated by Nathan Cutler over 3 years ago
- Status changed from Pending Backport to Resolved
Actions