this is the error >>> emerge (3 of 12) app-admin/syslog-ng-1.6.2 to / >>> Downloading http://ftp.easynet.nl/mirror/gentoo/distfiles/syslog-ng-1.6.2.tar.gz --03:04:25-- http://ftp.easynet.nl/mirror/gentoo/distfiles/syslog-ng-1.6.2.tar.gz => `/usr/portage/distfiles/syslog-ng-1.6.2.tar.gz' Resolving ftp.easynet.nl... 195.86.128.57 Connecting to ftp.easynet.nl[195.86.128.57]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 306,150 [application/x-tar] 100%[======================================================================>] 306,150 319.83K/s 03:04:26 (318.91 KB/s) - `/usr/portage/distfiles/syslog-ng-1.6.2.tar.gz' saved [306150/306150] >>> md5 src_uri ;-) syslog-ng-1.6.2.tar.gz >>> Unpacking source... >>> Unpacking syslog-ng-1.6.2.tar.gz to /var/tmp/portage/syslog-ng-1.6.2/work >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking whether build environment is sane... yes checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -Os -fomit-frame-pointer -pipe ) works... yes checking whether the C compiler (gcc -march=athlon-xp -Os -fomit-frame-pointer -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for bison... bison -y checking how to run the C preprocessor... gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether make sets ${MAKE}... (cached) yes checking for ANSI C header files... yes checking for malloc.h... yes checking for unistd.h... yes checking for door.h... no checking for stropts.h... yes checking for sys/strlog.h... no checking for stdarg.h... yes checking for sys/klog.h... yes checking for arpa/nameser.h... yes checking for tcpd.h... yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking for modern utmp... yes checking whether to compile klogctl... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for I_CONSLOG... no checking for O_LARGEFILE... yes checking for res_init in <resolv.h>... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for res_init in -lresolv... no checking for __res_init in -lresolv... yes checking for door_create in -ldoor... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for select... yes checking for snprintf... yes checking for vsnprintf... yes checking for strerror... yes checking for inet_aton... yes checking for strncpy... yes checking for getutent... yes checking for getopt_long... yes checking for strcasecmp... yes checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... yes checking libol version >= 0.3.13... ok updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/tests/Makefile creating doc/Makefile creating doc/sgml/Makefile creating contrib/Makefile creating syslog-ng.spec creating src/config.h Making all in src make[1]: Entering directory `/var/tmp/portage/syslog-ng-1.6.2/work/syslog-ng-1.6.2/src' cd /var/tmp/portage/syslog-ng-1.6.2/work/syslog-ng-1.6.2 && autoheader autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. /usr/bin/autoheader-2.59: unrecognized option `--language=autoconf' Try `/usr/bin/autoheader-2.59 --help' for more information. autoheader-2.59: /usr/bin/autoheader-2.59 failed with exit status: 1 make[1]: *** [/var/tmp/portage/syslog-ng-1.6.2/work/syslog-ng-1.6.2/src/stamp-h.in] Error 1 make[1]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.2/work/syslog-ng-1.6.2/src' make: *** [all-recursive] Error 1 !!! ERROR: app-admin/syslog-ng-1.6.2 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1.emerge syslog-ng 2. 3. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.0) ================================================================= System uname: 2.6.0 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r1 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="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="3dfx 3dnow X acpi alsa apm arts avi berkdb bonobo cdr crypt cups directfb dvd dvdr encode esd fam fbcon flac foomaticdb gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib java jpeg kde libg++ libwww mad maildir mbox mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang slp spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
Resolved with last emerge sync && emerge -uD world ( perhaps the problem was in autoconf)