PyQt6 build failure

Antonio Rojas arojas at archlinux.org
Tue Jan 5 22:00:34 GMT 2021


Hi,
 I'm getting this error when building PyQt6 from source. Any ideas?

/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip: In function ‘void* init_type_QSGGeometry_AttributeSet(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:128:30: error: ‘GL_BYTE’ was not declared in this scope
  128 |                         case GL_BYTE:
      |                              ^~~~~~~
/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:138:30: error: ‘GL_FLOAT’ was not declared in this scope
  138 |                         case GL_FLOAT:
      |                              ^~~~~~~~
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1045:42: error: ‘GL_POINTS’ was not declared in this scope
 1045 |         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QSGGeometry, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
      |                                          ^~~~~~~~~
/build/pyqt6/src/PyQt6-6.0.0/sip/QtQuick/qsggeometry.sip:142:30: error: ‘GL_INT’ was not declared in this scope
  142 |                         case GL_INT:
      |                              ^~~~~~
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1046:41: error: ‘GL_LINES’ was not declared in this scope
 1046 |     },
      |                                         ^       
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1047:45: error: ‘GL_LINE_LOOP’ was not declared in this scope
 1047 |     doc_QSGGeometry,
      |                                             ^           
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1048:46: error: ‘GL_LINE_STRIP’ was not declared in this scope
 1048 |     -1,
      |                                              ^            
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1049:45: error: ‘GL_TRIANGLES’ was not declared in this scope
 1049 |     -1,
      |                                             ^           
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1050:50: error: ‘GL_TRIANGLE_STRIP’ was not declared in this scope; did you mean ‘sipName_GL_TRIANGLE_STRIP’?
 1050 |     SIP_NULLPTR,
      |                                                  ^                
      |                                                  sipName_GL_TRIANGLE_STRIP
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1051:48: error: ‘GL_TRIANGLE_FAN’ was not declared in this scope; did you mean ‘sipName_GL_TRIANGLE_FAN’?
 1051 |     SIP_NULLPTR,
      |                                                ^              
      |                                                sipName_GL_TRIANGLE_FAN
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1052:40: error: ‘GL_BYTE’ was not declared in this scope
 1052 |     init_type_QSGGeometry,
      |                                        ^      
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1053:41: error: ‘GL_FLOAT’ was not declared in this scope
 1053 |     SIP_NULLPTR,
      |                                         ^       
/build/pyqt6/src/PyQt6-6.0.0/build/QtQuick/sipQtQuickQSGGeometry.cpp:1054:39: error: ‘GL_INT’ was not declared in this scope
 1054 |     SIP_NULLPTR,
      |                                       ^     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210105/e2b077bc/attachment-0001.htm>


More information about the PyQt mailing list