1 (edited by gondim 2018-05-22 10:23:04)

Topic: Clamav 0.100.0 - unit_tests fail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: FreeBSD 11.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Zhang,

When I try to recompile clamav 0.100.0_1, it fails the unit_tests and does not complete the installation. Do you have a solution without having to disable the unit_tests?

gmake  check-TESTS
gmake[4]: Entering directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
gmake[5]: Entering directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
FAIL: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
FAIL: check1_clamscan.sh
FAIL: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
SKIP: check9_clamscan_vg.sh
gmake[6]: Entering directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
gmake[6]: Nothing to be done for 'all'.
gmake[6]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
============================================================================
Testsuite summary for ClamAV 0.100.0
============================================================================
# TOTAL: 13
# PASS:  4
# SKIP:  6
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See unit_tests/test-suite.log
Please report to https://bugzilla.clamav.net/
============================================================================
gmake[5]: *** [Makefile:1089: test-suite.log] Error 1
gmake[5]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
gmake[4]: *** [Makefile:1197: check-TESTS] Error 2
gmake[4]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
gmake[3]: *** [Makefile:1352: check-am] Error 2
gmake[3]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.100.0/unit_tests'
gmake[2]: *** [Makefile:756: check-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.100.0'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/security/clamav
*** Error code 1

Stop.
make: stopped in /usr/ports/security/clamav

===>>> make build failed for security/clamav
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> security/clamav

This command has been saved to /tmp/portmasterfail.txt

Same problem here: http://freebsd.1045724.x6.nabble.com/Cl … 51120.html

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Clamav 0.100.0 - unit_tests fail

It's a internal error of ClamAV, i'm afraid that there's nothing i can do to help fix it in this case.
Please help report this issue to ClamAV developers:
https://www.clamav.net/contact

3 (edited by gondim 2018-05-25 03:09:25)

Re: Clamav 0.100.0 - unit_tests fail

Hi Zhang,

It seems like some problem with some package installed on the system. I say this because if I get a system FreeBSD 11.1 with no packages installed, I can install clamav 0.100.0.
The previous version clamav 0.99.4 installs correctly even in this system that is giving problem with version 0.100.0.
I'm trying to find out what's causing this problem but I have not been able to yet.

https://bugs.freebsd.org/bugzilla/show_ … ?id=228468

4

Re: Clamav 0.100.0 - unit_tests fail

No idea. sad
Did you report this to ClamAV mailing list?

5

Re: Clamav 0.100.0 - unit_tests fail

ZhangHuangbin wrote:

No idea. sad
Did you report this to ClamAV mailing list?

Yep. I'm waiting for some good news, there in bugzilla.