First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 180212
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Black <dragonheart@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180212 depends on: Show dependency tree
Bug 180212 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-29 12:33 0000
$ 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 From Ali Polatel (RETIRED) 2007-06-29 16:46:31 0000 -------
  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 From Christian Faulhammer 2007-07-02 22:07:21 0000 -------
x86 stable and closing

------- Comment #3 From Ali Polatel (RETIRED) 2007-07-02 23:35:24 0000 -------
> 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 From Christian Faulhammer 2007-07-02 23:39:45 0000 -------
I simply forgot.  Thanks for pointing out.

First Last Prev Next    No search results available      Search page      Enter new bug