FS#61332 - [libqtshadowsocks] [kea] [powerdns] [qca] libbotan-2.so dependence broken

Attached to Project: Community Packages
Opened by Terry Ding (terryding77) - Thursday, 10 January 2019, 03:05 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 10 January 2019, 07:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Antonio Rojas (arojas)
Baptiste (zorun)
Felix Yan (felixonmars)
Levente Polyak (anthraxx)
Jiachen Yang (farseerfc)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
after botan upgrade to 2.9.0, the dependence of shadowsocks-qt5 "libbotan-2.so.8" change to "libbotan-2.so.9"

start ss-qt5 with error message "ss-qt5: error while loading shared libraries: libbotan-2.so.8: cannot open shared object file: No such file or directory"

downgrade botan-2.8.0-2 solved this problem

so maybe we should rebuild shadowsocks-qt5 to resolve this dependence problem

Additional info:
* package version(s) botan-2.9.0-1 shadowsocks-qt5-3.0.1-1
* config and/or log files etc.


Steps to reproduce:
upgrade system with botan-2.9.0-1 shadowsocks-qt5-3.0.1-1
run ss-qt5
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 10 January 2019, 07:49 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Thursday, 10 January 2019, 03:17 GMT
No, that's the wrong package. Please do NOT simply blame the binary when something breaks -- dependencies are resolved recursively, and you need a tool like lddtree (from pax-utils) to tell you where the actual breakage is.

$ pkg-list-linked-libraries shadowsocks-qt5 libbotan
==> checking linked libraries for shadowsocks-qt5-3.0.1-1-x86_64.pkg.tar.xz ...
==> ERROR: No file in shadowsocks-qt5-3.0.1-1-x86_64.pkg.tar.xz is linked to libbotan
$ pkg-list-linked-libraries libqtshadowsocks libbotan
==> checking linked libraries for libqtshadowsocks-2.1.0-4-x86_64.pkg.tar.xz ...
/usr/lib/libQtShadowsocks.so.2.1.0
NEEDED libbotan-2.so.8

That being said, it's still a real issue with a repo package (also maintained by Felix).

In fact, it's an issue with several packages, and ultimately with botan being pushed to community with a changed soname but without rebuilding dependent packages.

@xyproto, why did this not go through staging? `checkpkg` should have warned that the package update came with a changed soname.
Comment by Eli Schwartz (eschwartz) - Thursday, 10 January 2019, 03:28 GMT
- multiple packages to rebuild, libqtshadowsocks is not enough
- qca in extra needs rebuilding too
Comment by Jiachen Yang (farseerfc) - Thursday, 10 January 2019, 03:29 GMT
Sorry to close the issue too early. I just did the rebuild only for libqtshadowsocks 2.1.0-5

Loading...