Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219576 - dev-python/pyclamav-0.4.0: pyclamav.c:309: error: ‘struct cl_limits’ has no member named ‘maxratio’
Summary: dev-python/pyclamav-0.4.0: pyclamav.c:309: error: ‘struct cl_limits’ has no m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 221715
  Show dependency tree
 
Reported: 2008-04-28 08:28 UTC by Martin Mokrejš
Modified: 2008-05-13 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pyclamav-0.4.0-x86_64-emergeinfo_buildlog (pyclamav-0.4.0-x86_64-emergeinfo_buildlog-2008.05.05_07:55:28,20.74 KB, text/plain)
2008-05-05 14:56 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2008-04-28 08:28:22 UTC
I had to re-run revdep-rebuild but I cannot recompile pyclamav. I suspect it used to compile against an older version of clamav.

>>> Emerging (3 of 7) dev-python/pyclamav-0.4.0 to /
 * pyclamav-0.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                          [ ok ]
 * checking pyclamav-0.4.0.tar.gz ;-) ...                                                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking pyclamav-0.4.0.tar.gz to /var/tmp/portage/dev-python/pyclamav-0.4.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pyclamav-0.4.0/work/pyclamav-0.4.0 ...
running build
running build_ext
building 'pyclamav' extension
creating build
creating build/temp.linux-i686-2.5
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fPIC -I/usr/local/include -I/usr/include/python2.5 -c -I/usr/local/include -I/usr/include/python2.5 -c pyclamav.c -o build/temp.linux-i686-2.5/pyclamav.o
pyclamav.c: In function ‘initpyclamav’:
pyclamav.c:309: error: ‘struct cl_limits’ has no member named ‘maxratio’
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1


*  app-antivirus/clamav
      Latest version available: 0.93
      Latest version installed: 0.93
      Size of files: 15,756 kB
      Homepage:      http://www.clamav.net/
      Description:   Clam Anti-Virus Scanner
      License:       GPL-2


# emerge --info
Portage 2.1.5_rc6 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24.3 i686)
=================================================================
System uname: 2.6.24.3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Timestamp of tree: Mon, 28 Apr 2008 08:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz"
LDFLAGS=""
LINGUAS="en cs cz"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache2 audacious audiofile bash-completion bcmath berkdb blas boost bzip2 cairo cblas cddb cdparanoia cdr clamav cli colordiff compress cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat fam fame fat fbcon ffmpeg fftw firefox flac flash foomaticdb fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glitz glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gstreamer gtk gtkhtml hal hdf hdf5 i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb isdnlog ithreads jack java javascript jbig jikes jpeg jpeg2k kdtree kerberos lame lapack lcms leim libcaca libedit libwww live lzo lzw mad maildir matroska mhash midi mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp oss pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3 qt3support qt4 quicktime rar raw readline real recode reflection reiserfs rpm rtc samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads tidy tiff tk transcode truetype unicode urandom usb userlocales uuencode v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcb xcf xfs xft xinetd xml xorg xpm xprint xsl xslt xv xvid xvmc yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1       emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xavian-Anderson Macpherson 2008-05-05 14:56:28 UTC
Created attachment 151935 [details]
pyclamav-0.4.0-x86_64-emergeinfo_buildlog
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-05-11 16:05:10 UTC
pyclamav-0.4.1 is released and is reported to fix this issue:

"Has been tested to works with libclamav up to version 0.93.0 (and may be later versions)"

Please, bump and request immediate stabilization for x86 arch as clamav-0.93 is already stable due to security bug #213762.
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2008-05-13 13:07:30 UTC
pyclamav-0.4.1 is in CVS.
Requested stable on bug 221937.
Thanks for reporting :)