Skip to content

Chromium Scarthgap compile error #888

@Daniel-Wait

Description

@Daniel-Wait

Hi, I'm hitting a fatal error in the do_compile step of `bitbake chromium-ozone-wayland'.

../../third_party/angle/src/gpu_info_util/SystemInfo_libpci.cpp:12:10: fatal error: 'pci/pci.h' file not found 12 | #include <pci/pci.h>
| ^~~~~~~~~~~
1 error generated.

I'm not sure why the pci header isn't found, the pciutils dependency is definitely there.
I suppose that I am either missing something, or the header in one of the following locations ought to be used:

~/repos/yocto/build-mine/tmp/work$ find ./ -wholename '*/pci/pci.h'
./cortexa72-poky-linux/chromium-ozone-wayland/132.0.6834.83/chromium-132.0.6834.83/build/linux/debian_bullseye_i386-sysroot/usr/include/i386-linux-gnu/pci/pci.h
./cortexa72-poky-linux/chromium-ozone-wayland/132.0.6834.83/chromium-132.0.6834.83/build/linux/debian_bullseye_amd64-sysroot/usr/include/x86_64-linux-gnu/pci/pci.h
./x86_64-linux/gn-native/132.0.6834.83/chromium-132.0.6834.83/build/linux/debian_bullseye_i386-sysroot/usr/include/i386-linux-gnu/pci/pci.h
./x86_64-linux/gn-native/132.0.6834.83/chromium-132.0.6834.83/build/linux/debian_bullseye_amd64-sysroot/usr/include/x86_64-linux-gnu/pci/pci.h

Chromium=v132.0.6834.83
I tried Chromium=v123.0.6312.122 and got the same error (commit=1ed2254d72a4c25879014c98be287a7e3e22904c).
This is my first time trying chromium, so I'd not be surprised if I made a mistake of ignorance.

 ====== Git Repository Information =======
 
 Repository: meta-browser
 Upstream remotes:
   origin: https://github.com/OSSystems/meta-browser/
 Current commit: 2dabbb1bc1488f244bf66674fe7268a44dcc0d79
 Tags: none
 Commit message: scarthgap: chromium: Update to 132.0.6834.83 (#872)
 Branch: scarthgap
 ----------------------------------------
 
 Repository: meta-clang
 Upstream remotes:
   origin: https://github.com/kraj/meta-clang
 Current commit: eaa08939eaec9f620b14742ff3ac568553683034
 Tags: none
 Commit message: bcc: fix CVE-2024-2314
 Branch: scarthgap
 ----------------------------------------
 
 Repository: scarthgap-rust-mixin
 Upstream remotes:
   origin: git://git.yoctoproject.org/meta-lts-mixins
 Current commit: 65b35821c8e39b13b20f0413c315d0c8f1a64a11
 Tags: none
 Commit message: rust-llvm: Disable libedit
 Branch: scarthgap/rust
 ----------------------------------------
 
 Repository: meta-openembedded
 Upstream remotes:
   origin: git://git.openembedded.org/meta-openembedded
 Current commit: 67ad83dd7c2485dae0c90eac345007af6195b84d
 Tags: none
 Commit message: krb5: fix CVE-2025-24528
 Branch: scarthgap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions