Summary

chicken-install checks for installed files even when -n is passed

Metadata

Attachments

Description

I've discovered chicken-install -n for fetching dependencies and building programs without actually installing them. Unfortunately chicken-install refuses building programs if such a program has been installed before, despite passing an option to not install anything.

I've attached a simple fix that moves the check right before actually installing the files.

Changes and comments

[2019-04-13 18:25:44 UTC] wasamasa attached 0001-Check-for-installed-files-iff-installing-them.patch (description=#f)

[2019-04-13 21:31:40 UTC] sjamaan changed milestone from someday to 5.1

[2019-05-11 23:33:03 UTC] wasamasa wrote:

Clarification: The conflict situation happens if you have two different eggs that provide the same file. Suppose you install an elephantdb egg providing a createdb program and build a personal-stuff egg providing a createdb program, too. Installing the former works fine, building the latter doesn't. The change I propose here would allow building the latter, but still prevent you from installing the latter.

[2019-05-17 22:10:26 UTC] sjamaan wrote:

Note that the egg's name must be different from the egg that originally installed the program or library that you're building in the new egg.

[2019-05-27 12:34:28 UTC] wasamasa changed status from new to closed

[2019-05-27 12:34:28 UTC] wasamasa set resolution to fixed

[2019-05-27 12:34:28 UTC] wasamasa wrote:

Fixed on master