* Package:    mail-filter/procmail-3.22-r10
 * Repository: gentoo
 * Maintainer: net-mail@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking procmail-3.22.tar.gz to /home/tmp/portage/mail-filter/procmail-3.22-r10/work
 * Applying gentoo-maildir3.diff ...
 [ ok ]
 * Applying procmail-lazy-bindings.diff ...
 [ ok ]
 * Applying procmail-comsat-segfault.diff ...
 [ ok ]
 * Applying procmail-maxprocs-fix.diff ...
 [ ok ]
 * Applying procmail-prefix.patch ...
 [ ok ]
 * Adjusting to prefix /
 *   config.h ...
 [ ok ]
 *   Makefile ...
 [ ok ]
 *   autoconf ...
 [ ok ]
 *   recommend.c ...
 [ ok ]
 * Applying procmail-pipealloc.diff ...
 [ ok ]
 * Applying procmail-3.22-glibc-2.10.patch ...
 [ ok ]
 * Applying procmail-3.22-interix.patch ...
 [ ok ]
>>> Source unpacked in /home/tmp/portage/mail-filter/procmail-3.22-r10/work
>>> Compiling source in /home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22 ...
make -j10 CC=clang 
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
 "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen -lsockdns -ldl" \
 "/lib /usr/lib" \
 /dev/null "make" o \
 "clang" "-O2 -march=core2 -mtune=core2 -msse4.1 -msse4.2 -pipe -fno-inline-functions -fno-ipa-cp-clone  " "-Wl,-O1 -Wl,--as-needed  " "procmail lockfile formail mailstat" \
 "procmail formail lockfile" \
 "procmailrc procmailsc procmailex" "src man" \
 "/usr/bin" \
 "strip"
cc seems to work fine, using that as the C-compiler
	...scanning for 13 libraries...
Added LDFLAGS= -lm -lnsl -ldl -lc
cd src; make ../autoconf.h
echo Housekeeping file >config.check
make[1]: Entering directory '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
/bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \
 "grep -F" "make" o "/tmp .	" \
 "/usr/bin" ../autoconf.h
Using the following directories for the LOCKINGTESTs:
  /tmp . 
Initiating fcntl()/kernel-locking-support tests
Whoeaaa!  There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
make[2]: Entering directory '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
clang -c -O2 -march=core2 -mtune=core2 -msse4.1 -msse4.2 -pipe -fno-inline-functions -fno-ipa-cp-clone   _autotst.c
x86_64-pc-linux-gnu-clang-3.5.0: error: unknown argument: '-fno-ipa-cp-clone'
Makefile:240: recipe for target '_autotst.o' failed
make[2]: *** [_autotst.o] Error 1
make[2]: Leaving directory '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
*******************************************************
I suggest you take a look at the definition of CFLAGS* and CC
in the Makefile before you try make again.
Makefile:124: recipe for target '../autoconf.h' failed
make[1]: *** [../autoconf.h] Error 1
make[1]: Leaving directory '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
Makefile:155: recipe for target 'autoconf.h' failed
make: *** [autoconf.h] Error 2
emake failed
 * ERROR: mail-filter/procmail-3.22-r10::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2240:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die
 * 
 * If you need support, post the output of `emerge --info '=mail-filter/procmail-3.22-r10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mail-filter/procmail-3.22-r10::gentoo'`.
 * The complete build log is located at '/home/tmp/portage/mail-filter/procmail-3.22-r10/temp/build.log'.
 * The ebuild environment file is located at '/home/tmp/portage/mail-filter/procmail-3.22-r10/temp/environment'.
 * Working directory: '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22'
 * S: '/home/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22'