From: Mike Gilbert <floppym@gentoo.org>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Cc: base-system@gentoo.org
Subject: [gentoo-dev] Heads-up on PATH changes in baselayout-2.4
Date: Sun, 3 Sep 2017 22:05:46 -0400 [thread overview]
Message-ID: <CAJ0EP42uPhM_yUbQLmHSib9dMgag5P8ARjYeh9K56SJyFo6Wtw@mail.gmail.com> (raw)
If you haven't noticed, there was a change in baselayout-2.4 that
moved the default PATH setting from /etc/profile into
/etc/env.d/50baselayout. This change allows other packages to prepend
or append their PATH settings by installing files before or after
sequence 50 in /etc/env.d. See bug 255695.
This has the immediate effect of moving the toolchain-related PATH
settings (00glibc, 04gcc, 05binutils) to the left of the "default"
system PATH. This wasn't necessarily intentional, but it should make
for a minor performance improvement since gcc-wrapper is bypassed. I
haven't noticed any problems.
More generally, this change occurred a couple of months ago, and there
doesn't appear to have been any major fallout in ~arch. However, bug
629846 was opened today, which made the suggestion that we make a more
public call for testing.
So, if you maintain a package that installs a PATH setting in
/etc/env.d, please check it to ensure that it is not causing conflicts
with binaries that live in the default PATH. If needed, consider
moving them to the right by choosing a number higher than 50.
reply other threads:[~2017-09-04 2:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ0EP42uPhM_yUbQLmHSib9dMgag5P8ARjYeh9K56SJyFo6Wtw@mail.gmail.com \
--to=floppym@gentoo.org \
--cc=base-system@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox