Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934444 - dev-lang/perl: build with -Duse64bitint on 32-bit arches?
Summary: dev-lang/perl: build with -Duse64bitint on 32-bit arches?
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 934443
  Show dependency tree
 
Reported: 2024-06-17 05:15 UTC by Sam James
Modified: 2024-06-17 06:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)