ports/145340: security/clamav fails the post-build check if LC_ALL is set to non-english

Alexander Wittig alexander at wittig.name
Sat Apr 3 07:47:09 UTC 2010


>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 07:47:08 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list