Bug 2296176 - ocrmypdf FTBFS on the s390x architecture
Summary: ocrmypdf FTBFS on the s390x architecture
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ocrmypdf
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-s390x
TreeView+ depends on / blocked
 
Reported: 2024-07-07 12:17 UTC by Ben Beasley
Modified: 2025-02-26 13:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2024-07-07 12:17:12 UTC
On the big-endian s390x architecture, ocrmypdf fails to build from source because python3-img2pdf is not available:

No match for argument: python3dist(img2pdf) >= 0.4.4

This is a case of https://docs.fedoraproject.org/en-US/packaging-guidelines/#_noarch_with_unported_dependencies.

Blocking F-ExcludeArch-s390x per https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_build_failures.

It looks like python-img2pdf cites

  # cf. Bug 1851638 - img2pdf fails to build on s390x because of issues in the ImageMagick dependency
  # https://bugzilla.redhat.com/show_bug.cgi?id=1851638

for excluding s390x. I am not sure if this issue has been fixed or not; however, python-img2pdf currently FTBFS on F41 and F40 due to problems finding ICC profiles in the tests, and I did not have time to dig into it further.

For ocrmypdf, it would be best to either add

  # Unported dependency python-img2pdf (RHBZ#THISBUG)
  ExcludeArch:    s390x

or help fix python-img2pdf on s390x.

Comment 1 Aoife Moloney 2025-02-26 13:04:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


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