diff options
| author | Sam James <sam@gentoo.org> | 2025-05-06 20:18:51 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-06 20:18:51 +0100 |
| commit | f9783eb8b574dfab4c9573f411b36e16d6921ffb (patch) | |
| tree | 21a9a9f70bcf41e8dbce155ebecace9cb6b5233a /dev-db/mongodb/files/mongodb-8.0.4-scons.patch | |
| parent | 25f98c57ed251a6352419c34840a9849e61bfd8b (diff) | |
| download | gentoo-f9783eb8b574dfab4c9573f411b36e16d6921ffb.tar.gz gentoo-f9783eb8b574dfab4c9573f411b36e16d6921ffb.tar.bz2 gentoo-f9783eb8b574dfab4c9573f411b36e16d6921ffb.zip | |
dev-db/mongodb/files: restore PATH commentary in patches
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/mongodb-8.0.4-scons.patch')
| -rw-r--r-- | dev-db/mongodb/files/mongodb-8.0.4-scons.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-8.0.4-scons.patch b/dev-db/mongodb/files/mongodb-8.0.4-scons.patch index 9edf80d44861..3536cdf907aa 100644 --- a/dev-db/mongodb/files/mongodb-8.0.4-scons.patch +++ b/dev-db/mongodb/files/mongodb-8.0.4-scons.patch @@ -3,6 +3,21 @@ From: =?UTF-8?q?Fran=C3=A7ois=20Valenduc?= <francoisvalenduc@gmail.com> Date: Mon, 28 Apr 2025 13:46:34 +0200 Subject: [PATCH] add PATH backup for scons +https://jira.mongodb.org/browse/SERVER-94430 Upstream respond: + +> we intentionally do not ingest the environment PATH as this makes build +> reproducibility and hermiticity much harder. Instead, you should set the +> absolute paths to the tools you want to use on the command line, instead of +> relying on the PATH. + +Gentoo bug https://bugs.gentoo.org/829340 + +In Gentoo, we have LLVM slotted and we put clang in /usr/lib/llvm/18/bin (or +whatever), not in /usr/bin, and if upstream strip PATH and construct it +themselves, they surely won't contain this location. + +So we add PATH backup for scons. + --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |
