New comment by motorto on void-packages repository https://github.com/void-linux/void-packages/pull/36229#issuecomment-1079945408 Comment: > After adding this patch, I was able to build `llvm13` for `x86_64-musl`. (Going to do this) * Added the patch and rebased, thanks ! I am going to create an musl vm and report back. @wael444, if you want to help fell free to build all changed packages in this pr and report back please, don't know if you are using any different arch/libc library. I moved way from void because I needed the llvm13, I am still working in this using a vm (I intend to come back once this is merged). > edit: > > ``` > -- Configuring done > -- Generating done > -- Build files have been written to: /builddir/llvm-project-13.0.1.src/llvm/build > => llvm13-13.0.1_1: running pre-build hook: 02-script-wrapper ... > => llvm13-13.0.1_1: running do_build ... > ninja: error: loading 'build.ninja': No such file or directory > => ERROR: llvm13-13.0.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1 > => ERROR: in do_build() at common/build-style/cmake.sh:85 > ``` @dkwo and I build it successful on x86_64 glibc, 6 days ago. Are you using any different arch ?