Mailing List Archive

Problem building 0.97.2 on FreeBSD
A FreeBSD user reported me he got following while building
0.97.2 on a recent -current system:

PASS: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
PASS: 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
========================================
1 of 7 tests failed
(6 tests were not run)
See unit_tests/test-suite.log
Please report to http://bugs.clamav.net/

I asked him for test-suite.log (attached in this email) and after
investigation he sent me other email:

----------------------------------------------------------------------------------
BTW, in the test-stderr.log I found following lines which looks
sucpicions:
LibClamAV debug: searching for unrar: libclamunrar_iface.so.6.1.11 not
found
LibClamAV debug: searching for unrar: libclamunrar_iface.so.6 not found
LibClamAV debug: unrar support loaded from
/usr/local/lib/libclamunrar_iface.so

It can be related to the bug or not, but loading
/usr/local/lib/libclamunrar_iface.so from the _old_ clamav version during
tests is wrong thing.
----------------------------------------------------------------------------------

After all, he removed older version, build the newest and
installed it without problems.

I don't know if it's related, but i thought it would be nice to
report it to you guys.

Thanks and let me know if you need more data about it.
--
Renato Botelho
Re: Problem building 0.97.2 on FreeBSD [ In reply to ]
On 8/2/2011 9:23 AM, Renato Botelho wrote:
> A FreeBSD user reported me he got following while building
> 0.97.2 on a recent -current system:
>
> PASS: check1_clamscan.sh
> FAIL: check2_clamd.sh
> PASS: check3_clamd.sh
>

I encountered the same error under RHEL 6 = "ERROR: Can't send to clamd:
Broken pipe". Increasing the resource limits fixed the issue for me.
Attached is the patch I used to workaround the problem with the 0.97.1
and 0.97.2 releases. See this bug report for information:

https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1990