devel/vc-intrinsics (PORTVERSION=s20211110) fails to build with FLAVOR=llvm11 and llvm-11.0.1_3. /usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:687:16: error: no type named 'LSCVectorSize' in namespace 'llvm::GenXIntrinsic' GenXIntrinsic::LSCVectorSize GenXIntrinsic::getLSCVectorSize( ~~~~~~~~~~~~~~~^ /usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:689:10: error: use of undeclared identifier 'isLSC' assert(isLSC(I)); ^ /usr/ports/devel/vc-intrinsics/work-llvm11/vc-intrinsics-8ee8793/GenXIntrinsics/lib/GenXIntrinsics/GenXIntrinsics.cpp:690:11: error: use of undeclared identifier 'getLSCCategory' switch (getLSCCategory(I)) { ^ . . . Just removing '11' from FLAVORS in devel/vc-intrinsics and devel/intel-graphics-compiler is probably fine unless there is a known problem with the current version of llvm12 (I don't know of any that would affect these ports). Also I'd remove the unnecessary ":L" in the FLAVORS definition for those ports.
Do you have an old version installed? I can't reproduce, see http://www.ipv6proxy.net/go.php?u=http://beefy16.nyi.freebsd.org/data/130amd64-default/0bef5c19453e/logs/vc-intrinsics-llvm11-s20211110.log
(In reply to Jan Beich from comment #1) Yes. Deleting the existing package allowed the llvm11 flavor to build. A proper fix would be to prevent the build from pulling in stuff (e.g., headers) from /usr/local before stuff in the build area. I don't have a suggested fix for that at this time.
*** Bug 259924 has been marked as a duplicate of this bug. ***
^Triage: Reset Assignee after ports d9ef548514c9