ERROR: qtbase-6.5.0-r0 do_configure:

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ERROR: qtbase-6.5.0-r0 do_configure:

Jump to solution
3,182 Views
gufengzi
Contributor III

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

0 Kudos
Reply
1 Solution
3,144 Views
Chavira
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
Reply
7 Replies
3,162 Views
Chavira
NXP TechSupport
NXP TechSupport

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

Chavira_0-1704215499678.png

 


Best Regards!
Chavira

0 Kudos
Reply
3,146 Views
gufengzi
Contributor III

I changed the machine "imx6qdlsabresd" with "imx6dlsabresd".

the qtbase issue is not resolved.

the same issue occurs as before.

0 Kudos
Reply
3,145 Views
Chavira
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
3,142 Views
gufengzi
Contributor III

which version of openssl and ubuntu are you using?

Thanks

0 Kudos
Reply
3,140 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @gufengzi!

I am using Ubuntu 20.04.6 and OpenSSL 1.1.1f

0 Kudos
Reply
3,138 Views
gufengzi
Contributor III

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.

0 Kudos
Reply
3,158 Views
gufengzi
Contributor III

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

0 Kudos
Reply