Bug 2356767

Summary: Missing BLI_endian_switch_uint32(&val) leads to failure on s390x architecture
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya_tfz>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED ERRATA 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: ---Keywords: Regression, Upstream
Target Release: ---   
Hardware: s390x   
OS: Linux   
URL: https://projects.blender.org/blender/blender/issues/136860
Whiteboard:
Fixed In Version: blender-4.4.0-3.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-04 08:15:56 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:

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.