Description of problem: Package openshadinglanguage fails to build from source in Fedora 36. Version-Release number of selected component (if applicable): 1.11.16.0-3.fc36 Steps to Reproduce: koji build --scratch f36 openshadinglanguage-1.11.16.0-3.fc36.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/openshadinglanguage ----- [ 11%] Building CXX object src/liboslexec/CMakeFiles/oslexec.dir/__/liboslnoise/gabornoise.cpp.o cd /builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/redhat-linux-build/src/liboslexec && /usr/bin/g++ -DOSL_EXPORTS -DOSL_FAST_MATH=1 -DOSL_LLVM_FULL_VERSION=\"14.0.0\" -DOSL_LLVM_VERSION=140 -DUSE_PARTIO=1 -DUSE_STD_REGEX -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Doslexec_EXPORTS -I/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/redhat-linux-build/include -I/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/redhat-linux-build/src/include -I/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/src/include -I/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/src/liboslexec -I/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/src/liboslcomp -isystem /usr/include/opencv4 -isystem /usr/include/Imath -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fPIC -Wall -Wno-error=strict-overflow -Wno-unused-local-typedefs -Wno-unused-result -Wno-error=misleading-indentation -fno-math-errno -std=c++17 -MD -MT src/liboslexec/CMakeFiles/oslexec.dir/__/liboslnoise/gabornoise.cpp.o -MF CMakeFiles/oslexec.dir/__/liboslnoise/gabornoise.cpp.o.d -o CMakeFiles/oslexec.dir/__/liboslnoise/gabornoise.cpp.o -c /builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/src/liboslnoise/gabornoise.cpp /builddir/build/BUILD/OpenShadingLanguage-Release-1.11.16.0/src/liboslexec/llvm_util.cpp:40:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory 40 | #include <llvm/Support/TargetRegistry.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ----- This is the same problem as bug 2084318. The latest changes from Rawhide should be merged into the f36 branch to fix LLVM14 compatibility. The package is only FTBFS and not FTI in F36 because it was previously built with LLVM13, and now depends on the llvm13-libs/clang13-libs compat packages.
FEDORA-2022-5ca8b5e23f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ca8b5e23f
FEDORA-2022-5ca8b5e23f has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-5ca8b5e23f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ca8b5e23f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-5ca8b5e23f has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.