Bug 985072

Summary: GCC6: clamav fails to build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Reinhard Max <max>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.liska, toganm
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 984984    

Description Dominique Leuenberger 2016-06-16 13:03:24 UTC
Since the update to GCC6, openSUSE:Factory/ clamav fails to build
Comment 1 Reinhard Max 2016-06-16 14:13:39 UTC
All errors shown in the build log are related to the copy of llvm that comes with ClamAV, e.g.:

[  108s] In file included from ./llvm/include/llvm/Support/Allocator.h:17:0,
[  108s]                  from ./llvm/include/llvm/ADT/StringMap.h:18,
[  108s]                  from ./llvm/include/llvm/System/Host.h:17,
[  108s]                  from detect.cpp:29:
[  108s] ./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof'
[  108s]  static inline unsigned alignof() { return AlignOf<T>::Alignment; }
[  108s]                         ^~~~~~~
Comment 2 Martin Liška 2016-06-17 10:09:19 UTC
Fixed in sr#402898.
Comment 3 Reinhard Max 2016-06-22 09:14:26 UTC
Thanks.