Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 98955
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: SLAFFAN [...] cpan.org
Cc:
AdminCc:

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



Subject: installation fails | Can't locate String/ShellQuote.pm
Download (untitled) / with headers
text/plain 284b
Just tried installing PAR::Packer on a fresh 5.20.1 install via cpanm under perlbrew (Ubuntu 14.04LTS). The installation fails due to String::ShellQuote not being installed (full log attached). Installation works after installing String::ShellQuote separately. Regards, Shawn.
Subject: build.log
Download build.log
text/x-log 2.1k
cpanm (App::cpanminus) 1.7009 on perl 5.020001 built for x86_64-linux Work directory is /home/shawn/.cpanm/work/1410993320.2278 You have make /usr/bin/make You have LWP 6.08 You have /bin/tar: tar (GNU tar) 1.27.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching PAR::Packer on cpanmetadb ... --> Working on PAR::Packer Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.021.tar.gz -> OK Unpacking PAR-Packer-1.021.tar.gz Entering PAR-Packer-1.021 Checking configure dependencies from META.yml Checking if you have ExtUtils::Embed 0 ... Yes (1.32) Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.98) Configuring PAR-Packer-1.021 Running Makefile.PL Warning: prerequisite Archive::Zip 1.00 not found. Warning: prerequisite Getopt::ArgvFile 1.07 not found. Warning: prerequisite Module::ScanDeps 1.15 not found. Warning: prerequisite PAR 1.005 not found. Warning: prerequisite PAR::Dist 0.22 not found. Warning: prerequisite String::ShellQuote 0 not found. Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at /home/shawn/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/ExtUtils/MakeMaker.pm line 221. ERROR from evaluation of /home/shawn/.cpanm/work/1410993320.2278/PAR-Packer-1.021/myldr/Makefile.PL: Can't locate String/ShellQuote.pm in @INC (you may need to install the String::ShellQuote module) (@INC contains: /home/shawn/.cpanm/work/1410993320.2278/PAR-Packer-1.021/inc /home/shawn/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/x86_64-linux /home/shawn/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1 /home/shawn/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/x86_64-linux /home/shawn/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1 /home/shawn/.cpanm/work/1410993320.2278/PAR-Packer-1.021 .) at ./Makefile.PL line 90. -> N/A -> FAIL Configure failed for PAR-Packer-1.021. See /home/shawn/.cpanm/work/1410993320.2278/build.log for details.
Download (untitled) / with headers
text/plain 392b
On 2014-09-17 18:50:58, SLAFFAN wrote: Show quoted text
> Just tried installing PAR::Packer on a fresh 5.20.1 install via cpanm > under perlbrew (Ubuntu 14.04LTS). > > The installation fails due to String::ShellQuote not being installed > (full log attached). > > Installation works after installing String::ShellQuote separately.
I assume that String::ShellQuote has to be mentioned in configure_requires.
Download (untitled) / with headers
text/plain 780b
Am 2014-09-18 06:25:53, SREZIC schrieb: Show quoted text
> I assume that String::ShellQuote has to be mentioned in configure_requires.
Yeah, but we need Win32::ShellQuote on Windows and String::ShellQuote otherwise (BTW: why can't someone enhance String::ShellQuote so that it works on Windows, too?). But cpanm et al. take the configure_requires from the downloaded META.yml which can't express alternatives. And I can't require them both, as Win32::ShellQuote obviously can't be built on non-Windows systems. Heck, all I wanted was a method to generate Makefile commands that quote their (a-priori unknown) arguments reliably on any OS. I'll ditch both ShellQuote modules and simply enclose arguments in double quotes - that ought to work in 99.9 percent of environments. Cheers, Roderich
Fixed in PAR::Packer 1.22. Cheers, Roderich


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.