This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix missing build dependency for pods
authorDan Dedrick <ddedrick@lexmark.com>
Fri, 13 Oct 2017 01:49:39 +0000 (21:49 -0400)
committerAaron Crane <arc@cpan.org>
Wed, 14 Nov 2018 11:44:46 +0000 (11:44 +0000)
commitbb6e76f0bf2e379480796380f1dc705e6cfffbff
treeb1cb8752c2cfd1deed94d54be85d5f901d7870e6
parent8e0c32f43cbc5d9f577b2602ba2159b9cd123197
Fix missing build dependency for pods

When building perl with highly parallel options (e.g. -j 32) on a machine
with many cores (e.g. 32) ocassionaly it fails with the following type
of error.

make[1]: Entering directory '.../cpan/podlators'
Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: .../cpan/AutoLoader/lib .../dist/Carp/lib .../dist/PathTools .../dist/PathTools/lib .../cpan/ExtUtils-Install/lib .../cpan/ExtUtils-MakeMaker/lib .../cpan/ExtUtils-Manifest/lib .../cpan/File-Path/lib .../ext/re .../dist/Term-ReadLine/lib .../dist/Exporter/lib .../ext/File-Find/lib .../cpan/Text-Tabs/lib .../dist/constant/lib .../cpan/version/lib .../lib ../../lib .) at .../cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm line 109.
Makefile:445: recipe for target 'manifypods' failed
make[1]: *** [manifypods] Error 2

The scripts pod2man, pod2text, podchecker, podselect, and pod2usage all use
Getopt-Long and since they are all part of nonxs modules this needs to be
added here to prevent these build races.
AUTHORS
write_buildcustomize.pl