Ticket #2003 (assigned bug)

Opened 11 years ago

Last modified 11 years ago

Configure.pl from tools/dev/create_language.pl doesn't play nice with git

Reported by: arnsholt Owned by: dukeleto
Priority: major Milestone:
Component: tools Version: 3.0.0
Severity: high Keywords:
Cc: Language:
Patch status: Platform: all

Description

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.

Change History

in reply to: ↑ description   Changed 11 years ago by jkeenan

  • owner set to dukeleto
  • component changed from none to tools

Replying to arnsholt:

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

Adding link to where that program is stored:  Rakudo's Configure.pl

  Changed 11 years ago by jkeenan

See also TT #2009.

  Changed 11 years ago by dukeleto

  • status changed from new to assigned
  • priority changed from normal to major
  • severity changed from medium to high
  • platform set to all

  Changed 11 years ago by dukeleto

This is most of the code that needs to be ported/borrowed:

 https://github.com/rakudo/rakudo/blob/master/build/lib/Parrot/CompareRevisions.pm

Note: See TracTickets for help on using tickets.