Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653396 - sci-misc/mendeleydesktop-1.18 requires qt-5.10 to be installed otherwise crashes
Summary: sci-misc/mendeleydesktop-1.18 requires qt-5.10 to be installed otherwise crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 649026
Blocks:
  Show dependency tree
 
Reported: 2018-04-17 15:39 UTC by Ritchie
Modified: 2018-08-22 13:46 UTC (History)
4 users (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 Ritchie 2018-04-17 15:39:02 UTC
Mendeley crashes immediately after the start, complaining about the incorrect version of the Qt library (version 5.10 is required). However, Qt 5.10 is not yet available in the portage. The current stable version of Qt (dev-qt/qtcore-5.9.4-r2) is installed in the system.

/opt/mendeleydesktop/bin/mendeleydesktop
/opt/mendeleydesktop/bin/..//lib64/mendeleydesktop/libexec/mendeleydesktop.x86_64: /usr/lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by /opt/mendeleydesktop/bin/..//lib64/mendeleydesktop/libexec/mendeleydesktop.x86_64)
/opt/mendeleydesktop/bin/..//lib64/mendeleydesktop/libexec/mendeleydesktop.x86_64: /usr/lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by /opt/mendeleydesktop/bin/..//lib64/libMendeley.so.1.18)

Mendeley itself runs OK when using bundled Qt 5.10 (and plugins):

tar xaf mendeleydesktop-1.18-linux-x86_64.tar.bz2 -C /tmp
export LD_LIBRARY_PATH=/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0
/tmp/mendeleydesktop-1.18-linux-x86_64/bin/mendeleydesktop

Possible solution:
A USE flag may be added to the ebuild to install the bundled Qt (and plugins) when the required version of Qt is not available in the system.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-04-17 15:48:46 UTC
Sounds like mendeleydesktop-1.18 should be masked.
Comment 2 Andrés Becerra Sandoval 2018-04-18 14:11:27 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Sounds like mendeleydesktop-1.18 should be masked.

And the previous version 1.17.13 should be restored in the tree!
Comment 3 Larry the Git Cow gentoo-dev 2018-04-26 20:07:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a5681b5de113ea054ec2a038242b70cb6446df

commit 92a5681b5de113ea054ec2a038242b70cb6446df
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-26 19:34:18 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-26 20:06:46 +0000

    profiles: Mask broken sci-misc/mendeleydesktop versions
    
    Unsatisfiable dependencies. Non-maintainer commit.
    
    Closes: https://bugs.gentoo.org/653396

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit c200b479ffbb0b0ab75972c7665a42fc8f64dcf3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-26 19:13:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-26 20:05:58 +0000

    sci-misc/mendeleydesktop: Restore 1.17.13 and fix Qt version-dep
    
    Non-maintainer commit.
    
    Bug: https://bugs.gentoo.org/653396
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-misc/mendeleydesktop/Manifest                  |   2 +
 .../mendeleydesktop-1.17.13-r1.ebuild              | 133 +++++++++++++++++++++
 2 files changed, 135 insertions(+)}