Upgrading from clamav-0.94.2 to 0.95 fails. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge world -uDN Actual Results: >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-antivirus/clamav-0.95 * clamav-0.95.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking clamav-0.95.tar.gz to /var/tmp/portage/app-antivirus/clamav-0.95/work * removing possibly incompatible libtool-related m4 files * Running eautoreconf in '/var/tmp/portage/app-antivirus/clamav-0.95/work/clamav-0.95' ... * Running aclocal -I m4 -I m4 ... [ 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/app-antivirus/clamav-0.95/temp/automake-23548.out * * ERROR: app-antivirus/clamav-0.95 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3244: Called eautoreconf * environment, line 1103: Called eautomake * environment, line 1077: Called autotools_run_tool 'automake' '--add-missing' '--copy' * environment, line 573: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running automake ! Expected Results: Should compile cleanly and install without error. On a side note, I've read on the clamav website that the ABI has change in 0.95. Has anyone checked to see if this will impact other apps that utilize clamav? amavisd-new, spamassassin and dspam come to mind.
Created attachment 186875 [details] emerge log for clamav-0.95
Created attachment 186876 [details] ebuild environment for clamav-0.95
Forgot to attach emerge --info. Here it is: =============================================================================== # emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r4-i686-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.0 Timestamp of tree: Tue, 31 Mar 2009 14:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 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="-march=k8 -O2 -pipe" 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/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoclean buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" 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://rsync21.us.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dts dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran fuse gdbm gif gnome gnomecd gpm gstreamer gtk hal iconv isdnlog jpeg kde kdecards libnotify mad midi mikmod mp3 mpeg mudflap nautilus ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv xvmc zlib" ALSA_CARDS="via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 264414 has been marked as a duplicate of this bug. ***
See also similar reports in bug 263740 (the 0.95 version bump bug).
OK, this won't be fixed without patching configure.in. clamav-0.95 invokes libtool 2 macros, i.e. LT_INIT instead of AC_PROG_LIBTOOL. That means, that on a libtool 1 system, libtoolize will be invoked, but LT_INIT will stay undefined and LIBTOOL var just as well.
rafal, does the ebuild from bug 263740 work for you?
(In reply to comment #7) > rafal, does the ebuild from bug 263740 work for you? > hi (i'm not rafal obviously :) but the specified ebuilds works on all my hardened servers (rather than the ebuild in tree)
I'm not Rafal either :-) but I can confirm that the ebuild attached to bug 263740 works even without libtool 2 (I have the latest stable libtool, i.e. 1.5.26). Perhaps I should have been clearer in that bug that I was having problems with the build on tree rather than the build that was attached.
Thomas I just wanted to say I had the same issue reported here and the ebuild you pointed to worked fine on amd64
dep for bug with working ebuild
added ebuild with libtool fix from bug 263740 please test it and leave feedback there. Thanks