Skip to contentSkip to conversation

chromium-ozone-wayland: add build dependency to at-spi2-atk

PATCH In review Mikko Rapeli 1 participant 2 messages Jun 26, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium-ozone-wayland: add build dependency to at-spi2-atk

Fixes configure error with poky master branch:

ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/chromium-83.0.4103.116/out/Release/
Command: python /home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/chromium-83.0.4103.116/build/config/linux/pkg-config.py atk atk-bridge-2.0 Returned 1.
stderr:

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

See //build/config/linux/atk/BUILD.gn:19:1: whence it was called. pkg_config("atk_base") {
^-----------------------
See //ui/views/BUILD.gn:821:22: which caused the file to be included.

        configs += [ "//build/config/linux/atk" ]
                     ^-------------------------

WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/temp/run.do_configure.35368' failed with exit code 1:
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------

---
 recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb +1 -0
index de9274d..58fa0fb 100644
@@ -3,6 +3,7 @@ require chromium-gn.inc
 REQUIRED_DISTRO_FEATURES = "wayland"
 
 DEPENDS += "\
+        at-spi2-atk \
         libxkbcommon \
         virtual/egl \
         wayland \
Signature · 1 line
2.20.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Quoted 7 lines · Maksim Sisov

Hi!

Thank you for your contribution! But would you please make a pull request to the meta-browser github repo that is the source of the meta-browser recipe? Thanks!

https://github.com/OSSystems/meta-browser

Ok, I can do this too. README in meta-browser says that contributions through mailing list also work. Maybe you want to update that.

Cheers,

-Mikko

Quoted 59 lines · Mikko Rapeli
Quoted 54 lines

Fixes configure error with poky master branch:

ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned
non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir:
/home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/chromium-83.0.4103.116/out/Release/
Command: python /home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/chromium-83.0.4103.116/build/config/linux/pkg-config.py atk atk-bridge-2.0
Returned 1.
stderr:

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

See //build/config/linux/atk/BUILD.gn:19:1: whence it was called. pkg_config("atk_base") {
^-----------------------
See //ui/views/BUILD.gn:821:22: which caused the file to be included.

        configs += [ "//build/config/linux/atk" ]
                     ^-------------------------

WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/builder/src/yocto/poky/build/tmp/work/cortexa57-poky-linux/chromium-ozone-wayland/83.0.4103.116-r0/temp/run.do_configure.35368' failed with exit code 1:
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned
non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------

---
 recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb b/recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb index de9274d..58fa0fb 100644

recipes-browser/chromium/chromium-ozone-wayland_83.0.4103.116.bb +1 -0
@@ -3,6 +3,7 @@ require chromium-gn.inc
 REQUIRED_DISTRO_FEATURES = "wayland"
 
 DEPENDS += "\
+        at-spi2-atk \
         libxkbcommon \
         virtual/egl \
         wayland \
Signature · 2 lines
Best Regards,
Maksim Sisov