Following the instructions for building chip-tool, I get a build error.
[~/git/connectedhomeip] scripts/examples/gn_build_example.sh examples/chip-tool examples/chip-tool/out
WELCOME TO...
█
█
▄ █ ▄ █ █
▀▀█████▀▀ ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▀▄█ ▀▀█▀▀▀▀▀█▀▀ ▄▀▀▀▀▄ ▄▀▀
▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █
▀█▄ ▄█▀ █ █ █ █ █ █ █ █ █
▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █
▀▀ █ █ ▀▀
ACTIVATOR! This sets your shell environment variables.
Activating environment (setting environment variables):
Setting environment variables for CIPD package manager...done
Setting environment variables for Project actions........skipped
Setting environment variables for Python environment.....done
Setting environment variables for pw packages............skipped
Setting environment variables for Host tools.............done
Checking the environment:
20240817 17:02:08 INF Environment passes all checks!
Environment looks good, you are ready to go!
+ env
PW_PIGWEED_CIPD_INSTALL_DIR=/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/pigweed
PW_ZAP_CIPD_INSTALL_DIR=/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/zap
CIPD_CACHE_DIR=/Users/epchristi/.cipd-cache-dir
TERM_PROGRAM=Apple_Terminal
PW_PACKAGE_ROOT=/Users/epchristi/git/connectedhomeip/.environment/packages
SHELL=/bin/zsh
TERM=xterm-256color
TMPDIR=/var/folders/xq/fb76jb711wd5r6ctsh75jf1c0000gn/T/
TERM_PROGRAM_VERSION=453
OLDPWD=/Users/epchristi/git/connectedhomeip
TERM_SESSION_ID=D692CEE8-6798-4B23-B233-58A13F847EF3
USER=epchristi
PW_BRANDING_BANNER=/Users/epchristi/git/connectedhomeip/scripts/setup/banner.txt
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.06jtklDksD/Listeners
_PW_ENVIRONMENT_CONFIG_FILE=/Users/epchristi/git/connectedhomeip/scripts/setup/environment.json
VIRTUAL_ENV=/Users/epchristi/git/connectedhomeip/.environment/pigweed-venv
PATH=/Users/epchristi/git/connectedhomeip/third_party/pigweed/repo/out/host/host_tools:/Users/epchristi/git/connectedhomeip/.environment/pigweed-venv/bin:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/arm/bin:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/arm:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/python/bin:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/python:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/zap:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/pigweed/bin:/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/pigweed:/Users/epchristi/git/connectedhomeip/.environment/cipd:/Users/epchristi/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
PW_ROOT=/Users/epchristi/git/connectedhomeip/third_party/pigweed/repo
PW_ARM_CIPD_INSTALL_DIR=/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/arm
LaunchInstanceID=DDBA2C5C-BDAD-4E46-92F0-8F6D1A6D676F
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/epchristi/git/connectedhomeip
LANG=en_US.UTF-8
XPC_FLAGS=0x0
_PW_ACTUAL_ENVIRONMENT_ROOT=/Users/epchristi/git/connectedhomeip/.environment
XPC_SERVICE_NAME=0
SHLVL=2
HOME=/Users/epchristi
_PW_ROSETTA=0
LOGNAME=epchristi
PW_PYTHON_CIPD_INSTALL_DIR=/Users/epchristi/git/connectedhomeip/.environment/cipd/packages/python
PW_PROJECT_ROOT=/Users/epchristi/git/connectedhomeip
SECURITYSESSIONID=186a3
_=/usr/bin/env
+ gn gen --check --fail-on-unused-args --root=examples/chip-tool examples/chip-tool/out --args=
ERROR at //third_party/connectedhomeip/third_party/boringssl/repo/BUILD.gn:43:1: Source file not found.
static_library("boringssl") {
^----------------------------
The target:
//third_party/connectedhomeip/third_party/boringssl/repo:boringssl
has a source file:
//third_party/connectedhomeip/third_party/boringssl/repo/src/crypto/asn1/posix_time.c
which was not found.
Many additional files in the third_party/boringssl/repo fail with the same issue.