From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 24 14:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FE5BA1C for ; Sat, 24 May 2014 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C7BB20CA for ; Sat, 24 May 2014 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OEe0vG099560 for ; Sat, 24 May 2014 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4OEe0tO099559; Sat, 24 May 2014 14:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 24 May 2014 14:40:00 GMT Resent-Message-Id: <201405241440.s4OEe0tO099559@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jez Hancock Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C20F926 for ; Sat, 24 May 2014 14:38:33 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CB8020BD for ; Sat, 24 May 2014 14:38:33 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OEcWxC009123 for ; Sat, 24 May 2014 14:38:32 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4OEcW6F009122; Sat, 24 May 2014 14:38:32 GMT (envelope-from nobody) Message-Id: <201405241438.s4OEcW6F009122@cgiserv.freebsd.org> Date: Sat, 24 May 2014 14:38:32 GMT From: Jez Hancock To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190178: ClamAV 0.98.3 port build broken in unit testing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2014 14:40:00 -0000 >Number: 190178 >Category: ports >Synopsis: ClamAV 0.98.3 port build broken in unit testing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 24 14:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jez Hancock >Release: 10.0-RELEASE-p3 >Organization: >Environment: FreeBSD fbsd.munk.me.uk 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: During upgrade of ClamAV from 0.98.3_3 to 0.98.3_5, port installation fails during the unit test stage: [14:37:19] root@fbsd /usr/ports/security/clamav# ; make build ===> Patching for clamav-0.98.3_5 ===> Applying FreeBSD patches for clamav-0.98.3_5 ===> clamav-0.98.3_5 depends on file: /usr/local/include/check.h - found ===> clamav-0.98.3_5 depends on file: /usr/local/bin/python2.7 - found ===> clamav-0.98.3_5 depends on executable: gmake - found ===> clamav-0.98.3_5 depends on shared library: libcurl.so - found ===> clamav-0.98.3_5 depends on shared library: libltdl.so - found ===> clamav-0.98.3_5 depends on shared library: libxml2.so - found ===> Configuring for clamav-0.98.3_5 .. Making check in unit_tests gmake[3]: Entering directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake check_clamav check_clamd check_fpu_endian check_freshclam.sh check_sigtool.sh check_unit_vg.sh check1_clamscan.sh check2_clamd.sh check3_clamd.sh check4_clamd.sh check5_clamd_vg.sh check6_clamd_vg.sh check7_clamd_hg.sh check8_clamd_hg.sh check9_clamscan_vg.sh gmake[4]: Entering directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' cp input/clamav.hdb clamav.hdb CC check_clamav-check_clamav.o CC check_clamav-check_jsnorm.o check_jsnorm.c:151:12: warning: implicit conversion from 'double' to 'int' changes value from 0.12345 to 0 [-Wliteral-conversion] int val = 0.12345; ~~~ ^~~~~~~ 1 warning generated. CC check_clamav-check_str.o CC check_clamav-check_regex.o CC check_clamav-check_disasm.o CC check_clamav-check_uniq.o CC check_clamav-check_matchers.o CC check_clamav-check_htmlnorm.o CC check_clamav-check_bytecode.o CCLD check_clamav CC check_clamd-check_clamd.o CCLD check_clamd CC check_fpu_endian-check_fpu_endian.o CCLD check_fpu_endian gmake[4]: Nothing to be done for `check_freshclam.sh'. gmake[4]: Nothing to be done for `check_sigtool.sh'. cat ../unit_tests/.split/split.clam-phish-exeaa ../unit_tests/.split/split.clam-phish-exeab > clam-phish-exe gmake[4]: Nothing to be done for `check1_clamscan.sh'. gmake[4]: Nothing to be done for `check2_clamd.sh'. gmake[4]: Nothing to be done for `check3_clamd.sh'. gmake[4]: Nothing to be done for `check4_clamd.sh'. gmake[4]: Nothing to be done for `check5_clamd_vg.sh'. gmake[4]: Nothing to be done for `check6_clamd_vg.sh'. gmake[4]: Nothing to be done for `check7_clamd_hg.sh'. gmake[4]: Nothing to be done for `check8_clamd_hg.sh'. gmake[4]: Nothing to be done for `check9_clamscan_vg.sh'. gmake[4]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake check-TESTS gmake[4]: Entering directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake[5]: Entering directory `/usr/ports/security/clamav/work/clamav-0.98.3/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 ======================================== 3 of 7 tests failed (6 tests were not run) See unit_tests/test-suite.log Please report to http://bugs.clamav.net/ ======================================== gmake[5]: *** [test-suite.log] Error 1 gmake[5]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake[4]: *** [check-TESTS] Error 2 gmake[4]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake[3]: *** [check-am] Error 2 gmake[3]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.98.3/unit_tests' gmake[2]: *** [check-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/security/clamav/work/clamav-0.98.3' *** Error code 2 Stop. make[1]: stopped in /usr/ports/security/clamav *** Error code 1 Stop. make: stopped in /usr/ports/security/clamav Some possibly relevant information: The test-suite.log file (mentioned in build error above) includes: -snip- LibClamAV debug: searching for unrar, user-searchpath: /usr/local/lib LibClamAV debug: searching for unrar: libclamunrar_iface.so.6.1.22 not found LibClamAV debug: searching for unrar: libclamunrar_iface.so.6 not found LibClamAV debug: searching for unrar: libclamunrar_iface.so not found LibClamAV debug: searching for unrar: libclamunrar_iface.a not found LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable -snip- However: -snip- > ls -al /usr/local/lib/libclamunrar_iface.so* lrwxr-xr-x 1 root wheel 28 May 17 12:19 /usr/local/lib/libclamunrar_iface.so -> libclamunrar_iface.so.6.1.22 lrwxr-xr-x 1 root wheel 28 May 17 12:19 /usr/local/lib/libclamunrar_iface.so.6 -> libclamunrar_iface.so.6.1.22 -rwxr-xr-x 1 root wheel 9144 May 17 12:19 /usr/local/lib/libclamunrar_iface.so.6.1.22 -snip- ie the 'missing' libclamunrar_iface lib does appear to exist in /usr/local/lib despite the error messages in the test-suite.log to the contrary. >How-To-Repeat: make build in port dir. >Fix: >Release-Note: >Audit-Trail: >Unformatted: