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

Fails to compile for yocto using 6.9.1 version and gcc/clang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.9.1
    • PySide
    • None
    • yocto on rpi4
    • Linux/Yocto
    • macOS

    Description

      I am seeing this error, it comes to same error with clang or gcc on master

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      
      
      
      | FAILED: PySide6/QtQuickWidgets/mjb_rejected_classes.log PySide6/QtQuickWidgets/PySide6/QtQuickWidgets/qquickwidget_wrapper.cpp PySide6/QtQuickWidgets/PySide6/QtQuickWidgets/qtquickwidgets_module_wrapper.cpp /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets/mjb_rejected_classes.log /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets/PySide6/QtQuickWidgets/qquickwidget_wrapper.cpp /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets/PySide6/QtQuickWidgets/qtquickwidgets_module_wrapper.cpp
      | cd /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6/QtQuickWidgets && /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/.qfp/bin/shiboken_wrapper.sh /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot-native/usr/bin/shiboken6 \ \ \ \ \ \ \ \ --clang-options=--sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot,--target=aarch64-yoe-linux,,-mcpu=cortex-a72+crc,-mbranch-protection=standard,-fstack-protector-strong,,-O2,-D_FORTIFY_SOURCE=2,-Wformat,-Wformat-security,-Werror=format-security,,,,,,--sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot,\ \ \ \ \ \ \ \ \ --compiler-path=aarch64-yoe-linux-g++ --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb-bool --include-paths=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/lib/mkspecs/linux-clang:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore --force-process-system-include-paths=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/lib/mkspecs/linux-clang:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include --typesystem-paths=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6:/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6/QtQuickWidgets --output-directory=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets --license-file=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6/QtQuickWidgets/../licensecomment.txt --lean-headers --api-version=6.9.1 /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets_global.h /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/git/sources/pyside6/PySide6/QtQuickWidgets/typesystem_quickwidgets.xml
      | qt.shiboken: (quickwidgets) CLANG v0.64, builtins includes directory: /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot-native/usr/lib/clang/20/include
      | /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/c++/v1/cstddef:45:5: error: <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header.           This usually means that your header search paths are not configured properly.           The header search paths should contain the C++ Standard Library headers before           any C Standard Library, and you are probably using compiler flags that make that           not be the case.
      | (quickwidgets) /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/c++/v1/__ostream/basic_ostream.h:182:1: warning: Unable to find containing class "basic_ostream" of inner class "sentry". [other]
      | (quickwidgets) /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/c++/v1/istream:307:1: warning: Unable to find containing class "basic_istream" of inner class "sentry". [other]
      | (quickwidgets) Errors in /tmp/QtQuickWidgets_global_TcgiQh.hpp:
      | /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/c++/v1/cstddef:45:5: error: <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header.           This usually means that your header search paths are not configured properly.           The header search paths should contain the C++ Standard Library headers before           any C Standard Library, and you are probably using compiler flags that make that           not be the case.
      |    /tmp/QtQuickWidgets_global_TcgiQh.hpp:1:10: note: in file included from /tmp/QtQuickWidgets_global_TcgiQh.hpp:1:
      |    /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets_global.h:5:10: note: in file included from /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/build/PySide6/QtQuickWidgets_global.h:5:
      |    /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore/qnamespace.h:12:10: note: in file included from /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore/qnamespace.h:12:
      |    /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore/qglobal.h:14:12: note: in file included from /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/python3-pyside6/6.9.1/recipe-sysroot/usr/include/QtCore/qglobal.h:14:
      

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            khem Khem Raj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes