On Sat May 19 21:20:11 2018, JKEENAN wrote:
Show quoted text> On Thu Aug 13 02:12:52 2015, SREZIC wrote:
> > The problem exists also on FreeBSD systems, and probably on other BSD
> > variants, too (O_EXLOCK is a BSD thing).
>
> The problem persists up through at least perl-5.27.11. Today I was
> testing this library against that version on perl on FreeBSD-11.1,
> using 'cpanm' as the installer. The 'cpanm' process timed out after
> 30 minutes. When I ran each file through 'prove' indvidually, I found
> that the hangups occurred in:
>
> * t/06_pod_tidy_process_pod_queue.t: lines 19-78
>
> * t/08_pod_tidy_tidy_files.t: lines 19-137
>
> Please address this problem. Otherwise, we'll have to exclude this
> distribution from the "top of CPAN river" list of libraries we plan to
> test against development versions of perl in the upcoming development
> cycle.
>
The problem persists with perl-5.28.0-RC2. Testing once again on FreeBSD-11.1, I got a similar hang. I eventually managed to run t/06 through the debugger and narrowed down the point at which the hang began to:
#####
Pod::Tidy::process_pod_queue(lib/Pod/Tidy.pm:82):
82: open(my $src, '+<', $filename) or warn "can't open file: $!" && next;
DB<5>
Pod::Tidy::process_pod_queue(lib/Pod/Tidy.pm:85):
85: flock($src, LOCK_EX);
#####