Skip to content

Instantly share code, notes, and snippets.

@kmike
Created August 5, 2019 17:44
Show Gist options
  • Save kmike/4bcf0bf2b11f034be86f82249eb374dc to your computer and use it in GitHub Desktop.
Save kmike/4bcf0bf2b11f034be86f82249eb374dc to your computer and use it in GitHub Desktop.
Error: /opt/qt-5.13/5.13.0/gcc_64/bin/qmake failed to create a makefile from
PyQt5.pro.
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/opt/qt-5.13/5.13.0/gcc_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
Info: creating stash file /tmp/builds/pyqt5/.qmake.stash
make -f cfgtest_QtCore.mk
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/opt/qt-5.13/5.13.0/gcc_64/include -I/opt/qt-5.13/5.13.0/gcc_64/include/QtCore -I. -I/opt/qt-5.13/5.13.0/gcc_64/mkspecs/linux-g++ -o cfgtest_QtCore.o config-tests/cfgtest_QtCore.cpp
g++ -Wl,-O1 -Wl,-rpath,/opt/qt-5.13/5.13.0/gcc_64/lib -o cfgtest_QtCore cfgtest_QtCore.o /opt/qt-5.13/5.13.0/gcc_64/lib/libQt5Core.so -lpthread
./cfgtest_QtCore cfgtest_QtCore.out
This is the GPL version of PyQt 5.13.0 (licensed under the GNU General Public
License) for Python 3.6.8 on linux.
Found the license file pyqt-gpl.sip.
Qt v5.13.0 is being used.
The qmake executable is /opt/qt-5.13/5.13.0/gcc_64/bin/qmake.
Qt is built as a shared library.
SIP 4.19.18 is being used.
The sip executable is /usr/bin/sip.
These PyQt5 modules will be built: QtCore, QtGui, QtWidgets, QtNetwork,
QtWebKit, QtWebKitWidgets.
The PyQt5 Python package will be installed in /usr/lib/python3/dist-packages.
PyQt5 is being built with generated docstrings.
PyQt5 is being built with 'protected' redefined as 'public'.
The Designer plugin will not be built.
The qmlscene plugin will not be built.
The PyQt5 PEP 484 stub files will be installed in
/usr/lib/python3/dist-packages/PyQt5.
The PyQt5 .sip files will be installed in /usr/share/sip/PyQt5.
pyuic5, pyrcc5 and pylupdate5 will be installed in /usr/bin.
The interpreter used by pyuic5 is /usr/bin/python3.
Generating the C++ source for the QtCore module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtCore.pyi -c /tmp/builds/pyqt5/QtCore -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtCore/QtCoremod.sip
Embedding sip flags...
Generating the .pro file for the QtCore module...
Generating the C++ source for the QtGui module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtGui.pyi -c /tmp/builds/pyqt5/QtGui -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtGui/QtGuimod.sip
Generating the .pro file for the QtGui module...
Generating the C++ source for the QtWidgets module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtWidgets.pyi -c /tmp/builds/pyqt5/QtWidgets -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtWidgets/QtWidgetsmod.sip
Generating the .pro file for the QtWidgets module...
Generating the C++ source for the QtNetwork module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtNetwork.pyi -c /tmp/builds/pyqt5/QtNetwork -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtNetwork/QtNetworkmod.sip
Generating the .pro file for the QtNetwork module...
Generating the C++ source for the QtWebKit module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtWebKit.pyi -c /tmp/builds/pyqt5/QtWebKit -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtWebKit/QtWebKitmod.sip
Generating the .pro file for the QtWebKit module...
Generating the C++ source for the QtWebKitWidgets module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -o -y QtWebKitWidgets.pyi -c /tmp/builds/pyqt5/QtWebKitWidgets -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/QtWebKitWidgets/QtWebKitWidgetsmod.sip
Generating the .pro file for the QtWebKitWidgets module...
Generating the C++ source for the pylupdate module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -c /tmp/builds/pyqt5/pylupdate -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/pylupdate/pylupdatemod.sip
Generating the .pro file for the pylupdate module...
Generating the C++ source for the pyrcc module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -c /tmp/builds/pyqt5/pyrcc -I sip -I /tmp/builds/pyqt5/sip /tmp/builds/pyqt5/sip/pyrcc/pyrccmod.sip
Generating the .pro file for the pyrcc module...
Generating the C++ source for the Qt module...
/usr/bin/sip -w -n PyQt5.sip -t WS_X11 -t Qt_5_13_0 -f -B Qt_6_0_0 -P -j 1 -c /tmp/builds/pyqt5/Qt -I sip -I /tmp/builds/pyqt5/sip sip/Qt/Qtmod.sip
Generating the .pro file for the Qt module...
Generating the pylupdate5 wrapper...
Generating the pyrcc5 wrapper...
Generating the pyuic5 wrapper...
Generating the top-level .pro file...
Making the pylupdate5 wrapper executable...
Making the pyrcc5 wrapper executable...
Making the pyuic5 wrapper executable...
Generating the Makefiles...
/opt/qt-5.13/5.13.0/gcc_64/bin/qmake -recursive PyQt5.pro
Reading /tmp/builds/pyqt5/QtCore/QtCore.pro
Reading /tmp/builds/pyqt5/QtGui/QtGui.pro
Reading /tmp/builds/pyqt5/QtWidgets/QtWidgets.pro
Reading /tmp/builds/pyqt5/QtNetwork/QtNetwork.pro
Reading /tmp/builds/pyqt5/QtWebKit/QtWebKit.pro
Project ERROR: Unknown module(s) in QT: webkit
/tmp/install-pyqt5.sh: line 36: -e: command not found
The command '/bin/sh -c /tmp/install-pyqt5.sh /tmp/sip.tar.gz /tmp/pyqt5.tar.gz /tmp/webengine.tar.gz' returned a non-zero code: 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment