Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 548048

Summary: media-sound/teamspeak-client-bin-3.0.16 preserves libquazip
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Karol Herbst <gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-28 18:35:40 UTC
Created attachment 402186 [details]
emerge --info

I formerly had quazip installed, and it was recently depcleaned.

I now have this included at the end of every portage merge:

>>> package: dev-libs/quazip-0.6.2-r1
 *  - /usr/lib64/libquazip.so.1
 *  - /usr/lib64/libquazip.so.1.0.0
 *      used by /opt/teamspeak3-client/ts3client (media-sound/teamspeak-client-bin-3.0.16)

teamspeak-client-bin does not depend on quazip.

reinstalling the package does not resolve the issue.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2015-05-09 02:13:13 UTC
Is this not a portage issue?
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-05-09 02:24:54 UTC
I'm not sure it is. ts3client really does have an LD reference to libquazip, which is why the preserve exists:


ldd /opt/teamspeak3-client/ts3client | grep qua
        libquazip.so.1 => /usr/lib64/libquazip.so.1 (0x00007f07a0dbb000)

But ts3client doesn't depend on quazip.

Thus, you only see see the problem if you install quazip before ts3client.

As to *why* ts3client has:
    0x0000000000000001 (NEEDED)             Shared library: [libquazip.so.1]

That remains to be seen. Its possible there's some functionality in teamspeak that uses this, which might somehow fail if the library is missing.

I suspect it might be related to teamspeak plugins, not sure.

I'm not sure what the "correct" solution is to prevent erroneous preserves happening if this is an example of one.

But I would very much look into *why* that Dynamic Needed ref is there first.
Comment 3 Karol Herbst 2015-05-09 11:36:53 UTC
teamspeak is bundling a libquazip.so.1 file. I think I will remove it and let teamspeak-client.bin explicitly depend on quazip then
Comment 4 Karol Herbst 2015-05-09 11:53:06 UTC
here is my PR: https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/116
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-13 15:18:20 UTC
PR merged.