Re: Bug#1103593: python-djvulibre: autopkgtest regression on s390x

Pranav P <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <CH2PR15MB3543605C5C0BF82F4BCF0700A0BA2@CH2PR15MB3543.namprd15.prod.outlook.com>
Hi Chris,

Thanks for reporting this and I would love to look into this.
I am actually working on a few other bugs as well.
I will try to check this one in parallel.
Please give me some time.

Thanks,
Pranav

________________________________________
From: Chris Hofstaedtler <[email protected]>
Sent: Saturday, April 19, 2025 5:40 PM
To: Debian Bug Tracking System
Subject: [EXTERNAL] Bug#1103593: python-djvulibre: autopkgtest regression on s390x

Source: python-djvulibre
Version: 0.9.1-1
Severity: serious
X-Debbugs-Cc: Colin Watson <[email protected]>, [email protected]

Your package python-djvulibre fails its autopkgtests on s390x:

https://ci.debian.net/packages/p/python-djvulibre/testing/s390x/60156109/ 

PageJobsTestCase.test_decode
...
 60s >       self.assertEqual(s, b'\xFF\xFF\xFF\x00' * 4)
 60s E       AssertionError: b'\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff' != b'\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00'

 60s FAILED test_decode.py::PageJobsTestCase::test_decode - AssertionError: b'\x00...

 60s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.kgkjfcvo/downtmp/autopkgtest_tmp/build; cd {build_dir}/tests; env -u LANGUAGE {interpreter} -m pytest -v -k 'not test_export_ps'


Looks like some endianness issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.