Skip to content

PHP 8.0.15 - OPCache compilation issue on aarch64-darwin ? #8101

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

Closed
drupol opened this issue Feb 15, 2022 · 7 comments
Closed

PHP 8.0.15 - OPCache compilation issue on aarch64-darwin ? #8101

drupol opened this issue Feb 15, 2022 · 7 comments

Comments

@drupol
Copy link
Contributor

drupol commented Feb 15, 2022

Description

Hi,

I'm trying to update to PHP 8.0.15 in NixOS, the current version 8.0.14. We have to use a patch to get it working: #7978

While trying to get it compiled on Github CI using platform aarch64-darwin, it is failing with the following test:

  • Blacklist (with glob, quote and comments) [tests/blacklist.phpt]

Find the build log here: https://logs.nix.ci/?key=nixos/nixpkgs.158560&attempt_id=e2d1ee35-adce-467e-a754-e70c9d655d42
Find the original pull request on NixOS: NixOS/nixpkgs#158560

I cannot reproduce the issue locally as I don't have such architecture available.

Could you please let me know if this is a genuine issue and/or what I can do to fix the problem?

Thanks.

PHP Version

PHP 8.0.15

Operating System

Github CI - aarch64-darwin

@cmb69
Copy link
Member

cmb69 commented Feb 15, 2022

What is the diff of the failing test? Try something like make test TESTS='--show-diff tests/blacklist.phpt'

@drupol
Copy link
Contributor Author

drupol commented Feb 15, 2022

What is the diff of the failing test? Try something like make test TESTS='--show-diff tests/blacklist.phpt'

In a particular directory?

@cmb69
Copy link
Member

cmb69 commented Feb 15, 2022

Run that from the php-src root directory.

@drupol
Copy link
Contributor Author

drupol commented Feb 15, 2022

Sorry for the late reply, I added the command in the build steps and I get nothing interesting, see the log: https://logs.nix.ci/?key=nixos/nixpkgs.158560&attempt_id=e319f970-6f87-42b7-bc7c-801f94609a26 (CTRL+F make test).

Maybe I'm adding it at the wrong place?

@cmb69
Copy link
Member

cmb69 commented Feb 16, 2022

Uh, I have no idea how that build system works. Usually you do ./buildconf; ./configure; make; make test, but that appears to happen under the hood. My point is that make test should be substituted by something like make test TESTS='--show-diff' to be able to see the difference in the expected test output.

@cmb69
Copy link
Member

cmb69 commented Apr 1, 2022

@derickr, did you re-open deliberately? This ticket had been closed quite a while ago.

@cmb69
Copy link
Member

cmb69 commented Apr 1, 2022

Apparently, the ticket was re-opened accidentially.

@cmb69 cmb69 closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants