You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time::HiRes::stat is missing from PerlOnJava. Daiku 1.004 calls it from Daiku::File and Daiku::SuffixRule; the CPAN test run then aborts with Undefined subroutine &Time::HiRes::stat.
Reproducer
use Time::HiRes ();
my@stat = Time::HiRes::stat(".");
printscalar(@stat), "\n";
System Perl 5.42.2 succeeds. PerlOnJava fails with Undefined subroutine &Time::HiRes::stat on both JVM and interpreter backends. The shared Time::HiRes runtime registers time, sleep, gettimeofday, and related functions, but not stat.
CPAN evidence
Distribution: Daiku 1.004
CPAN run: 20261027-085020-3852
Failing files include t/01_simple.t, t/02_rule.t, t/03_declare.t, t/04_file.t, t/07_suffix_deps.t, t/07_suffix_deps_multi.t, t/09_daikufile.t, and t/15_suffix_deps_code.t.
System Perl suite: PASS, 20 files / 107 tests
PerlOnJava: fails on both backends with the missing function
State: released
Agent/session: Codex issue-1912 20261028
Scope: #1912, implement Time::HiRes::stat and verify the CPAN failure is fixed.
Work: PR #1913, merged to master as 3b81d86d7062496275145d425fa0df94e66011a6.
Checkpoint: 2026-10-28 12:34 UTC; PR is merged and issue #1912 is closed.
Evidence: Windows and Ubuntu CI checks succeeded on PR head 3cad18477e360f2a04efb16c7eec0d7bbd73dbce. Full nice -n 19 make, focused JVM/interpreter regression, Daiku 1.004 (20 files / 107 tests) on system Perl and both backends, and make check-links passed.
Blocked by: none.
Next: none; the confirmed missing function is implemented and the issue is closed by the merge.
Activity
fglock commentedon Oct 28, 2026
State: released
Agent/session: Codex issue-1912 20261028
Scope: #1912, implement
Time::HiRes::statand verify the CPAN failure is fixed.Work: PR #1913, merged to master as
3b81d86d7062496275145d425fa0df94e66011a6.Checkpoint: 2026-10-28 12:34 UTC; PR is merged and issue #1912 is closed.
Evidence: Windows and Ubuntu CI checks succeeded on PR head
3cad18477e360f2a04efb16c7eec0d7bbd73dbce. Fullnice -n 19 make, focused JVM/interpreter regression, Daiku 1.004 (20 files / 107 tests) on system Perl and both backends, andmake check-linkspassed.Blocked by: none.
Next: none; the confirmed missing function is implemented and the issue is closed by the merge.
fix: implement Time::HiRes::stat (#1913)