Skip to content

"intl" extension fails to install on PHP 8.1 Alpine #565

@uacode

Description

@uacode

Steps To Reproduce

  1. On serversideup/php:8.1-fpm-alpine3.21 -> podman-compose build PASS
  2. On serversideup/php:8.1-fpm-alpine I have error

Outcome

What did you expect?

Success build

What happened instead?

+ strip --strip-all modules/exif.so
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o -o -name \*.dep | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la      modules/* libs/*
rm -f ext/opcache/jit/zend_jit_x86.c
rm -f ext/opcache/jit/zend_jit_arm64.c
rm -f ext/opcache/minilua
(1/1) Purging .phpize-deps (20250921.095640)
OK: 534 MiB in 193 packages
Error: building at STEP "RUN install-php-extensions bcmath gd imagick exif zip intl": while running runtime: exit status 1
### INSTALLING BUNDLED MODULE intl ###
patching file /usr/src/php/ext/intl/config.m4
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file /usr/src/php/ext/intl/config.m4.rej
Error: building at STEP "RUN install-php-extensions bcmath gd imagick exif zip intl": while running runtime: exit status 1

Affected Docker Images

serversideup/php:8.1-fpm-alpine
php:8.1-fpm-alpine3.22

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions