#1608 closed defect (fixed)

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

Reported by: wasamasa Owned by:
Priority: minor Milestone: 5.1
Component: core tools Version: 5.0.0
Keywords: chicken-install Cc:
Estimated difficulty: trivial

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.

Attachments (1)

0001-Check-for-installed-files-iff-installing-them.patch (1.4 KB) - added by wasamasa 16 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 months ago by sjamaan

Milestone: someday5.1

comment:2 Changed 15 months ago by wasamasa

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.

comment:3 Changed 15 months ago by sjamaan

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.

comment:4 Changed 15 months ago by wasamasa

Resolution: fixed
Status: newclosed

Fixed on master

Note: See TracTickets for help on using tickets.