Created attachment 860722 [details] emerge-info.txt build log at https://x.artemis.sh/f/kicad-build-log.log , too big to attach here. emerge-info is attached though. Last message in build log before ninja stops is this Generating docs for file panel_3D_opengl_optio/var/tmp/portage/sci-electronics/kicad-6.0.9-r1/work/kicad-6.0.9/3d-viewer/dialogs/panel_preview_3d_model.cpp:223: warning: unexpected token TK_COMMAND_BS in comment block while parsing the argument of command param ninja: build stopped: subcommand failed. Builds fine with [-doc], this is just a doc issue.
Please attach the full build.log compressed.
Created attachment 860770 [details] kicad build log (gzipped)
sci-electronics/kicad-6.x is gone, please close as obsolete. Reopen if the bug also happens on 7.x