-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
pecl install
fails on PHP 8.3 due to missing files
#2025
Comments
boesing
added a commit
to boesing/laminas-continuous-integration-action
that referenced
this issue
Oct 1, 2023
…iner setup Refs: oerdnj/deb.sury.org#2025 Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
boesing
added a commit
to laminas/laminas-continuous-integration-action
that referenced
this issue
Oct 1, 2023
…iner setup Refs: oerdnj/deb.sury.org#2025 Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Fix was included in 8.3.0~rc3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Frequently asked questions
Describe the bug
pecl install <package>
fails on PHP 8.3.To Reproduce
On a clean Ubuntu 22.04 install with
software-properties-common
installed (I usedubuntu:2204
Docker image):This yields:
It works fine with
php8.2
though.Your understanding of what is happening
phpize8.3 does this:
However,
shtool
,config.guess
,config.sub
, andltmain.sh
are missing from/usr/lib/php/20230831/build
.I compared this with
phpize8.2
and found this:That is,
config.guess
,config.sub
, andltmain.sh
are copied from/usr/share/libtool/build-aux
, andshtool
is copied from/usr/bin
, not from/usr/lib/php/20230831/build
My further analysis showed that the
php8.2
source has this patch that is missing inphp8.3
:0036-In-phpize-also-copy-config.guess-config.sub-ltmain.s.patch
. That patch fixes paths of the files in question.What steps did you take to resolve issue yourself before reporting it here
Analyzed the sources of
phpize8.2
andphpize8.3
and checked for patches that alter the originalphpize
.To fix the issue for my Docker build, I had to use a workaround:
RUN cp \ /usr/share/libtool/build-aux/config.sub \ /usr/share/libtool/build-aux/config.guess \ /usr/share/libtool/build-aux/ltmain.sh \ /usr/bin/shtool \ /usr/lib/php/20230831/build
Related: Automattic/vip-container-images#536
Expected behavior
phpize does not fail.
Distribution (please complete the following information):
Package(s) (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: