Opened 6 months ago

Closed 6 months 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 months ago by felix

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

comment:2 Changed 6 months ago by felix

I added a note in the manual.

comment:3 Changed 6 months ago by felix

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.