Bug#1127741: mrpt FTBFS on big endian
Source: mrpt
Version: 1:2.15.8+ds-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-s390@lists.debian.org
User: debian-s390@lists.debian.org
Usertags: s390x
https://buildd.debian.org/status/fetch.php?pkg=mrpt&arch=s390x&ver=1%3A2.15.8%2Bds-1&stamp=1770889409&raw=0
...
22: ./libs/io/src/CFileGZStreams_unittest.cpp:393: Failure
22: Expected equality of these values:
22: size_hint
22: Which is: 3892510720
22: TEST_DATA_LEN % (1ULL << 32)
22: Which is: 1000
...
98% tests passed, 1 tests failed out of 52
Total Test time (real) = 43.12 sec
The following tests FAILED:
22 - test_mrpt_io_run (Failed)
Errors while running CTest
make[1]: *** [Makefile:94: test] Error 8
The test looks wrong:
// Gzip stores size as last 4 bytes (modulo 2^32)
EXPECT_EQ(size_hint, TEST_DATA_LEN % (1ULL << 32));
The gzip file format is little endian, s390x is big endian.
Reply to: