From lapo@lapo.it  Wed May 18 07:40:43 2011
Return-Path: <lapo@lapo.it>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D2244106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 May 2011 07:40:43 +0000 (UTC)
	(envelope-from lapo@lapo.it)
Received: from andxor.it (relay.andxor.it [195.223.2.3])
	by mx1.freebsd.org (Postfix) with SMTP id E44B88FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 May 2011 07:40:42 +0000 (UTC)
Received: (qmail 89628 invoked from network); 18 May 2011 07:40:39 -0000
Received: from unknown (HELO lapo.andxor.it) (192.168.2.22)
  by andxor.it with SMTP; 18 May 2011 07:40:39 -0000
Received: from lapo.andxor.it (localhost.andxor.it [127.0.0.1])
	by lapo.andxor.it (8.14.4/8.14.4) with ESMTP id p4I7edse020972;
	Wed, 18 May 2011 09:40:39 +0200 (CEST)
	(envelope-from lapo@lapo.andxor.it)
Received: (from lapo@localhost)
	by lapo.andxor.it (8.14.4/8.14.4/Submit) id p4I7edoS020971;
	Wed, 18 May 2011 09:40:39 +0200 (CEST)
	(envelope-from lapo)
Message-Id: <201105180740.p4I7edoS020971@lapo.andxor.it>
Date: Wed, 18 May 2011 09:40:39 +0200 (CEST)
From: Lapo Luchini <lapo@lapo.it>
Reply-To: Lapo Luchini <lapo@lapo.it>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Lapo Luchini <lapo@lapo.it>, garga@freebsd.org
Subject: security/clamav fails with LLVM from Ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         157147
>Category:       ports
>Synopsis:       security/clamav fails with LLVM from Ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 18 07:50:10 UTC 2011
>Closed-Date:    Wed Jul 06 00:16:26 UTC 2011
>Last-Modified:  Wed Jul  6 00:20:07 UTC 2011
>Originator:     Lapo Luchini
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

I was trying to portmaster to latest clamav, when I had the choice I choose to use LLVM from Ports instead of the bundled one (as I'd like to try it directly too).

>How-To-Repeat:

% cat /var/db/ports/clamav/options 
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for clamav-0.97
_OPTIONS_READ=clamav-0.97
WITH_ARC=true
WITH_ARJ=true
WITH_LHA=true
WITH_UNZOO=true
WITH_UNRAR=true
WITHOUT_LLVM=true
WITH_LLVM_PORTS=true
WITH_TESTS=true
WITHOUT_MILTER=true
WITHOUT_LDAP=true
WITH_ICONV=true
WITHOUT_STDERR=true
WITHOUT_EXPERIMENTAL=true
% portmaster security/clamav
[...]
configure: error: LLVM 2.8 or 2.8svn required, but "2.9" found
configure: error: Failed to configure LLVM, and LLVM was explicitly requested
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed May 18 07:50:19 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157147 
State-Changed-From-To: open->feedback 
State-Changed-By: garga 
State-Changed-When: Thu May 19 14:48:42 UTC 2011 
State-Changed-Why:  
Could you please test the patch [1] and let me know if it helps? 

[1] http://people.freebsd.org/~garga/patches/clamav-llvm29.diff 

Regards 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157147 
State-Changed-From-To: feedback->closed 
State-Changed-By: garga 
State-Changed-When: Wed Jul 6 00:16:23 UTC 2011 
State-Changed-Why:  
Fixed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157147: commit references a PR
Date: Wed,  6 Jul 2011 00:16:17 +0000 (UTC)

 garga       2011-07-06 00:16:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/clamav      Makefile 
   Added files:
     security/clamav/files patch-libclamav__c++__PointerTracking.h 
   Log:
   Fix build with llvm from ports
   
   PR:             ports/157147
   Submitted by:   Lapo Luchini <lapo@lapo.it>
   
   Revision  Changes    Path
   1.164     +0 -1      ports/security/clamav/Makefile
   1.1       +135 -0    ports/security/clamav/files/patch-libclamav__c++__PointerTracking.h (new)
 _______________________________________________
 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:
