racket / racket/racket

make install is not incremental for non-in-place builds

Open
#4,737 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build
Dominant language
Racket
Stars
5.2k
Forks
698
Avg merge
18h 34m
Merged PRs (30d)
5

Description

What version of Racket are you using?
8.10

What program did you run?

./configure ...
gmake
gmake install
gmake install

What should have happened?
Since I didn't rerun configure or change the content of any of the file inputs, gmake install should complete almost instantly without doing anything extra. (I tweaked some things outside Racket, which is what caused an automated process to rerun gmake install, but that's all.)

Instead, it seems to spend a long time recompiling all the Scheme code that was installed, even though it had already been compiled and I see no reason why it should have changed.

As a consequence, this makes incremental work on fixing build issues very slow and tedious.

Please include any other relevant details
NetBSD 9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with ./configure ..., gmake, and two consecutive gmake install runs on NetBSD 9. Trace the install step that recompiles installed Scheme code and identify why unchanged inputs are rebuilt; done means the second gmake install completes almost instantly without extra compilation.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.