Summary

chicken-install breaks when egg version is specified

Metadata

Attachments

Description

Reported by Jeronimo Pellegrini.

I've attached a patch which seems to fix the problem, but I'm not sure if it does the right thing.

 # chicken-install -v
 4.4.3
 # chicken-install srfi-42:1.7
 
 Error: (string=?) bad argument type: ("srfi-42" . "1.7")
 # chicken-install srfi-34:0.4
 
 Error: (string=?) bad argument type: ("srfi-34" . "0.4")
 # chicken-install tk:1.8
 
 Error: (string=?) bad argument type: ("tk" . "1.8")
 #
 
 >From the online help, it should work...
 
 # chicken-install -h
 usage: chicken-install [OPTION | EXTENSION[:VERSION]] ...
 ...
 
 Is this a bug or am I doing something wrong?
 
 Using HEAD from master branch...

Changes and comments

[2010-03-26 23:26:20 UTC] mario attached chicken-install-version.diff (description=Fix chicken-install crash when egg version is specified)

[2010-03-27 10:54:32 UTC] felix changed status from new to closed

[2010-03-27 10:54:32 UTC] felix set resolution to fixed

[2010-03-27 10:54:32 UTC] felix wrote:

Thanks for the patch, it is fine. Applied in fa8e6f7804c89d89035415e8309604be34014b80 (master).