64-bit time_t and perlapi-*
On Wed, Jul 19, 2023 at 02:27:21PM -0700, Steve Langasek wrote:
> Two months ago, I posted with a proposal for how to handle a transition to
> 64-bit time_t on 32-bit archs in the trixie cycle.
Hi, sorry I'm a bit late with this.
Please note that the Perl binary interface between compiled C plugins
(aka. "XS modules") and Perl itself seems to be affected as it has a
time_t member "basetime" in the interpreter struct definition [1].
This came up in #1030827 last winter.
My understanding is that switching to a 64-bit type will require a bump of
the perlapi-5.x.x virtual package that ~600 packages depend on, and also
a rename of the libperl5.xx package with another ~100 dependants. Not
sure how much that is in the grand scheme of things though (and please
correct me if I'm mistaken.)
FWIW I haven't even tried if src:perl builds with the time64 flags yet
(and how to best inject them.) Happy if somebody else wants to look
at that.
[1] https://sources.debian.org/src/perl/5.36.0-7/intrpvar.h/#L506
Thanks for your work,
--
Niko Tyni ntyni@debian.org
Reply to: