From f9783eb8b574dfab4c9573f411b36e16d6921ffb Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 6 May 2025 20:18:51 +0100 Subject: dev-db/mongodb/files: restore PATH commentary in patches Signed-off-by: Sam James --- dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch') diff --git a/dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch b/dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch index 20b1d19bfd27..01f9b232a2ed 100644 --- a/dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch +++ b/dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch @@ -1,3 +1,20 @@ +wrt PATH: +""" +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. +""" diff --git a/SConstruct2 b/SConstruct index e9aa2ca..5814f4a 100644 --- a/SConstruct2 -- cgit v1.2.3