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.