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 bugzilla.redhat.com.
Bug 2235107 - Build versioned binary for Clang15
Summary: Build versioned binary for Clang15
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clang15
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tulio Magno Quites Machado Filho
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2220055
TreeView+ depends on / blocked
 
Reported: 2023-08-26 16:41 UTC by Robert-André Mauchin 🐧
Modified: 2023-10-02 00:15 UTC (History)
2 users (show)

Fixed In Version: clang15-15.0.7-5.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-02 00:15:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert-André Mauchin 🐧 2023-08-26 16:41:11 UTC
Hello,

python-openshadinglanguage depends on LLVM15 and needs to emit IR during build. Problem we can't use Clang 16 to do that because there is no backward compatibility for IR. 

So I'd like to ask you to build clang++-15 to be able to fix this package fo F39/40.

Thank you.

Comment 1 Tulio Magno Quites Machado Filho 2023-09-08 20:00:11 UTC
Robert,

is python-openshadinglanguage required by another package/feature?

I didn't understand how the backward compatibility for IR is related to this request.
Does python-openshadinglanguage support a newer clang version?
If it does, could you elaborate how the compatibility is affected, please?

Comment 2 Yaakov Selkowitz 2023-09-15 16:01:53 UTC
(In reply to Tulio Magno Quites Machado Filho from comment #1)
> is python-openshadinglanguage required by another package/feature?

openshadinglanguage (of which the python3 bindings are a subpackage) is a dependency of blender (both directly and through usd-libs) as well as an OpenImageIO plugin.  Currently, openshadinglanguage FTBFS in F39+ because of this issue.

> I didn't understand how the backward compatibility for IR is related to this
> request.

openshadinglanguage currently relies on LLVM IR typed pointers, which were deprecated/unsupported in 16 and removed in 17: https://llvm.org/docs/OpaquePointers.html

> Does python-openshadinglanguage support a newer clang version?
> If it does, could you elaborate how the compatibility is affected, please?

No, 15 is currently the latest supported:
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/a12f99bf5ac039c535c9e419b836f979681c1526

I have patches to build/install the compiler in compat clang* and use llvm15/clang15 in openshadinglanguage.

Comment 3 Fedora Update System 2023-09-28 21:22:57 UTC
FEDORA-2023-e524dc9fff has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e524dc9fff

Comment 4 Fedora Update System 2023-09-29 02:54:12 UTC
FEDORA-2023-e524dc9fff has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e524dc9fff`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e524dc9fff

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-10-02 00:15:35 UTC
FEDORA-2023-e524dc9fff has been pushed to the Fedora 39 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.