[Hackage] #608: Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build'

#608: Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build' ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build'. Reproduction steps for the included cabal package: - Run 'cabal configure && cabal build && cabal test' - The test output should be "I helped with lots of stuff!" - Change the string in Distribution/Helper.hs to "I didn't help with " - Rerun 'cabal configure && cabal build && cabal test' -- the output should change to "I didn't help with lots of stuff!", but nothing recompiles and the output doesn't change. Although the attached cabal package is minimal, I've observed this behavior with darcs's Distribution/ShellHarness. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/608 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#608: Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build' ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: ----------------------------+----------------------------------------------- Changes (by guest): * cc: kim_hackage@arlim.org (added) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/608#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#608: Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build' ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: ---------------------------------+------------------------------------------ Comment (by duncan): Specifically, it recompiles if Setup.hs changes but not if any of the things that Setup.hs imports change. This because Cabal itself does not track module dependencies and because we do not call ghc --make on it every single time. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/608#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage