Cannot build the imx8MQ project in imx-yocto-bsp-5.4.24, when added CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland" in local.conf

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

Cannot build the imx8MQ project in imx-yocto-bsp-5.4.24, when added CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland" in local.conf

3,165 Views
sawyer_liu
NXP Employee
NXP Employee

Hi iMX8MQ support team,

   The iMX8MQ Linux project cannot build in imx-yocto-bsp-5.4.24, when added "CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland" " in local.conf file. see the log info. 

sawyer@ubuntu:~/imx-yocto-bsp-5.4.24/build-wayland/tmp/deploy/images/imx8mqevk$ bitbake imx-image-full
Loading cache: 100% |####################################################################################| Time: 0:00:02
Loaded 4671 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "aarch64 cortexa53 crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:cba967414370e195d109353e51510bd829aa86c3"
meta-oe
meta-multimedia
meta-python = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"
meta-freescale = "HEAD:c2a0d924f6200eea1fb1d1b61e7420ea5da2f8fb"
meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:a083ffbbc3f4d1c02b1542746784d7f641a75b60"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:a012a1027defe28495f06ed522a7a82bdd59a610"
meta-gnome
meta-networking
meta-filesystems = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"
meta-qt5 = "HEAD:b8bcf8cb576d072f435a0177375e54424f67d1c9"
meta-python2 = "HEAD:231c3d74cfcf734c3415e86ea8dd97f73ddced9d"

Initialising tasks: 100% |###############################################################################| Time: 0:00:11
Sstate summary: Wanted 30 Found 0 Missed 30 Current 3054 (0% match, 99% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: chromium-ozone-wayland-75.0.3770.142-r0 do_configure: Execution of '/home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.73694' failed with exit code 1:
ERROR at //build/config/linux/dri/BUILD.gn:11:20: Script returned non-zero exit code.
dri_driver_dir = exec_script(pkg_config_script,
^----------
Current dir: /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
Command: python /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/build/config/linux/pkg-config.py --dridriverdir dri
Returned 1 and printed out:

Error from pkg-config.

stderr:

Package dri was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dri' found

See //content/gpu/BUILD.gn:128:18: which caused the file to be included.
configs += [ "//build/config/linux/dri" ]
^-------------------------
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/log.do_configure.73694
Log data follows:
| DEBUG: Executing shell function do_configure
| ERROR at //build/config/linux/dri/BUILD.gn:11:20: Script returned non-zero exit code.
| dri_driver_dir = exec_script(pkg_config_script,
| ^----------
| Current dir: /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
| Command: python /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/build/config/linux/pkg-config.py --dridriverdir dri
| Returned 1 and printed out:
|
| Error from pkg-config.
|
| stderr:
|
| Package dri was not found in the pkg-config search path.
| Perhaps you should add the directory containing `dri.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'dri' found
|
| See //content/gpu/BUILD.gn:128:18: which caused the file to be included.
| configs += [ "//build/config/linux/dri" ]
| ^-------------------------
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.73694' failed with exit code 1:
| ERROR at //build/config/linux/dri/BUILD.gn:11:20: Script returned non-zero exit code.
| dri_driver_dir = exec_script(pkg_config_script,
| ^----------
| Current dir: /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
| Command: python /home/sawyer/imx-yocto-bsp-5.4.24/build-wayland/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/build/config/linux/pkg-config.py --dridriverdir dri
| Returned 1 and printed out:
|
| Error from pkg-config.
|
| stderr:
|
| Package dri was not found in the pkg-config search path.
| Perhaps you should add the directory containing `dri.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'dri' found
|
| See //content/gpu/BUILD.gn:128:18: which caused the file to be included.
| configs += [ "//build/config/linux/dri" ]
| ^-------------------------
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/sawyer/imx-yocto-bsp-5.4.24/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8223 tasks of which 8160 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/sawyer/imx-yocto-bsp-5.4.24/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 Kudos
5 Replies

1,184 Views
gnulux
Contributor II

Did that too but the problem still persists. 

0 Kudos

2,896 Views
anthonygarza
Contributor I

I have this exact same problem have deleted the build directory and problem reoccurs.

0 Kudos

2,896 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Anthony,

See the link , please!

https://community.nxp.com/docs/DOC-347606 

Have a nice day!

weidong

0 Kudos

2,896 Views
anthonygarza
Contributor I

I have this exact same problem have deleted the build directory and problem reoccurs.

0 Kudos

2,896 Views
jimmychan
NXP TechSupport
NXP TechSupport

I can build it on my host successfully.

Please try to remove the build folder and then re-build it again.

0 Kudos