No /dis on Ubuntu 21.04... but I think I found the initial problem...
Looks like that mkconfig, ROOT must be where you decompressed the archive, not where you want it installed.
Seems it always build on itself... seems not very good, but ... why not.
But after that I now get:
paul@kasparno:/inferno$ ./makemk.sh
removing old libraries and binaries
gcc -c -I/inferno/Linux/386/include -I/inferno/include -I/inferno/utils/include regaux.c regcomp.c regerror.c regexec.c regsub.c rregexec.c rregsub.c
In file included from regaux.c:1:
/inferno/Linux/386/include/lib9.h:13:10: fatal error: features.h: No such file or directory
13 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from regcomp.c:1:
/inferno/Linux/386/include/lib9.h:13:10: fatal error: features.h: No such file or directory
13 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.
... and other similar missing features.h.