ClamAV.xs:308: error: ‘CL_EFSYNC’ undeclared (first use in this function) Reproducible: Always Steps to Reproduce: 1.emerge =dev-perl/Mail-ClamAV-0.22 2. 3. Actual Results: Starting "make" Stage make[1]: Entering directory `/var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c i686-pc-linux-gnu-gcc -c -I/var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22 -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=athlon-xp -pipe -fomit-frame-pointer -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" ClamAV.c ClamAV.xs: In function ‘clamav_perl_constant’: ClamAV.xs:308: error: ‘CL_EFSYNC’ undeclared (first use in this function) ClamAV.xs:308: error: (Each undeclared identifier is reported only once ClamAV.xs:308: error: for each function it appears in.) ClamAV.xs:321: error: ‘CL_ELOCKDB’ undeclared (first use in this function) make[1]: *** [ClamAV.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV' A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make The build directory was: /var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22/_Inline/build/Mail/ClamAV To debug the problem, cd to the build directory, and inspect the output files. at /var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 177 BEGIN failed--compilation aborted at /var/tmp/portage/dev-perl/Mail-ClamAV-0.22/work/Mail-ClamAV-0.22/blib/lib/Mail/ClamAV.pm line 538. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [ClamAV.inl] Error 25 Expected Results: install Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r1-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0 Timestamp of tree: Mon, 15 Sep 2008 16:19:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 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: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 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.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" 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/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/portage/local/layman/nx /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/kdesvn-portage /usr/portage/local" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac accessibility acl acpi adns aiglx aim alsa apache2 archive arts audiofile avahi bash-completion bcmath berkdb bidi bindinst bluetooth branding browserplugin bzip2 cairo calendar caps cdr cli cracklib crypt cups curlwrappers dbus dedicated dga dio divx divx4linux dlloader dri dts dvddvdr dvdread eds emacs emacs-w3 emboss emerald encode erandom escreen esd ethereal etwin evo examples exiv2 expat fam fastcgi fbcon fbcondecor ffmpeg firefox firefox3 font fortran ftp gd gdbm gif glitz glut gnome gnusetup gnutls google-gadgets gpm gs gstreamer gtk gtkhtml hal hardened iconv imap immqt-bc inifileinnodb ipod ipv6 isdnlog ithreads java javascript jp2 jpeg jpeg2k kde kde4 kerberos krb4 ldap libcaca libclamv libffi libnotify live lm_sensors lzo mad maildir mailwrapper midi mikmod milter mime ming mmap mmx modplug mono motif mozbranding mozilla mp3 mp4 mpeg mpi msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia oav objc ogg opengl openmp oracle oscar oss pam pcre pdf perl php pic png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline real realmedia reflection samba sasl sdl session shared spell spl sqlite sse ssl startup-notification svg symlink sysfs tcltktcpd tcpd test themes threads tiff truetype type1 unicode urandom usb usepackagedmakefiles userlocales vcd vhosts videos vorbis win32codecs wma wmf wxwindows x86 xcomposite xinerama xml xorg xpm xprint xrandr xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="intel8x0" 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 spelling 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" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
http://rt.cpan.org/Public/Bug/Display.html?id=39301
Created attachment 165674 [details, diff] The patch linked above..
Created attachment 165675 [details] Ebuild bump applies the patch
@Dan: Thanks. =dev-perl/Mail-ClamAV-0.22-r1 is in the tree. @arches: Please stabilize =dev-perl/Mail-ClamAV-0.22-r1 It is needed to work with =app-antivirus/clamav-0.94 Thanks
amd64/x86 stable
sparc stable
ia64 stable, closing