﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1220	Problems with chicken-status -f after using chicken-install -p	Tom Willemse	Christian Kellermann	"Hi,

When I use `chicken-install -p` to install an extension library to a non-default location and then move it to where all other extension libraries are installed, calling `chicken-install -f` on it produces the wrong results.

For example:

{{{
$ chicken-install -r xlib-utils
$ cd xlib-utils && mkdir foo
$ chicken-install -p foo
$ sudo mv foo/lib/chicken/7/* /usr/lib/chicken/7/
$ chicken-status -f xlib-utils
/home/slash/xlib-utils/foo/home/slash/xlib-utils/foo/lib/chicken/7/xlib-utils.import.so
/home/slash/xlib-utils/foo/home/slash/xlib-utils/foo/lib/chicken/7/xlib-utils.so
}}}

This is wrong for two reasons:

1. The files have been moved to `/usr/lib/chicken/7/`
2. The path `/home/slash/xlib-utils/foo/home/slash/xlib-utils/foo/lib/chicken/7/` never existed, it was `/home/slash/xlib-utils/foo/lib/chicken/7/`.

I packaged some extension libraries for the Archlinux User Repository and this is basically how packages are made, they are installed in a kind of staging area and then later put in the proper place from the package.

Everything still seems to work fine, programs depending on extension libraries installed this way don't seem to have any trouble with it, even when I remove the directory where the files were stored before being packaged."	defect	closed	minor	someday	unknown	4.10.x	wontfix			medium
