Skip to content

macos-latest on PHP 8.1 failing  #823

@emmadesilva

Description

@emmadesilva

Describe the bug

dyld[30[9](): Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'

See https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems

macos-latest

PHP versions
PHP 8.1

To Reproduce

https://github.com/hydephp/develop/actions/runs/8047285149/workflow?pr=1565

Expected behavior

Screenshots/Logs

Run shivammathur/setup-php@v2
/bin/bash /Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh

==> Setup PHP
✓ PHP Installed PHP 8.1.27

==> Setup Extensions
dyld[2438]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
/Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/extensions/add_extensions.sh: line 9:  2438 Abort trap: [6](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:2:7)           php -m > "$extension_list"
dyld[2440]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.[7](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:2:8)4.dylib'
  Referenced from: '/usr/local/Cellar/php@[8](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:2:9).1/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
dyld[2443]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
dyld[2577]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
✗ fileinfo Could not install fileinfo on PHP 8.1.27
dyld[2580]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
dyld[2583]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
dyld[27[10](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:2:11)]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
✗ zip Could not install zip on PHP 8.1.[27](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:2:28)

==> Setup Tools
dyld[2724]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
/Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/tools/add_tools.sh: line 28:  2724 Abort trap: 6           php -r "try {\$p=new Phar('$tool_path.phar', 0);exit(0);} catch(Exception \$e) {exit(1);}"
✓ composer Added composer 2.7.1

Run composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
dyld[3090]: Library not loaded: '@loader_path/../../../../opt/icu4c/lib/libicuio.74.dylib'
  Referenced from: '/usr/local/Cellar/php@[8](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:4:9).1/8.1.27_1/bin/php'
  Reason: tried: '/usr/local/Cellar/[email protected]/8.1.27_1/bin/../../../../opt/icu4c/lib/libicuio.74.dylib' (no such file), '/usr/local/lib/libicuio.74.dylib' (no such file), '/usr/lib/libicuio.74.dylib' (no such file)
/Users/runner/work/_temp/38d5b687-3a78-43c8-bdb2-62a8158[9](https://github.com/hydephp/develop/actions/runs/8047285149/job/21976218585?pr=1565#step:4:10)f181.sh: line 1:  3090 Abort trap: 6           composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
Error: Process completed with exit code 134.

Additional context

Are you willing to submit a PR?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions