Skip Menu |
 

This queue is for tickets about the Pod-Usage CPAN distribution.

Report information
The Basics
Id: 111313
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Pod-Usage

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: jimhallsun [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Makefile creation issue with Pod-Usage-1.68
Date: Wed, 20 Jan 2016 15:33:57 -0500
To: bug-Pod-Usage [...] rt.cpan.org
From: Jim Hall <jimhallsun [...] gmail.com>
Download (untitled) / with headers
text/plain 2.8k
Hi, I am trying to build Dancer2 and hitting some issues with some of the underlying modules. One being Pod::Usage. Seems I am having difficulty generating the Makefile. Maybe the file test is incorrect? Is this a bug or user error? Going to read '/home/jhall/.cpan/Metadata' Database was generated on Wed, 20 Jan 2016 19:17:02 GMT Running test for module 'Pod::Usage' Running make for M/MA/MAREKR/Pod-Usage-1.68.tar.gz Checksum for /home/jhall/.cpan/sources/authors/id/M/MA/MAREKR/Pod-Usage-1.68.tar.gz ok Scanning cache /home/jhall/.cpan/build for sizes ............................................................................DONE Package seems to come without Makefile.PL. (The test -f "/home/jhall/.cpan/build/MAREKR-IA9c8I/Makefile.PL" returned false.) Writing one on our own (setting NAME to PodUsage) CPAN.pm: Going to build M/MA/MAREKR/Pod-Usage-1.68.tar.gz Have /export/code/perl5/lib/PerlGcc2 Want /usr/perl5/5.12/lib/i86pc-solaris-64int Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [PerlGcc2] Config says: [i86pc-solaris-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Checking if your kit is complete... Looks good Have /export/code/perl5/lib/PerlGcc2 Want /usr/perl5/5.12/lib/i86pc-solaris-64int Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [PerlGcc2] Config says: [i86pc-solaris-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. 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/MAREKR-IA9c8I/Pod-Usage-1.68/Makefile.PL: ERROR from evaluation of /home/jhall/.cpan/build/MAREKR-IA9c8I/Pod-Usage-1.68/PaxHeaders.6080/Makefile.PL: syntax error at ./Makefile.PL line 1, near "29 mtime" Warning: No success on command[/usr/perl5/5.12/bin/perl Makefile.PL PREFIX=/export/code/perl5] MAREKR/Pod-Usage-1.68.tar.gz /usr/perl5/5.12/bin/perl Makefile.PL PREFIX=/export/code/perl5 -- NOT OK Running make test Make had some problems, won't test Failed during this command: MAREKR/Pod-Usage-1.68.tar.gz : writemakefile NO '/usr/perl5/5.12/bin/perl Makefile.PL PREFIX=/export/code/perl5' returned status 65280
Download (untitled) / with headers
text/plain 817b
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: Show quoted text
> 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?)
Subject: Re: [rt.cpan.org #111313] Makefile creation issue with Pod-Usage-1.68
Date: Wed, 20 Jan 2016 17:37:36 -0500
To: bug-Pod-Usage [...] rt.cpan.org
From: Jim Hall <jimhallsun [...] gmail.com>
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?)
> >
Download (untitled) / with headers
text/html 12.9k

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #111313] Makefile creation issue with Pod-Usage-1.68
Date: Wed, 20 Jan 2016 17:54:01 -0500
To: bug-Pod-Usage [...] rt.cpan.org
From: Jim Hall <jimhallsun [...] gmail.com>
Download (untitled) / with headers
text/plain 10.5k
Folks on the solaris side recommended use of gtar(1). That seems to work. Sorry for cluttering up your inbox. JIM On Wed, Jan 20, 2016 at 5:37 PM, Jim Hall <jimhallsun@gmail.com> wrote: Show quoted text
> 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: >
>> <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?)
>> >>
>
Download (untitled) / with headers
text/html 13.8k

Message body is not shown because it is too large.

RT-Send-CC: ether [...] cpan.org
Download (untitled) / with headers
text/plain 494b
Karen, Jim, thank you for reporting and looking into this. I created the tarball on Linux, and I remember that tar on Solaris is picky about the format (POSIX vs. GNU or something like that). I will happily build the next tarball in a Solaris-friendly, Linux-compatible way - do you have the appropriate (GNU) tar option(s) to use at hand? Cheers, Marek Am Mi 20. Jan 2016, 17:54:15, jimhallsun@gmail.com schrieb: Show quoted text
> Folks on the solaris side recommended use of gtar(1). That seems to work.
Download (untitled) / with headers
text/plain 938b
On 2016-01-23 04:05:02, MAREKR wrote: Show quoted text
> Karen, Jim, > > thank you for reporting and looking into this. I created the tarball > on > Linux, and I remember that tar on Solaris is picky about the format > (POSIX vs. GNU or something like that). I will happily build the next > tarball > in a Solaris-friendly, Linux-compatible way - do you have the > appropriate > (GNU) tar option(s) to use at hand?
I normally create tarballs via 'make dist'*, which lets ExtUtils::MakeMaker take care of it -- on my architecture (darwin/OSX), Makefile contains: TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar ..but that may be slightly different when building on another architecture (e.g. for you it might use 'gtar' rather than 'tar'). * The full release procedure, when using vanilla ExtUtils::MakeMaker, is usually: perl Makefile.PL make manifest make test <check that everything is ok..> make dist cpan-upload Foo-Bar-1.23.tar.gz
Subject: Re: [rt.cpan.org #111313] Makefile creation issue with Pod-Usage-1.68
Date: Mon, 25 Jan 2016 15:11:44 -0500
To: bug-Pod-Usage [...] rt.cpan.org
From: Jim Hall <jimhallsun [...] gmail.com>
Download (untitled) / with headers
text/plain 3.2k
It is interesting - I have been installing a lot of modules and haven't needed gtar (or /usr/gnu/bin/tar). But to be fair there is public domain information (for Solaris 10) that says use GNU make and gtar to build modules. So my bad. But it looks like you are using ExtUtils::MakeMaker? Looks like the default if just has tar -cvf: https://metacpan.org/pod/ExtUtils::MakeMaker TAR ('tar') TARFLAGS ('cvf') Example: WriteMakefile( ...other options... dist => { COMPRESS => "bzip2", SUFFIX => ".bz2" } ); Yours is simply: dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, I look at other modules and they are simply generating tar cvf in their final Makefile. For Module::Build see here http://search.cpan.org/~leont/Module-Build-0.4216/lib/Module/Build.pm it has: By default, this action will use the Archive::Tar module. However, you can force it to use binary "tar" and "gzip" executables by supplying an explicit tar (and optional gzip) parameter: For the archives set: 'tar' => q[/usr/gnu/bin/tar] in MyConfig.pm and here is the package that needs to be on the Solaris 11 system: pkg info gnu-tar Name: archiver/gnu-tar Summary: GNU version of the tar archiving utility Description: Tar is a program for packaging a set of files as a single archive in tar format. Category: Development/GNU State: Installed Publisher: solaris Version: 1.27.1 Build Release: 5.11 Branch: 0.175.2.0.0.42.1 Packaging Date: June 23, 2014 01:01:57 AM Size: 2.02 MB FMRI: pkg://solaris/archiver/gnu-tar@1.27.1 ,5.11-0.175.2.0.0.42.1:20140623T010157Z Finally I was getting this on the install, wondering if this is what you intended: *Scanning cache /home/jhall/.cpan/build for sizes* *............................................................................DONE* *Package seems to come without Makefile.PL.* * (The test -f "/home/jhall/.cpan/build/MAREKR-vwI2lm/Makefile.PL" returned false.)* * Writing one on our own (setting NAME to PodUsage)* Wondering if you wanted to deliver a Makefile.PL. JIM On Mon, Jan 25, 2016 at 12:35 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-23 04:05:02, MAREKR wrote:
> > Karen, Jim, > > > > thank you for reporting and looking into this. I created the tarball > > on > > Linux, and I remember that tar on Solaris is picky about the format > > (POSIX vs. GNU or something like that). I will happily build the next > > tarball > > in a Solaris-friendly, Linux-compatible way - do you have the > > appropriate > > (GNU) tar option(s) to use at hand?
> > I normally create tarballs via 'make dist'*, which lets > ExtUtils::MakeMaker take care of it -- > on my architecture (darwin/OSX), Makefile contains: > TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar > ..but that may be slightly different when building on another architecture > (e.g. for you it might use 'gtar' rather than 'tar'). > > * The full release procedure, when using vanilla ExtUtils::MakeMaker, is > usually: > perl Makefile.PL > make manifest > make test > <check that everything is ok..> > make dist > cpan-upload Foo-Bar-1.23.tar.gz > >
RT-Send-CC: ether [...] cpan.org
Download (untitled) / with headers
text/plain 2.4k
On 2016-01-23 07:05:02, MAREKR wrote: Show quoted text
> Karen, Jim, > > thank you for reporting and looking into this. I created the tarball > on > Linux, and I remember that tar on Solaris is picky about the format > (POSIX vs. GNU or something like that). I will happily build the next > tarball > in a Solaris-friendly, Linux-compatible way - do you have the > appropriate > (GNU) tar option(s) to use at hand? > > Cheers, > > Marek > > Am Mi 20. Jan 2016, 17:54:15, jimhallsun@gmail.com schrieb:
> > Folks on the solaris side recommended use of gtar(1). That seems to > > work.
I can reproduce the same problem on a Debian/jessie system. To reproduce the problem it seems that a number of prerequisites have to match: * Installation is done with CPAN.pm * Archive::Tar is old (e.g. 1.54, which comes with perl 5.12.3; 1.74 does not have the problem) * CPAN.pm is either old and does not obey prefer_external_tar=1 (again, I see this with perl 5.12.3), or prefer_external_tar is set to 0 The CPAN.pm log looks like this: Running install for module 'Pod::Usage' Running make for M/MA/MAREKR/Pod-Usage-1.68.tar.gz Checksum for /home/cpansand/.cpan/sources/authors/id/M/MA/MAREKR/Pod-Usage-1.68.tar.gz ok Package seems to come without Makefile.PL. (The test -f "/home/cpansand/.cpan/build/2016050712/MAREKR-pe1ykK/Makefile.PL" returned false.) Writing one on our own (setting NAME to PodUsage) CPAN.pm: Going to build M/MA/MAREKR/Pod-Usage-1.68.tar.gz Will not send CPAN Testers report with generated Makefile.PL. Checking if your kit is complete... Looks good Warning: prerequisite Pod::Text 4 not found. We have 3.14. 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 /tmpfs/.cpan-build-cpansand/2016050712/MAREKR-pe1ykK/Pod-Usage-1.68/Makefile.PL: ERROR from evaluation of /tmpfs/.cpan-build-cpansand/2016050712/MAREKR-pe1ykK/Pod-Usage-1.68/PaxHeaders.6080/Makefile.PL: syntax error at ./Makefile.PL line 1, near "29 mtime"
http://www.perlmonks.org/?node_id=1004571 for a detailed explanation.
RT-Send-CC: HMBRAND [...] cpan.org
Download (untitled) / with headers
text/plain 128b
Thanks for the inputs, especially to H M Brand for the suggestion on how to fix it! Will be used for the release of 1.69. Marek


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.