diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3860383fca2..53f027abe6c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -535,7 +535,7 @@ HOSTTOOLS += " \
     fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
     head hostname iconv id install ld ldd ln ls make md5sum mkdir mkfifo mknod \
     mktemp mv nm objcopy objdump od patch perl pr printf pwd \
-    python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
+    python3 pzstd ranlib readelf readlink realpath rm rmdir sed seq sh \
     sha1sum sha224sum sha256sum sha384sum sha512sum \
     sleep sort split stat strings strip tail tar tee test timeout touch tr true truncate uname \
     uniq unzstd wc wget which xargs zstd xz \
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
index 63d68d63769..dbbd93eeda6 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
@@ -8,7 +8,7 @@ LICENSE = "BSD-3-Clause AND GPL-2.0-or-later AND MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
 
 # util-linux for libblkid
-DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl"
+DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl rpcsvc-proto-native"
 RDEPENDS:${PN} = "netbase ${PN}-client"
 RRECOMMENDS:${PN} = "kernel-module-nfsd"
 
@@ -49,7 +49,7 @@ EXTRA_OECONF = "--with-statduser=rpcuser \
                 --enable-uuid \
                 --with-statdpath=/var/lib/nfs/statd \
                 --with-pluginpath=${libdir}/libnfsidmap \
-                --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \
+                --with-rpcgen=${STAGING_BINDIR_NATIVE}/rpcgen \
                "
 
 LDFLAGS += "-lsqlite3 -levent"
