Bug 2373840 - blender: FTBFS in Fedora Rawhide: error: ‘BINARY_SUBSCR’ was not declared in this scope; did you mean ‘BINARY_SLICE’?
Summary: blender: FTBFS in Fedora Rawhide: error: ‘BINARY_SUBSCR’ was not declared in ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-06-19 08:57 UTC by Karolina Surma
Modified: 2025-06-27 02:14 UTC (History)
6 users (show)

Fixed In Version: blender-4.4.3-4.fc43
Clone Of:
Environment:
Last Closed: 2025-06-27 02:14:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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