RE: Bug#1098270: trimesh: Build fails on s390x due to math errors in autopkgtest

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

Thanks for the update.
I am able to successfully build the package on s390x machine with the latest patch applied.

Thank you very much,
Pranav P



________________________________
From: Gregor Riepl <[email protected]>
Sent: Wednesday, February 26, 2025 3:37 PM
To: [email protected] <[email protected]>; Pranav P <[email protected]>
Subject: [EXTERNAL] Re: Bug#1098270: trimesh: Build fails on s390x due to math errors in autopkgtest

Hi Pranav,

> I have started looking at this bug and was able to reproduce it. Continuing my debug, will update further.
Thanks for testing!
I didn't see your message and continued to trace the problem via Qemu.

As far as I can see, it's two exporter modules that incorrectly format float32 values in native endianness instead of converting them to little endian format first.
On import, the values are interpreted correctly, which makes the unit tests fail.

I've pushed a patch to Salsa[1], could you test it and verify that it fixes the issue on real hardware?

Thank you very much,
Gregor

[1] https://salsa.debian.org/3dprinting-team/trimesh/
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.