From nobody@FreeBSD.org  Sat Apr  3 05:42:00 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3AA22106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Apr 2010 05:42:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2913D8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Apr 2010 05:42:00 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o335g0XW029175
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 3 Apr 2010 05:42:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o335fxM9029174;
	Sat, 3 Apr 2010 05:41:59 GMT
	(envelope-from nobody)
Message-Id: <201004030541.o335fxM9029174@www.freebsd.org>
Date: Sat, 3 Apr 2010 05:41:59 GMT
From: Alexander Wittig <alexander@wittig.name>
To: freebsd-gnats-submit@FreeBSD.org
Subject: security/clamav fails the post-build check if LC_ALL is set to non-english
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145340
>Category:       ports
>Synopsis:       security/clamav fails the post-build check if LC_ALL is set to non-english
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 07:47:08 UTC 2010
>Closed-Date:    Tue Apr 06 12:02:32 UTC 2010
>Last-Modified:  Tue Apr  6 12:10:04 UTC 2010
>Originator:     Alexander Wittig
>Release:        8 stable
>Organization:
>Environment:
FreeBSD hotzenplotz.wittig.name 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Mar 31 03:25:54 CEST 2010     root@hotzenplotz.wittig.name:/usr/obj/usr/src/sys/ALEX  amd64

>Description:
The "check" target that has been added to the port fails if LC_ALL is set (at least if it is de_DE). There is a bug in the unit tests (one string is localized somewhere, the other is not and the they are compared) and I did file a report with the clamav people about this.
In the meantime, is it maybe possible to provide an option or knob to turn the test off so people who run into this issue can still install clamav? Even with the bug fixed upstream, I personally would still like to not run the checks just to get around the additional build dependency on libcheck...
>How-To-Repeat:
Try to build/install security/clamav with environment variable LC_ALL set to "de_DE.UTF-8"
>Fix:
As a workaround to still get clamav installed I simply commented out the post-build target in the Makefile and remove the "--enable-check" configure option for good measure.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Apr 3 07:47:29 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145340 

From: Alexander Wittig <alexander@wittig.name>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145340: security/clamav fails the post-build check if LC_ALL
 is set to non-english
Date: Sat, 03 Apr 2010 12:24:58 -0400

 This problem also still happens with their latest release version 0.96, 
 but only if you have subversion installed as well (otherwise builds will 
 work).
 
 Just for reference: Here's the bug I filed with the ClamAV project:
 https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1922
 There is a patch posted there that solves the problem.
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Tue Apr 6 12:02:31 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145340 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145340: commit references a PR
Date: Tue,  6 Apr 2010 12:01:27 +0000 (UTC)

 garga       2010-04-06 12:01:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/clamav      Makefile distinfo pkg-plist 
   Added files:
     security/clamav/files patch-fix_svnversion_use 
   Removed files:
     security/clamav/files patch-libclamav_Makefile.in 
                           patch-libclamav_others.h 
   Log:
   - Update to 0.96
   - Fix error on make check when LC_ALL != en and subversion is installed [1]
   
   PR:             ports/145340 [1]
   Submitted by:   Alexander Wittig <alexander@wittig.name> [1]
   Obtained from:  https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1922 [1]
   
   Revision  Changes    Path
   1.135     +25 -8     ports/security/clamav/Makefile
   1.56      +3 -3      ports/security/clamav/distinfo
   1.1       +30 -0     ports/security/clamav/files/patch-fix_svnversion_use (new)
   1.2       +0 -27     ports/security/clamav/files/patch-libclamav_Makefile.in (dead)
   1.2       +0 -10     ports/security/clamav/files/patch-libclamav_others.h (dead)
   1.39      +5 -7      ports/security/clamav/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
