[Bug 1476434] Review Request: bstrlib - Better String Library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #16 from Michael Schwendt <bugs.michael@xxxxxxx> ---
> libbstrsafe.so.1.0.0 -> libbstrsafe.so.1.0.0

That is evidence of a wrong and highly problematic SONAME. Let's see:

 eu-readelf -d libbstrsafe.so.1.0.0 |grep SONAME
  SONAME            Library soname: [libbstrsafe.so.1.0.0]

Indeed. It contains the full version, and the symlinks you create are
superfluous and will be useless, because nothing will use them. Programs linked
with bstrlib will depend on the exact SONAME.

You can query the automatic RPM SONAME Provides by examining the built
packages, too:

  $ rpm -qp --provides bstrlib-1.0.0-1.fc27.2.x86_64.rpm |grep ^lib
  libbstr.so.1.0.0()(64bit)
  libbstrc++.so.1.0.0()(64bit)
  libbstrsafe.so.1.0.0()(64bit)

Any time there would be a minor version upgrade, all programs would need to be
rebuilt to relink them. That is bad for a lib that is declared as "stable". The
SONAMEs ought to end with just the major version.

This is an example of a package, which seems to be simple, but even a library
package can be full of pitfalls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux