according to i.MX Yocto Project User's Guide Rev. LF6.1.36_2.1.0 — 29 September 2023
I run the following commands on ubuntu22.04
qt6 do configure failed.
the openssl version is 1.1.1
can any body help me?
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
repo sync
DISTRO=fsl-imx-xwayland MACHINE=imx6qdlsabresd source imx-setup-release.sh -b build-xwayland
bitbake imx-image-full
| Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
|
| ERROR: The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory.
|
| CMake Error at cmake/QtBuildInformation.cmake:194 (message):
| Check the configuration messages for an error that has occurred.
| Call Stack (most recent call first):
| cmake/QtBuildInformation.cmake:24 (qt_configure_print_summary)
| cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:514 (qt_print_feature_summary)
| CMakeLists.txt:196 (qt_build_repo_end)
|
|
| -- Configuring incomplete, errors occurred!
| See also "/home/tjt/src/yocto_imx/build-xwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtbase/6.5.0-r0/build/CMakeFiles/CMakeOutput.log".
| See also "/home/tjt/src/yocto_imx/build-xwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtbase/6.5.0-r0/build/CMakeFiles/CMakeError.log".
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/tjt/src/yocto_imx/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_configure) failed with exit code '1'
WARNING: python3-bcrypt-4.0.1-r0 do_fetch: Failed to fetch URL https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-4.0.1.tar.gz;downloadfilename=bcrypt-..., attempting MIRRORS if available
Solved! Go to Solution.
Hi @gufengzi!
For iMX6 Quad Plus you have to use "imx6qpsabresd".
To compile with the Yocto Project I always recommend using the machines described on our Yocto User Guide.
You have to create a new Yocto Project for a new machine.
I created a new Yocto Project and I had success on the qtbase compilation (see attached log)
Best Regards!
Chavira
Hi @gufengzi!
Thank you for contacting NXP Support!
I can replicate the same issue when you set " MACHINE=imx6qdlsabresd ", the target "imx6qdlsabresd" doesn´t exist according to the Yocto Project User Guide.
Changing the machine "imx6qdlsabresd" with "imx6dlsabresd" I don´t see any issue compiling qtbase.
Please try to set a valid machine described on page 7 of the
Yocto Project User Guide
Best Regards!
Chavira
I changed the machine "imx6qdlsabresd" with "imx6dlsabresd".
the qtbase issue is not resolved.
the same issue occurs as before.
Hi @gufengzi!
For iMX6 Quad Plus you have to use "imx6qpsabresd".
To compile with the Yocto Project I always recommend using the machines described on our Yocto User Guide.
You have to create a new Yocto Project for a new machine.
I created a new Yocto Project and I had success on the qtbase compilation (see attached log)
Best Regards!
Chavira
which version of openssl and ubuntu are you using?
Thanks
Hi @gufengzi!
I am using Ubuntu 20.04.6 and OpenSSL 1.1.1f
could you try with ubuntu 22.04?
do you think ubuntu22.04 is ok for this yocto project?
imx yocto project user's guide recommends minimum Ubuntu version is 20.04 or later.
https://github.com/Freescale/meta-freescale/blob/master/conf/machine/imx6qdlsabresd.conf
the github tells me imx6qdlsabresd.conf replaces the following machines:
# * imx6qpsabresd
# * imx6qsabresd
# * imx6dlsabresd
# * imx6solosabresd
so I used imx6qdlsabresd as MACHINE.
the SoC I am using on my board is i.max6quad plus.
May I use imx6dlsabresd as the MACHINE for my board?
Is there any potential problems with different SoC configuration?
Thanks