Starting tonight, when running setup-php on a Mac M1 runner we see these failures:
dyld[51869]: Library not loaded: @loader_path/../../../../opt/libsodium/lib/libsodium.26.dylib
Referenced from: <7D7BC2FB-F026-3183-878E-312AA1F1E913> /opt/homebrew/Cellar/php-debug/8.2.12_1/bin/php
Reason: tried: '/opt/homebrew/Cellar/php-debug/8.2.12_1/bin/../../../../opt/libsodium/lib/libsodium.26.dylib' (no such file), '/usr/local/lib/libsodium.26.dylib' (no such file), '/usr/lib/libsodium.26.dylib' (no such file, not in dyld cache)
/Users/runner/work/_temp/dd4cbeed-8d1b-4589-9b06-aac1c6b3580f.sh: line 1: 51869 Abort trap: 6 php .github/utils/link-pcre2-header-mac.php
Version
[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
Describe the bug
Starting tonight, when running setup-php on a Mac M1 runner we see these failures:
Version
v1
orv2
.v2
v1
Runners
Operating systems
PHP versions 8.2
To Reproduce
Expected behavior
No warnings during Setup PHP stage, no failure when running "php" with a segfault mentioning libsodium linking going wrong.
Screenshots/Logs