It doesn't build for Python3.7 : /usr/bin/python3.7 mk_distinfo.py /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib/python3.7/site-packages/QScintilla-2.10.7.dist-info installed.txt Traceback (most recent call last): File "mk_distinfo.py", line 101, in <module> fn_f = open(fn, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/PyQt5/Qsci.so' eix -e dev-python/PyQt5 shows Installed versions: 5.10.1-r1{tbz2}(12:49:27 PM 08/22/2018)(dbus declarative designer examples gui help multimedia network opengl printsupport sql svg webchannel webengine webkit websockets widgets x11extras xmlpatterns -bluetooth -debug -gles2 -location -positioning -sensors -serialport -testlib PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_4 -python3_5")
I admit I don't understand the build process. But I've noticed that the Python3.6 version is at /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib64 python3.6/ while the Python3.7 version is at /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib python3.7 here, /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib is NOT a symlink to /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib64 while /usr/lib is a symlink to /usr/lib64 on my machine. Could this be an explanation for the problem?
(In reply to Helmut Jarausch from comment #1) > [...] > Could this be an explanation for the problem? Yes, that could be. Just to be clear, the error doesn't occur if you remove python3_7 from PYTHON_TARGETS?
(In reply to Davide Pesavento from comment #2) > (In reply to Helmut Jarausch from comment #1) > > [...] > > Could this be an explanation for the problem? > > Yes, that could be. Just to be clear, the error doesn't occur if you remove > python3_7 from PYTHON_TARGETS? No, I even get it for Python2.7 : /usr/bin/python2.7 mk_distinfo.py /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib64/python2.7/site-packages/QScintilla-2.10.7.dist-info installed.txt Traceback (most recent call last): File "mk_distinfo.py", line 101, in <module> fn_f = open(fn, 'rb') IOError: [Errno 2] No such file or directory: '/usr/lib64/python2.7/site-packages/PyQt5/Qsci.so' although Qsci.so is in /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib64/python2.7/site-packages/PyQt5
Apparently it doesn't account for rooted install and tries to load installed module.
Upstream acknowledged that the generation of .dist-info/RECORD is broken in 2.10.7, and is already fixed in the 2.10.8 snapshots.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38146da9b9e0479a54c20d7cbce89ff95e477ab commit d38146da9b9e0479a54c20d7cbce89ff95e477ab Author: Davide Pesavento <pesa@gentoo.org> AuthorDate: 2018-09-16 23:51:59 +0000 Commit: Davide Pesavento <pesa@gentoo.org> CommitDate: 2018-09-16 23:53:21 +0000 dev-python/qscintilla-python: temporarily disable installation of dist-info dir Broken upstream, will be fixed in 2.10.8 Closes: https://bugs.gentoo.org/664690 Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild | 1 + 1 file changed, 1 insertion(+)