In file included from llvm/include/llvm/Support/Allocator.h:17:0, from llvm/include/llvm/ADT/StringMap.h:18, from llvm/include/llvm/System/Host.h:17, from llvm/lib/System/Host.cpp:14: llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' static inline unsigned alignof() { return AlignOf<T>::Alignment; } ^~~~~~~ In file included from llvm/include/llvm/System/Host.h:17:0, from llvm/lib/System/Host.cpp:14: llvm/include/llvm/ADT/StringMap.h: In static member function 'static llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const char*, const char*, AllocatorTy&, InitType)': llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression before '<' token unsigned Alignment = alignof<StringMapEntry>(); ^ llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression before '>' token unsigned Alignment = alignof<StringMapEntry>(); ^ llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression before ')' token unsigned Alignment = alignof<StringMapEntry>(); ^ build log: http://sprunge.us/FOVh
Oof, the package is using a *very* old version of LLVM. This problem was fixed upstream more than 6 years ago: http://llvm.org/viewvc/llvm-project?view=revision&revision=117774
Should we then just deprecate and remove this port? It appears we've got way too much old cruft in the tree... :-(
Certainly, for a security product, it is a little strange they have not updated their backend libraries for 6 years. I would not trust this, in any case. :)
If you are interested in maintaining the port, please feel free to take it. I'm no longer an active user of this port.
Reporter is committer and current maintainer appears "wont fix". Re-assign to reporter to take maintainership or deprecate, and resolve/close accordingly.
Did not intend to close, revert.
A commit references this bug: Author: gerald Date: Sat Aug 12 14:51:38 UTC 2017 New revision: 447836 URL: https://svnweb.freebsd.org/changeset/ports/447836 Log: Mark deprecated with an expiration date of 2017-09-13 since this is essentially unmaintained upstream (last RC three years ago, features issues fixed on the clang side six years ago, and fails to build with modern compilers such GCC 6+ or clang for that matter). Reset maintainership to give others a chance to pick this up. [1] Bump PORTREVISION due to the changes above. Replace USE_GCC=any by USE_GCC=5 to unstall PR 219275. PR: 219289, 219275 Approved by: zi (maintainer) [1] Changes: head/security/clambc/Makefile
Expired port removed.