New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insufficient debug messages from zef/perl6.bat when package build fails #6557
Comments
From villek@matrixscience.comI downloaded and installed the latest Windows x64 build of Rakudo When I try to install Inline::Perl5 with zef, the package installation C:\Users\villek>zef --debug install Inline::Perl5 Perl 5 version requirement not met in method build at ===> Building [FAIL]: Inline::Perl5:ver('0.29'):auth('github:niner') This is in cmd.exe. In Powershell, the output is similar: PS C:\Users\villek> zef --debug install Inline::Perl5 Perl 5 version requirement not met in method build at ===> Building [FAIL]: Inline::Perl5:ver('0.29'):auth('github:niner') Is this a bug in zef or in perl6.bat? Am I expected to read through the source code on the lines mentioned in It would be much more useful to see some diagnostics about which Regards, |
From @stmukIt seems a bit unfair ("shooting the messenger") blaming zef for Looking at what triggers this error... https://github.com/niner/Inline-Perl5/blob/master/Build.pm#L6 suggests you need 5.18 or better and it doesn't look this is installed. Note also the docs https://github.com/niner/Inline-Perl5/blob/master/README.md (under BUILDING) says your Perl 5 needs to be built with particular It's probably worth checking this is the case when you upgrade perl 5. If you have to rebuild perl5 from source you may (not sure) also have This all *should* work on Windows (although I'd be unsurprised if Cheers Steve On 29 September 2017 at 17:06, Ville Koskinen
-- |
The RT System itself - Status changed from 'new' to 'open' |
From villek@matrixscience.comThanks, that helps. I wasn't sure where to file this bug, because this What looks odd to me is the line Can't find string terminator '"' anywhere before EOF at -e line 1. which is presumably the command shell('perl -e "use v5.18;"') on the line you linked to in zef's Build.pm. Is shell a Perl 6 built-in? Indeed, if you try this line at the REPL prompt: PS C:\rakudo> .\bin\perl6
Problem isn't lack of Perl 5: PS C:\rakudo> perl -v This is perl 5, version 26, subversion 0 (v5.26.0) built for Regards, On 01/10/2017 13:53, Steve Mynott via RT wrote:
-- villek@matrixscience.com Matrix Science Ltd. is registered in England and Wales |
From @stmukWell spotted! Docs at https://docs.perl6.org/routine/shell may help But this looks to me to be a known issue "quote bug in shell command on windows" https://rt.perl.org/Public/Bug/Display.html?id=131814 On 2 October 2017 at 09:06, Ville Koskinen <villek@matrixscience.com> wrote:
-- |
Migrated from rt.perl.org#132183 (status was 'open')
Searchable as RT132183$
The text was updated successfully, but these errors were encountered: