Discussion:
[rt.cpan.org #111456] unable to use -x and -u with pp
(too old to reply)
Shawn Laffan via RT
2016-01-27 06:50:05 UTC
Permalink
Wed Jan 27 01:50:05 2016: Request 111456 was acted upon.
Transaction: Ticket created by SLAFFAN
Queue: PAR-Packer
Subject: unable to use -x and -u with pp
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=111456 >


Running pp with both the -u and -x options fails. It appears that some of the text files under the unicore directory are being executed by Module::ScanDeps. See code and results below.

The "used once" warnings appear to be from Module::ScanDeps when it processes utf8_heavy.pl, and are harmless, but I have not looked into where the text files are executed.

Tested on Strawberry perl 5.16.3 and 5.22.1.

Regards,
Shawn.



C:\some_folder\x>pp -u -e "print 'blort'"

C:\some_folder\x>a.exe
blort

C:\some_folder\x>pp -x -u -e "print 'blort'"
Name "utf8::loose_property_to_file_of" used only once: possible typo at C:/strawberry_51613_x64/perl/lib/utf8_heavy.pl line 438.
Name "utf8::file_to_swash_name" used only once: possible typo at C:/strawberry_51613_x64/perl/lib/utf8_heavy.pl line 440.
Name "utf8::loose_property_name_of" used only once: possible typo at C:/strawberry_51613_x64/perl/lib/utf8_heavy.pl line 210.
Name "utf8::stricter_to_file_of" used only once: possible typo at C:/strawberry_51613_x64/perl/lib/utf8_heavy.pl line 393.
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 30, near "007F"
(Missing operator before F?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 31, near "00FF"
(Missing operator before FF?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 31, near "1 Supplement"
(Missing operator before Supplement?)
Number found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 32, near "Supplement
0100"
(Missing semicolon on previous line?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 32, near "017F"
(Missing operator before F?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 33, near "024F"
(Missing operator before F?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 34, near "02AF"
(Missing operator before AF?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 35, near "02B0"
(Missing operator before B0?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 35, near "02FF"
(Missing operator before FF?)
Number found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 36, near "Letters
0300"
(Missing semicolon on previous line?)
Bareword found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 36, near "036F"
(Missing operator before F?)
Number found where operator expected at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 37, near "Marks
0370"
(Missing semicolon on previous line?)
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 30, near "007F"
Illegal octal digit '8' at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 31, at end of line
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 31, near "00FF"
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 32, near "1 Supplement
"
Illegal octal digit '8' at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 33, at end of line
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 33, near "024F"
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 34, near "02AF"
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 35, near "02B0"
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 36, near "Letters
0300"
syntax error at C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt line 37, near "Marks
0370"
C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt has too many errors.
SYSTEM ERROR in executing C:/strawberry_51613_x64/perl/lib/unicore/Blocks.txt : 65280 at C:/strawberry_51613_x64/perl/site/lib/Module/ScanDeps.pm line 1422.
Shawn Laffan via RT
2016-01-27 07:42:14 UTC
Permalink
Wed Jan 27 02:42:13 2016: Request 111456 was acted upon.
Transaction: Correspondence added by SLAFFAN
Queue: PAR-Packer
Subject: unable to use -x and -u with pp
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=111456 >


RT seems to have filed the ticket twice on submission, so closing this one.

The first ticket is https://rt.cpan.org/Ticket/Display.html?id=111455
Loading...