Bug 2345306 - OpenCV 4.11.0 is broken on s390x (big endian) - cv::imread returns empty matrix for valid file
Summary: OpenCV 4.11.0 is broken on s390x (big endian) - cv::imread returns empty matr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: rawhide
Hardware: s390x
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2343929 2343942
TreeView+ depends on / blocked
 
Reported: 2025-02-12 17:49 UTC by Adam Williamson
Modified: 2025-03-15 00:26 UTC (History)
6 users (show)

Fixed In Version: opencv-4.11.0-2.fc43 opencv-4.11.0-2.fc42
Clone Of:
Environment:
Last Closed: 2025-02-19 18:26:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2025-02-12 17:49:51 UTC
This is a downstream report of https://github.com/opencv/opencv/issues/26913 , filed so I can have the os-autoinst FTBFS bugs refer to it. OpenCV 4.11.0 seems to be flat broken on s390x (probably all big-endian arches); reading valid images returns an empty matrix. This is why os-autoinst's tests fail. There are more details and a minimal reproducer in the upstream issue.

Comment 1 Sergio Basto 2025-02-12 17:54:56 UTC
 Detected processor: s390x
     -CMake Warning at cmake/OpenCVDetectCXXCompiler.cmake:114 (message):
     -  OpenCV: unrecognized target processor configuration

seems opencv doens't support/recognize s390x

Comment 2 Adam Williamson 2025-02-12 18:21:39 UTC
That was the same in the 4.10.0 build, so that's not the problem per se, I don't think.

Comment 3 Fedora Update System 2025-02-19 13:47:52 UTC
FEDORA-2025-3aded9af35 (opencv-4.11.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3aded9af35

Comment 4 Fedora Update System 2025-02-19 16:05:29 UTC
FEDORA-2025-6882de3efb (opencv-4.11.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6882de3efb

Comment 5 Fedora Update System 2025-02-19 18:26:45 UTC
FEDORA-2025-3aded9af35 (opencv-4.11.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-02-20 00:46:35 UTC
FEDORA-2025-6882de3efb 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-6882de3efb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6882de3efb

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

Comment 7 Fedora Update System 2025-03-15 00:26:31 UTC
FEDORA-2025-6882de3efb (opencv-4.11.0-2.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.