Building Perl with 32-bit ints (the default, at least for now, upstream) causes issues like bug 934443. We can ask Perl to give us 64-bit int types on 32-bit systems by passing -Duse64bitint. https://github.com/Perl/perl5/issues/21551#issuecomment-1755974997 implies we should probably do it and upstream may even change default.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff697c1ed5f83c79425c6dc1f6c55e549acbabf commit 6ff697c1ed5f83c79425c6dc1f6c55e549acbabf Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-17 06:07:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-17 06:07:18 +0000 dev-util/diffoscope: skip tests relying on zipdetails for 32-bit systems We need to fix this in Perl itself, see bug #934444. Note that this worked fine before newer zipdetails landed in Perl (https://github.com/pmqs/zipdetails/pull/7). Bug: https://bugs.gentoo.org/934444 Closes: https://bugs.gentoo.org/934443 Signed-off-by: Sam James <sam@gentoo.org> dev-util/diffoscope/diffoscope-266.ebuild | 18 +++++++++++++++++- dev-util/diffoscope/diffoscope-268.ebuild | 18 +++++++++++++++++- dev-util/diffoscope/diffoscope-271.ebuild | 18 +++++++++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-)