[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1048: chicken-install is broken when TMPDIR=./ (
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1048: chicken-install is broken when TMPDIR=./ (was: Cross compiled chicken-install is broken in Chicken 4.8.2) |
Date: |
Mon, 26 Aug 2013 09:00:57 -0000 |
#1048: chicken-install is broken when TMPDIR=./
-------------------------+--------------------------------------------------
Reporter: iraikov | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.9.0
Component: core tools | Version: 4.8.x
Resolution: | Keywords: chicken-install
-------------------------+--------------------------------------------------
Changes (by iraikov):
* keywords: cross chicken-install => chicken-install
Old description:
> I have just tried to use chicken-install with Chicken 4.8.2 cross-
> compiled for x86_64 and SPARC in Linux, and it seems that there is a bug
> in the cross compilation code, beginning on line 599.
>
> chicken-install copies the egg files from $EGGDIR/* to $TMPCOPY/*
> and then tries to run the .setup file residing in $TMPCOPY/$EGGNAME
> instead of $TMPCOPY. So either the files need to be copied to
> $TMPCOPY/$EGGNAME, or the path to the .setup file needs to be constructed
> twice, once for the host and a second time for target.
New 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...
}}}
--
--
Ticket URL: <http://bugs.call-cc.org/ticket/1048#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.