Summary

chicken-install is broken when TMPDIR=./

Metadata

Description

If the environment variable TMPDIR is set to ./ then chicken-install is unable to install eggs:

TMPDIR=./ chicken-install -debug datatype

 (snip)
 reading files ...
   ./datatype.meta
   ./datatype.scm
   ./datatype.setup
  datatype located at ./temp72ca.9084/datatype
 checking platform for `datatype' ...
 checking dependencies for `datatype' ...
 install order:
 ("datatype")
 installing datatype:1.4 ...
 changing current directory to ./temp72ca.9084/datatype
   '/home/igr/bin/chicken/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"datatype\" \"1.4\"))" 'temp72ca.9084/datatype/datatype.setup'
 
 Error: (open-input-file) cannot open file - No such file or directory: "temp72ca.9084/datatype/datatype.setup"
 
 	Call history:
 
 	setup-api.scm:582: ->string	  
 	setup-api.scm:583: ensure-string	  
 	setup-api.scm:582: ->string	  
 	setup-api.scm:645: user-install-setup	  
 	<syntax>	  (import setup-api)
 	<syntax>	  (import scheme chicken foreign irregex utils posix ports extras data-structures srfi-1 srfi-13 files......
 	<syntax>	  (##core#undefined)
 	<syntax>	  (##core#undefined)
 	<syntax>	  (extension-name-and-version (quote ("datatype" "1.4")))
 	<syntax>	  (quote ("datatype" "1.4"))
 	<syntax>	  (##core#quote ("datatype" "1.4"))
 	<eval>	  (extension-name-and-version (quote ("datatype" "1.4")))
 	setup-api.scm:583: ensure-string	  
 	setup-api.scm:582: ->string	  
 	setup-api.scm:583: ensure-string	  
 	setup-api.scm:582: ->string	  	<--
 
 
 Error: shell command terminated with nonzero exit code
 17920
 "'/home/igr/bin/chicken/bin/csi' -bnq -setup-mode -e \"(require-library setup-ap...

Changes and comments

[2013-08-26 09:48:42 UTC] sjamaan changed milestone from someday to 4.9.0

[2013-08-26 09:48:42 UTC] sjamaan wrote:

IIUC this is a regression, so this ought to be fixed before we release 4.9.0. Updating milestone to reflect this.

[2013-08-26 11:00:57 UTC] iraikov changed keywords from cross chicken-install to chicken-install

[2013-08-26 11:00:57 UTC] iraikov changed description

[2013-08-26 11:00:57 UTC] iraikov changed summary

[2013-08-26 16:17:59 UTC] sjamaan wrote:

Thanks for reporting this. I've sent a patch to chicken-hackers.

[2013-08-28 11:02:33 UTC] sjamaan changed status from new to closed

[2013-08-28 11:02:33 UTC] sjamaan set resolution to fixed

[2013-08-28 11:02:33 UTC] sjamaan wrote:

Pushed as bf0e0c03c9f3b7cff57848e1655c79505125b87a