SiliconLabs / matter

Matter is creating more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://www.silabs.com/wireless/matter
Apache License 2.0
151 stars 45 forks source link

build failed when i use release_0.2.0 to release_0.3.0 #61

Closed cosmosstone closed 1 year ago

cosmosstone commented 1 year ago

Description of the issue

I used the cmd

./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/efr32/ ./out/light-switch-app BRD4186A in [release_0.2.0] . Is ok.

then i try to use this cmd in [release_0.3.0]

git branch -a git checkout -b release_0.3.0 origin/release_0.3.0

git checkout .

and use this cmd ,An error was reported.

ERROR at //third_party/connectedhomeip/third_party/openthread/BUILD.gn:27:23: Unable to load "/home/fake/Documents/mattersdk/matter/examples/light-switch-app/efr32/third_party/connectedhomeip/third_party/openthread/ot-efr32/openthread/BUILD.gn". public_deps = [ "${openthread_root}:libopenthread-ftd" ] ^-------------------------------------

How to get the BUILD.gn?

Steps to reproduce the issue

git branch -a
release_0.2.0 change to release_0.3.0
and use cmd 

./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/efr32/ ./out/light-switch-app BRD4186A
or use 
./scripts/examples/gn_efr32_example.sh ./examples/light-switch-app/efr32/ ./out/light-switch-app BRD4186C

expected behavior
When we use the cmd , it should compile successfully.

actual behavior
It displays an "Unable to load  BUILD.gn " error.

Device type(s) and network topology

Ubunto 20.04

Proposed solution(s)

No response

SMG version

release_0.3.0

Protocol(s)

Openthread

Hardware platform(s)

BRD4186C

Development platform(s)

No response

Captured data or logs

root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# git log commit efb8612d0f97d8c8062a67e44b7276c04074bec5 (HEAD -> release_0.2.0, tag: v0.2.0, origin/release_0.2.0, doubleboard) Author: Hussein Elsherbini Hussein.Elsherbini@silabs.com Date: Wed Aug 17 17:58:36 2022 +0000

Pull request #49: fixed bugs in windows setup script, and modified other related scripts

Merge in WMN_TOOLS/matter from windows_support to silabs

Squashed commit of the following:

commit 637199bc57b72f6d0c38ac5e5fbc369313ab79d1
Author: Hussein Elsherbini <Hussein.Elsherbini@silabs.com>
Date:   Wed Aug 17 13:30:45 2022 -0400

    fixed bugs in windows setup script, and modified other related scripts

commit d49b6f1b05c68337228e7632cb78131e3bc7e64e Author: Junior Martinez Junior.Martinez@silabs.com Date: Wed Aug 17 13:20:25 2022 +0000

Pull request #45: [EFR32] Destroy PSA key_id if exists. (#21920)

Merge in WMN_TOOLS/matter from fix_psa_err-139 to silabs

Squashed commit of the following:

...skipping... commit efb8612d0f97d8c8062a67e44b7276c04074bec5 (HEAD -> release_0.2.0, tag: v0.2.0, origin/release_0.2.0, doubleboard) Author: Hussein Elsherbini Hussein.Elsherbini@silabs.com Date: Wed Aug 17 17:58:36 2022 +0000

Pull request #49: fixed bugs in windows setup script, and modified other related scripts

Merge in WMN_TOOLS/matter from windows_support to silabs

Squashed commit of the following:

commit 637199bc57b72f6d0c38ac5e5fbc369313ab79d1
Author: Hussein Elsherbini <Hussein.Elsherbini@silabs.com>
Date:   Wed Aug 17 13:30:45 2022 -0400

    fixed bugs in windows setup script, and modified other related scripts

commit d49b6f1b05c68337228e7632cb78131e3bc7e64e Author: Junior Martinez Junior.Martinez@silabs.com Date: Wed Aug 17 13:20:25 2022 +0000

Pull request #45: [EFR32] Destroy PSA key_id if exists. (#21920)

Merge in WMN_TOOLS/matter from fix_psa_err-139 to silabs

Squashed commit of the following:

commit 8514ea0275dce67c7ed0d8284b7def687666cf67
Author: Ricardo Casallas <77841255+rcasallas-silabs@users.noreply.github.com>
Date:   Tue Aug 16 16:00:48 2022 -0400

    [EFR32] Destroy PSA key_id if exists. (#21920)

    * [EFR32] Recover from PSA keygen error.

    * [EFR32] Destroy existing PSA key_id before re-using it.

commit 1b1268cd61805ba2b9cd54d125cde6901cd7dc2d Author: Ezra Hale ezra.hale@silabs.com Date: Wed Aug 17 13:17:46 2022 +0000

Pull request #44: updated links on artifacts page and info on using bootloader images

Merge in WMN_TOOLS/matter from v0.2.0_release_doc_update to silabs

Squashed commit of the following:

commit eeffbad47a6e0bd59251d50b28904a69d557ffc5
Author: Rehan Rasool <Rehan.Rasool@silabs.com>
Date:   Tue Aug 16 18:24:53 2022 -0400

    Fix typo

root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# root@fake-virtual-machine:/home/fake/Documents/mattersdk/matter# git branch -a doubleboard

Activating environment (setting environment variables):

Setting environment variables for CIPD package manager...done Setting environment variables for Python environment.....done Setting environment variables for pw packages............skipped Setting environment variables for Host tools.............done

Checking the environment:

20221104 11:37:13 WRN Current uname (5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64) does not match Bootstrap uname (5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64), you may need to rerun bootstrap on this system 20221104 11:37:13 INF Environment passes all checks!

Environment looks good, you are ready to go!

silabs-sebastien commented 1 year ago

Hi @cosmosstone , Did you try this again with the newest release, 1.0.0? If not, please do and let us know if you get a different result with the latest release.

github-actions[bot] commented 1 year ago

This issue has been auhtomatically marked as stale due to inactivity. It will be closed if no further activity occurs.

github-actions[bot] commented 1 year ago

This issue has been automatically closed. Thank you for your contributions.