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.