View Issue Details

IDProjectCategoryView StatusLast Update
0000507Perl for OS/2Bugpublic2012-01-06 12:03
Reportershmuel Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
OSeComStationOS Version2.0 GA 
Summary0000507: Perl 5.10.0 is missing perlinstall
DescriptionPerl 5.10.0 is missing perlinstall.pod, causing pod2ipf to terminate without writing anything in perl.ipf.

<<<doing file for `perlinstall'
Use of uninitialized value $fname in open at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
Use of uninitialized value $fname in concatenation (.) or string at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
perlinstall: open `': No such file or directory at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
Steps To Reproducecd pod-directory
pod2ipf 2>\error-file
Additional InformationThere are also 'no NAME' and 'Not matching' error messages, but I believe that those only cause partial entries in the TOC, not complete failure.

TagsNo tags attached.
Attached Files
pod2ipf-1.27.cmd (80,559 bytes)
pod2ipf134.cmd (85,989 bytes)

Activities

psmedley

2012-01-03 08:18

administrator   ~0002129

no idea where this is supposed to come from, doesn't exist in my source tree:
[U:\DEV\perl-5.10.0]dir perlinstall* /s/p

The volume label in drive U is Dev.
The Volume Serial Number is 417C:05BE.

SYS0002: The system cannot find the file specified.

shmuel

2012-01-03 18:56

reporter   ~0002133

I've uploaded the versions of pod2ipf that I've been using, with my debugging changes, including a change to sub output_file to make the error nonfatal.

   if (not -f "./$fname") { # Protect 'B::C.pod' from accessing B drive
     unless ($fname = $modnamehash{$ftitle}) {print STDERR "!!! $ftitle not found\n"; return};
   }
 

The relevant code for perlinst is

   push @files, [ 'perlinstall', 'Installation/compilation of Perl'];

  if (-f '../INSTALL' and not -f 'perlinstall.pod') {
      copy '../INSTALL', 'perlinstall.pod';
  }

psmedley

2012-01-04 21:55

administrator   ~0002137

Perl 5.14.2 has the following *install*/pm/.pod's:

Directory of U:\perl5\lib\5.14.2\ExtUtils

 3/01/12 19:07 40,627 124 ---r Install.pm
 3/01/12 19:07 13,993 124 ---r Installed.pm
        2 file(s) 54,620 bytes used

Directory of U:\perl5\lib\5.14.2\Pod

 3/01/12 19:07 13,389 124 a--r perlmodinstall.pod
        1 file(s) 13,389 bytes used

Perhaps perlinstall.pod was removed at some point?

psmedley

2012-01-04 22:02

administrator   ~0002139

A pre-release of Perl 5.14.2 is available from http://smedley.info/perl-5.14.2-os2-20120105.zip

shmuel

2012-01-05 16:34

reporter   ~0002148

There is a patch to CPANPLUS to add the missing descriptions to the name sections; I believe that it is still in testing. There's a thread in comp.lang.perl.misc that discusses some of the other issues. I'll send an update to Ilya once I either have everything resolved or reach an impasse.

shmuel

2012-01-06 12:03

reporter   ~0002149

The fix for the incomplete NAME sections should be in <http://search.cpan.org/~bingos/CPANPLUS-0.9116/>.

Issue History

Date Modified Username Field Change
2012-01-02 02:51 shmuel New Issue
2012-01-03 08:18 psmedley Note Added: 0002129
2012-01-03 18:51 shmuel File Added: pod2ipf-1.27.cmd
2012-01-03 18:52 shmuel File Added: pod2ipf134.cmd
2012-01-03 18:56 shmuel Note Added: 0002133
2012-01-04 21:55 psmedley Note Added: 0002137
2012-01-04 22:02 psmedley Note Added: 0002139
2012-01-05 16:34 shmuel Note Added: 0002148
2012-01-06 12:03 shmuel Note Added: 0002149