Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708698 - sys-apps/baselayout: Remove redundant components from PATH and LDPATH on usr-merge systems
Summary: sys-apps/baselayout: Remove redundant components from PATH and LDPATH on usr-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-08 10:24 UTC by David Seifert
Modified: 2020-06-22 11:58 UTC (History)
0 users

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


Attachments
0001-sys-apps-baselayout-Remove-symlinked-components-when.patch (0001-sys-apps-baselayout-Remove-symlinked-components-when.patch,1.88 KB, patch)
2020-02-08 10:30 UTC, David Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Seifert gentoo-dev 2020-02-08 10:24:37 UTC
Current baselayout creates components in PATH and LDPATH that are redundant on /usr-merged systems and lead to annoying output, such as

  $ command -v git
  /usr/sbin/git

due to */sbin components having higher precedence than */bin components.

Reproducible: Always
Comment 1 David Seifert gentoo-dev 2020-02-08 10:30:21 UTC
Created attachment 612690 [details, diff]
0001-sys-apps-baselayout-Remove-symlinked-components-when.patch
Comment 2 Larry the Git Cow gentoo-dev 2020-02-10 04:31:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e246839d42a3c9a839801759c20f69c27df964

commit b4e246839d42a3c9a839801759c20f69c27df964
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-02-10 04:31:09 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2020-02-10 04:31:09 +0000

    sys-apps/baselayout: Remove symlinked components when USE="-split-usr"
    
    Closes: https://bugs.gentoo.org/708698
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-apps/baselayout/baselayout-9999.ebuild | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)