Original build error was:
for linkfile in `find -type f -name "*.links"`; do \
perl create-links.pl /builddir/build/BUILDROOT/man-pages-pl-0.6-5.fc25.riscv64//usr/share/man/pl $linkfile; \
done
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
/bin/sh: line 1: perl: command not found
Makefile:28: recipe for target 'install' failed
make: *** [install] Error 127
error: Bad exit status from /var/tmp/rpm-tmp.YGANu2 (%install)