Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96624 - nfs-utils won't emerge error: "libnfsidmap needed for nfsv4 support"
Summary: nfs-utils won't emerge error: "libnfsidmap needed for nfsv4 support"
Status: RESOLVED DUPLICATE of bug 93074
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 10:12 UTC by phil kaasa
Modified: 2005-06-21 06:03 UTC (History)
0 users

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


Attachments
config.log for nfs-utils (config.log,3.18 KB, text/plain)
2005-06-21 05:17 UTC, phil kaasa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phil kaasa 2005-06-20 10:12:03 UTC
While doing an emerge -Duv world, nfs-utils fails during the configure checks.
Specifically, it fails with the error: "configure: error: libnfsidmap needed for
nfsv4 support". This happended before and after I emerged the nfsidmap ebuild.
It also happened before and after an emerge sync, and before and after a reboot.

Reproducible: Always
Steps to Reproduce:
emerge nfs-utils

Actual Results:  
configure: error: libnfsidmap needed for nfsv4 support

Expected Results:  
successful emerge

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.2, glibc-2.3.5-r0,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd eds
emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imagemagick imlib ipv6 ithreads java jpeg ldap libg++ libwww mad mikmod
motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
ppds python quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts vorbis xinerama xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 phil kaasa 2005-06-20 10:15:45 UTC
Note: the emerge also fails when it is done stand-alone (not part of an emerge
-Duv world, but with emerge nfs-utils).
Comment 2 SpanKY gentoo-dev 2005-06-20 21:06:05 UTC
post the actual build error ... also attach the config.log from the build directory
Comment 3 phil kaasa 2005-06-21 05:17:27 UTC
Created attachment 61624 [details]
config.log for nfs-utils
Comment 4 phil kaasa 2005-06-21 05:19:20 UTC
here is the entirety of the output after 'emerge nfs-utils'

Calculating dependencies ...done!
>>> emerge (1 of 1) net-fs/nfs-utils-1.0.7-r1 to /
>>> md5 files   ;-) nfs-utils-1.0.6-r6.ebuild
>>> md5 files   ;-) nfs-utils-1.0.7-r1.ebuild
>>> md5 files   ;-) files/nfs
>>> md5 files   ;-) files/nfs.confd
>>> md5 files   ;-) files/digest-nfs-utils-1.0.6-r6
>>> md5 files   ;-) files/digest-nfs-utils-1.0.7-r1
>>> md5 files   ;-) files/nfs-utils-0.3.3-rquotad-overflow.patch
>>> md5 files   ;-) files/exports
>>> md5 files   ;-) files/nfs-utils-1.0.6-usn36.patch.gz
>>> md5 files   ;-) files/nfs-utils-1.0.7-gcc4.patch
>>> md5 files   ;-) files/nfsmount
>>> md5 files   ;-) files/nfs-utils-1.0.6-uclibc.patch
>>> md5 src_uri ;-) nfs-utils-1.0.7.tar.gz
>>> Unpacking source...
>>> Unpacking nfs-utils-1.0.7.tar.gz to /var/tmp/portage/nfs-utils-1.0.7-r1/work
* Applying nfs-utils-1.0.7-gcc4.patch ...                                [ ok ]
* Applying nfs-utils-1.0.6-uclibc.patch ...                              [ ok ]
* Applying nfs-utils-0.3.3-rquotad-overflow.patch ...                    [ ok
]>>> Source unpacked.
 * econf: updating nfs-utils-1.0.7/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating nfs-utils-1.0.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu --mandir=/usr/share/man
--with-statedir=/var/lib/nfs --disable-rquotad --enable-nfsv3
--enable-secure-statd --enable-nfsv4 --disable-gss
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer
-pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer
-pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ar... ar
checking for ld... ld
checking for ANSI C header files... yes
checking for GNU libc2... yes
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for crypt in -lcrypt... yes
checking for event_dispatch in -levent... yes
checking for nfs4_init_name_mapping in -lnfsidmap... no
configure: error: libnfsidmap needed for nfsv4 support

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/nfs-utils-1.0.7-r1/work/nfs-utils-1.0.7/config.log

!!! ERROR: net-fs/nfs-utils-1.0.7-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 phil kaasa 2005-06-21 05:37:48 UTC
After taking a look at config.log (I'm relatively naive Linux/Gentoo user, so I
didn't look at this right away), I thought re-emerging openldap might help
things along. Apparantly I was right. After re-emerging openldap, I emerged
nfs-utils and everything went swimmingly. 
Comment 6 SpanKY gentoo-dev 2005-06-21 06:03:20 UTC
your ldap is broken:

/usr/lib/libldap-2.2.so.7: undefined reference to `ber_memalloc_x'
/usr/lib/libldap-2.2.so.7: undefined reference to `ber_memvfree_x'
Comment 7 SpanKY gentoo-dev 2005-06-21 06:03:51 UTC

*** This bug has been marked as a duplicate of 93074 ***