Project

General

Profile

Actions

Bug #42353

closed

Packaging of libceph-common.so.0 violates openSUSE shared library packaging policy

Added by Nathan Cutler over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

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)

Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #42701: nautilus: Packaging of libceph-common.so.0 violates openSUSE shared library packaging policyRejectedActions
Actions #1

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
Actions #2

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

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
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF