FTBFS of package widelands, possibly linked to the handling of UTF?

Martin Quinson <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <[email protected]>
Hello, (please CC me in answers, as I'm not on the list)

The latest version of Widelands breaks on s390x:
https://buildd.debian.org/status/fetch.php?pkg=widelands&arch=s390x&ver=2%3A1.2-1&stamp=1717286193&raw=0

I reported the issue upstream, and they are pointing me to the following:
https://github.com/widelands/widelands/issues/6468

<<<<<<<<<<<<<<<<<<<<
The many format logs are correct, these come from testcases that check that
invalid format sequences are handled in a well-defined way. The real error is
in the checksum test:

TESTCASE(checksum) {
	const char* const text = "Hello World! This is a string with Ûñīcøđȩ
Bÿtèş.";
	SimpleMD5Checksum md5sum;
	md5sum.data(text, strlen(text));
	md5sum.finish_checksum();

	check_equal(md5sum.get_checksum().str(),
"d4e32b0d5b4fc7b10c7c46fafabf1e17");
}

I don't know the specifics of s390, so maybe one of these points might apply…:

    Is the string literal encoded as UTF-8 by default? (seems the most likely
problem to me)
    Are byte and fixed-width integer sizes guaranteed to be "normal" (1 byte =
8 bits, int32_t = 32 bits = 4 bytes, etc)? Also, what's the endianness of this
architecture?
>>>>>>>>>>>>>>>>>>>>>>

I'm very unfamiliar with s390x, and would appreciate if someone could help me
answering these questions on the github ticket or otherwise, so that we can
help upstream fixing the issue, please.

Thanks in advance,
Mt
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEET76cTupS7xPVQWYSmL2XJE9zvqcFAmZdvx8ACgkQmL2XJE9z
vqfwsRAAhXN6VdBMQl5GbzqJvfSuJtk3k0sxt4JEpnrM+EZcsI02Sf1YG0u7Rzb2
KEh2b/IBfZksPeDkHke6yBF50E9JmfH91yx3RFVW5rj6KAYd361Hv71Gx9CT+tx1
c4yinPdymyDAq/BD/P2l+IoyfkKV9HIus5qYkzLdNCewz0ZQHaE3owpiWhyvHe/f
eVyupKKj32JzsVFoNN3RN6nFRqAUo5CjEEagUIQKeaBNdf+HfL6dU2mGoozHOurY
aFyHXDI9s+wo9G38daxx9TUd/bMQBRINjthENURDfT+tFjSVE6joMt+nLjFQTFJV
cQuEacKDz+a4/sZzgjskva/DpwO18fSH4ZghvP5L9ZoxIj0Hcu+X7tWuQB//r3KG
KtriojcFDnK4bsCABBj/beSMK7roEAOIC1Mrj8TlqAR44EHq3ONA1u05uY0lM74b
E34dP9SGy30mXa0rmYvCksWTK2KvWGLNMmftxt1U0qb/bJXTCbli+UyDciagExyJ
qUKb1xGlqMZS5+J1B/Dp6zb6lLXse84ujf/HOVMkJCUCYsbMg6BDfROrzPHCngTM
LIFRucQKFKjhyrhMsbD/xp6QpwUruzAWLAqLzyE8jFr/dD4HlI9cAQoicct1mWNd
+ldMJIP+M9hjvSmIv6CfuT244syCz9mzNJD29gOVl6c1DvZCrgc=
=PvF2
-----END PGP SIGNATURE-----
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.