[QScintilla] Parallel build issue
Davide Pesavento
pesa at gentoo.org
Sun Oct 7 19:52:18 BST 2018
Hi,
'make -j10 install' fails randomly with the error below, seemingly due
to the fact that mk_distinfo.py runs too early.
# make -j10 INSTALL_ROOT=/tmp/portage/dev-python/qscintilla-python-2.10.8/image
install
cd Qsci/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile
/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/Qsci/Qsci.pro
'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc
QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc
QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc
QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++
QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++
QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=
'QMAKE_CFLAGS=-march=native -O2 -pipe' QMAKE_CFLAGS_RELEASE=
QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe'
QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG=
'QMAKE_LFLAGS=-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed'
QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile
install
/usr/lib64/qt5/bin/qmake -install qinstall
/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/Qsci.pyi
/tmp/portage/dev-python/qscintilla-python-2.10.8/image/usr/lib64/python2.7/site-packages/PyQt5/Qsci.pyi
/usr/bin/python2.7
/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python/mk_distinfo.py
"/tmp/portage/dev-python/qscintilla-python-2.10.8/image"
/usr/lib64/python2.7/site-packages/QScintilla-2.10.8.dist-info
installed.txt
/usr/lib64/qt5/bin/qmake -install qinstall
/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/QScintilla2.api
/tmp/portage/dev-python/qscintilla-python-2.10.8/image/usr/share/qt5/qsci/api/python/QScintilla2.api
Traceback (most recent call last):
File "/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python/mk_distinfo.py",
line 108, in <module>
fn_f = open(fn, 'rb')
IOError: [Errno 2] No such file or directory:
'/tmp/portage/dev-python/qscintilla-python-2.10.8/image/usr/lib64/python2.7/site-packages/PyQt5/Qsci.so'
make: *** [Makefile:290: install_distinfo] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Entering directory
'/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/Qsci'
/usr/lib64/qt5/bin/qmake -install qinstall
/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/Qsci/Qsci.so
/tmp/portage/dev-python/qscintilla-python-2.10.8/image/usr/lib64/python2.7/site-packages/PyQt5/Qsci.so
make[1]: Leaving directory
'/tmp/portage/dev-python/qscintilla-python-2.10.8/work/QScintilla_gpl-2.10.8/Python-python2_7/Qsci'
Thanks,
Davide
More information about the QScintilla
mailing list