clamav-milter.c: In function ‘main’: clamav-milter.c:668: error: ‘LC_ALL’ undeclared (first use in this function) clamav-milter.c:668: error: (Each undeclared identifier is reported only once clamav-milter.c:668: error: for each function it appears in.) clamav-milter.c: In function ‘clamfi_connect’: clamav-milter.c:2490: warning: passing argument 1 of ‘hosts_ctl’ discards qualifiers from pointer target type clamav-milter.c: In function ‘clamfi_eom’: clamav-milter.c:3506: warning: passing argument 2 of ‘smfi_addrcpt’ discards qualifiers from pointer target type clamav-milter.c:3547: warning: passing argument 2 of ‘smfi_addrcpt’ discards qualifiers from pointer target type make[2]: *** [clamav-milter.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-antivirus/clamav-0.90.1-r1/work/clamav-0.90.1/clamav-milter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-antivirus/clamav-0.90.1-r1/work/clamav-0.90.1' make: *** [all] Error 2 !!! ERROR: app-antivirus/clamav-0.90.1-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3303: Called src_compile clamav-0.90.1-r1.ebuild, line 74: Called die clamav-0.90.1 build and runs fine emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo-r1 i686) ================================================================= System uname: 2.6.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.9 Timestamp of tree: Thu, 08 Mar 2007 18:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r4 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks installsources metadata-transfer parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.blueyonder.co.uk http://gentoo.tiscali.nl/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/musicbrainz" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 bzlib cairo caps cdparanoia cdr cjk cli cracklib crypt cups curl dbus directfb doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility lcms leim libg++ libgda libnotify libsamplerate lm_sensors logrotate lua mad matroska mbox midi mikmod milter mime mmap mmx mng mono mp3 mpeg mpi mplayer msn ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdf perl png postgres ppds pppd profile python qt3 qt4 quicktime readline recode reflection ruby sdl seamonkey session sharedmem sndfile snmp sockets sox speex spell spl sse sse2 ssl svg sysvipc tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts uicktime unicode usb v4l vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xface xine xml xml2 xorg xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can you please attach complete build log?
Created attachment 112632 [details] Build log as requested
Sorry, that was my mistake - I forgot to call eautoreconf after patching configure.in. This is fixed in CVS now, so please sync in few hours and it will compile fine. My apologies.