petdance/scratch — Issue #386: Configure.pl from tools/dev/create_language.pl doesn't play nice with git
Author: petdance
Created: 2011-11-14 06:07:47+00:00
State: open
Labels: bug, Pri-major, Sev-high, tools

The `Configure.pl` script generated by `tools/dev/create_language.pl` clones Parrot from GitHub, but it's not quite right. It still thinks `build/PARROT_REVISION` contains a numeric revision number, not a tag or checksum, which makes it emit this error:
`Argument "RELEASE_3_0_0" isn't numeric in addition (+) at Configure.pl line 25, <$REQ> line 1.`

The corresponding `build/gen_parrot.pl` has a similar problem:

`Argument "RELEASE_3_0_0" isn't numeric in addition (+) at build/gen_parrot.pl line 31, <$REQ> line 1.`

Perhaps the simplest way to fix this would be to adapt the solution used in Rakudo's `Configure.pl`.

Originally http://trac.parrot.org/parrot/ticket/2003