[Bug 176617] Review Request: libupnp

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 6 12:14:59 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: libupnp


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





------- Additional Comments From bugs.michael at gmx.net  2006-01-06 07:14 EST -------
The invalid-soname error means that the library's run-time name (aka
the shared object's run-time name) encoded within the library binary is
incomplete or doesn't match the versions in the file name. See e.g.

 $ readelf -d libupnp.so.1.2.1 | grep SONAME
 0x0000000e (SONAME)                     Library soname: [libupnp.so]

This is immature library versioning. For libixml.so and libthreadutil.so,
the authors don't encode any version in the library at all. For libupnp,
which has versions in its file name, the soname ought to be "libupnp.so.1".
Even if the library API is not planned to change in the near future, the
authors ought to use version 1. If the API is not considered stable yet,
they ought not use versions 1.2.1 in the library file name when they don't
adjust the soname accordingly. They pretend that multiple files with different
names can coexist, while in fact the run-time name of the library is
non-versioned.

[...]

A few other problems with the package:

* doesn't build with default RPM opt flags
* must not strip the libraries, since that disables the debuginfo package
* due to the soname problem, ldconfig creates an unowned link libupnp.so
  to the versioned library - this makes the version completely useless!
* -devel subpackage is missing /usr/include/upnp directory
* -devel subpackage ought to require full version-release of main package
  to stay in sync with the main package always (think about patches applied
  in updates, notes in %changelog, fixed run-time/link-time problems, e.g.)
* much better Summary: Universal Plug and Play (UPnP) SDK
* prefer 'install -p' to preserve timestamps

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list