ports/145520: security/clamav python required 2.5.5? or threaded python?
Michael Scheidell
scheidell at secnap.net
Thu Apr 8 18:10:04 UTC 2010
>Number: 145520
>Category: ports
>Synopsis: security/clamav python required 2.5.5? or threaded python?
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 08 18:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Michael Scheidell
>Release: 7.1 amd
>Organization:
SECNAP Network Security
>Environment:
FreeBSD bct.ionspam.net 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Mon Jun 29 18:03:33 GMT 2009 admin at ionspam.spammertrap.net:/usr/obj/usr/src/sys/ENTSPAM amd64
>Description:
attempting to build security/clamav (marked priority serious since there is a security bug open on clamav 95.3)
stops building with this error: .
PASS: llvmunittest_JIT
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for amd64-portbld-freebsd7.1
Python 2.5.4
gmake: Entering directory `/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm'
llvm[0]: Running test suite
gmake[1]: Entering directory `/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/test'
Making a new site.exp file...
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 512000 ; \
/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/utils/lit/lit.py -s -v --no-tcl-as-sh CodeGen ExecutionEngine Integer Verifier )
Traceback (most recent call last):
File "/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/utils/lit/lit.py", line 4, in <module>
import lit
File "/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/utils/lit/lit/__init__.py", line 3, in <module>
from lit import main
File "/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/utils/lit/lit/lit.py", line 9, in <module>
import math, os, platform, random, re, sys, time, threading, traceback
File "/usr/local/lib/python2.5/threading.py", line 6, in <module>
import thread
ImportError: No module named thread
gmake[1]: *** [check-local-lit] Error 1
gmake[1]: Leaving directory `/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm/test'
gmake: *** [check-lit] Error 2
gmake: Leaving directory `/var/jails/basejail/usr/ports/security/clamav/work/clamav-0.96/libclamav/c++/llvm'
FAIL: llvmcheck.sh
=======================================
1 of 6 tests failed
Please report to http://bugs.clamav.net
=======================================
*** Error code 1
pkg_info | grep python
python25-2.5.4_1 An interpreted object-oriented programming language
(make config in ../lang/python25 shows it was NOT compiled with threads)
>How-To-Repeat:
make BATCH=1 WITH_UNZOO=1 WITH_UNRAR=1 WITH_ARC=1 WITH_ARJ=1 WITH_LHA=1 WITH_ICONV=1 WITH_LLVM=1
>Fix:
upgrade to python 2.5.5 with thread support?
or disable JIT compiler
(make BATCH=1 WITH_UNZOO=1 WITH_UNRAR=1 WITH_ARC=1 WITH_ARJ=1 WITH_LHA=1 WITH_ICONV=1 WITHOUT_LLVM=1 )
not sure how to make makefile depend on python with threads.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list