Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877949 Details for
Bug 918933
dev-php/theseer-Autoload-1.26.3-r1: Failure in src_prepare due to symlinks into real root directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add $EPREFIX to symlink destination
dev-php-theseer-Autoload-Do-not-symlink-outside-of-EPREFIX.patch (text/plain), 1.87 KB, created by
Moritz Brunner
on 2023-12-06 18:51:41 UTC
(
hide
)
Description:
Patch to add $EPREFIX to symlink destination
Filename:
MIME Type:
Creator:
Moritz Brunner
Created:
2023-12-06 18:51:41 UTC
Size:
1.87 KB
patch
obsolete
>From 261a6d2cd865a6884e5cf6a6e7fceb0ab9c21afa Mon Sep 17 00:00:00 2001 >From: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >Date: Wed, 6 Dec 2023 19:47:01 +0100 >Subject: [PATCH] dev-php/theseer-Autoload: Do not symlink outside of EPREFIX > >During the prepare step of the ebuild, symlinks are created to >previously installed PHP dependencies in the vendor subdirectory to >bootstap phpab. These symlinks lead to the real root filesystem in >/usr/share/php/... instead of the portage prefix $EPREFIX/usr/share/php, >thus being essentially broken in a Prefix installation. > >By adding $EPREFIX to the link directory, the link is now correct >both inside and outside of Prefix installations. > >Closes: https://bugs.gentoo.org/918933 >Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >--- > dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild b/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild >index 9cb13406b378..07b2588b45cc 100644 >--- a/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild >+++ b/dev-php/theseer-Autoload/theseer-Autoload-1.26.3-r1.ebuild >@@ -57,9 +57,9 @@ src_prepare() { > vendor/zetacomponents/console-tools \ > || die > >- ln -s /usr/share/php/TheSeer/DirectoryScanner vendor/theseer/directoryscanner/src || die >- ln -s /usr/share/php/ezc/Base vendor/zetacomponents/base/src || die >- ln -s /usr/share/php/ezc/ConsoleTools vendor/zetacomponents/console-tools/src || die >+ ln -s "${EPREFIX}"/usr/share/php/TheSeer/DirectoryScanner vendor/theseer/directoryscanner/src || die >+ ln -s "${EPREFIX}"/usr/share/php/ezc/Base vendor/zetacomponents/base/src || die >+ ln -s "${EPREFIX}"/usr/share/php/ezc/ConsoleTools vendor/zetacomponents/console-tools/src || die > > ./phpab.php \ > --output src/autoload.php \ >-- >2.43.0.windows.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 918933
: 877949