8.6.0alpha2+ segfault on arm32v6 (Alpine)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, php
- Domain
- build-system, release
Research direction
Start with the arm32v6 build logs and the Makefile targets at lines 379 and 387, where ext/phar/phar.php and ext/phar/phar.phar fail. Review PHP pull request 22751 and the alpha2/alpha3 build behavior; done means the release handling reflects the chosen arm32v6 policy and the affected build no longer fails unexpectedly.
Written by the indexing model from the issue text.
Description
The images for 8.6.0alpha2 are failing to build on arm32v6 in Alpine. The failure is observed as a segfault. They will continue to fail on alpha3 (manually tested).
It is fixed by https://github.com/php/php-src/pull/22751. Should we drop the architecture from 8.6-rc until a fix is applied to the pre-releases? Or at least drop from alpha2 and the just released alpha3?
Build log:
Generating phar.php
make: [Makefile:379: ext/phar/phar.php] Segmentation fault (core dumped) (ignored)
Generating phar.phar
Segmentation fault (core dumped)
chmod: cannot access 'ext/phar/phar.phar': No such file or directory
make: [Makefile:387: ext/phar/phar.phar] Error 1 (ignored)
[...]
+ php --version
[...] did not complete successfully: exit code: 139
Full build logs:
- Dominant language
- Dockerfile
- Stars
- 4k
- Forks
- 2k
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker-library/php
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
docker-library/php#1674 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
docker-library/php#1680 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
docker-library/php#1673 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
docker-library/php#1631 · 9 comments · 6 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
docker-library/php#1621 · 2 comments ·
All issues in docker-library/php
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
agentic-workflows cascade-suspected
Difficulty 1/5 Under an hour Newbie friendliness 88/100