Check http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588986 Same happens on gentoo
this isnt specific to superh. this peekfd file is a huge pile of shit.
sed -i -e 's:WANT_PEEKFD_MIPS:DISABLE&:' configure.ac || die in src_prepare and wait for the Debian/upstream bug to get solved peekfd is not mandatory to have, it's the less important application from psmisc
my portable ptrace library is taking some time to get right, so ive added a build time hack. any/all peekfd build failures will be ignored and that's what i prefer. http://sources.gentoo.org/sys-process/psmisc/psmisc-22.12.ebuild?r1=1.3&r2=1.4
Likely fixed in https://gitlab.com/psmisc/psmisc/commit/d14bc4620a59e2d9a162611e6f1d922487f9c8ed .
It seems as if the hack now makes the build fail?