What's the exact "make" command you type? Can you try "git clean -fdx"
followed by "make" (without any other arguments, except -j<some
number>)?
Yes. If I run just "make -j`nproc`" after "git clean -fdx", it builds
fine. Following is my observation now,
# bad
git clean -fdx
make -j`nproc` configure="--prefix=$HOME/.local" install
# bad
./autogen.sh
./configure --prefix=$HOME/.local
make -j`nproc` install
# good
./autogen.sh
./configure --prefix=$HOME/.local
make -j`nproc`
make install
It appears that the "install" target has some issues with "-j`nproc`" if
the emacs is not already built.