Summary: | No PECL modules can be built with dev-lang/php-7.4.0_beta1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hasso Tepper <hasso.tepper> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
PHP7.4 libtool patch
Eclass patch |
Description
Hasso Tepper
2019-08-18 09:40:47 UTC
Have you please tried extending USE_PHP with php7-4 in your local overlay and installing via portage? Created attachment 587388 [details, diff]
PHP7.4 libtool patch
After looking at more closely I think I understand somewhat what is going on. PHP folks reworked build system between 7.3 and 7.4 banning aclocal.m4 usage etc. The PHP upstream uses old libtool and it works for them, but not for Gentoo as it uses autoreconf and friends.
Gentoo already copies it's own libtool.m4 into PHP, but with reworked PHP build system it's not enough any more – newer libtool in Gentoo doesn't use single libtool.m4 (like the on in PHP upstream) and we need more.
This patch fixes the issue for me.
Created attachment 587390 [details, diff]
Eclass patch
Note that to make PECL etc ebuilds to work, this patch for eclass is needed as well – phpize removes aclocal.m4 itself now.
We fixed this a different way with https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/php-ext-source-r3.eclass?id=807c50548fe64456d6b7373cb1091675faaa0501 |