[Bug 1191777] New: [SLPP] pango: E: shlib-policy-name-error
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 Bug ID: 1191777 Summary: [SLPP] pango: E: shlib-policy-name-error Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The following rpmlint error was seen for the package: pango.log:[ 68s] libpango-1_0-0.x86_64: E: shlib-policy-name-error SONAME: libpangoft2-1.0.so.0, expected package suffix: 2-1_0-0 Note the updated rpmlint will reach openSUSE:Factory soon. We would like to make 'shlib-policy-name-error' a package build failure error, so please fix the error. Link to the SLPP documentation: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_nam... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1191323 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org Assignee|screening-team-bugs@suse.de |mliska@suse.cz --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- This is a false positive, the SLPP clearly states that multiple libraries matching the same over suffix are allowed in one single package in case of libpango-1_0-0:
rpm -ql libpango-1_0-0 /usr/lib64/libpango-1.0.so.0 /usr/lib64/libpango-1.0.so.0.4800.10 /usr/lib64/libpangocairo-1.0.so.0 /usr/lib64/libpangocairo-1.0.so.0.4800.10 /usr/lib64/libpangoft2-1.0.so.0 /usr/lib64/libpangoft2-1.0.so.0.4800.10 /usr/lib64/libpangoxft-1.0.so.0 /usr/lib64/libpangoxft-1.0.so.0.4800.10 /usr/share/doc/packages/libpango-1_0-0 /usr/share/doc/packages/libpango-1_0-0/NEWS /usr/share/doc/packages/libpango-1_0-0/README.md /usr/share/licenses/libpango-1_0-0 /usr/share/licenses/libpango-1_0-0/COPYING
i.e the leading lib is libpango, and all the others match the -1_0-0 suffix -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c2 --- Comment #2 from Martin Li��ka <martin.liska@suse.com> --- (In reply to Dominique Leuenberger from comment #1)
This is a false positive,
the SLPP clearly states that multiple libraries matching the same over suffix are allowed in one single package
in case of libpango-1_0-0:
rpm -ql libpango-1_0-0 /usr/lib64/libpango-1.0.so.0 /usr/lib64/libpango-1.0.so.0.4800.10 /usr/lib64/libpangocairo-1.0.so.0 /usr/lib64/libpangocairo-1.0.so.0.4800.10 /usr/lib64/libpangoft2-1.0.so.0 /usr/lib64/libpangoft2-1.0.so.0.4800.10 /usr/lib64/libpangoxft-1.0.so.0 /usr/lib64/libpangoxft-1.0.so.0.4800.10 /usr/share/doc/packages/libpango-1_0-0 /usr/share/doc/packages/libpango-1_0-0/NEWS /usr/share/doc/packages/libpango-1_0-0/README.md /usr/share/licenses/libpango-1_0-0 /usr/share/licenses/libpango-1_0-0/COPYING
i.e the leading lib is libpango, and all the others match the -1_0-0 suffix
Hmm, the current rpmlint check does to detect the "leading lib". Where is this behavior documented? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c3 --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> --- https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_Con... A versioned package is allowed to ship multiple library files, provided they share the same numbers and these numbers always change in lockstep throughout. (Example: libqt4 package shipping libQtCore.so.4, libQtNetwork.so.4 etc.) If one of the contained libraries does not create a dependency on all or most other contained libraries, then it is preferred to not merge those libraries into one rpm, but leave them in their own rpm. Consider installation size. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c4 --- Comment #4 from Martin Li��ka <martin.liska@suse.com> --- (In reply to Dominique Leuenberger from comment #3)
https://en.opensuse.org/openSUSE: Shared_library_packaging_policy#Package_Contents
A versioned package is allowed to ship multiple library files, provided they share the same numbers and these numbers always change in lockstep throughout. (Example: libqt4 package shipping libQtCore.so.4, libQtNetwork.so.4 etc.)
All right, all other libraries do share the same "version", but how can I know that '2' can be ignored after the library name: pango.log:[ 68s] libpango-1_0-0.x86_64: E: shlib-policy-name-error SONAME: libpangoft2-1.0.so.0, expected package suffix: 2-1_0-0 ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777 http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c5 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Martin Li��ka <martin.liska@suse.com> --- All right, I'm going to fix it in rpmlint check. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com