Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2084318 - F37FailsToInstall: openshadinglanguage-libs
Summary: F37FailsToInstall: openshadinglanguage-libs
Alias: None
Product: Fedora
Classification: Fedora
Component: openshadinglanguage
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F37FTBFS F37FailsToInstall 2062915 2084302
TreeView+ depends on / blocked
Reported: 2022-05-11 21:01 UTC by Miro Hrončok
Modified: 2022-05-13 13:30 UTC (History)
3 users (show)

Fixed In Version: openshadinglanguage-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-05-13 13:30:05 UTC
Type: ---

Attachments (Terms of Use)

Description Miro Hrončok 2022-05-11 21:01:03 UTC

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (openshadinglanguage) Fails To Install in Fedora 37:

can't install openshadinglanguage-libs:
  - nothing provides needed by openshadinglanguage-libs-
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

If you don't react accordingly to the policy for FTBFS/FTI bugs (, your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install openshadinglanguage-libs

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags:


Comment 1 Ben Beasley 2022-05-12 12:00:21 UTC
The package failed to rebuild for Boost 1.78 in the f37-boost side tag. There is actually an FTBFS, not just an FTI, here.

[ 11%] Building CXX object src/liboslexec/CMakeFiles/oslexec.dir/llvm_util.cpp.o
cd /builddir/build/BUILD/OpenShadingLanguage-Release- && /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- -I/builddir/build/BUILD/OpenShadingLanguage-Release- -I/builddir/build/BUILD/OpenShadingLanguage-Release- -I/builddir/build/BUILD/OpenShadingLanguage-Release- -I/builddir/build/BUILD/OpenShadingLanguage-Release- -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 -fno-rtti -MD -MT src/liboslexec/CMakeFiles/oslexec.dir/llvm_util.cpp.o -MF CMakeFiles/oslexec.dir/llvm_util.cpp.o.d -o CMakeFiles/oslexec.dir/llvm_util.cpp.o -c /builddir/build/BUILD/OpenShadingLanguage-Release-
/builddir/build/BUILD/OpenShadingLanguage-Release- fatal error: llvm/Support/TargetRegistry.h: No such file or directory
   40 | #include <llvm/Support/TargetRegistry.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Comment 2 Ben Beasley 2022-05-12 12:02:42 UTC
Upstream issue:

LLVM 14 incompatibility - TargetRegistry.h has been moved

A comment on that issue:

> lgritz commented
> Already addressed by #1492
> But I'm trying to track down why one reference image changes with LLVM14.

The referenced PR:

Support for LLVM 14

Comment 3 Ben Beasley 2022-05-12 12:37:15 UTC
Assuming the scratch build succeeds on all of the architectures, this should fix it:

Comment 4 Fedora Update System 2022-05-13 13:26:31 UTC
FEDORA-2022-e1c6b4be1b has been submitted as an update to Fedora 37.

Comment 5 Fedora Update System 2022-05-13 13:30:05 UTC
FEDORA-2022-e1c6b4be1b has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.