Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136486 - nfs-utils-1.0.8 fails to compile w/kerberos support
Summary: nfs-utils-1.0.8 fails to compile w/kerberos support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
: 136514 138019 (view as bug list)
Depends on: 136038
Blocks:
  Show dependency tree
 
Reported: 2006-06-11 14:48 UTC by Dave
Modified: 2006-07-16 02:04 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2006-06-11 14:48:00 UTC
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.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-06-11 16:00:27 UTC
This same error occurs with mit-krb5, modifying the summary appropriately...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-11 23:51:10 UTC
*** Bug 136514 has been marked as a duplicate of this bug. ***
Comment 3 Ed Catmur 2006-06-12 15:57:26 UTC
Depends on bug 124474: ebuild for librpcsecgss.
Comment 4 Preston Crow 2006-06-13 09:43:18 UTC
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.
Comment 5 Fredrik Tolf 2006-06-14 17:31:47 UTC
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.
Comment 6 Matteo Spreafico 2006-06-26 01:54:31 UTC
*** Bug 138019 has been marked as a duplicate of this bug. ***
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-02 17:29:31 UTC
AFAIK librpcsecgss is needed for secure nfs v4 and is available for nfs v3 as a backport patch
Comment 8 Fredrik Tolf 2006-07-02 18:05:20 UTC
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).
Comment 9 SpanKY gentoo-dev 2006-07-16 02:04:21 UTC
fixed now in 1.0.9