Bug 157147 - security/clamav fails with LLVM from Ports
Summary: security/clamav fails with LLVM from Ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 08:50 UTC by Lapo Luchini
Modified: 2011-07-06 01:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2011-05-18 08:50:10 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-18 08:50:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2011-05-19 15:48:42 UTC
State Changed
From-To: open->feedback

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
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-07-06 01:16:17 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"
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2011-07-06 01:16:23 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!