Branch: 
refs/heads/smoke-me/jkeenan/gh-24839-goanscryca-fix-issue-24561-20260918
  Home:   https://github.com/Perl/perl5
  Commit: b1c06b26844b9a3d1a3b2b2afceea8b5ffd1bfc7
      
https://github.com/Perl/perl5/commit/b1c06b26844b9a3d1a3b2b2afceea8b5ffd1bfc7
  Author: goanscryca <[email protected]>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
    M cpan/ExtUtils-MakeMaker/t/MM_Unix.t

  Log Message:
  -----------
  ExtUtils::MM_Unix: avoid die in _find_static_libs on removed dirs

During parallel test runs (e.g., core smoke tests), 
cpan/ExtUtils-MakeMaker/t/03-xsstatic.t
could intermittently fail during static makeaperl with:
  Can't cd to .. from ../../../../lib/auto/ExtTest: No such file or directory 
at File/Find.pm line 477.
or:
  Can't opendir(../../../../lib/auto/ExtTest): Stale file handle
  Can't cd to .. from ../../../../lib/auto/ExtTest: Stale file handle at 
File/Find.pm line 477.

This happens because another test running concurrently (such as
cpan/ExtUtils-Constant/t/Constant.t) creates and cleans up modules in the
core lib/auto directory (e.g., ExtTest) while 03-xsstatic.t is running
_find_static_libs. Because File::Find defaulted to chdir'ing into each
directory (no_chdir => 0), when a visited directory was deleted concurrently,
File::Find failed to chdir('..') and died.

Fix by running File::Find::find with no_chdir => 1 and disabling File::Find
warnings, preventing chdir into subdirectories and safely ignoring directories
that vanish during traversal.

Fixes #24561.


  Commit: b7e0525d8ab2abfccc5d02e21ea4e75a876db2cb
      
https://github.com/Perl/perl5/commit/b7e0525d8ab2abfccc5d02e21ea4e75a876db2cb
  Author: James E Keenan <[email protected]>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M AUTHORS
    M cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm

  Log Message:
  -----------
  Smoke-testing version of GH #24839

Committer: fixed two porting tests.  These will have to be fixed
upstream on CPAN before synching into blead.


Compare: https://github.com/Perl/perl5/compare/b1c06b26844b%5E...b7e0525d8ab2

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to