Skip to content
Snippets Groups Projects
Closed (moved) Output of go project contains nonreproducible datetime values
  • View options
  • Output of go project contains nonreproducible datetime values

  • View options
  • Closed (moved) Issue created by JeremyRand

    Steps to reproduce:

    1. Run ./rbm/rbm build go --target release --target torbrowser-linux-x86_64 twice.
    2. Compare the hashes of the results.

    Expected behavior:

    The hashes should be reproducible.

    Observed behavior:

    The hashes are not reproducible.

    Other info:

    I'm attaching a diffoscope. Most of the nonreproducibility seems to be due to datetime values. I suspect, but have not verified, that these datetime values are being inserted by the (currently unmaintained) Go 1.4.x compiler, and that therefore we can't expect an upstream fix. libfaketime seems like the most straightforward way to fix the issue. Would a patch be accepted that uses libfaketime to make the datetime values in the go project's output reproducible?

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading