Bug 2086177 - openshadinglanguage: FTBFS in Fedora 36
Summary: openshadinglanguage: FTBFS in Fedora 36
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openshadinglanguage
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-05-14 12:26 UTC by Ben Beasley
Modified: 2022-05-23 01:14 UTC (History)
3 users (show)

Fixed In Version: openshadinglanguage-1.11.17.0-2.fc36
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-23 01:14:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2022-05-14 12:26:42 UTC
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.

Comment 1 Fedora Update System 2022-05-14 13:01:49 UTC
FEDORA-2022-5ca8b5e23f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ca8b5e23f

Comment 2 Fedora Update System 2022-05-15 01:40:28 UTC
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.

Comment 3 Fedora Update System 2022-05-23 01:14:18 UTC
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.


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