Hi,

Am Donnerstag, den 14.05.2015, 10:04 +0200 schrieb Joachim Breitner:
> since 7.8, GHC’s interface files seem to record dependencies with their
> full file path, e.g.:
> addDependentFile "/build/ghc-Na5lKv/ghc-7.8.4/includes/MachDeps.h"
> 
> This causes interface hashes to change and hence a complete rebuild of
> all Debian Haskell packages after an upload of GHC :-(
> 
> Maybe the build system can be patched to use relative filenames, haven’t
> checked yet. Volunteers welcome!

despite a comment in the code, these files are not always absolute:

./usr/lib/ghc/base-4.7.0.2/System/Info.hi
--- /dev/fd/63  2015-05-14 10:15:20.278404032 +0200
+++ /dev/fd/62  2015-05-14 10:15:20.278404032 +0200
@@ -5,7 +5,7 @@
 Way: Wanted [],
      got    []
 interface base:System.Info 7084
-  interface hash: 038b3a2a32cd43c6a82b096e3ef5c665
+  interface hash: 4ff1db7940716ca0e906d3f6b7af1166
   ABI hash: 67cae6f933216805d975ee28cd5ea72d
   export-list hash: 89e8b7a3bfc33bdb505eb586ca9fe64e
   orphan hash: 693e9af84d3dfcc71e640e005bdc5e2e
@@ -64,7 +64,7 @@
   divMod e11d60a38cd49de2f6058cc39227517a
 import safe Prelude 74043f272d60acec1777d3461cfe5ef4
   exports: be888345b248b32ace8f805dd49f3def
-addDependentFile "/build/ghc-LIQtDg/ghc-7.8.4/includes/ghcplatform.h"
+addDependentFile "/build/ghc-Na5lKv/ghc-7.8.4/includes/ghcplatform.h"
 addDependentFile "libraries/base/dist-install/build/autogen/cabal_macros.h"
 addDependentFile "/usr/include/stdc-predef.h"
 f85496685a82c42827c38c1ecec0b5fd

So this should be possible to fix in the build system. 

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: [email protected] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to