docker-library / docker-library/php
8.6.0alpha2+ segfault on arm32v6 (Alpine)
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4k
- Forks
- 2k
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 1
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:
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.
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.
Assessment
- Tech stack
- docker, php
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100