#1151880 libtime-mock-perl: Prototype mismatch: sub Time::HiRes::sleep (;$) vs (;@) with Perl 5.44

#1151880#5
Date:
2026-10-24 08:08:48 UTC
From:
To:
Package: libtime-mock-perl
Version: 0.0.2-7
Severity: important
User: debian-perl@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/>.

#1151880#10
Date:
2026-10-24 15:27:18 UTC
From:
To:
Hello,

Bug #1151880 in libtime-mock-perl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/perl-team/modules/packages/libtime-mock-perl/-/commit/2220ebfcad10825c4fbef6084235e4c0c951e5e3
------------------------------------------------------------------------
Add patch for compatibility with newer Time::HiRes.

Closes: #1151880
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151880

#1151880#17
Date:
2026-10-24 15:49:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libtime-mock-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1151880@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated libtime-mock-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 24 Oct 2026 17:22:45 +0200
Source: libtime-mock-perl
Architecture: source
Version: 0.0.2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 1151880
Changes:
 libtime-mock-perl (0.0.2-8) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Update standards version to 4.6.1, no changes needed.
 .
   [ gregor herrmann ]
   * Add patch for compatibility with newer Time::HiRes. (Closes: #1151880)
   * Declare compliance with Debian Policy 4.7.4.
   * Remove «Rules-Requires-Root: no», which is the current default.
   * Remove «Priority: optional», which is the current default.
   * Convert debian/watch to version 5.
Checksums-Sha1:
 999c44119b35ab2c65b83b114850e85c88f5603e 2348 libtime-mock-perl_0.0.2-8.dsc
 5c0f6b0c51ae65441e4703bf16be292ccffe791c 2700 libtime-mock-perl_0.0.2-8.debian.tar.xz
Checksums-Sha256:
 3825b8884bd31905722c37cc07a20ae085a249a3f27eaf4445771c8c69c9e29c 2348 libtime-mock-perl_0.0.2-8.dsc
 2e5afd949f43ddc07420bc7b457e3c60f4ef2f45388f13605d5f4d1538b7f3ec 2700 libtime-mock-perl_0.0.2-8.debian.tar.xz
Files:
 23276268d2dac623ae56f317fde2ea76 2348 perl optional libtime-mock-perl_0.0.2-8.dsc
 2b6d5e4d5f71ec39518d1f2d6984215d 2700 perl optional libtime-mock-perl_0.0.2-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmrczgNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaTrBAAuOL4CBY0MFHigEorSMbqzpdPt+WW107iKU6tN7b3KO3ctESytujJVBKQ
g4N3aeCz65HS/4sCbD++TxuaIIq3lS6PSlTSTV0nwW0W2VgtHj9iuYIIKgMyv8LS
j/peRQJwoK88RPfeIQTIZC/HuwIp0qdlzlflNdVYuOeycDoEzx0+ODa4qOi11w49
PgSM0XhnFq+w5UJvtghels1nmDuTEC+aqZ0gbPdNAI4jD4v7Z8EnPB4lAjFhmUXE
1hc+9FBMeRu5saMyPyqmkoSouHQqLeZ36P7cCsL7U3cKYFlLn+Junw5kcGqH2a6F
J0N3PKn7MSGRttDmm5rhNVE+ifDIMzBNLJ+AewxYeEaczeSrrfvJlgA/3lEChLee
22W2wb3yuPCqcE9HsLEa1YDYIDIm8bnWwLZta9ByAyJDLAjET1ye9rNP5caF/YF5
KMNgD3wpK5uQUjcaRclLEspmcmEFlTHCZawSFZf4p4wdLicSY5z43D4cfrpgFiW1
0YwqXUn/HaZwiP/9fzMnKhXoW7f+74uNm7a13sNYcgnQzsttzB4E1cgztfEbyQqZ
WnkU948T0tUnvjf8AfJWfzndxca+ADPn+puXc+jJXlHHHz+g0iuMXkzVPv7Fe8O5
MwsQ2AvwSLwEbAuZj8v58dolTUCHfWzPuhxWfBoa+m7G7TjmjIo=
=5ZIX
-----END PGP SIGNATURE-----