Skip to content

[BUG] Build error - missing pigweed libc++.a (M1 Ventura 13.1) #24609

Closed
@zcduthie

Description

Reproduction steps

Attempting to build both all-clusters-app for darwin arm64 and ./gn_build.sh produce the same error.
clang: error: no such file or directory: '../../.environment/cipd/packages/pigweed/lib/libc++.a'
(full logs attached below)

Fresh checkout/setup and:

cd ~/connectedhomeip
source scripts/activate.sh
./gn_build.sh

gn_build.log

This does not occur when targeting a different (non-mac) architecture. Can successfully build Android CHIP Tool via ./scripts/build/build_examples.py --target android-arm64-chip-tool build

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

ca086f2

Platform

darwin

Platform Version(s)

Apple M1, Ventura 13.1

Anything else?

The entire lib folder is missing from .environment/cipd/packages/pigweed/

Various attempts at different versions of the SDK, pigweed, force removing .environment and re-bootstrapping haven't been able to fix / generate it.

pw_doctor.log

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions