[Hackage] #329: Cabal regenerates Paths_package unnecessarily

#329: Cabal regenerates Paths_package unnecessarily ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.4.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- Every time I run {{{cabal install}}}, cabal rebuilds and relinks part of my application, because it generates a fresh Paths_package, even though it is the same. When overwriting Paths_package Cabal should first check to see if the code changes, and if not, not write anything. Example of the bug: {{{ C:\Neil\hoogle>cabal --version cabal-install version 0.5.2 using version 1.4.0.1 of the Cabal library C:\Neil\hoogle>cabal install Resolving dependencies... Configuring hoogle-4.0.0.4... Preprocessing executables for hoogle-4.0.0.4... Building hoogle-4.0.0.4... [ 4 of 77] Compiling Paths_hoogle ( dist\build\autogen/Paths_hoogle.hs, dist \build\hoogle\hoogle-tmp/Paths_hoogle.o ) Linking dist\build\hoogle\hoogle.exe ... Installing: C:\Documents and Settings\Administrator\Application Data\cabal\bin C:\Neil\hoogle>cabal install Resolving dependencies... Configuring hoogle-4.0.0.4... Preprocessing executables for hoogle-4.0.0.4... Building hoogle-4.0.0.4... [ 4 of 77] Compiling Paths_hoogle ( dist\build\autogen/Paths_hoogle.hs, dist \build\hoogle\hoogle-tmp/Paths_hoogle.o ) Linking dist\build\hoogle\hoogle.exe ... Installing: C:\Documents and Settings\Administrator\Application Data\cabal\bin }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/329 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#329: Cabal regenerates Paths_package unnecessarily
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.4.0.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in Cabal HEAD 7 days ago. How's that for a response time? ;-)
{{{
Wed Aug 13 20:32:45 BST 2008 Duncan Coutts Wed Aug 13 20:20:17 BST 2008
Duncan Coutts
participants (1)
-
Hackage