You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
This packages fails to compile on the last version of python-pyqt5. The error you get is:
[ 89%] Running SIP generator for qt_gui_cpp_sip Python bindings...
Traceback (most recent call last):
File "/opt/ros/melodic/share/python_qt_binding/cmake/sip_configure.py", line 50, in get_sip_dir_flags
sip_dir = config.pyqt_sip_dir
File "/usr/lib/python3.8/site-packages/sipconfig.py", line 192, in __getattr__
raise AttributeError("\"%s\" is not a valid configuration value or user option" % name)
AttributeError: "pyqt_sip_dir" is not a valid configuration value or user option
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/melodic/share/python_qt_binding/cmake/sip_configure.py", line 86, in<module>
sip_dir, sip_flags = get_sip_dir_flags(config)
File "/opt/ros/melodic/share/python_qt_binding/cmake/sip_configure.py", line 66, in get_sip_dir_flags
raise FileNotFoundError('The sip directory for PyQt5 could not be located. Please ensure' +
FileNotFoundError: The sip directory for PyQt5 could not be located. Please ensure that PyQt5 is installed
make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:90: sip/qt_gui_cpp_sip/Makefile] Error 1
make[1]: *** [CMakeFiles/Makefile2:349: src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred inbuild().
Aborting...
pyqt_sip_dir points to /usr/share/sip/Qt5. This error seems to come from the change in python-pyqt5. They removed the pyqt5-common package which included sip files in /usr/share/sip/Qt5, which ros-melodic-qt-gui-cpp relies on.
Is this an issue with upstream python-pyqt5? Or maybe in qt_gui_cpp? Or is this something to be resolved in the PKGBUILD?
The text was updated successfully, but these errors were encountered:
hgaiser
changed the title
Failed to compile with sip5.
Failure to compile with python-pyqt5.
Jan 13, 2020
This packages fails to compile on the last version of python-pyqt5. The error you get is:
pyqt_sip_dir
points to/usr/share/sip/Qt5
. This error seems to come from the change in python-pyqt5. They removed thepyqt5-common
package which included sip files in/usr/share/sip/Qt5
, whichros-melodic-qt-gui-cpp
relies on.Is this an issue with upstream
python-pyqt5
? Or maybe inqt_gui_cpp
? Or is this something to be resolved in the PKGBUILD?The text was updated successfully, but these errors were encountered: