Bug 2356767 - Missing BLI_endian_switch_uint32(&val) leads to failure on s390x architecture
Summary: Missing BLI_endian_switch_uint32(&val) leads to failure on s390x architecture
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: rawhide
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL: https://projects.blender.org/blender/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 22:27 UTC by Luya Tshimbalanga
Modified: 2025-04-04 08:15 UTC (History)
6 users (show)

Fixed In Version: blender-4.4.0-3.fc42
Clone Of:
Environment:
Last Closed: 2025-04-04 08:15:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Luya Tshimbalanga 2025-04-01 22:27:47 UTC
Due to upstream changes, Blender failed to build with missing "BLI_endian_switch_uint32(&val)" within "blender-4.4.0/source/blender/blenloader/intern/writefile.cc" for s390x architecture. This is a tracker for upstream ticket.

Reproducible: Always

Steps to Reproduce:
1. Build Blender on s390x architecture
2.
3.
Actual Results:  
builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/source/blender/blenloader/intern/writefile.cc: In member function ‘void ZstdWriteWrap::write_u32_le(uint32_t)’: /builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/source/blender/blenloader/intern/writefile.cc:313:3: error: ‘BLI_endian_switch_uint32’ was not declared in this scope 313 |   BLI_endian_switch_uint32(&val);

Expected Results:  
Build shoud be successful

Comment 1 Fedora Update System 2025-04-02 08:05:30 UTC
FEDORA-2025-13d9605fa0 (blender-4.4.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-13d9605fa0

Comment 2 Fedora Update System 2025-04-03 03:43:04 UTC
FEDORA-2025-13d9605fa0 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-13d9605fa0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-13d9605fa0

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

Comment 3 Fedora Update System 2025-04-04 08:15:56 UTC
FEDORA-2025-13d9605fa0 (blender-4.4.0-3.fc42) has been pushed to the Fedora 42 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.