Bug 2373840

Summary: blender: FTBFS in Fedora Rawhide: error: ‘BINARY_SUBSCR’ was not declared in this scope; did you mean ‘BINARY_SLICE’?
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, design-devel, epel-packagers-sig, kwizart, luya_tfz, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/blender
Whiteboard:
Fixed In Version: blender-4.4.3-4.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-27 02:14:08 UTC Type: ---
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: 2322407, 2339432    

Description Karolina Surma 2025-06-19 08:57:03 UTC
Description of problem:
Package blender fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.4.3-2.fc43

Steps to Reproduce:
koji build --scratch f43 blender-4.4.3-2.fc43.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/blender

Reproducible: Always

Actual Results:
/builddir/build/BUILD/blender-4.4.3-build/blender-4.4.3/source/blender/python/intern/bpy_driver.cc: In function ‘bool is_opcode_secure(int)’:
/builddir/build/BUILD/blender-4.4.3-build/blender-4.4.3/source/blender/python/intern/bpy_driver.cc:330:11: error: ‘BINARY_SUBSCR’ was not declared in this scope; did you mean ‘BINARY_SLICE’?
  330 |     OK_OP(BINARY_SUBSCR)
      |           ^~~~~~~~~~~~~
/builddir/build/BUILD/blender-4.4.3-build/blender-4.4.3/source/blender/python/intern/bpy_driver.cc:316:10: note: in definition of macro ‘OK_OP’
  316 |     case op: \
      |          ^~

Comment 1 Luya Tshimbalanga 2025-06-20 04:31:40 UTC
Following the suggestion from the build system resolved the issue. Upstream prepared a fix for Blender 4.5 which is coming around July.
https://projects.blender.org/blender/blender/issues/140695

Comment 2 Luya Tshimbalanga 2025-06-27 02:14:08 UTC
Closing this report as the Rawhide release addresses the issue.