Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4
-
-
1899b7bf1 (dev), cdc6dde78 (6.6), 3d8e5382f (dev), 2ef46c91c (6.6), 7cc5c1394 (dev), e70a4645e (dev), 0463412da (6.6), b57435d65 (6.6), b8d52a40b (6.6), f7c493937 (6.7)
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
- is duplicated by
-
PYSIDE-787 Building with clang doesn't work when Qt headers are in a system header location
- Closed
- relates to
-
PYSIDE-802 Enable PySide/Shiboken cross compilation for different targets.
- Closed
-
PYSIDE-323 Build Pyside2 against Qt 5.7 and higher
- Closed
For Gerrit Dashboard: PYSIDE-1958 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
412562,18 | pyside6: Qt for Python | 6.6 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
511038,3 | WIP: Fix QtForPython build part 2 | dev | yocto/meta-qt6 | Status: ABANDONED | -2 | 0 |
511136,6 | CMake: Allow passing extra generator flags via a CMake variable | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
511737,11 | CMake: Tell shiboken to process Qt headers inside system include dirs | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
512010,5 | shiboken6: Add additional debug statements regarding include parsing | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
512427,2 | shiboken6: Add additional debug statements regarding include parsing | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
515394,2 | CMake: Allow passing extra generator flags via a CMake variable | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
515578,2 | CMake: Tell shiboken to process Qt headers inside system include dirs | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
515680,3 | libshiboken: Do a directory check when considering system includes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
516065,3 | libshiboken: Do a directory check when considering system includes | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
549292,2 | pyside6: Qt for Python | 6.7 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |