Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42916 - cyrus-sasl-1.5.27-r6.ebuild don't want to configure
Summary: cyrus-sasl-1.5.27-r6.ebuild don't want to configure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 12:37 UTC by Thomas Czarnetzki
Modified: 2009-03-05 10:51 UTC (History)
1 user (show)

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


Attachments
patch to go after the other patches to fix configure.in (blahafter.patch,858 bytes, patch)
2004-03-02 15:09 UTC, Benjamin Smee (strerror) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Czarnetzki 2004-02-25 12:37:09 UTC
gentoo cyrus-sasl # emerge cyrus-sasl-1.5.27-r6.ebuild 
>>> md5 src_uri ;-) cyrus-sasl-1.5.27.tar.gz
>>> Unpacking source...
>>> Unpacking cyrus-sasl-1.5.27.tar.gz to /var/tmp/portage/cyrus-sasl-1.5.27-r6/work
 * Applying cyrus-sasl-1.5.21-des.patch...                                  [ ok ]
 * Applying cyrus-sasl-configdir.patch...                                   [ ok ]
 * Applying cyrus-sasl-saslauthd.patch...                                   [ ok ]
 * Applying cyrus-sasl-1.5.24-rpath.patch...                                [ ok ]
 * Applying cyrus-sasl-1.5.27-scram.patch...                                [ ok ]
 * Applying cyrus-sasl-gcc32.patch...                                       [ ok ]
 * Applying cyrus-sasl-heimdal-deps.patch...                                [ ok ]
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
automake-1.5: configure.in: installing `config/missing'
automake-1.5: configure.in: installing `config/depcomp'
configure.in:45: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
aclocal.m4:66: AM_CONFIG_HEADER is expanded from...
configure.in:45: the top level
configure.in:711: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:79: _AM_DIRNAME is expanded from...
configure.in:711: the top level
configure.in:652: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

!!! ERROR: dev-libs/cyrus-sasl-1.5.27-r6 failed.
!!! Function src_unpack, Line 52, Exitcode 1
!!! (no error message)

gentoo cyrus-sasl # 

"emerge info" Output:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow apm arts avi berkdb crypt cups encode foomaticdb gd gdbm gif gpm gtk2 imap imlib java jpeg kde libg++ libwww mad mbox mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell sse ssl svga tiff truetype x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1. cd /usr/portage/dev-libs/cyrus-sasl
2. emerge cyrus-sasl-1.5.27-r6.ebuild
3.
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-03-02 04:24:00 UTC
the problem is that this version of cyrus-sasl is not updated for autoconf-2.58+ resulting in the LIBOBJS problems. The fix is to replace all references of LIBOBJS with the correct AC_LIBOBJ=([blah]) in the configure.in. I will see if i can make a patch for this shortly.
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-03-02 04:34:38 UTC
The below patch will make it compile correctly, i need to incorporate this into the ebuild

--- configure.in        2004-03-02 12:28:23.456757992 +0000
+++ configure.in   2004-03-02 12:32:38.802939472 +0000
@@ -649,7 +649,7 @@
 sasl_cv_getsubopt=no
 AC_CHECK_FUNC(getsubopt, [AC_DEFINE(HAVE_GETSUBOPT)], [sasl_cv_getsubopt=yes])
 if test $sasl_cv_getsubopt = yes; then
-       LIBOBJS="$LIBOBJS getsubopt.o"
+       AC_LIBOBJ=([getsubopt])
        GETSUBOPT="getsubopt.lo"
 fi
 AC_SUBST(GETSUBOPT)
@@ -660,12 +660,11 @@
 AC_CHECK_FUNC(snprintf, [AC_DEFINE(HAVE_SNPRINTF)], [sasl_cv_snprintf=yes])
 AC_CHECK_FUNC(vsnprintf, [AC_DEFINE(HAVE_VSNPRINTF)], [sasl_cv_snprintf=yes])
 if test $sasl_cv_snprintf = yes; then
-       LIBOBJS="$LIBOBJS snprintf.o"
+       AC_LIBOBJ=([snprintf])
         SNPRINTFOBJS="snprintf.o"
 fi
 AC_SUBST(SNPRINTFOBJS)

-LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/.lo/g'`
 AC_SUBST(LTLIBOBJS)

 AC_CHECK_HEADERS(getopt.h unistd.h crypt.h pwd.h shadow.h paths.h)
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-03-02 15:09:29 UTC
Created attachment 26733 [details, diff]
patch to go after the other patches to fix configure.in
Comment 4 Frank Loewe 2004-03-03 16:38:24 UTC
localhost cyrus-sasl # emerge cyrus-sasl-1.5.27-r6.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/cyrus-sasl-1.5.27-r6 to /
>>> md5 src_uri ;-) cyrus-sasl-1.5.27.tar.gz
>>> Unpacking source...
>>> Unpacking cyrus-sasl-1.5.27.tar.gz to /var/tmp/portage/cyrus-sasl-1.5.27-r6/work
 * Applying cyrus-sasl-1.5.21-des.patch...                                [ ok ]
 * Applying cyrus-sasl-configdir.patch...                                 [ ok ]
 * Applying cyrus-sasl-saslauthd.patch...                                 [ ok ]
 * Applying cyrus-sasl-1.5.24-rpath.patch...                              [ ok ]
 * Applying cyrus-sasl-1.5.27-scram.patch...                              [ ok ]
 * Applying cyrus-sasl-gcc32.patch...                                     [ ok ]
 * Applying cyrus-sasl-heimdal-deps.patch...                              [ ok ]
 * Applying cyrus-sasl-1.5.27-bugfix.patch...                             [ ok ]
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
automake-1.5: configure.in: installing `config/missing'
automake-1.5: configure.in: installing `config/depcomp'
configure.in:45: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
aclocal.m4:66: AM_CONFIG_HEADER is expanded from...
configure.in:45: the top level
configure.in:710: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:79: _AM_DIRNAME is expanded from...
configure.in:710: the top level
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /bin/install -c
checking for __attribute__... yes
checking for runpath switch... -Wl,-rpath,
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking DB path to use... /var/lib/sasl/sasl.db
./configure: line 10313: syntax error near unexpected token `;;'
./configure: line 10313: `      ;;'

!!! ERROR: dev-libs/cyrus-sasl-1.5.27-r6 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! bad ./configure

localhost cyrus-sasl # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-grsec-1.9.14)
=================================================================
System uname: 2.4.25-grsec-1.9.14 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm berkdb crypt gdbm gif gtk2 imap imlib java jpeg libwww mmx mysql ncurses nls pam pcre pdflib perl png python readline slang spell sse ssl tcpd tiff truetype x86 xml xml2 zlib zzlib"


Now, it shows something like this. 
cyrus-sasl-1.5.27-bugfix.patch is the patch posted here.

I
Comment 5 Frank Loewe 2004-03-03 16:38:24 UTC
localhost cyrus-sasl # emerge cyrus-sasl-1.5.27-r6.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/cyrus-sasl-1.5.27-r6 to /
>>> md5 src_uri ;-) cyrus-sasl-1.5.27.tar.gz
>>> Unpacking source...
>>> Unpacking cyrus-sasl-1.5.27.tar.gz to /var/tmp/portage/cyrus-sasl-1.5.27-r6/work
 * Applying cyrus-sasl-1.5.21-des.patch...                                [ ok ]
 * Applying cyrus-sasl-configdir.patch...                                 [ ok ]
 * Applying cyrus-sasl-saslauthd.patch...                                 [ ok ]
 * Applying cyrus-sasl-1.5.24-rpath.patch...                              [ ok ]
 * Applying cyrus-sasl-1.5.27-scram.patch...                              [ ok ]
 * Applying cyrus-sasl-gcc32.patch...                                     [ ok ]
 * Applying cyrus-sasl-heimdal-deps.patch...                              [ ok ]
 * Applying cyrus-sasl-1.5.27-bugfix.patch...                             [ ok ]
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
automake-1.5: configure.in: installing `config/missing'
automake-1.5: configure.in: installing `config/depcomp'
configure.in:45: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
aclocal.m4:66: AM_CONFIG_HEADER is expanded from...
configure.in:45: the top level
configure.in:710: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:79: _AM_DIRNAME is expanded from...
configure.in:710: the top level
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /bin/install -c
checking for __attribute__... yes
checking for runpath switch... -Wl,-rpath,
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking DB path to use... /var/lib/sasl/sasl.db
./configure: line 10313: syntax error near unexpected token `;;'
./configure: line 10313: `      ;;'

!!! ERROR: dev-libs/cyrus-sasl-1.5.27-r6 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! bad ./configure

localhost cyrus-sasl # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-grsec-1.9.14)
=================================================================
System uname: 2.4.25-grsec-1.9.14 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm berkdb crypt gdbm gif gtk2 imap imlib java jpeg libwww mmx mysql ncurses nls pam pcre pdflib perl png python readline slang spell sse ssl tcpd tiff truetype x86 xml xml2 zlib zzlib"


Now, it shows something like this. 
cyrus-sasl-1.5.27-bugfix.patch is the patch posted here.

I´ve seen this problem before when i tried to fix the previous problem by using the unpacked sources in /var/tmp/portage/cyrus-sasl-1.5.27-r6/work and compiling by hand.

The unpatched source will compile fine. The problem must resist in one of these patches, but I can´t locate the right one.
Comment 6 Frank Loewe 2004-03-03 16:46:44 UTC
Correction:

Compiling the cyrus-sasl-1.5.27.tar.gz Source will configure und make fine.

The ebuild is not working
Even if I do not use any of these patches, the output will be problem

./configure: line 10311: syntax error near unexpected token `;;'
./configure: line 10311: `      ;;'

is there.
Comment 7 Tuan Van (RETIRED) gentoo-dev 2004-08-25 17:03:56 UTC
Please try the latest stable cyrus-sasl. We will remove cyrus-sasl-1.* from the tree soon.
Comment 8 wizard 2009-03-05 10:51:54 UTC
(In reply to comment #7)
> Please try the latest stable cyrus-sasl. We will remove cyrus-sasl-1.* from the
> tree soon.
> 
I get an error in configure using dev-libs/cyrus-sasl-2.1.22-r2

at "Running automake --add-missing --copy ..." simply stops with "[!!]" and logs 
does not says nothing more. 
This is my info:

# emerge --info
Portage 2.1.6.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.26-hardened-r9 i686)
=================================================================
System uname: Linux-2.6.26-hardened-r9-i686-AMD_Athlon-tm-_XP_processor_1700+-with-glibc2.3.2
Timestamp of tree: Wed, 04 Mar 2009 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distclean distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/              http://gentoo.intergenia.de             ftp://pandemonium.tiscali.de/pub/gentoo/                ftp://mirror.scarlet-internet.nl/pub/gentoo           http://darkstar.ist.utl.pt/gentoo/              ftp://mirror.switch.ch/mirror/gentoo/           ftp://ftp.solnet.ch/mirror/Gentoo"
LC_ALL="en_US.UTF8"
LDFLAGS=""
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex cracklib crypt hardened midi mmx mmxext nls nptl nptlonly pam pic pnp readline sse ssl tcpd unicode urandom x86 xorg zlib" ALSA_CARDS="emu10k1" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

and this my emerge cyrus log file:

# cat /var/log/portage/dev-libs:cyrus-sasl-2.1.22-r2:20090305-104240.log
>>> Unpacking source...
>>> Unpacking cyrus-sasl-2.1.22.tar.gz to /var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/work
 * Applying cyrus-sasl-2.1.17-pgsql-include.patch ...                                                                                                                                                   [ ok ]
 * Applying cyrus-sasl-2.1.22-as-needed.patch ...                                                                                                                                                       [ ok ]
 * Applying cyrus-sasl-2.1.19-checkpw.c.patch ...                                                                                                                                                       [ ok ]
 * Applying cyrus-sasl-2.1.22-crypt.patch ...                                                                                                                                                           [ ok ]
 * Applying cyrus-sasl-2.1.22-qa.patch ...                                                                                                                                                              [ ok ]
 * Applying cyrus-sasl-2.1.22-db4.patch ...                                                                                                                                                             [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/work/cyrus-sasl-2.1.22/saslauthd' ...
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/work/cyrus-sasl-2.1.22/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/work/cyrus-sasl-2.1.22/config ...                [ ok ]
 * Running autoconf ...                                                                                                                                                                                 [ ok ]
 * Running autoheader ...                                                                                                                                                                               [ ok ]
 * Running automake --add-missing --copy ...                                                                                                                                                            [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/temp/automake-16650.out

 *
 * ERROR: dev-libs/cyrus-sasl-2.1.22-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4825:  Called eautoreconf
 *             environment, line 1211:  Called eautoreconf
 *             environment, line 1227:  Called eautomake
 *             environment, line 1201:  Called autotools_run_tool 'automake' '--add-missing' '--copy'
 *             environment, line  564:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running automake !
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-libs:cyrus-sasl-2.1.22-r2:20090305-104240.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22-r2/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="/package/localjava/uwarwick.dcs.jar:" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info