-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Building against PHP with enabled debug breaks tests (and function) #626
Comments
I don't see that behaviour. Or really understand what you mean by "did not work any more".
Although some of the tests might fail, if you're seeing quite a lot of fails, that sounds not good. Can you please provide any details of what you're seeing or how to replicate it? |
Given PHP is compiled with
This is the output: The same procedure with a PHP build without |
Can you put the diff output from some of the failed tests. They will be in the same directory as the tests, and have a file extension of It's fine to put them here rather than in a gist. |
|
(sorry for the previous message... I messed the output - corrected now) |
Ooh, ok. Can you do me a favour and show the output of |
Output does not change depending on the
|
installed is version 7.1.1.11 of ImageMagick - do you think an older version of ImageMagick might be a solution? Feels strange, as it works without the |
Actually maybe not. Tbh, kind of been struggling with a chronic pain problem, which seems to flare up when I look at the Imagick problem, and I have a horrible suspicion that I need to merge some PRs that have been open, that might actually address this problem, that I have been trying to ignore. |
Don't risk your health! No build problem can be that important. I have my share of experience with chronic pain... And even if I miss the possibility to have PHP in a debug mode AND imagick at the same time... At least it seems a "not so often" needed use case, looking at the age of PHP 8.1 and me being the first to notice. And hey... if I'd really care, I could solve the problem probably myself. (But that would mean to greatly improve my knowledge in some areas - learning is a good thing, isn't it?) Anyway: If you have an idea, what I could check to help you save your time, just let me know. Or maybe you have some advice, where I could investigate? |
It's not just you, last week someone reported the same failure on Gentoo linux: https://bugs.gentoo.org/911661 I finally got around to investigating it today, and sure enough, the problem is |
Building against >= PHP 8.1 with enabled debug breaks the functionality of Imagick. In my scenario even just "reading" an image did not work any more.
The Test suite runs many of the tests still successful - but there are way more breaks than against a non debug php.
It would be great, if I could continue to use a DEBUG built PHP in development enviroments. ;)
The text was updated successfully, but these errors were encountered: