Opened 5 years ago

Closed 5 years ago

#1608 closed defect (fixed)

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

Reported by: Vasilij Schneidermann 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 Vasilij Schneidermann 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by Vasilij Schneidermann

comment:1 Changed 5 years ago by sjamaan

Milestone: someday5.1

comment:2 Changed 5 years ago by Vasilij Schneidermann

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 5 years 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 5 years ago by Vasilij Schneidermann

Resolution: fixed
Status: newclosed

Fixed on master

Note: See TracTickets for help on using tickets.