"Ignored or unknown attributes" build failure(s) — clang 3.8.1

PackageVersionSupposed error messageFull log Bug report
dislocker 0.6.1-6ruby.h:933:1: error: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] Log
efibootmgr 0.12-4efivar.h:86:16: error: unknown attribute '__artificial__' ignored [-Werror,-Wunknown-attributes] Log 753644
primus 0~20150328-4./gl-passthru.def:2:1: error: unknown attribute 'ifunc' ignored [-Werror,-Wunknown-attributes] Log
ruby-byebug 5.0.0-1ruby.h:933:1: error: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] Log

4 errors