Bug 2135034

Summary: edflib does not support big-endian architectures
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: edflibAssignee: Ben Beasley <code>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, neuro-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-15 13:09:49 UTC 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: 485231    

Description Ben Beasley 2022-10-15 12:51:58 UTC
The edflib package does not support big-endian architectures, which impacts s390x.

This was brought to upstream’s attention in https://gitlab.com/Teuniz/EDFlib/-/issues/9, and a nontrivial patch was offered in https://gitlab.com/Teuniz/EDFlib/-/merge_requests/1. Upstream declined the patch, citing concerns about performance, testing, and necessity.

Since then, the Fedora package has carried the declined PR as a downstream patch for s390x only.

With upstream release 1.23, “non-support” of big-endian architectures is explicitly documented, and endianness is checked at runtime: https://gitlab.com/Teuniz/EDFlib/-/commit/b931e24744bd9e1e3161e20754ac23484e1e2452

Therefore, beginning with version 1.23 in Rawhide/F38, the Fedora package will drop the downstream patch and stop building edflib for s390x. Since edflib is currently a leaf package, there will be no impact to other Fedora packages.

Note that edflib should not be confused with python-pyedflib, which uses a bundled fork of edflib and which has never supported s390x (bug 2027046).

Comment 1 Ben Beasley 2022-10-15 13:09:49 UTC
Closing as WONTFIX since this is an upstream design decision now baked into the API and error codes.