Opened 6 years ago

Closed 6 years ago

#1469 closed defect (worksforme)

Egg installation doesn't work when CHICKEN_INSTALL_REPOSITORY is a relative path

Reported by: evhan Owned by:
Priority: major Milestone: 5.0
Component: core tools Version: 5.0.0
Keywords: Cc:
Estimated difficulty:

Description

If you set CHICKEN_INSTALL_REPOSITORY to relative path and install an egg, the generated install script will put the egg's files under ~/.chicken-install/cache rather than in the actual repository.

$ mkdir foo
$ export CHICKEN_INSTALL_REPOSITORY=foo
$ chicken-install srfi-1 >/dev/null
$ ls foo
$ chicken-status
(none)
$ find ~/.chicken-install/cache/srfi-1/foo -type f
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.import.so
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.o
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.so
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.link
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.egg-info
/home/evhan/.chicken-install/cache/srfi-1/foo/srfi-1.types

Change History (3)

comment:1 Changed 6 years ago by felix winkelmann

Well, don't do that. But this should be documented in any case.

comment:2 Changed 6 years ago by felix winkelmann

I added a note in the manual.

comment:3 Changed 6 years ago by felix winkelmann

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.