Summary: | Optimize PATH in ebuild environment | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=693366 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch |
Description
Arfrever Frehtes Taifersar Arahesis
2019-09-02 05:30:26 UTC
Created attachment 588682 [details, diff]
Patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=7cb7196fe8aa668e76437a8a4500a7bcb9fd3c75 commit 7cb7196fe8aa668e76437a8a4500a7bcb9fd3c75 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-09-02 05:32:09 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-09-02 20:11:26 +0000 _doebuild_path: Optimize PATH in ebuild environment. Canonicalize paths of directories in PATH. Avoid duplicates when some directories (e.g. bin and sbin) are merged. Bug: https://bugs.gentoo.org/693306 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/package/ebuild/doebuild.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Thanks! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=c9c2bcc619c6ff60e452205f94ae26d4afd44d82 commit c9c2bcc619c6ff60e452205f94ae26d4afd44d82 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-09-03 08:34:08 -0700 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-09-03 08:36:23 -0700 Revert "_doebuild_path: Optimize PATH in ebuild environment." This reverts commit 7cb7196fe8aa668e76437a8a4500a7bcb9fd3c75. Since binary and installed packages have persistent PATH settings in environment.bz2, using realpath on PATH components can break binary and installed package phases if the symlink layout is somehow modified. Therefore, the implications of changes like this need to be considered very carefully. Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/package/ebuild/doebuild.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) |