develooper Front page | perl.perl5.porters | Postings from January 2012

[perl #107882] installhtml generates possibly bogus warnings

Thread Next
Nicholas Clark
January 10, 2012 11:56
[perl #107882] installhtml generates possibly bogus warnings
Message ID:
# New Ticket Created by  Nicholas Clark 
# Please include the string:  [perl #107882]
# in the subject line of all future correspondence about this issue. 
# <URL: >

installhtml now generates many seemingly troublesome warnings. For example,
36 instances of

Cannot find "IPC::Open3" in podpath: more than one possible replacement path to IPC::Open3, using lib::IPC::Open3

It's not clear whether this is actually a genuine problem, as it doesn't look
like the installed HTML contains links to modules "named" lib::IPC::Open3
Either way, it needs investigating and resolving, either to silence
6773 false warnings, or if there is a real problem, to address it.

(installhtml on perl 5.14.0 generates 841 lines on STDERR, which is bad,
but nothing compared with the 7010 now generated)

This may be a fundamental problem of how installhtml is currently written
to take the directory for the "podroot" from the command line, and this is
passed in as ".", the *top level* of the distribution. Given that installhtml
is *not* installed, and hence is only used for installing from the core,
probably it should be refactored to be structurally very similar to
installman. Possibly even the two could be merged (or much more code
made common in a library), given that both are

1: find the list of Pod files that need to be installed
2: convert those to the correct format
3: copy the generated files to the correct place

It might be that duplicate files in lib/ and in {ext,dist,cpan} are actually
the cause of all the "more than one possible replacement path" warnings,
hence eliminating them would naturally fall out from such a refactoring.

This might also solve bug #107880 as a side effect.

Nicholas Clark

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About