neatvnc icon indicating copy to clipboard operation
neatvnc copied to clipboard

test-pixels failing on all big endian architectures

Open chewi opened this issue 2 years ago • 6 comments

Both Gentoo and Debian have found that test-pixels fails on all big endian architectures, including ppc32, ppc64, hppa, sparc, and s390x. Debian's logs show that m68k is working, but they disable the tests on that architecture.

See Debian's package logs.

chewi avatar Mar 21 '23 22:03 chewi

The swap32 macro wasn't working as intended as it was being fed signed integers.

I've fixed that particular issue now, but I still cannot guarantee that the test will pass or that this will even work on those systems. I've never tested this before on big endian.

any1 avatar Mar 22 '23 09:03 any1

That's okay, I wouldn't expect you to. Thanks for jumping on this quickly. We'll give it a try.

chewi avatar Mar 22 '23 20:03 chewi

Sorry, I forgot to report back. I've been told that it sadly didn't work. We only need this for Weston, which has other big endian issues that aren't getting solved in a hurry, but I figured I should reopen this anyway.

chewi avatar Jun 24 '23 13:06 chewi

Full log written to /<<PKGBUILDDIR>>/obj-powerpc-linux-gnu/meson-logs/testlog.txt
	cd obj-powerpc-linux-gnu && tail -v -n \+0 meson-logs/testlog.txt

That might be useful to have.

any1 avatar Jun 25 '23 09:06 any1

I'm just the messenger here, but I've passed that on.

chewi avatar Jun 25 '23 09:06 chewi

I was looking at debian's package logs that you linked to earlier. Gentoo has that file attached, and it didn't really shed any light on the issue.

I'll need to set up something with qemu to fix this, or wait until sr.ht ci gets a big-endian arch.

any1 avatar Jun 25 '23 09:06 any1