http://bugzilla.opensuse.org/show_bug.cgi?id=1210024 Bug ID: 1210024 Summary: LLVM 16: build issues with OpenShadingLanguage (that requires llvm < 16 for now) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: hpj@urpla.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi, while working on OpenShadingLanguage build issues, I noticed a dependency issue with the new clang-tools package. OSL cannot be compiled with LLVM 16 for now, therefore I forced the deps for TW to: BuildRequires: clang15-devel BuildRequires: llvm15-devel but build drags in clang-tools anyway, which in turn depends on clang16, rendering the clang15 containment ineffective. This results in strange errors like:
[ 34s] /usr/bin/llvm-as: /home/abuild/rpmbuild/BUILD/OpenShadingLanguage-1.12.10.0/build/src/liboslexec/llvm_ops_host_rs.s:13285:79: error: unterminated attribute group [ 34s] attributes #0 = { alwaysinline mustprogress nofree nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } [ 34s] ^
requiring me to deliberately add a: #!BuildIgnore: clang-tools You will find this build here: https://build.opensuse.org/package/show/home:frispete:blender/OpenShadingLan... I do think, that the build ignore shouldn't be required here. A similar fix was required by: https://build.opensuse.org/package/show/home:frispete:blender/ispc -- You are receiving this mail because: You are on the CC list for the bug.