Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-433

PySide build fails on Arch Linux during QtGui generation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • None
    • PySide
    • None
    • Arch Linux
      Qt 5.7.0
      Python 3.5.2

    Description

      After successfully working around PYSIDE-342, the build fails during generation of QtGui, seemingly in relation to QPen. Here is an abbreviated build log:

      [ 19%] Generating __/moc_qpytextobject.cpp
      [ 19%] Running generator for QtGui...
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::self
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::self
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::sort
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::removeDuplicates
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::join
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::join
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::filter
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::replaceInStrings
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::replaceInStrings
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::filter
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::replaceInStrings
              definition *ignored*
      ** WARNING scope not found for function definition:QListSpecialMethods<QString>::filter
              definition *ignored*
      ** WARNING scope not found for function definition:QtPrivate::IsMetaTypePair<T,true>::registerConverter
              definition *ignored*
      Generating class model...                    qt.shiboken: enum 'QLocale::FloatingPointPrecisionOption' does not have a type entry or is not an enum
      qt.shiboken: Unable to decide type of property: 'QScreen' in class 'QGuiApplication'
      [WARNING]
      Generating enum model...                     qt.shiboken: enum 'q_static_assert_result45' does not have a type entry or is not an enum
      qt.shiboken: enum 'QML_HAS_ATTACHED_PROPERTIES' does not have a type entry or is not an enum
      [WARNING]
      qt.shiboken: enum 'QmlCurrentSingletonTypeRegistrationVersion' does not have a type entry or is not an enum
      Generating namespace model...                [WARNING]
      Resolving typedefs...                        [OK]
      qt.shiboken: skipping field 'QSysInfo::WindowsVersion' with unmatched type 'QSysInfo::WinVersion'
      Fixing class inheritance...                  [WARNING]
      Detecting inconsistencies in class model...  [OK]
      [OK]
      qt.shiboken: enum 'QPalette::ColorRole' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextDocumentFragment' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QWindow::AncestorMode' is specified in typesystem, but not declared
      qt.shiboken: type 'QMatrix3x4' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPainter::PixmapFragmentHint' is specified in typesystem, but not declared
      qt.shiboken: type 'QRegExpValidator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPaintEngine::Type' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextList' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QFontMetrics' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextBlockGroup' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextItem' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextCursor' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPaintEngine::DirtyFlag' is specified in typesystem, but not declared
      qt.shiboken: type 'QFontDatabase' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QSessionManager::RestartHint' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextCursor::SelectionType' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextFormat::ObjectTypes' is specified in typesystem, but not declared
      qt.shiboken: type 'QDoubleValidator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextDocument::ResourceType' is specified in typesystem, but not declared
      qt.shiboken: type 'QQuaternion' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextFrameFormat::BorderStyle' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextCharFormat::UnderlineStyle' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextFragment' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QAbstractTextDocumentLayout' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextBlock::iterator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextTableCell' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QDoubleValidator::Notation' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextLine' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextLayout::FormatRange' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextDocument' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPalette' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextCharFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPainter::PixmapFragment' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPalette::ColorGroup' is specified in typesystem, but not declared
      qt.shiboken: type 'QMatrix2x2' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPaintEngine::PaintEngineFeature' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextFormat::PageBreakFlag' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextBlockFormat::LineHeightTypes' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextOption::TabType' is specified in typesystem, but not declared
      qt.shiboken: type 'QPyTextObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QFontInfo' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QMatrix3x2' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextTableCellFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextFormat::Property' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextListFormat::Style' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextOption::Flag' is specified in typesystem, but not declared
      qt.shiboken: enum 'QWindow::Visibility' is specified in typesystem, but not declared
      qt.shiboken: type 'QMatrix4x4' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QAbstractTextDocumentLayout::PaintContext' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPagedPaintDevice::Margins' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QFontDatabase::WritingSystem' is specified in typesystem, but not declared
      qt.shiboken: type 'QPen' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QVector3D' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QValidator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextCharFormat::VerticalAlignment' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextFormat::FormatType' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextListFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QFontDatabase::SystemFont' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextLayout::CursorMode' is specified in typesystem, but not declared
      qt.shiboken: enum 'QPaintEngine::PolygonDrawMode' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextTableFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextFrameFormat::Position' is specified in typesystem, but not declared
      qt.shiboken: type 'QFontMetricsF' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QIntValidator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextBlockFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextTable' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPagedPaintDevice' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextItem::RenderFlag' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextCursor::MoveMode' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextObjectInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QMatrix4x3' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPaintEngine' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextDocument::MetaInformation' is specified in typesystem, but not declared
      qt.shiboken: type 'QMatrix2x3' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextBlockUserData' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QPainter' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QWindow' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextLine::CursorPosition' is specified in typesystem, but not declared
      qt.shiboken: type 'QPaintEngineState' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextOption::WrapMode' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextCharFormat::FontPropertiesInheritanceBehavior' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextBlock' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextOption::Tab' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextFrameFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextInlineObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QAbstractTextDocumentLayout::Selection' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextDocument::Stacks' is specified in typesystem, but not declared
      qt.shiboken: enum 'QPainter::CompositionMode' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextDocument::FindFlag' is specified in typesystem, but not declared
      qt.shiboken: enum 'QValidator::State' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextLength::Type' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextLength' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QSessionManager' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextImageFormat' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextFrame::iterator' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextLayout' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QTextCursor::MoveOperation' is specified in typesystem, but not declared
      qt.shiboken: type 'QTextOption' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QTextFrame' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QMatrix2x4' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPainter::RenderHint' is specified in typesystem, but not declared
      qt.shiboken: type 'QSyntaxHighlighter' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QMatrix3x3' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: enum 'QPagedPaintDevice::PageSize' is specified in typesystem, but not declared
      qt.shiboken: enum 'QTextLine::Edge' is specified in typesystem, but not declared
      qt.shiboken: type 'QVector4D' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: type 'QMatrix4x2' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
      qt.shiboken: signature 'parent()const' for function modification in 'QSortFilterProxyModel' not found. Possible candidates: parent(QModelIndex)const in QSortFilterProxyModel
      qt.shiboken: signature 'codecForHtml(QByteArray)' for function modification in 'Qt' not found. Possible candidates: 
      qt.shiboken: signature 'mightBeRichText(QString)' for function modification in 'Qt' not found. Possible candidates: 
      qt.shiboken: signature 'convertFromPlainText(QString,Qt::WhiteSpaceMode)' for function modification in 'Qt' not found. Possible candidates: 
      
      qt.shiboken: Cyclic dependency found on overloaddata for 'QTransform.QTransform' method! The graph boy saved the graph at /tmp/QTransform.QTransform.dot.
      qt.shiboken: Cyclic dependency found on overloaddata for 'QTransform.map' method! The graph boy saved the graph at /tmp/QTransform.map.dot.
      qt.shiboken: Cyclic dependency found on overloaddata for 'QTransform.operator*' method! The graph boy saved the graph at /tmp/QTransform.operator*.dot.
      qt.shiboken: Cyclic dependency found on overloaddata for 'QTransform.operator*=' method! The graph boy saved the graph at /tmp/QTransform.operator*=.dot.
      Could not find a minimal constructor for type 'const QPen &'. This will result in a compilation error.
      /bin/sh: line 1: 16410 Aborted                 (core dumped) /home/fratti/Projekte/pyside-setup/venv3_install/py3.5-qt5.7.0-64bit-release/bin/shiboken2 --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero /home/fratti/Projekte/pyside-setup/venv3_build/py3.5-qt5.7.0-64bit-release/pyside2/PySide2/pyside2_global.h --include-paths=/home/fratti/Projekte/pyside-setup/sources/pyside2/PySide2:/usr/include/qt/ --typesystem-paths=/home/fratti/Projekte/pyside-setup/sources/pyside2/PySide2:/home/fratti/Projekte/pyside-setup/sources/pyside2/PySide2/QtCore:/home/fratti/Projekte/pyside-setup/venv3_build/py3.5-qt5.7.0-64bit-release/pyside2/PySide2/QtCore:/home/fratti/Projekte/pyside-setup/sources/pyside2/PySide2/QtGui --output-directory=/home/fratti/Projekte/pyside-setup/venv3_build/py3.5-qt5.7.0-64bit-release/pyside2/PySide2/QtGui --license-file=/home/fratti/Projekte/pyside-setup/sources/pyside2/PySide2/QtGui/../licensecomment.txt /home/fratti/Projekte/pyside-setup/venv3_build/py3.5-qt5.7.0-64bit-release/pyside2/PySide2/QtGui/typesystem_gui.xml --api-version=5.7 --drop-type-entries=""
      make[2]: *** [PySide2/QtGui/CMakeFiles/QtGui.dir/build.make:62: PySide2/QtGui/PySide2/QtGui/qabstracttextdocumentlayout_paintcontext_wrapper.cpp] Error 134
      make[1]: *** [CMakeFiles/Makefile2:464: PySide2/QtGui/CMakeFiles/QtGui.dir/all] Error 2
      make: *** [Makefile:128: all] Error 2
      error: Error compiling pyside2
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ctismer Christian Tismer
              fratti Nicolas Frattaroli
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes