https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-db/mongodb-5.0.2-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses clang as a compiler and lld as a linker
Created attachment 759313 [details] build.log build log and emerge --info
Created attachment 759314 [details] 1-config.log 1-config.log
*** Bug 883261 has been marked as a duplicate of this bug. ***
A workaround is use the full path of clang: CXX="/usr/lib/llvm/15/bin/clang++" CC="/usr/lib/llvm/15/bin/clang"
tinderbox_musl has reproduced this issue with version 5.0.5-r2 - Updating summary.
Does it repro on latest 5.0.16 ?
diff --git a/SConstruct b/SConstruct index 3d831c9..f07feeb 100644 --- a/SConstruct +++ b/SConstruct @@ -1201,7 +1201,7 @@ envDict = dict(BUILD_ROOT=buildDir, if get_option('build-tools') == 'next': SCons.Tool.DefaultToolpath.insert(0, os.path.abspath('site_scons/site_tools/next')) -env = Environment(variables=env_vars, **envDict) +env = Environment(variables=env_vars, ENV = {'PATH' : os.environ['PATH']}, **envDict) del envDict if get_option('cache-signature-mode') == 'validate':
clang-lld_tinderbox has reproduced this issue with version 5.0.16-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ccbb46873b4a3380962d427aa09483b7b4791e commit 20ccbb46873b4a3380962d427aa09483b7b4791e Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2024-09-05 03:51:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-11 09:50:49 +0000 dev-db/mongodb: add PATH to Environment, otherwise build failed w/ clang Closes: https://bugs.gentoo.org/829340 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38444 Signed-off-by: Sam James <sam@gentoo.org> dev-db/mongodb/files/mongodb-5.0.26-scons.patch | 27 +++++++++++++++++++++++++ dev-db/mongodb/mongodb-5.0.26.ebuild | 1 + 2 files changed, 28 insertions(+)
*** Bug 918605 has been marked as a duplicate of this bug. ***