Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934444

Summary: dev-lang/perl: build with -Duse64bitint on 32-bit arches?
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/Perl/perl5/issues/21551
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 934443    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-17 05:15:12 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2024-06-17 06:09:03 UTC
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(-)