This requires Sip v5 (bug 744958): > SIPing 3 files... > /usr/bin/python3.8 -c import os; os.chdir('/var/tmp/portage/app-text/calibre-5.0.1/work/calibre-5.0.1/build/pyqt/pictureflow'); from sipbuild.tools.build import main; main(); --verbose --no- > make --qmake /usr/lib64/qt5/bin/qmake > Traceback (most recent call last): > File "<string>", line 1, in <module> > ModuleNotFoundError: No module named 'sipbuild'
Can we hope a calibre 5.x ? Or is it more reasonable to look for another solution than calibre ?
(In reply to Christophe PEREZ from comment #1) > Can we hope a calibre 5.x ? > Or is it more reasonable to look for another solution than calibre ? Yes, but first we need to get a sip 5.x ebuild into gentoo. From the looks of this, it could be easy to do: https://github.com/archlinux/svntogit-packages/blob/packages/sip5/trunk/PKGBUILD
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74e998d50080bf540ea722e68c20216772c9447 commit d74e998d50080bf540ea722e68c20216772c9447 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-10-31 21:47:48 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-10-31 22:00:15 +0000 app-text/calibre: Bump to version 5.4.2 Closes: https://bugs.gentoo.org/744961 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-text/calibre/Manifest | 2 + app-text/calibre/calibre-5.4.2.ebuild | 263 ++++++++++++++++++++++++++++++++++ 2 files changed, 265 insertions(+)
I've patched it to use SIP v4 for now.
(In reply to Zac Medico from comment #4) > I've patched it to use SIP v4 for now. I don't understand why I can't update sip : WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-python/sip:0 (dev-python/sip-4.19.24:0/12::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 (-python3_9)" conflicts with ~dev-python/sip-4.19.22[python_targets_python3_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/PyQtWebEngine-5.14.0:0/0::gentoo, installed) USE="-debug" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 (-python3_9)"
(In reply to Christophe PEREZ from comment #5) > (In reply to Zac Medico from comment #4) > > I've patched it to use SIP v4 for now. > > I don't understand why I can't update sip : Surely because of dev-python/PyQtWebEngine-5.14.0 # grep dev-python/sip $(equery which PyQtWebEngine) ~dev-python/sip-4.19.22[${PYTHON_USEDEP}]
PyQtWebEngine-5.15.2 changed the dependency to say >=dev-python/sip-4.19.22 instead, so it will build with sip-5. Can we please remove the <-5 modifier from calibre's DEPEND now?