[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1220: Problems with chicken-status -f after using ch
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1220: Problems with chicken-status -f after using chicken-install -p |
Date: |
Thu, 10 Sep 2015 22:28:36 -0000 |
#1220: Problems with chicken-status -f after using chicken-install -p
----------------------+---------------------
Reporter: ryuslash | Owner:
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: unknown | Version: 4.10.x
Keywords: |
----------------------+---------------------
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.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1220>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1220: Problems with chicken-status -f after using chicken-install -p,
Chicken Trac <=