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 1959320 - [FTBFS] openshadinglanguage: FTBFS in rawhide
Summary: [FTBFS] openshadinglanguage: FTBFS in rawhide
Status: NEW
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: 1937698
TreeView+ depends on / blocked
Reported: 2021-05-11 09:28 UTC by Jonathan Wakely
Modified: 2021-05-31 15:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)
build.log (1004.82 KB, text/plain)
2021-05-11 09:28 UTC, Jonathan Wakely
no flags Details

Description Jonathan Wakely 2021-05-11 09:28:59 UTC
Created attachment 1781966 [details]

/builddir/build/BUILD/OpenShadingLanguage-Release- In member function 'void OSL_v1_11::pvt::LLVM_Util::debug_pop_function()':
/builddir/build/BUILD/OpenShadingLanguage-Release- error: no matching function for call to 'llvm::DebugLoc::get(unsigned int, unsigned int, llvm::DIScope*)'
  643 |     m_builder->SetCurrentDebugLocation(llvm::DebugLoc::get(static_cast<unsigned int>(1),
      |                                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  644 |                 static_cast<unsigned int>(0), /* column?  we don't know it, may be worth tracking through osl->oso*/
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  645 |                 getCurrentDebugScope()));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~           

Looks like an LLVM API change has broken it.

Comment 1 Jakub Jelinek 2021-05-31 11:32:35 UTC
Gentle ping: this bug is blocking an important gcc update in rawhide/f34.

Comment 2 Luya Tshimbalanga 2021-05-31 15:46:43 UTC
Not sure how that bug managed to get overlooked. The fix is already available in rawhide/f35. Update for f34 will come this week.

This bug can be closed if there is no other issue.

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