Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715288 - app-text/master-pdf-editor-5.4.38 does not start
Summary: app-text/master-pdf-editor-5.4.38 does not start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: João Santos
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-29 10:03 UTC by Frank Noack
Modified: 2020-05-04 14:11 UTC (History)
3 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 Frank Noack 2020-03-29 10:03:25 UTC
Starting master-pdf-editior ends with failure 
# masterpdfeditor5: relocation error: masterpdfeditor5: symbol _ZN10QMutexPool17globalInstanceGetEPKv version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link time reference
Comment 1 Jonas Stein gentoo-dev 2020-03-29 13:47:38 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

Does -5.3.22 work for you?
Please prepare the logs so that we can help you.

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 2 Martin Gysel (bearsh) 2020-04-08 12:05:01 UTC
Jonas, this is a bug as master-pdf-editor does not work anymore with qt-5.14. a simple workaround would be to also install the bundled libraries
Comment 3 Frank Noack 2020-04-08 13:52:40 UTC
I am sorry for my late reply. The older version works properly.
Comment 4 João Santos 2020-04-08 15:29:58 UTC
I have been doing some research on this and come to the same conclusion as the previous comments. Version 5.3.22 works with Qt 5.14 and the current 5.4.38 version does not, although it works with the bundled Qt libraries.

How can this be fixed in Gentoo? Can the bundled libraries be used? Or maybe the 5.4.38 could just be masked...
Comment 5 João Santos 2020-04-10 15:44:26 UTC
(In reply to João Santos from comment #4)
> I have been doing some research on this and come to the same conclusion as
> the previous comments. Version 5.3.22 works with Qt 5.14 and the current
> 5.4.38 version does not, although it works with the bundled Qt libraries.
> 
> How can this be fixed in Gentoo? Can the bundled libraries be used? Or maybe
> the 5.4.38 could just be masked...

I created an ebuild that makes Master PDF Editor use the bundled libraries, http://dpaste.com/146KFDX.

If everything is right it should be pushed to the tree soon.
Comment 6 Martin Gysel (bearsh) 2020-04-10 18:25:59 UTC
(In reply to João Santos from comment #5)
> (In reply to João Santos from comment #4)
> > I have been doing some research on this and come to the same conclusion as
> > the previous comments. Version 5.3.22 works with Qt 5.14 and the current
> > 5.4.38 version does not, although it works with the bundled Qt libraries.
> > 
> > How can this be fixed in Gentoo? Can the bundled libraries be used? Or maybe
> > the 5.4.38 could just be masked...
> 
> I created an ebuild that makes Master PDF Editor use the bundled libraries,
> http://dpaste.com/146KFDX.
> 
> If everything is right it should be pushed to the tree soon.

shouldn't QA_PREBUILT also contains all bundled *.so files?
Comment 7 João Santos 2020-04-10 20:00:57 UTC
(In reply to Martin Gysel (bearsh) from comment #6)
> (In reply to João Santos from comment #5)
> > (In reply to João Santos from comment #4)
> > > I have been doing some research on this and come to the same conclusion as
> > > the previous comments. Version 5.3.22 works with Qt 5.14 and the current
> > > 5.4.38 version does not, although it works with the bundled Qt libraries.
> > > 
> > > How can this be fixed in Gentoo? Can the bundled libraries be used? Or maybe
> > > the 5.4.38 could just be masked...
> > 
> > I created an ebuild that makes Master PDF Editor use the bundled libraries,
> > http://dpaste.com/146KFDX.
> > 
> > If everything is right it should be pushed to the tree soon.
> 
> shouldn't QA_PREBUILT also contains all bundled *.so files?

You are probably right, but I am not really familiar with the purpose of QA_PREBUILT other than containing pre-built binaries (https://devmanual.gentoo.org/eclass-reference/ebuild/index.html).

So I am not sure which of the files should also be contained in QA_PREBUILT.
Comment 8 Frank Noack 2020-04-11 11:51:21 UTC
Unfortunately I can't support you with the structure of the ebuild, but the provided ebuild master-pdf-editor-5.4.38-r1 works properly for me.
Comment 9 Jonas Stein gentoo-dev 2020-04-11 22:18:58 UTC
I could not find a related commit.

please do not close manually. Use 
Closes: https://bugs.gentoo.org/715288
in the PR comment.

If it is merged, please link the commit here.
Comment 10 Jonas Stein gentoo-dev 2020-04-11 22:21:46 UTC
this is probably the PR https://github.com/gentoo/gentoo/pull/15290
Comment 11 João Santos 2020-04-12 08:41:09 UTC
(In reply to Jonas Stein from comment #9)
> I could not find a related commit.
> 
> please do not close manually. Use 
> Closes: https://bugs.gentoo.org/715288
> in the PR comment.
> 
> If it is merged, please link the commit here.

Thanks for the heads up, I have just added the comment to the PR.
Comment 12 Larry the Git Cow gentoo-dev 2020-05-04 14:11:14 UTC
The bug has been closed via the following commit(s):

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

commit 39eebea2b3eeae3e6504bf1fff50cd76f7158b0e
Author:     Joao Santos <joaompssantos@gmail.com>
AuthorDate: 2020-04-10 16:30:20 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-04 14:11:01 +0000

    app-text/master-pdf-editor: fixes version 5.4.38
    
    Makes master-pdf-editor use the bundled libraries
    
    Closes: https://bugs.gentoo.org/715288
    Signed-off-by: João Santos <joaompssantos@gmail.com>
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Closes: https://github.com/gentoo/gentoo/pull/15290
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-text/master-pdf-editor/Manifest                |  1 +
 .../master-pdf-editor-5.4.38-r1.ebuild             | 57 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)