Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915680 - dev-php/pecl-apcu hardcoded install into /usr/share/php7
Summary: dev-php/pecl-apcu hardcoded install into /usr/share/php7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-13 13:15 UTC by xiaojie+bugzillagentoo
Modified: 2023-12-28 01:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiaojie+bugzillagentoo 2023-10-13 13:15:35 UTC
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).
Comment 1 Larry the Git Cow gentoo-dev 2023-12-28 01:39:40 UTC
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(-)