dspdfviewer icon indicating copy to clipboard operation
dspdfviewer copied to clipboard

[help needed] Testsuite fails on big-endian machines

Open dannyedel opened this issue 8 years ago • 1 comments

This was originally reported as Debian bug 816081

On big-endian machines, the testsuite currently fails with mismatching colors, indicating an endianness issue. (See linked debian bug for details)

Help needed: I don't have access to a physical big-endian machine with an X-Server, and cannot check whether this is a real issue, or a bug in the test suite (i.e. the real XServer would swap it back for display purposes)

I lean towards "real bug", since in the swapping process the blue value gets capped to FF (alpha is always FF on display pixels):

original FFrrggbb -> swap bbggrrFF -> set alpha to FF FFggrrFF, so output-blue is always maxed, red and green get swapped and input-blue gets discarded.

This must look really weird.


I am not sure yet if this is a bug in dspdfviewer or in one of the included libraries.

dannyedel avatar Feb 27 '16 10:02 dannyedel

The testsuite is now (v1.15) disabled by default on Big-Endian systems. This should "fix" the FTBFS, but without access to a real machine, I cannot diagnose it further right now.

dannyedel avatar Apr 05 '16 16:04 dannyedel