AnsweredAssumed Answered

No package 'gbm' found

Question asked by jmariathas@btros.co.uk on Sep 27, 2018
Latest reply on Oct 1, 2018 by jmariathas@btros.co.uk

Is there any common way to fix No package 'gbm' found error.

 

Log data follows:
| DEBUG: Executing shell function do_configure
| 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: /mnt/hd/yocto-2.5/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/chromium-ozone-wayland/71.0.3545.0.r589108.igalia.1-r0/chromium-ozone-wayland-dev-71.0.3545.0.r589108.igalia.1/out/Release/
| Command: python /mnt/hd/yocto-2.5/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/chromium-ozone-wayland/71.0.3545.0.r589108.igalia.1-r0/chromium-ozone-wayland-dev-71.0.3545.0.r589108.igalia.1/build/config/linux/pkg-config.py gbm
| Returned 1.
| stderr:
|
| Package gbm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `gbm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'gbm' found
| Could not run pkg-config.
|
| See //third_party/minigbm/BUILD.gn:120:3: whence it was called.
|   pkg_config("libgbm") {
|   ^---------------------
| See //ui/ozone/platform/wayland/BUILD.gn:92:5: which caused the file to be included.
|     "//third_party/minigbm",
|     ^----------------------
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /mnt/hd/yocto-2.5/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/chromium-ozone-wayland/71.0.3545.0.r589108.igalia.1-r0/temp/log.do_configure.16718)

Outcomes