Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660366 - mail-mta/protonmail-bridge-bin-1.0.4 - depends on dev-qt/qtmultimedia-5.9 ?
Summary: mail-mta/protonmail-bridge-bin-1.0.4 - depends on dev-qt/qtmultimedia-5.9 ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lucian Poston
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-04 17:51 UTC by Dennis Schridde
Modified: 2018-07-13 10:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2018-07-04 17:51:45 UTC
Portage reports:
!!! existing preserved libs:
>>> package: dev-qt/qtmultimedia-5.11.1
 *  - /usr/lib64/libQt5MultimediaQuick_p.so.5
 *  - /usr/lib64/libQt5MultimediaQuick_p.so.5.9.6
 *      used by /usr/lib/protonmail/bridge/qml/QtMultimedia/libdeclarative_multimedia.so (mail-mta/protonmail-bridge-bin-1.0.4)

# scanelf -n /usr/lib/protonmail/bridge/qml/QtMultimedia/libdeclarative_multimedia.so
 TYPE   NEEDED FILE 
ET_DYN libQt5MultimediaQuick_p.so.5,libQt5Multimedia.so.5,libQt5Quick.so.5,libQt5Gui.so.5,libQt5Qml.so.5,libQt5Network.so.5,libQt5Core.so.5,libGL.so.1,libpthread.so.0,libpulse-mainloop-glib.so.0,libpulse.so.0,libglib-2.0.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib/protonmail/bridge/qml/QtMultimedia/libdeclarative_multimedia.so


dev-qt/qtmultimedia-5.11.1 provides: /usr/lib64/libQt5MultimediaQuick.so.5
Comment 1 Lucian Poston 2018-07-10 03:26:58 UTC
Short answer is it doesn't depend on dev-qt/qtmultimedia. You're seeing a false positive of portage's preserve-libs feature. The package provides its own qtmultimedia libs that it actually requires. You could unmerge then re-emerge protonmail-bridge-bin if the message is bothering you.

I'll look for a way to mask the consuming binaries with this issue from preserving libs, but I didn't see anything from a quick look at portage's source. RESTRICTing preserve-libs unfortunately only masks the binaries as providers (not consumers) in the dynamic lib dependency graph. I had assumed the preserve-libs feature honored the SEARCH_DIRS_MASK variable from revdep-rebuild (it masks consumers), but unfortunately it doesn't.
Comment 2 Larry the Git Cow gentoo-dev 2018-07-13 10:56:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2784b9e5903ce8e272cff6543c6d2d5fdf363b66

commit 2784b9e5903ce8e272cff6543c6d2d5fdf363b66
Author:     Lucian Poston <lucianposton@pm.me>
AuthorDate: 2018-07-12 12:12:28 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 10:56:39 +0000

    mail-mta/protonmail-bridge-bin: Bump 1.0.5
    
    Fix preserve-libs issues: https://bugs.gentoo.org/660366
    
    Closes: https://bugs.gentoo.org/660366
    
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9201
    Closes: https://bugs.gentoo.org/660366

 mail-mta/protonmail-bridge-bin/Manifest            |   2 +-
 .../protonmail-bridge-bin-1.0.4.ebuild             |  42 -----
 .../protonmail-bridge-bin-1.0.5.ebuild             | 188 +++++++++++++++++++++
 3 files changed, 189 insertions(+), 43 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2784b9e5903ce8e272cff6543c6d2d5fdf363b66

commit 2784b9e5903ce8e272cff6543c6d2d5fdf363b66
Author:     Lucian Poston <lucianposton@pm.me>
AuthorDate: 2018-07-12 12:12:28 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 10:56:39 +0000

    mail-mta/protonmail-bridge-bin: Bump 1.0.5
    
    Fix preserve-libs issues: https://bugs.gentoo.org/660366
    
    Closes: https://bugs.gentoo.org/660366
    
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9201
    Closes: https://bugs.gentoo.org/660366

 mail-mta/protonmail-bridge-bin/Manifest            |   2 +-
 .../protonmail-bridge-bin-1.0.4.ebuild             |  42 -----
 .../protonmail-bridge-bin-1.0.5.ebuild             | 188 +++++++++++++++++++++
 3 files changed, 189 insertions(+), 43 deletions(-)