Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99457 - net-fs/autofs-4.1.3-r4 fails to emerge.
Summary: net-fs/autofs-4.1.3-r4 fails to emerge.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 12:38 UTC by Chuck Wegrzyn
Modified: 2006-04-05 07:17 UTC (History)
0 users

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 Chuck Wegrzyn 2005-07-18 12:38:40 UTC
I just build this machine and wanted to support auto-mount.

Reproducible: Always
Steps to Reproduce:
1.emerge autofs
2.
3.

Actual Results:  
sideshow cwegrzyn # emerge autofs
Calculating dependencies ...done!
>>> emerge (1 of 1) net-fs/autofs-4.1.3-r4 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-sock-leak-fix
.patch
--14:29:09--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-sock-leak-fix.p
atch
           => `/usr/portage/distfiles/autofs-4.1.3-sock-leak-fix.patch'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,236 [text/plain]

100%[====================================>] 1,236         --.--K/s

14:29:09 (11.79 MB/s) - `/usr/portage/distfiles/autofs-4.1.3-sock-leak-fix.patch
' saved [1,236/1,236]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-strict.patch
--14:29:10--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-strict.patch
           => `/usr/portage/distfiles/autofs-4.1.3-strict.patch'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,626 [text/plain]

100%[====================================>] 1,626         --.--K/s

14:29:10 (15.51 MB/s) - `/usr/portage/distfiles/autofs-4.1.3-strict.patch' saved
 [1,626/1,626]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-replicated_se
rver_select.patch
--14:29:10--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-replicated_serv
er_select.patch
           => `/usr/portage/distfiles/autofs-4.1.3-replicated_server_select.patc
h'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.1
34
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 962 [text/plain]

100%[====================================>] 962           --.--K/s

14:29:10 (9.17 MB/s) - `/usr/portage/distfiles/autofs-4.1.3-replicated_server_se
lect.patch' saved [962/962]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-miscfixes.pat
ch.gz
--14:29:10--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-miscfixes.patch
.gz
           => `/usr/portage/distfiles/autofs-4.1.3-miscfixes.patch.gz'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,058 [application/x-gzip]

100%[====================================>] 3,058         --.--K/s

14:29:10 (29.16 MB/s) - `/usr/portage/distfiles/autofs-4.1.3-miscfixes.patch.gz'
 saved [3,058/3,058]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3.tar.bz2
--14:29:10--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3.tar.bz2
           => `/usr/portage/distfiles/autofs-4.1.3.tar.bz2'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 125,234 [application/x-tar]

100%[====================================>] 125,234       96.30K/s

14:29:11 (96.01 KB/s) - `/usr/portage/distfiles/autofs-4.1.3.tar.bz2' saved [125
,234/125,234]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-non_block_pin
g.patch
--14:29:12--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-non_block_ping.
patch
           => `/usr/portage/distfiles/autofs-4.1.3-non_block_ping.patch'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7,934 [text/plain]

100%[====================================>] 7,934         27.97K/s

14:29:12 (27.96 KB/s) - `/usr/portage/distfiles/autofs-4.1.3-non_block_ping.patc
h' saved [7,934/7,934]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-mtab_lock.pat
ch
--14:29:12--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-mtab_lock.patch
           => `/usr/portage/distfiles/autofs-4.1.3-mtab_lock.patch'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 551 [text/plain]

100%[====================================>] 551           --.--K/s

14:29:12 (5.25 MB/s) - `/usr/portage/distfiles/autofs-4.1.3-mtab_lock.patch' sav
ed [551/551]

>>> Downloading http://distfiles.gentoo.org/distfiles/autofs-4.1.3-bad_chdir.pat
ch
--14:29:12--  http://distfiles.gentoo.org/distfiles/autofs-4.1.3-bad_chdir.patch
           => `/usr/portage/distfiles/autofs-4.1.3-bad_chdir.patch'
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 156.56.247.1
95
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6,343 [text/plain]

100%[====================================>] 6,343         --.--K/s

14:29:12 (191.29 KB/s) - `/usr/portage/distfiles/autofs-4.1.3-bad_chdir.patch' s
aved [6,343/6,343]

