-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Transient Error when Building Imagick in php 8.3.x on amd64 on alpine #643
Comments
mee to |
It is because of this? All my pipelines fail sporadic and not every time. |
If you're looking for a workaround, you can explicitly use PHP 8.2. Here's an example of how I've done that in my workflow.
|
Can you explain what effect this has on the imagick extension? |
@en-jschuetze |
Ah I see. You avoid php 8.3 :) |
This is the workaround I used the last time:
The package is the commit from #641 |
What is the status of this one? Is it close to be done? |
Same problem, Debian 12 images. # build
docker build -t localhost:5000/poc-8.3-imagick - <<EOF
FROM php:8.3
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions
RUN \
set -eux; \
install-php-extensions https://codeload.github.com/Imagick/imagick/tar.gz/7088edc353f53c4bc644573a79cdcd67a726ae16
EOF
# verify
docker run --rm localhost:5000/poc-8.3-imagick php -r 'var_export(phpversion("imagick"));' |
This works also if you use 3.7.0 as commit id. So I guess I am fine for my project for now, but it would be awesome to get it fixed in a pecl release, too. |
It is very odd that it passes some of the time. For the record, this doesn't happen on my computer compiling either inside a docker Ubuntu box, or natively on OSX. I've possibly fixed it, though would prefer to see it compiling in the Github actions....which appear to be broken for something that is not my fault. |
@Danack Any updates on this issue. Is there anything we can do to help related to the Github actions you mentioned in the last comment? |
Transient Error when Building Imagick in php 8.3.x on amd64 on alpine #643 Imagick/imagick#643
Same issue here, waiting resolution to use PHP 8.3 in production. |
This solution works, but it is very temporary :D |
I have encountered the same problem, when building multiplatform image on linux + AMD CPU. Build for linux/amd64 was successull, but for linux/arm64/v8 it ended up with this error. Interestingly, when I tried to build it within container Is there any progress or indication, where the problem might be? |
OK, so we are waiting for imagick to release new version where this bug is fixed. Until then, there is temporary solution to use unreleased version of imagick. Source: #640 COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions imagick/imagick@master |
A follow up of 582
Building on linux/amd64 the Dockerfile:
and the error is (not happening every time, but 75% of all runs):
it does not happen ever on arm architecture.
for reference an example run in a "real" world at https://github.com/Endava/docker-php/actions/runs/7009886813/job/19071577630
The text was updated successfully, but these errors were encountered: