On Thu Jan 20 05:47:29 2011, thundergnat wrote:
> When building Rakudo under Windows, I noticed several warnings "fatal:
> No names found, cannot describe anything." during the make process.
> Investigating it closer, it stems from Windows Command.exe CLI being
> obstreperous about what quoting it will accept.
> 
> In /build/gen_version.pl, the line:
> 
> if (-d '.git' && open(my $GIT, '-|', "git describe --match '2*'")) {
> 
> https://github.com/rakudo/rakudo/blob/master/build/gen_version.pl#L17
> 
> fails because the Command.exe doesn't like the single quotes around
> '2*'. Changing it to:
> 
> if (-d '.git' && open(my $GIT, '-|', "git describe --match \"2*\"")) {
> 
> lets it work correctly and shouldn't affect less brain dead terminals
> negatively.
> 
> Before:
> 
> C:\Rakudo>C:\strawberry\perl\bin\perl.exe build\gen_version.pl
> # generated by build/gen_version.pl
> fatal: No names found, cannot describe anything.
> .macro_const RAKUDO_VERSION ''
> .macro_const RAKUDO_BUILD_DATE '2011-01-20T12:59:53Z'
> 
> C:\Rakudo>perl6 -v
> This is Rakudo Perl 6, version  built on parrot 3.0.0 RELEASE_3_0_0
> 
> After:
> 
> C:\Rakudo>C:\strawberry\perl\bin\perl.exe build\gen_version.pl
> # generated by build/gen_version.pl
> .macro_const RAKUDO_VERSION '2010.12-47-g13b405c'
> .macro_const RAKUDO_BUILD_DATE '2011-01-20T13:00:03Z'
> 
> C:\Rakudo>perl6 -v
> This is Rakudo Perl 6, version 2010.12-47-g13b405c built on parrot
> 3.0.0 RELEASE_3_0_0
> 
> Patch attached.

Thanks for the report.

This file is now here: parrot/tools/build/gen_version.pl

And no longer has the line referenced above; so any remaining problems are 
hopefully different.  Closing ticket.

If you still have windows build problems with the current build system, please 
open a new ticket, thanks!


-- 
Will "Coke" Coleda

Reply via email to