Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect pick of thread-safe zephir_parser package in MacOS #846

Closed
2 of 5 tasks
Jeckerson opened this issue Jun 1, 2024 · 5 comments
Closed
2 of 5 tasks

Incorrect pick of thread-safe zephir_parser package in MacOS #846

Jeckerson opened this issue Jun 1, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Jeckerson
Copy link

Describe the bug

PHP Warning:  PHP Startup: zephir_parser: Unable to initialize module
Module compiled with build ID=API20200930,NTS
PHP    compiled with build ID=API20200930,TS
These options need to match
 in Unknown on line 0
✗ zephir_parser Could not install zephir_parser on PHP 8.0.30

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

PHP versions
Any

To Reproduce
https://github.com/zephir-lang/zephir/blob/3580126998bd2c279f31c5bbd4e0558a6bdb1ed5/.github/workflows/main.yml#L65

@Jeckerson Jeckerson added the bug Something isn't working label Jun 1, 2024
@shivammathur
Copy link
Owner

@Jeckerson
Please check the ts builds for macos in the 1.6.0 release
It is just downloading the zip from the release and extracting it.
https://github.com/shivammathur/test-setup-php/actions/runs/9334920513/job/25693699936#step:2:452

@Jeckerson
Copy link
Author

This probably depends on #847

@Jeckerson
Copy link
Author

After new release of Zephir parser (1.6.1) problem still persists
https://github.com/zephir-lang/zephir/actions/runs/9357645619/job/25757833733#step:3:31

@shivammathur
Copy link
Owner

@Jeckerson
Please update the version in the workflow, or you can remove it so that it installs the latest one.
https://github.com/zephir-lang/zephir/actions/runs/9357645619/workflow#L20

Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/9362899816/workflow

@Jeckerson
Copy link
Author

Now all works fine, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants