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 1959320

Summary: [FTBFS] openshadinglanguage: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Jonathan Wakely <jwakely>
Component: openshadinglanguageAssignee: Luya Tshimbalanga <luya_tfz>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jakub, luya_tfz, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.11.14.0-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1937698    
Attachments:
Description Flags
build.log none

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

https://koji.fedoraproject.org/koji/buildinfo?buildID=1745771

/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.10.0/src/liboslexec/llvm_util.cpp: In member function 'void OSL_v1_11::pvt::LLVM_Util::debug_pop_function()':
/builddir/build/BUILD/OpenShadingLanguage-Release-1.11.10.0/src/liboslexec/llvm_util.cpp:643:59: 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.
See https://koji.fedoraproject.org/koji/buildinfo?buildID=1751115

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