Bug#1151880: libtime-mock-perl: Prototype mismatch: sub Time::HiRes::sleep (; $) vs (; @) with Perl 5.44
Niko Tyni
ntyni at debian.org
Sat Oct 24 09:08:48 BST 2026
Package: libtime-mock-perl
Version: 0.0.2-7
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.44-transition
Forwarded: https://github.com/tarao/perl5-Test-MockTime-HiRes/issues/12
This package warns on usage with Perl 5.44 (currently in experimental.)
$ perl -we 'use Time::Mock'
Prototype mismatch: sub Time::HiRes::sleep (;$) vs (;@) at /usr/share/perl5/Time/Mock.pm line 81.
The warning causes a debci regression, which is a blocker for a Perl 5.44
transition. There's an example debci log at
https://ci.debian.net/packages/libt/libtime-mock-perl/unstable/amd64/76870163/
If you want to test changes against Perl 5.44 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list