Minimal reproducer: ====== CacheDir('objects') env = Environment() def CompilerCheck(context): context.Message("Checking for a working C compiler ") ret = context.TryRun("int a;\n", '.c' )[0] context.Result(ret) if ret == 0: return False conf = Configure(Environment(), custom_tests = {"CompilerCheck" : CompilerCheck}) conf.CompilerCheck() ====== I've traced this down to mixing of bytes/str in Node.FS.File.get_cachedir_bsig and reported it upstream to scons-users. Opening this bug to track it on the Gentoo side.
Can no longer repro, presumably upstream fixed this at some point.