The module should be installed into a directory depending on the current version of PHP installed, not hardcoded directory /usr/share/php7. Especially since PHP7 is no more into the official portage tree. Reproducible: Always Steps to Reproduce: 1. emerge dev-php/pecl-apcu Actual Results: You will get the message * The apc.php file shipped with this release of pecl-apcu * was installed to /usr/share/php7/apcu/. and stuff installes into /usr/share/php7 Expected Results: Should be installed into /usr/share/php<PHP version> (7 or 8, depending on local config).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400c7ae2532ddff610f6c277d860ff7cd8584d9d commit 400c7ae2532ddff610f6c277d860ff7cd8584d9d Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2023-12-28 01:38:59 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2023-12-28 01:38:59 +0000 dev-php/pecl-apcu: fix path Closes: https://bugs.gentoo.org/915680 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../pecl-apcu/{pecl-apcu-5.1.23.ebuild => pecl-apcu-5.1.23-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)