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

Cross-compilation fails

    XMLWordPrintable

Details

    • Linux/Yocto
    • 1899b7bf1 (dev), cdc6dde78 (6.6), 3d8e5382f (dev), 2ef46c91c (6.6), 7cc5c1394 (dev), e70a4645e (dev), 0463412da (6.6), b57435d65 (6.6), b8d52a40b (6.6)

    Description

      Cross-compilation on Yocto fails when it tries to find 32-bit headers even when doing 64-bit compilation

      cd /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6/QtXml && /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot-native/usr/bin/shiboken6 --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero --include-paths=/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/lib/mkspecs/linux-g++:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include --typesystem-paths=/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/build/PySide6:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6:/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6/QtXml --output-directory=/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/build/PySide6/QtXml --license-file=/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6/QtXml/../licensecomment.txt --api-version=6.3.0 /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/build/PySide6/QtXml_global.h /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6/QtXml/typesystem_xml.xml
      qt.shiboken: (xml) CLANG builtins includes directory: /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot-native/usr/lib/clang/13.0.0/include
      (xml) clang_parseTranslationUnit2(0x0, cmd[15]=-isystem/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot-native/usr/lib/clang/13.0.0/include -fPIC -Wno-constant-logical-operand -x c++ -std=c++17 -I/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/git/sources/pyside6/PySide6 -I/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/lib/mkspecs/linux-g++ -I/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include -I/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore -I/home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include /tmp/QtXml_global_jFAoRi.hpp "-DQT_ANNOTATE_ACCESS_SPECIFIER(a)=__attribute__((annotate(#a)))" "-DQT_ANNOTATE_CLASS(type,...)=static_assert(sizeof(#__VA_ARGS__),#type);" -DQSIMD_H)
      /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/bits/long-double.h:23:10: fatal error: 'bits/long-double-32.h' file not found
      (xml) Errors in -DQSIMD_H:
      /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/bits/long-double.h:23:10: fatal: 'bits/long-double-32.h' file not found
         /tmp/QtXml_global_jFAoRi.hpp:1:10: note: in file included from /tmp/QtXml_global_jFAoRi.hpp:1:
         /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/build/PySide6/QtXml_global.h:41:10: note: in file included from /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/build/PySide6/QtXml_global.h:41:
         /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore/qnamespace.h:44:10: note: in file included from /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore/qnamespace.h:44:
         /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore/qglobal.h:45:12: note: in file included from /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/QtCore/qglobal.h:45:
         /../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/type_traits:38:10: note: in file included from /../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/type_traits:38:
         /../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++config.h:528:10: note: in file included from /../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++config.h:528:
         /../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39:10: note: in file included from /../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39:
         /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/features.h:488:12: note: in file included from /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/features.h:488:
         /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/sys/cdefs.h:500:11: note: in file included from /home/sapiippo/boot2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/python3-pyside6/6.3.0-r0/recipe-sysroot/usr/include/sys/cdefs.h:500: 

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: