國島と申します.
SWAPを無効化,メモリを極端に制限した環境で似たようなエラーを再現する事ができました.
OOM Killerに殺されていませんか?
dmesg もしくは /var/log/kern.log を確認してください.
test@debian:~/git-2.25.0$ free -m
total used free shared buff/cache
available
Mem: 227 99 22 1 106
119
Swap: 0 0 0
test@debian:~/git-2.25.0$ make man
GIT_VERSION = 2.25.0
GEN perl/build/man/man3/Git.3pm
make -C Documentation man
make[1]: Entering directory '/home/test/git-2.25.0/Documentation'
GEN mergetools-list.made
GEN cmd-list.made
GEN doc.dep
... 省略 ...
XMLTO git-fetch-pack.1
ASCIIDOC git-config.xml
XMLTO git-config.1
/usr/bin/xmlto: line 613: 1284 Killed
"/usr/bin/xsltproc" --nonet --xinclude --param passivetex.extensions '1'
-o "/tmp/xmlto.kE9nv6/git-config.proc" "/tmp/xmlto-xsl.PeKm0A"
"/home/test/git-2.25.0/Documentation/git-config.xml"
make[1]: *** [Makefile:376: git-config.1] Error 137
make[1]: Leaving directory '/home/test/git-2.25.0/Documentation'
make: *** [Makefile:2502: man] Error 2
root@debian:~# dmesg | grep oom
[ 69.608575] systemd invoked oom-killer:
gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0,
oom_score_adj=0
[ 69.608631] oom_kill_process.cold.30+0xb/0x1cf
[ 69.608635] ? oom_badness+0x23/0x140
[ 69.608838] [ pid ] uid tgid total_vm rss pgtables_bytes
swapents oom_score_adj name
[ 69.616222] oom_reaper: reaped process 1284 (xsltproc), now
anon-rss:0kB, file-rss:0kB, shmem-rss:0kB