Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 45600
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 6.51_02
Fixed in: (no value)



Subject: INSTALLHTML[13]DIR are not based on $(PREFIX)
When PREFIX is given to Makefile.PL, INSTALLHTML1DIR and INSTALLHTML3DIR are not relative to it. So "make install" fails if the default INSTALLHTML1DIR is not writable. So tests which only set PREFIX but do not explicitely set INSTALLHTML1DIR and INSTALLHTML3DIR are failing: t/basic.................1..79 ok 1 - setup ok 2 - chdir'd to Big-Dummy ok 3 - Makefile.PL exited with zero ok 4 - Makefile.PL output looks right ok 5 - Makefile.PL run in package main ok 6 - Makefile exists ok 7 - its been touched ok 8 - make manifest created a MANIFEST ok 9 - its not empty ok 10 - exited normally ok 11 - .ppd file generated ok 12 - <SOFTPKG> ok 13 - <ABSTRACT> ok 14 - <AUTHOR> ok 15 - <IMPLEMENTATION> ok 16 - <REQUIRE> ok 17 - <ARCHITECTURE> ok 18 - <CODEBASE> ok 19 - </IMPLEMENTATION> ok 20 - </SOFTPKG> ok 21 - make test ok 22 - exited normally ok 23 - TEST_VERBOSE ok 24 - successful ok 25 - exited normally # Failed test 'install' # in t/basic.t at line 134. # got: '256' # expected: '0' # Manifying blib/man1/program.1 # Manifying blib/man3/Big::Dummy.3 # HTMLifying blib/html/bin/program.html # HTMLifying blib/html/lib/Big/Dummy.html # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ERROR: Can't create '/opt/perl_64/html/bin' # Do not have write permissions on '/opt/perl_64/html/bin' # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # at -e line 1 # *** Error exit code 13 # # Stop. # Failed test in t/basic.t at line 135. # 'Manifying blib/man1/program.1 # Manifying blib/man3/Big::Dummy.3 # HTMLifying blib/html/bin/program.html # HTMLifying blib/html/lib/Big/Dummy.html # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ERROR: Can't create '/opt/perl_64/html/bin' # Do not have write permissions on '/opt/perl_64/html/bin' # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # at -e line 1 # *** Error exit code 13 # # Stop. # ' # doesn't match '(?m-xis:^Installing )' not ok 26 - install not ok 27 ok 28 - install dir created # Failed test ' Dummy.pm installed' # in t/basic.t at line 148. # Failed test ' Liar.pm installed' # in t/basic.t at line 149. # Failed test ' program installed' # in t/basic.t at line 150. # Failed test ' packlist created' # in t/basic.t at line 151. # Failed test ' perllocal.pod created' # in t/basic.t at line 152. not ok 29 - Dummy.pm installed not ok 30 - Liar.pm installed not ok 31 - program installed not ok 32 - packlist created not ok 33 - perllocal.pod created # Failed test 'install with PREFIX override' # in t/basic.t at line 159. # got: '256' # expected: '0' # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ERROR: Can't create '/opt/perl_64/html/bin' # Do not have write permissions on '/opt/perl_64/html/bin' # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # at -e line 1 # *** Error exit code 13 # # Stop. # Failed test in t/basic.t at line 160. # '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ERROR: Can't create '/opt/perl_64/html/bin' # Do not have write permissions on '/opt/perl_64/html/bin' # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # at -e line 1 # *** Error exit code 13 # # Stop. # ' # doesn't match '(?m-xis:^Installing )' # Failed test ' install dir created' # in t/basic.t at line 162. not ok 34 - install with PREFIX override not ok 35 not ok 36 - install dir created Can't stat elsewhere: No such file or directory at t/basic.t line 164 # Failed test ' Dummy.pm installed' # in t/basic.t at line 165. # Failed test ' Liar.pm installed' # in t/basic.t at line 166. # Failed test ' program installed' # in t/basic.t at line 167. # Failed test ' packlist created' # in t/basic.t at line 168. # Failed test ' perllocal.pod created' # in t/basic.t at line 169. not ok 37 - Dummy.pm installed not ok 38 - Liar.pm installed not ok 39 - program installed not ok 40 - packlist created not ok 41 - perllocal.pod created ok 42 - install with DESTDIR ok 43 ok 44 - destdir created ok 45 - Dummy.pm installed ok 46 - Liar.pm installed ok 47 - program installed ok 48 - packlist created ok 49 - perllocal.pod created ok 50 ok 51 - DESTDIR should not appear in perllocal ok 52 - install with PREFIX override and DESTDIR ok 53 ok 54 - install dir not created ok 55 - destdir created ok 56 - Dummy.pm installed ok 57 - Liar.pm installed ok 58 - program installed ok 59 - packlist created ok 60 - perllocal.pod created ok 61 - disttest ok 62 - META.yml not written to source dir ok 63 - META.yml written to dist dir ok 64 - temp META.yml file not left around ok 65 # skip Test::YAML::Meta >= 0.11 required ok 66 # skip Test::YAML::Meta >= 0.11 required ok 67 ok 68 ok 69 ok 70 ok 71 - META.yml deleted ok 72 - Makefile.PL exited with zero ok 73 - distdir ok 74 - META.yml generation suppressed by NO_META ok 75 - Makefile.PL exited with zero ok 76 - init_dirscan skipped distdir ok 77 - realclean # Looks like you failed 15 tests of 79.
Looks like it missed INSTALL_BASE, too. The INSTALL_BASE and PREFIX tests need to be refactored to better cover this situation.
HTML generation support was removed some time ago. Further to the discussion in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/111, I am extracting the points from the four HTML*DIR RT tickets onto the GH issue, then closing the tickets. The points disclosed in this ticket (must respect INSTALL* and PREFIX) are already covered by schwern's comment on a design for a doc plugin system. I am marking this ticket as resolved.