<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>180212</bug_id>
          
          <creation_ts>2007-05-29 12:33 0000</creation_ts>
          <short_desc>dev-python/pyclamav-0.3.3 &amp; 0.2.1 broken</short_desc>
          <delta_ts>2007-07-02 23:39:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>2007.0</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://packages.debian.org/stable/python/python-clamav</bug_file_loc>
          
          <keywords>STABLEREQ</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dragonheart@gentoo.org</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2007-05-29 12:33:48 0000</bug_when>
            <thetext>$ python -c &quot;import pyclamav&quot;
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in ?
ImportError: /usr/lib64/python2.4/site-packages/pyclamav.so: undefined symbol: cl_scanbuff

same with 0.2.1

0.4.0 works ok

probably worth stabilising since debian has a newer version more stable than us ;-p.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-06-29 16:46:31 0000</bug_when>
            <thetext>  cl_scanbuff has been removed from libclamav somewhere between version 0.88.7
and 0.90.
  pyclamav-0.2.1 is too old to work with any clamav version in the tree. 
So it should be removed. Version 0.3.3 , however , works fine with version
clamav-0.88.7 . It has pyclamav.scanthis() functionality which was removed from 
version 0.4.0 because of the missing cl_scanbuff.
  I&apos;ve changed pyclamav-0.3.3&apos;s DEPEND to ~app-antivirus/clamav-0.88.7 to solve
the problem and I want to keep it in the tree until the mentioned clamav version is gone.
  cc&apos;ing x86 team to test and mark stable pyclamav versions 0.3.3 and 0.4.0.
You can use example.py to test if it&apos;s working fine. You don&apos;t need to configure
clamav or start the clamd daemon. Run it in a directory with some files in it and the output
should look something like:

hawking@mars pyclamav % python /usr/share/doc/pyclamav-0.4.0/example.py
** A problem as occured : Argument is not a filename (&quot;CVS&quot;)
ChangeLog is not infected
Manifest is not infected
** A problem as occured : Argument is not a filename (&quot;files&quot;)
metadata.xml is not infected
pyclamav-0.2.1.ebuild is not infected
pyclamav-0.3.3.ebuild is not infected
pyclamav-0.4.0.ebuild is not infected 

The error:
  &quot;AttributeError: &apos;module&apos; object has no attribute scanthis&quot; is OK for version 0.4.0 as upstream didn&apos;t bother to remove it from the example.

  Thanks for reporting :-) 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-07-02 22:07:21 0000</bug_when>
            <thetext>x86 stable and closing</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-07-02 23:35:24 0000</bug_when>
            <thetext>&gt; cc&apos;ing x86 team to test and mark stable pyclamav versions 0.3.3 and 0.4.0.
  
  Opfer: You haven&apos;t stabilized pyclamav-0.3.3, any problems about it?
  Reopening bug and cc&apos;ing x86 again to test and mark stable pyclamav-0.3.3 


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-07-02 23:39:45 0000</bug_when>
            <thetext>I simply forgot.  Thanks for pointing out.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>