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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.