Chromium-ozone-wayland in Yocto Zeus build not working properly?

cancel
Showing results for 
Search instead for 
Did you mean: 

Chromium-ozone-wayland in Yocto Zeus build not working properly?

1,035 Views
anthonygarza
Contributor I

I can not get wayland image to build chromium-ozone-wayland. IMX8 

I get the following output.

ated; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel.
ERROR: chromium-ozone-wayland-75.0.3770.142-r0 do_configure: Execution of '/home/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.20867' 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/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
Command: python /home/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-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/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/log.do_configure.20867
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/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
| Command: python /home/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-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/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.20867' 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/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/
| Command: python /home/agarza/var-fsl-yocto/build_wayland/tmp/work/aarch64-mx8mn-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/agarza/var-fsl-yocto/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_configure) failed with exit code '1'

0 Kudos
3 Replies

992 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Anthony,

The "dri" is for X11 backend, since you are working with wayland backend, it simply can not run.

Regards

0 Kudos

389 Views
jin1
Contributor V

hi @Bio_TICFSL 

I have the same issue, I build maaxboard zeus branch :https://github.com/Avnet/meta-maaxboard/tree/zeus but can not pass chromium-ozone-wayland-75.0.3770.142

and I posted my question at here too: https://www.element14.com/community/thread/77719/l/can-i-build-maaxboard-zeus-branch-now

 

any help?

 

---

ERRORchromium-ozone-wayland-75.0.3770.142-r0 do_configure: Execution of '/home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.12588' 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/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/

Command: python /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/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.

 

ERRORLogfile of failure stored in: /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/log.do_configure.12588

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/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/

| Command: python /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/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/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/temp/run.do_configure.12588' 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/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/chromium-ozone-wayland/75.0.3770.142-r0/chromium-75.0.3770.142/out/Release/

| Command: python /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/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.

|

ERRORTask (/home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/sources/meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb:do_configure) failed with exit code '1'

 

 

Tags (1)
0 Kudos

376 Views
jin1
Contributor V

I found help here: https://github.com/OSSystems/meta-browser/issues/388

 

and add mesa in  file : ./meta-browser/recipes-browser/chromium/chromium-ozone-wayland_75.0.3770.142.bb

...

DEPENDS += "\

        mesa \

        libxkbcommon \

        virtual/egl \

        wayland \

        wayland-native \

 

..

no the error appears,do_configure passed . now it is compiling.

hope can pass the final compilation

0 Kudos