Test fails on s390 (big endian) #79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By Georg Sauthoff on 2020-06-26T20:52:51.922Z
Some img2pdf tests fail under Linux s390:
cf. https://kojipkgs.fedoraproject.org//work/tasks/8512/46228512/build.log
Note that s390 is a big endian architecture.
Yes, s390 is one of the architectures supported by Fedora. ;)
By josch on 2020-06-26T21:08:46.325Z
At least this time it's not a Fedora-only issue -- I can reproduce it on s390x on Debian as well. I'm investigating...
By josch on 2020-06-26T21:39:09.320Z
This is not a bug in img2pdf but a bug in imagemagick on s390x.
Take these two images:
md5sums:
On my amd64 system, the following command succeeds:
On s390x though, imagemagick finds 2862 different pixels.
By Georg Sauthoff on 2020-06-27T19:34:17.743Z
Interesting. Do you care to report this to upstream ImageMagick?
My current plan: I'll report thie ImageMagick s390 issue in the Fedora bug tracker and then exclude img2pdf from s390 builds until ImageMagick is fixed.
By josch on 2020-08-04T10:50:27.623Z
I reported it now here:
https://github.com/ImageMagick/ImageMagick6/issues/92
FWIW, a few years ago I excluded img2pdf from s390x builds.
For years nobody from the Fedora/Redhat s390x team looked into any reported ImageMagick issues.
I think it's fair to say that s390x is an utterly niche and esoteric platform.
Also it's the last (very tiny) big-endian holdout.
Thus, I think it makes sense to close this issue, as there isn't much we can do.