Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.3] chip-tool buil fail #33484

Closed
KEEPHEADU opened this issue May 16, 2024 · 2 comments
Closed

[1.3] chip-tool buil fail #33484

KEEPHEADU opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@KEEPHEADU
Copy link

Reproduction steps

source scripts/activate.sh

./scripts/examples/gn_build_example.sh examples/chip-tool out/host/

This error will occur if you build any project.

ERROR at //.gn:15:1: Unable to load "/home/xh/silabs/matter/examples/chip-tool/build_overrides/build.gni".
import("//build_overrides/build.gni")

Bug prevalence

any time

GitHub hash of the SDK that was being used

no

Platform

efr32

Platform Version(s)

No response

Type

Test Improvement

Anything else?

log.txt

@KEEPHEADU KEEPHEADU added bug Something isn't working needs triage labels May 16, 2024
@bzbarsky-apple
Copy link
Contributor

bzbarsky-apple commented May 16, 2024

Well, does the file /home/xh/silabs/matter/examples/chip-tool/build_overrides/build.gni exist?

In general, examples/chip-tool/build_overrides/build.gni does exist in the Matter repository (see https://github.com/project-chip/connectedhomeip/blob/22b9c96b691d3bb5a5d3db510db353b3b2bc2f74/examples/chip-tool/build_overrides and https://github.com/project-chip/connectedhomeip/blob/22b9c96b691d3bb5a5d3db510db353b3b2bc2f74/examples/build_overrides/build.gni), so if it doesn't exist for you the first step is figuring out why not.

@KEEPHEADU
Copy link
Author

Well, does the file /home/xh/silabs/matter/examples/chip-tool/build_overrides/build.gni exist?

In general, examples/chip-tool/build_overrides/build.gni does exist in the Matter repository (see https://github.com/project-chip/connectedhomeip/blob/22b9c96b691d3bb5a5d3db510db353b3b2bc2f74/examples/chip-tool/build_overrides and https://github.com/project-chip/connectedhomeip/blob/22b9c96b691d3bb5a5d3db510db353b3b2bc2f74/examples/build_overrides/build.gni), so if it doesn't exist for you the first step is figuring out why not.

Thank you for your reply. This question is due to the failure of my first construction, I deleted the content in Examples/Chip-Tool/Build_overrides. After I revoke the operation, I can build it normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants