/usr/hppa-linux-gnu/lib/libnss_nis.so is in libc6-dev-hppa-cross 2.24-10cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/hppa-linux-gnu/lib/libnss_nis.so.2
/usr/hppa-linux-gnu/lib/libnss_nis.so.2