[Reproducible-builds] Bug#785282: New nondeterminism due to addDependentFile

Joachim Breitner nomeata at debian.org
Thu May 14 08:04:27 UTC 2015


Source: ghc
Version: 7.8.4-4
Severity: important
User: reproducible-builds at lists.alioth.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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!

You can check the contents of the the interface files using
$ ghc --show-iface /usr/lib/ghc/base-4.7.0.2/Data/OldTypeable/Internal.hi

Greetings,
Joachim


- -- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlVUVwkACgkQ9ijrk0dDIGx8YgCgq3O8vj+/1mdYAIv5T6/LOetl
pYkAn2NKht+1JAZvWiIBAjTEZAAuxt3r
=k0ze
-----END PGP SIGNATURE-----



More information about the Reproducible-builds mailing list