Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919472 - dev-php/reactphp-promise-2.8.0: Generated autoload.php does not respect EPREFIX
Summary: dev-php/reactphp-promise-2.8.0: Generated autoload.php does not respect EPREFIX
Status: CONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-08 17:53 UTC by Moritz Brunner
Modified: 2023-12-25 11:20 UTC (History)
1 user (show)

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


Attachments
Patch to include $EPREFIX in autoload.php absolute path (0001-dev-php-reactphp-promise-Respect-EPREFIX-in-autoload.patch,1.32 KB, patch)
2023-12-08 17:55 UTC, Moritz Brunner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Brunner 2023-12-08 17:53:46 UTC
The generated autoload.php from the ebuild's prepare stage hardcodes library dependency paths to /usr/share/php/..., which will not be valid in a Prefix installation. 

While the package will install fine, it will not be loadable due to invalid dependency paths.

The generated file should be modified to include EPREFIX in the absolute path to its dependency.
Comment 1 Moritz Brunner 2023-12-08 17:55:04 UTC
Created attachment 878407 [details, diff]
Patch to include $EPREFIX in autoload.php absolute path
Comment 2 Fabian Groffen gentoo-dev 2023-12-25 11:20:00 UTC
@PHP: what do you think, OK to apply?