Mon Jul 16 07:09:17 2012: Request 78396 was acted upon.
Transaction: Ticket created by fgssfgs
       Queue: PAR-Packer
     Subject: [manifypods] Error 255
   Broken in: 1.010, 1.011, 1.012, 1.013
    Severity: Critical
       Owner: Nobody
  Requestors: bitcard93...@rainslide.net
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78396 >


In versions since 1.010, on the latest updated Debian Squeeze (Perl
5.10.1), 'make' eventually borks with:

Manifying blib/man1/parldyn.1p
Modification of non-creatable array value attempted, subscript -1 at
/usr/share/perl/5.10/Pod/Man.pm line 268.
make: *** [manifypods] Error 255

To fix in at least 1.013, in myldr/Makefile.PL, replace "MAN3PODS =>
{}," with "MAN1PODS => {}," in WriteMakefile(). I've attached the patch.

Prior to 1.010 (or at least in version 1.009), parl and parldyn come
pre-compiled with the source, so make doesn't try to run that bit here,
which is why you don't see this error when 'make'ing in 1.009 until
after you've done a 'make clean'.
diff -urb PAR-Packer-1.013.orig/myldr/Makefile.PL PAR-Packer-1.013/myldr/Makefile.PL
--- PAR-Packer-1.013.orig/myldr/Makefile.PL	2012-07-13 16:51:24.000000000 +0000
+++ PAR-Packer-1.013/myldr/Makefile.PL	2012-07-16 10:57:40.000000000 +0000
@@ -259,7 +259,7 @@
     PL_FILES    => {},
     PM          => { map { $_ => File::Spec->catfile('$(INST_LIBDIR)', qw( PAR StrippedPARL ), $_) }
                      @strippedparl },
-    MAN3PODS    => {},
+    MAN1PODS    => {},
     EXE_FILES   => \@parl_exes,
     macro       => { FIXIN => '$(NOOP)' },
 );

Reply via email to