Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180212 - dev-python/pyclamav-0.3.3 & 0.2.1 broken
Summary: dev-python/pyclamav-0.3.3 & 0.2.1 broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://packages.debian.org/stable/pyt...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-05-29 12:33 UTC by Daniel Black (RETIRED)
Modified: 2007-07-02 23:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Black (RETIRED) gentoo-dev 2007-05-29 12:33:48 UTC
$ python -c "import pyclamav"
Traceback (most recent call last):
  File "<string>", 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.
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2007-06-29 16:46:31 UTC
  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've changed pyclamav-0.3.3'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'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's working fine. You don'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 ("CVS")
ChangeLog is not infected
Manifest is not infected
** A problem as occured : Argument is not a filename ("files")
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:
  "AttributeError: 'module' object has no attribute scanthis" is OK for version 0.4.0 as upstream didn't bother to remove it from the example.

  Thanks for reporting :-) 
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-02 22:07:21 UTC
x86 stable and closing
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-07-02 23:35:24 UTC
> cc'ing x86 team to test and mark stable pyclamav versions 0.3.3 and 0.4.0.
  
  Opfer: You haven't stabilized pyclamav-0.3.3, any problems about it?
  Reopening bug and cc'ing x86 again to test and mark stable pyclamav-0.3.3 


Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-02 23:39:45 UTC
I simply forgot.  Thanks for pointing out.