# New Ticket Created by S. Schulze # Please include the string: [perl #82524] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=82524 >
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.
gen_version_patch
Description: Binary data
