Public bug reported:
Since the 64-bit time_t transition introduced with Ubuntu 24.04 the
time_t timestamp will always be 64 bits in size. Version 0.63 of
m2crypto introduced a test to check if timestamps are 32-bit. This test
makes the package FTBFS on armhf on Ubuntu only.
Failing build log:
=================================== FAILURES ===================================
__________________________ UtilTestCase.test_is32bit ___________________________
self = <tests.test_util.UtilTestCase testMethod=test_is32bit>
def test_is32bit(self):
# defaults
bit32 = m2.time_t_bits()
# test for libc musl from unfinished upstream bug
gh#python/cpython#87414
if (
util.is_32bit()
and (platform.libc_ver() != ("", ""))
and (
os.environ.get("M2_TIMET_NO_ARCH", "").casefold()
not in ["true", "1", "yes"]
)
):
> self.assertEqual(bit32, 32)
E AssertionError: 64 != 32
** Affects: m2crypto (Ubuntu)
Importance: Undecided
Assignee: Ujjwal Sarswat (vmpyr)
Status: In Progress
** Affects: m2crypto (Ubuntu Resolute)
Importance: Undecided
Assignee: Ujjwal Sarswat (vmpyr)
Status: In Progress
** Changed in: m2crypto (Ubuntu)
Assignee: (unassigned) => Ujjwal Sarswat (vmpyr)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136110
Title:
m2crypto FTBFS on armhf in resolute-proposed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/m2crypto/+bug/2136110/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs