* CPV:  net-fs/autofs-5.0.4-r5
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux ppc64 test userland_GNU
>>> Unpacking source...
>>> Unpacking autofs-5.0.4.tar.bz2 to /var/tmp/portage/net-fs/autofs-5.0.4-r5/work
 * Applying autofs-5.0.4-fix-dumb-libxml2-check.patch ...
  [ ok ]
 * Applying autofs-5.0.4-expire-specific-submount-only.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-negative-cache-non-existent-key.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-ldap-detection.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-CLOEXEC-flag.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-select-fd-limit.patch ...
  [ ok ]
 * Applying autofs-5.0.4-make-hash-table-scale-to-thousands-of-entries.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-quoted-mess.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-CLOEXEC-flag-setmntent.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-hosts-map-use-after-free.patch ...
  [ ok ]
 * Applying autofs-5.0.4-uris-list-locking-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-renew-sasl-creds-upon-reconnect-fail.patch ...
  [ ok ]
 * Applying autofs-5.0.4-library-reload-fix-update.patch ...
  [ ok ]
 * Applying autofs-5.0.4-force-unlink-umount.patch ...
  [ ok ]
 * Applying autofs-5.0.4-always-read-file-maps.patch ...
  [ ok ]
 * Applying autofs-5.0.4-code-analysis-corrections.patch ...
  [ ok ]
 * Applying autofs-5.0.4-make-MAX_ERR_BUF-and-PARSE_MAX_BUF-use-easier-to-audit.patch ...
  [ ok ]
 * Applying autofs-5.0.4-easy-alloca-replacements.patch ...
  [ ok ]
 * Applying autofs-5.0.4-configure-libtirpc.patch ...
  [ ok ]
 * Applying autofs-5.0.4-ipv6-name-and-address-support.patch ...
  [ ok ]
 * Applying autofs-5.0.4-ipv6-parse.patch ...
  [ ok ]
 * Applying autofs-5.0.4-add-missing-changelog-entries.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-CLOEXEC-flag-setmntent-include-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-easy-alloca-replacements-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-libxml2-workaround-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-configure-libtirpc-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-add-nfs-mount-proto-default-conf-option.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-bad-token-declare.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-return-start-status-on-fail.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-double-free-in-expire_proc.patch ...
  [ ok ]
 * Applying autofs-5.0.4-another-easy-alloca-replacements-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-add-lsb-init-script-parameter-block.patch ...
  [ ok ]
 * Applying autofs-5.0.4-always-read-file-maps-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-misc-device.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-restorecon.patch ...
  [ ok ]
 * Applying autofs-5.0.4-clear-rpc-client-on-lookup-fail.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-lsb-init-script-header.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-memory-leak-reading-ldap-master.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-st_remove_tasks-locking.patch ...
  [ ok ]
 * Applying autofs-5.0.4-reset-flex-scanner-when-setting-buffer.patch ...
  [ ok ]
 * Applying autofs-5.0.4-zero-s_magic-is-valid.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-percent-hack-for-master.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-intr-as-hosts-mount-default.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-kernel-includes.patch ...
  [ ok ]
 * Applying autofs-5.0.4-dont-umount-existing-direct-mount-on-reread.patch ...
  [ ok ]
 * Applying autofs-5.0.4-library-reload-fix-update-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-improve-manual-umount-recovery.patch ...
  [ ok ]
 * Applying autofs-5.0.4-dont-fail-on-ipv6-address-adding-host.patch ...
  [ ok ]
 * Applying autofs-5.0.4-always-read-file-maps-multi-map-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-always-read-file-maps-key-lookup-fixes.patch ...
  [ ok ]
 * Applying autofs-5.0.4-use-srv-query-for-domain-dn.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-incorrect-dclist-free.patch ...
  [ ok ]
 * Applying autofs-5.0.4-srv-lookup-handle-endian.patch ...
  [ ok ]
 * Applying autofs-5.0.4-library-reload-fix-update-fix-2.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-notify-mount-message-path.patch ...
  [ ok ]
 * Applying autofs-5.0.4-remount-we-created-mount-point-fix.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-double-free-in-do_sasl_bind.patch ...
  [ ok ]
 * Applying autofs-5.0.4-manual-umount-recovery-fixes.patch ...
  [ ok ]
 * Applying autofs-5.0.4-fix-map-type-info-parse-error.patch ...
  [ ok ]
 * Applying autofs-5.0.3-heimdal.patch ...
  [ ok ]
 * Applying autofs-5.0.4-user-ldflags-and-as-needed-v2.patch ...
  [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4' ...
 * Running autoconf ...
  [ ok ]
 * Running autoheader ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/net-fs/autofs-5.0.4-r5/work
>>> Compiling source in /var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4 ...
./configure --prefix=/usr --build=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-openldap --without-sasl --without-hesiod --enable-ignore-busy
checking for binaries in... /usr/bin:/bin:/usr/sbin:/sbin
checking for Linux proc filesystem... yes
checking location of the init.d directory... /etc/init.d
checking for autofs configuration file directory... /etc/conf.d
checking for autofs maps directory... /etc
checking for autofs fifos directory... /var/run
checking for autofs flag file directory... /var/run
checking for powerpc64-unknown-linux-gnu-gcc... powerpc64-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc64-unknown-linux-gnu-gcc accepts -g... yes
checking for powerpc64-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking if libtirpc is requested and available... no
checking if malloc debugging is wanted... no
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 for modprobe... /sbin/modprobe
checking for flex... /usr/bin/flex
checking for bison... /usr/bin/bison
checking for ranlib... /usr/bin/ranlib
checking for rpcgen... /usr/bin/rpcgen
checking if mount accepts the -s option... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml2... yes
checking for yp_match in -lnsl... yes
checking for res_query in -lresolv... no
checking how to run the C preprocessor... powerpc64-unknown-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 powerpc64-unknown-linux-gnu-gcc... (cached) powerpc64-unknown-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether powerpc64-unknown-linux-gnu-gcc accepts -g... (cached) yes
checking for powerpc64-unknown-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether gcc -fPIE works... yes
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating include/config.h
make -j8 DONTSTRIP=1 
set -e; for i in lib daemon modules man samples; do make -C $i all; done 
set -e; if [ -d samples ]; then make -C samples all; fi
make[1]: Entering directory `/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4/lib'
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c cache.c
/usr/bin/rpcgen -h -o mount.h mount.x
make[1]: Entering directory `/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4/samples'
sed -e "s|@@sbindir@@|/usr/sbin|g" \
	    -e "s|@@autofslibdir@@|/usr/lib64/autofs|g" \
	    -e "s|@@autofsconfdir@@|/etc/conf.d|g" \
	    -e "s|@@initdir@@|/etc/init.d|g" < rc.autofs.in > rc.autofs
sed -e "s|@@autofsmapdir@@|/etc|g" \
		< autofs.conf.default.in > autofs.conf.default
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c cat_path.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c rpc_subs.c
make[1]: Leaving directory `/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4/samples'
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c mounts.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c log.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power5 -mtune=power5 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/conf.d\" -c nsswitch.c
/usr/bin/flex -omaster_tok.c -Pmaster_ master_tok.l
In file included from rpc_subs.c:37:
mount.h:6:1: error: unterminated #ifndef
/usr/bin/bison -v -d -p master_ -b master_parse master_parse.y
In file included from mounts.c:28:
../include/automount.h:335:1:/usr/bin/bison -v -d -p master_ -b master_parse master_parse.y
 warning: "MNT_DETACH" redefined
In file included from mounts.c:21:
/usr/include/sys/mount.h:102:1: warning: this is the location of the previous definition
/usr/bin/flex -onss_tok.c -Pnss_ nss_tok.l
rpc_subs.c:846: error: expected declaration specifiers or '...' before 'exports'
rpc_subs.c: In function 'rpc_get_exports_proto':
rpc_subs.c:868: error: 'MOUNTPROC_EXPORT' undeclared (first use in this function)
rpc_subs.c:868: error: (Each undeclared identifier is reported only once
rpc_subs.c:868: error: for each function it appears in.)
rpc_subs.c:868: error: 'xdr_exports' undeclared (first use in this function)
rpc_subs.c:868: error: 'exp' undeclared (first use in this function)
rpc_subs.c: At top level:
rpc_subs.c:898: error: expected ')' before 'item'
rpc_subs.c:917: error: expected ')' before 'list'
rpc_subs.c:929: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpc_get_exports'
/usr/bin/bison -v -d -p nss_ -b nss_parse nss_parse.y
make[1]: *** [rpc_subs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4/lib'
make: *** [daemon] Error 2
 * ERROR: net-fs/autofs-5.0.4-r5 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2896:  Called die
 * The specific snippet of code:
 *       emake DONTSTRIP=1 || die "make failed"
 * 
 * If you need support, post the output of 'emerge --info =net-fs/autofs-5.0.4-r5',
 * the complete build log and the output of 'emerge -pqv =net-fs/autofs-5.0.4-r5'.
 * The complete build log is located at '/var/tmp/portage/net-fs/autofs-5.0.4-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/autofs-5.0.4-r5/temp/environment'.
 * S: '/var/tmp/portage/net-fs/autofs-5.0.4-r5/work/autofs-5.0.4'