I get this error when trying to compile nfs-utils-1.0.8 with gcc-4.1.1: checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for RPCSECGSS... configure: error: Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/nfs-utils-1.0.8/work/nfs-utils-1.0.8/config.log !!! ERROR: net-fs/nfs-utils-1.0.8 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile nfs-utils-1.0.8.ebuild, line 41: Called econf '--mandir=/usr/share/man' '--with-statedir=/var/lib/nfs' '--disable-rquotad' '--enable-nfsv3' '--enable-secure-statd' '--with-tcp-wrappers' '--enable-nfsv4' '--enable-gss' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
This same error occurs with mit-krb5, modifying the summary appropriately...
*** Bug 136514 has been marked as a duplicate of this bug. ***
Depends on bug 124474: ebuild for librpcsecgss.
The error message says that librpcsecgss is needed for nfsv4 support. However, emerging with USE="nonfsv4" still gives the error. I do see "--disable-nfsv4" on the configure command line, so it looks like an upstream bug, not a Gentoo bug. Of course, the ebuild should depend on librpcsecgss if the nonfsv4 flag isn't present. So it looks to me like two separate bugs.
I cannot see a message saying that librpcsecgss is required for NFSv4 support, but in caes I've missed it, only that message is an upstream bug. librpcsecgss is simply required for Kerberos support, which is available for both v3 and v4.
*** Bug 138019 has been marked as a duplicate of this bug. ***
AFAIK librpcsecgss is needed for secure nfs v4 and is available for nfs v3 as a backport patch
Kerberos security is implemented in the sunrpc layer, which is the same layer used by both NFSv3 and NFSv4. librpcsecgss, in turn, is used by rpc.{,svc}gssd, which is used by the rpcsec layer itself, not by nfsd. Thus, librpcsecgss is required for Kerberos, not for NFSv4 per se (it's just that NFSv4 requires Kerberos security to be compiled, whereas for NFSv3, it is optional).
fixed now in 1.0.9