Useless libtr_tid dependencies
Bug #1704884 reported by
Jennifer Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moonshot Trust-Router |
New
|
Low
|
Unassigned |
Bug Description
The Debian package build system reports that the libtr-tid2 package is linked against libraries whose symbols it does not use. I believe this is correct and these could be removed.
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/
description: | updated |
To post a comment you must log in.
I'd recommend balancing minimizing dependencies against complicating the
build system.
In general, minimizing dependencies only has significant value if you
can minimize package-level dependencies. So, for example, if you can
avoid all the libraries in the libtr-tid package depending on sqlite3,
then you can simplify upgrades and upgrade ordering.
However if one shared library in libtr-tid depends on sqlite3 and
another does not, you don't tend to gain much in most situations.
In contrast, managing dependencies generated by autoconf or pkg-config
on a per-library basis is a bit annoying and does add some complexity to
the build system.
I've picked sqlite3 as an example because I actually suspect that you
can avoid everything but tids linking against sqlite3 and so that
dependency may well be worth removing.
Some of the others less so.
--Sam