Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
6.2.4
-
None
-
Hardware = Raspberry Pi armv7l with 4 CPUs
OS = Raspbian Bullseye
clang = 14.0.6 installed manuall on /usr/local
qt = /opt/Qt/6.2.4-armv7l/bin
Description
I'm tryinng to setup PySide6 on Raspbian BullEye and seems to be running into some build issues. Steps I've followed till now:
- Create fresh OS of Raspbian on SD card and setup all basic configs.
- Setup and configure Clang 9 (for arm7l) following [link - Clang 9|[Raspberry Pi - Install Clang 9 and compile C++17 and C++20 programs | Solarian Programmer|https://solarianprogrammer.com/2018/04/22/raspberry-pi-raspbian-install-clang-compile-cpp-17-programs/]]
- Build Qt and selected modules following this link - [qt |https://www.tal.org/tutorials/building-qt-62-raspberry-pi]
- Install dependencies and then download and build PySide [Qt |https://doc.qt.io/qtforpython/gettingstarted-linux.html]
My Build Command -
python3 setup.py build --qtpaths=/opt/Qt/6.2.4-armv7l/bin/qtpaths --build-tests --debug --ignore-git --parallel=8 --verbose-build --standalone
Install Command -
python3 setup.py install --qtpaths=/opt/Qt/6.2.4-armv7l/bin/qtpaths --build-tests --ignore-git --parallel=8 --verbose-build --standalone
In both casesRuntimeError:
setup.py invocation failed with exit code: 1., the process fails with exit message
Attached are error log for build and install process.
-----------------------------------------------------------------------------------
Edit 1:
I went back to the official web for building pyside2 pyside2 , to try their CLANG repo which i ignored initially as its built for linux readhat and not for raspbian however I decided to give it a try. Although the pyside built failed when using this CLANG files, I then went back to using arm7l CLANG that i installed initially and for reason unknown, the build process did manage to move forward. After 4-5 hours of build process however I am getting some error right at the end of the process. I've attached three new files capturing the error I am currently getting
1. newerror.txt - error message copied from terminal
2. CMakeOutput.log
3. CMakeError.log
Hope this will help narrow down the issue.
Attachments
Issue Links
- is covered by
-
PYSIDE-802 Enable PySide/Shiboken cross compilation for different targets.
- Closed