Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602816 - dev-python/python-poppler-qt4 removal (was: calls qmake directly)
Summary: dev-python/python-poppler-qt4 removal (was: calls qmake directly)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: Masked for removal on 2018-02-06
Keywords: PMASKED
Depends on: 639846
Blocks: qtbindir qt4-removal poppler-qt4-removal
  Show dependency tree
 
Reported: 2016-12-16 12:23 UTC by Jouni Kosonen
Modified: 2018-02-06 11:05 UTC (History)
0 users

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


Attachments
Build log (pypopplerqt4_build.log,3.09 KB, text/plain)
2016-12-16 12:23 UTC, Jouni Kosonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Kosonen 2016-12-16 12:23:10 UTC
Created attachment 456374 [details]
Build log

...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_ext
Unsupported Qt version (5.7.1). Try specifying the path to qmake manually via --qmake-bin=
 * ERROR: dev-python/python-poppler-qt4-0.18.1::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Jouni Kosonen 2017-04-15 01:18:17 UTC
This now happens with both of these:
dev-python/python-poppler-qt4-0.18.1
dev-python/python-poppler-qt4-0.24.0
Comment 2 Paul Jewell 2017-10-31 07:53:33 UTC
I have come across this problem on my desktop, but not on my laptop, so I am not convinced this is an issue with this particular package's ebuilds. In fact, looking in the ebuild for the 0.24 version (the only one currently on my system), I don't see anything untoward - it is basically a standard python package install using the default portage python infrastructure. I will continue to dig, and if I identify the problem, I will post it back here.
Comment 3 Paul Jewell 2017-10-31 07:56:53 UTC
Sorry - the problem is on my laptop as well - trying "emerge python-poppler-qt4" results in the same failure. The successful compilations were on September 24th, and again on October 9th, but today (31st October) it fails. I'll keep digging...
Comment 4 Paul Jewell 2017-10-31 08:05:19 UTC
As workaround, run:

QT_SELECT=4 emerge -av1 dev-python/python-poppler-qt4

This will ensure qt4 is used for the build, instead of qt5. I have qt5 as default on my desktop, hence the unsupported version message. It looks like the default has changed on my laptop since the 9th October.

To properly resolve this issue, perhaps QT_SELECT=4 needs to be set via the ebuild, plus the additional dependency for a qt version 4 installation? I don't know how many packages are still using this version (as opposed to qt5). I need it for media-sound/frescobaldi, but I see the current live version is migrating to qt5, so I don't know how much longer this situation will exist.

To reproduce the bug, you can run:

QT_SELECT=5 emerge -av1 dev-python/python-poppler-qt4
Comment 5 Jouni Kosonen 2017-11-02 12:34:40 UTC
(In reply to Paul Jewell from comment #4)
> I don't know how many packages are still using this version (as opposed 
> to qt5). I need it for media-sound/frescobaldi, but I see the current live
> version is migrating to qt5, so I don't know how much longer this situation
> will exist.

media-sound/frescobaldi is the only reason I have dev-python/python-poppler-qt4 too, and I believe the only other package remaining in the tree with the dependency is app-text/krop. 

Qt4 is on the way out. I don't know what that means for krop, but getting frescobaldi-3 and python-poppler-qt5 in the tree would help us both.
Comment 6 Andreas Sturmlechner gentoo-dev 2017-12-24 19:38:18 UTC
app-text/krop is the only rdep left for this package, rather than fixing this we will try to get rid of it.
Comment 7 Larry the Git Cow gentoo-dev 2018-01-07 14:51:20 UTC
The bug has been referenced in the following commit(s):

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

commit 3634660723765a733c715b25a1ca4416420e8a99
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-01 12:24:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-07 14:51:02 +0000

    profiles: Mask dev-python/python-poppler-qt4 for removal
    
    Bug: https://bugs.gentoo.org/602816

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)}
Comment 8 Larry the Git Cow gentoo-dev 2018-02-06 11:05:54 UTC
The bug has been closed via the following commit(s):

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

commit f8d4226c47877aa4c2fe0d2e016caca29533f1a4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-31 20:50:35 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-02-06 11:05:42 +0000

    profiles: Remove last-rited dev-python/python-poppler-qt4
    
    Closes: https://bugs.gentoo.org/602816

 dev-python/python-poppler-qt4/Manifest             |  1 -
 dev-python/python-poppler-qt4/metadata.xml         | 12 -----------
 .../python-poppler-qt4-0.24.0.ebuild               | 24 ----------------------
 profiles/package.mask                              |  4 ----
 4 files changed, 41 deletions(-)