[Bug 1191777] New: [SLPP] pango: E: shlib-policy-name-error
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
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.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777
Martin Li��ka
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c1
Dominique Leuenberger
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.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
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
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.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c3
--- Comment #3 from Dominique Leuenberger
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
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
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.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777
http://bugzilla.opensuse.org/show_bug.cgi?id=1191777#c5
Martin Li��ka
participants (1)
-
bugzilla_noreply@suse.com