I tested the build with Qemu on s390x and ppc64. Both exhibit the same behavior as reported by buildd[1], which strongly indicates this is an endianness issue.
Investigation is ongoing. [1] https://buildd.debian.org/status/fetch.php?pkg=trimesh&arch=s390x&ver=4.5.1-3&stamp=1739446909&raw=0