>>> md5 files   ;-) autofs-4.1.3-r2.ebuild
>>> md5 files   ;-) autofs-4.0.0.ebuild
>>> md5 files   ;-) autofs-4.1.3.ebuild
>>> md5 files   ;-) autofs-3.1.7-r6.ebuild
>>> md5 files   ;-) autofs-4.1.3-r4.ebuild
>>> md5 files   ;-) autofs-3.1.7-r3.ebuild
>>> md5 files   ;-) autofs-4.1.3-r1.ebuild
>>> md5 files   ;-) autofs-3.1.7-r5.ebuild
>>> md5 files   ;-) autofs-4.1.3-r3.ebuild
>>> md5 files   ;-) autofs-3.1.7-r4.ebuild
>>> md5 files   ;-) files/autofs.confd
>>> md5 files   ;-) files/ldap_config.patch
>>> md5 files   ;-) files/auto.master
>>> md5 files   ;-) files/auto.net
>>> md5 files   ;-) files/autofs-4.1.3-signal-race-fix.patch
>>> md5 files   ;-) files/autofs.rc10
>>> md5 files   ;-) files/autofs.rc11
>>> md5 files   ;-) files/autofs.rc12
>>> md5 files   ;-) files/autofs1.confd
>>> md5 files   ;-) files/digest-autofs-4.1.3-r1
>>> md5 files   ;-) files/digest-autofs-4.1.3-r2
>>> md5 files   ;-) files/digest-autofs-4.1.3-r3
>>> md5 files   ;-) files/digest-autofs-4.1.3-r4
>>> md5 files   ;-) files/autofs.rc6
>>> md5 files   ;-) files/autofs.rc7
>>> md5 files   ;-) files/autofs.rc8
>>> md5 files   ;-) files/autofs.rc9
>>> md5 files   ;-) files/digest-autofs-4.0.0
>>> md5 files   ;-) files/digest-autofs-4.1.3
>>> md5 files   ;-) files/autofs.confd9
>>> md5 files   ;-) files/auto.misc
>>> md5 files   ;-) files/digest-autofs-3.1.7-r3
>>> md5 files   ;-) files/digest-autofs-3.1.7-r4
>>> md5 files   ;-) files/digest-autofs-3.1.7-r5
>>> md5 files   ;-) files/digest-autofs-3.1.7-r6
>>> md5 files   ;-) files/automount.diff
>>> md5 files   ;-) files/nisyp.patch
>>> md5 src_uri ;-) autofs-4.1.3.tar.bz2
>>> md5 src_uri ;-) autofs-4.1.3-strict.patch
>>> md5 src_uri ;-) autofs-4.1.3-mtab_lock.patch
>>> md5 src_uri ;-) autofs-4.1.3-bad_chdir.patch
>>> md5 src_uri ;-) autofs-4.1.3-non_block_ping.patch
>>> md5 src_uri ;-) autofs-4.1.3-sock-leak-fix.patch
>>> md5 src_uri ;-) autofs-4.1.3-replicated_server_select.patch
>>> md5 src_uri ;-) autofs-4.1.3-miscfixes.patch.gz
>>> Unpacking source...
>>> Unpacking autofs-4.1.3.tar.bz2 to /var/tmp/portage/autofs-4.1.3-r4/work
 * Applying autofs-4.1.3-strict.patch ...                                 [ ok ]
 * Applying autofs-4.1.3-mtab_lock.patch ...                              [ ok ]
 * Applying autofs-4.1.3-bad_chdir.patch ...                              [ ok ]
 * Applying autofs-4.1.3-non_block_ping.patch ...                         [ ok ]
 * Applying autofs-4.1.3-sock-leak-fix.patch ...                          [ ok ]
 * Applying autofs-4.1.3-replicated_server_select.patch ...               [ ok ]
 * Applying autofs-4.1.3-miscfixes.patch.gz ...                           [ ok ]
 * Applying autofs-4.1.3-signal-race-fix.patch ...                        [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --i
nfodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/v
ar/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --without-openldap
checking for binaries in... /usr/bin:/bin:/usr/sbin:/sbin
checking for mount... /bin/mount
checking for umount... /bin/umount
checking for fsck.ext2... /sbin/fsck.ext2
checking for fsck.ext3... /sbin/fsck.ext3
checking if mount accepts the -s option... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for yp_match in -lnsl... yes
checking for res_query in -lresolv... no
checking for hes_resolve in -lhesiod... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking rpcsvc/nis.h usability... yes
checking rpcsvc/nis.h presence... yes
checking for rpcsvc/nis.h... yes
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none ne
eded
checking whether gcc -fPIE works... yes
checking location of the init.d directory... /etc/init.d
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating include/config.h
set -e; for i in lib daemon modules man samples; do make -C $i all; done
make[1]: Entering directory `/var/tmp/portage/autofs-4.1.3-r4/work/autofs-4.1.3/
lib'
gcc -march=k8 -pipe -O2 -I../include -fpic -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNF
S3_SUPPORTED -c cache.c
/usr/bin/rpcgen -h -o mount.h mount.x
gcc -march=k8 -pipe -O2 -I../include -fpic -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -DNF
S3_SUPPORTED -o listmount.o -c listmount.c
In file included from listmount.c:22:
mount.h:6:1: unterminated #ifndef
listmount.c:52: error: parse error before "get_export_list"
listmount.c: In function `get_export_list':
listmount.c:58: error: `exports' undeclared (first use in this function)
listmount.c:58: error: (Each undeclared identifier is reported only once
listmount.c:58: error: for each function it appears in.)
listmount.c:58: error: parse error before "exportlist"
listmount.c:70: warning: return makes integer from pointer without a cast
listmount.c:82: error: `MOUNTPROG' undeclared (first use in this function)
listmount.c:82: error: `MOUNTVERS' undeclared (first use in this function)
listmount.c:91: warning: return makes integer from pointer without a cast
listmount.c:99: error: `exportlist' undeclared (first use in this function)
listmount.c:100: error: `MOUNTPROC_EXPORT' undeclared (first use in this functio
n)
listmount.c:100: error: `xdr_exports' undeclared (first use in this function)
listmount.c:106: warning: return makes integer from pointer without a cast
listmount.c: At top level:
listmount.c:112: error: parse error before "item"
listmount.c: In function `exports_free':
listmount.c:114: error: `groups' undeclared (first use in this function)
listmount.c:114: error: parse error before "grp"
listmount.c:116: error: `item' undeclared (first use in this function)
listmount.c:119: error: `grp' undeclared (first use in this function)
listmount.c:123: error: `tmp' undeclared (first use in this function)
listmount.c: At top level:
listmount.c:131: error: parse error before "list"
listmount.c: In function `export_list_free':
listmount.c:133: error: `exports' undeclared (first use in this function)
listmount.c:133: error: parse error before "tmp"
listmount.c:135: error: `list' undeclared (first use in this function)
listmount.c:136: error: `tmp' undeclared (first use in this function)
listmount.c: At top level:
listmount.c:221: error: parse error before "prune_export_list"
listmount.c:221: error: parse error before "list"
listmount.c: In function `prune_export_list':
listmount.c:223: error: `exports' undeclared (first use in this function)
listmount.c:223: error: parse error before "exl"
listmount.c:227: error: `exl' undeclared (first use in this function)
listmount.c:227: error: `list' undeclared (first use in this function)
listmount.c:228: error: `prev' undeclared (first use in this function)
listmount.c:231: error: `spec' undeclared (first use in this function)
listmount.c:236: error: `head' undeclared (first use in this function)
make[1]: *** [listmount.o] Error 1
make[1]: *** Waiting for unfinished jobs....
set -e; if [ -d samples ]; then make -C samples all; fi
make[1]: Entering directory `/var/tmp/portage/autofs-4.1.3-r4/work/autofs-4.1.3/
                                  samples'
sed -e "s|@@sbindir@@|/usr/sbin|g" \
    -e "s|@@autofslibdir@@|/usr/lib64/autofs|g" \
    -e "s|@@initdir@@|/etc/init.d|g" < rc.autofs.in > rc.autofs
make[1]: Leaving directory `/var/tmp/portage/autofs-4.1.3-r4/work/autofs-4.1.3/l
                                  ib'
make: *** [daemon] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/autofs-4.1.3-r4/work/autofs-4.1.3/s
                                  amples'

!!! ERROR: net-fs/autofs-4.1.3-r4 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
For it to compile...

sideshow cwegrzyn # emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 arts avi berkdb bitmap-fonts cdr crypt cups curl dvd
elibc_glibc encode esd fam font-server foomaticdb gif gpm gtk gtk2 imagemagick
imlib ipv6 java jp2 jpeg kde kernel_linux lzw lzw-tiff mad mp3 mpeg mysql
ncurses nls ogg opengl oss pam pdflib perl png python qt quicktime readline sdl
spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb userland_GNU
userlocales vorbis xml2 xmms xpm xrandr xv zeroconf zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 bemis 2006-04-01 08:59:01 UTC
this still appears to be a problem -- although walking through the ebuild steps 
ebuild autofs-4.1.3-r4.ebuild fetch
ebuild autofs-4.1.3-r4.ebuild digest
ebuild autofs-4.1.3-r4.ebuild manifest
ebuild autofs-4.1.3-r4.ebuild unpack
ebuild autofs-4.1.3-r4.ebuild compile
ebuild autofs-4.1.3-r4.ebuild test
ebuild autofs-4.1.3-r4.ebuild preinst
ebuild autofs-4.1.3-r4.ebuild install
ebuild autofs-4.1.3-r4.ebuild postinst
ebuild autofs-4.1.3-r4.ebuild qmerge
worked just fine and i appear to have a functioning autofs
and once that was done normal emerges of 4.1.3-r4 work fine without "help"
Comment 2 Chuck Wegrzyn 2006-04-05 07:17:47 UTC
It worked in a new system.