perceptualdiff icon indicating copy to clipboard operation
perceptualdiff copied to clipboard

test failures on various architectures: armel, armhf, s390x, ...

Open barak opened this issue 3 years ago • 4 comments

The Debian autobuilders build each package for various architectures. In the case of the perceptualdiff package, I enabled running the test script test/run_tests.bash during the build, in version 2.1-3, which includes changes beyond v2.1 up to 2a849e1 (6-Aug-2020). The tests succeed on some architectures (amd64, i386, arm64, ppc64el) but fail on others (armel, armhf, s390x).

I have no idea why. Likely something simple, like word size or endianity. Help / ideas welcome!

Details: https://buildd.debian.org/status/package.php?p=perceptualdiff

barak avatar Jan 14 '21 10:01 barak

We could add additional architectures to the travis.yml file to try to repro: https://docs.travis-ci.com/user/multi-cpu-architectures/

jterrace avatar Jan 16 '21 01:01 jterrace

That sounds very sensible. I doubt it's anything Debian-specific.

barak avatar Jan 16 '21 13:01 barak

(Although the Debian build scripts don't use the Makefile, they use cmake directly, mainly because going via the Makefile caused the executable to be installed in /usr/local/bin/ and I didn't feel like tracking down the issue.)

barak avatar Jan 16 '21 13:01 barak

I just pushed a suitable added stanza to travis on the master branch of my fork.

barak avatar Oct 11 '21 16:10 barak