Given that you're not seeing shell syntax errors or the like, my guess
is that posh is mishandling the -e command line option (errexit) and
causing some branches of make to fail prematurely. Or, posh has rm as
a built-in and that's mishandling the -f option. Try building with
"make -k"?
If it's the "rm" problem, there are two places in Makefile.in
./Src/Makefile.in: rm -f stamp-modobjs.tmp
./Src/Makefile.in: rm -f stamp-modobjs stamp-modobjs.tmp
where you can try "[ -f stamp-modobjs.tmp ] && rm ..." (you'll have to
split the latter of the above into two separate "rm" calls).
If that still fails it might help to see a diff of config.log from
bash vs. posh, but it seems much more likely that it's make that's
giving up here.
Attachment:
config.log-diff.xz
Description: application/xz