Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 332365

Summary: net-fs/nfs-utils-1.2.2-r2: showmount: clnt_create: RPC: Can't encode arguments
Product: Gentoo Linux Reporter: Sascha Beck <BeckSascha>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: netbox253
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 340189    
Bug Blocks:    

Description Sascha Beck 2010-08-11 20:51:34 UTC
Executing showmount -e causes the error: clnt_create: RPC: Can't encode arguments.

Reproducible: Always

Steps to Reproduce:
1. execute showmount -e
2.
3.

Actual Results:  
(On x86_64)
# showmount -e
clnt_create: RPC: Can't encode arguments

(On i686)
# showmount -e
Segmentation fault

Expected Results:  
Expected is a list of path's exported via nfs.

This problem seems to be related to libtirpc. After upgrading to >=libtirpc-0.2.0 the problem disappears. It seems that nfs-utils should depend on >=libtirpc-0.2.0.

# emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-VIA_Nano_processor_L2200@1600MHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 11 Aug 2010 18:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -mmmx -msse -msse2 -mssse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -mmmx -msse -msse2 -mssse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://www.cyberuse.com/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/enlightenment /var/lib/layman/jokey /var/lib/layman/kde /var/lib/layman/x11 /var/lib/layman/java-overlay /usr/local/portage/mine"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi aio alsa amd64 bash-completion berkdb bzip2 cairo chm cli cracklib crypt cups curl cxx dbus device-mapper dia djvu dri ebook encode fortran gdbm gif git glib gnutls gpm hal iconv jpeg kde matroska mercurial mmx modules mp3 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre perl png pppd python python3 qt3support qt4 readline reflection sdl semantic-desktop session spell spl sql sqlite sse sse2 ssl subversion svg sysfs tcpd theora threads thumbnail tiff unicode vim-syntax vorbis webkit x264 xorg xpm xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="openchrome via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I am running partially ~amd64 which is probably why I found this problem.
Comment 1 Fab 2010-10-07 10:04:13 UTC
Confirmed here on my x86 system.

After emerging =net-libs/libtirpc-0.2.1-r1, showmount does not longer segfaults and works as expected.