I think you are right. I downloaded the code by hand and gunzip'd and
untar'd it using the following (this is Solaris 11.2):
jhall@jimwin8:~/.cpan/build/tmp$ gunzip Pod-Usage-1.68.tar.gz
jhall@jimwin8:~/.cpan/build/tmp$ tar -xvf Pod-Usage-1.68.tar
tar: ./PaxHeaders.6080/Pod-Usage-1.68: typeflag 'x' not recognized,
converting to regular file
x ./PaxHeaders.6080/Pod-Usage-1.68, 89 bytes, 1 tape blocks
x Pod-Usage-1.68, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/scripts: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/scripts, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/scripts, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/scripts/PaxHeaders.6080/pod2usage.PL: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/scripts/PaxHeaders.6080/pod2usage.PL, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/scripts/pod2usage.PL, 5151 bytes, 11 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/README: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/README, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/README, 2471 bytes, 5 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/META.json: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/META.json, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/META.json, 1111 bytes, 3 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/MANIFEST: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/MANIFEST, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/MANIFEST, 1342 bytes, 3 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/t: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/t, 88 bytes, 1 tape blocks
x Pod-Usage-1.68/t, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/t/PaxHeaders.6080/pod: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/t/PaxHeaders.6080/pod, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/headwithmarkup.t: typeflag 'x'
not recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/headwithmarkup.t, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/headwithmarkup.t, 304 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectsections.pl: typeflag 'x'
not recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectsections.pl, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/selectsections.pl, 742 bytes, 2 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/headwithmarkup.pl: typeflag 'x'
not recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/headwithmarkup.pl, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/headwithmarkup.pl, 278 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/p2u_data.pl: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/p2u_data.pl, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/p2u_data.pl, 185 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectheaders.pl: typeflag 'x'
not recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectheaders.pl, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/selectheaders.pl, 325 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage2.t: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage2.t, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/pod2usage2.t, 10660 bytes, 21 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage.xr: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage.xr, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/pod2usage.xr, 2449 bytes, 5 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/testp2pt.pl: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/testp2pt.pl, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/testp2pt.pl, 5760 bytes, 12 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/usage.pod: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/usage.pod, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/usage.pod, 209 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectheaders.t: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectheaders.t, 59 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/selectheaders.t, 388 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectsections.t: typeflag 'x'
not recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/selectsections.t, 60 bytes, 1 tape
blocks
x Pod-Usage-1.68/t/pod/selectsections.t, 542 bytes, 2 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage.t: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/pod2usage.t, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/pod2usage.t, 363 bytes, 1 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/usage2.pod: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/usage2.pod, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/usage2.pod, 563 bytes, 2 tape blocks
tar: Pod-Usage-1.68/t/pod/PaxHeaders.6080/testcmp.pl: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/t/pod/PaxHeaders.6080/testcmp.pl, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/t/pod/testcmp.pl, 2736 bytes, 6 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/lib: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/lib, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/lib, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/lib/PaxHeaders.6080/Pod: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/lib/PaxHeaders.6080/Pod, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/lib/Pod, 0 bytes, 0 tape blocks
tar: Pod-Usage-1.68/lib/Pod/PaxHeaders.6080/Usage.pm: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/lib/Pod/PaxHeaders.6080/Usage.pm, 60 bytes, 1 tape blocks
x Pod-Usage-1.68/lib/Pod/Usage.pm, 29743 bytes, 59 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/META.yml: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/META.yml, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/META.yml, 640 bytes, 2 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/Makefile.PL: typeflag 'x' not
recognized, converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/Makefile.PL, 89 bytes, 1 tape blocks
x Pod-Usage-1.68/Makefile.PL, 2396 bytes, 5 tape blocks
tar: Pod-Usage-1.68/PaxHeaders.6080/CHANGES: typeflag 'x' not recognized,
converting to regular file
x Pod-Usage-1.68/PaxHeaders.6080/CHANGES, 90 bytes, 1 tape blocks
x Pod-Usage-1.68/CHANGES, 3894 bytes, 8 tape blocks
So I am getting an odd message from the untar (which seems to be using
pax). But the odd thing is that the Makefile.PL seems to redirect to a pax
directory that has a Makefile.PL with the garbage information:
jhall@jimwin8:~/.cpan/build/tmp/Pod-Usage-1.68$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Bareword found where operator expected at ./Makefile.PL line 1, near "29
mtime"
(Missing operator before mtime?)
Number found where operator expected at ./Makefile.PL line 2, near "30"
(Missing semicolon on previous line?)
Bareword found where operator expected at ./Makefile.PL line 2, near "30
atime"
(Missing operator before atime?)
Number found where operator expected at ./Makefile.PL line 3, near "30"
(Missing semicolon on previous line?)
Bareword found where operator expected at ./Makefile.PL line 3, near "30
ctime"
(Missing operator before ctime?)
ERROR from evaluation of
/home/jhall/.cpan/build/tmp/Pod-Usage-1.68/PaxHeaders.6080/Makefile.PL:
syntax error at ./Makefile.PL line 1, near "29 mtime"
jhall@jimwin8:~/.cpan/build/tmp/Pod-Usage-1.68$ ls -l
total 44
-rw-r--r-- 1 jhall staff 3894 Jan 3 12:38 CHANGES
drwxr-xr-x 4 jhall staff 4 Jan 3 12:45 lib
-rw-r--r-- 1 jhall staff 2396 Jan 3 12:38 Makefile.PL
-rw-r--r-- 1 jhall staff 1342 Jan 3 12:45 MANIFEST
-rw-r--r-- 1 jhall staff 1111 Jan 3 12:45 META.json
-rw-r--r-- 1 jhall staff 640 Jan 3 12:45 META.yml
drwxr-xr-x 2 jhall staff 11 Jan 20 17:21 PaxHeaders.6080
-rw-r--r-- 1 jhall staff 2471 Jan 3 12:45 README
drwxr-xr-x 3 jhall staff 4 Jan 3 12:45 scripts
drwxr-xr-x 4 jhall staff 4 Jan 3 12:45 t
jhall@jimwin8:~/.cpan/build/tmp/Pod-Usage-1.68$ cat
PaxHeaders.6080/Makefile.PL
29 mtime=1451842730.48596984
30 atime=1451842734.561043442
30 ctime=1451843141.730710804
jhall@jimwin8:~/.cpan/build/tmp/Pod-Usage-1.68$ ls PaxHeaders.6080/
CHANGES Makefile.PL META.json README t
lib MANIFEST META.yml scripts
I have not seen this on the prior version I had installed (version 1.36).
And I am able to install a bunch of other modules without issue. I will try
to get feedback on the tar issue from Solaris team in case it is the OS.
But I am not convinced.
On Wed, Jan 20, 2016 at 5:03 PM, Karen Etheridge via RT <
bug-Pod-Usage@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=111313 >
>
> On 2016-01-20 12:34:08, jimhallsun@gmail.com wrote:
>
> Makefile.PL looks normal to me and is syntactically correct.
>
> The below looks to me like an error from extracting the archive:
>
>
> > Bareword found where operator expected at ./Makefile.PL line 1, near
> > "29
> > mtime"
> > (Missing operator before mtime?)
> > Number found where operator expected at ./Makefile.PL line 2, near
> > "30"
> > (Missing semicolon on previous line?)
> > Bareword found where operator expected at ./Makefile.PL line 2, near
> > "30
> > atime"
> > (Missing operator before atime?)
> > Number found where operator expected at ./Makefile.PL line 3, near
> > "30"
> > (Missing semicolon on previous line?)
> > Bareword found where operator expected at ./Makefile.PL line 3, near
> > "30
> > ctime"
> > (Missing operator before ctime?)
>
>