Skip to content

yesod-static binaries differ from filesystem readdir order #1684

@bmwiedemann

Description

@bmwiedemann

Bug Reports

  • Your OS name and version: openSUSE-Tumbleweed-20200629

  • The versions of tools you're using (e.g. stack, yesod ghc): yesod-1.6.0.1, ghc-8.10.1

  • Finally, if possible, please reproduce the error in a small script, or if necessary create a new Github repo with the smallest possible reproducing case: I would, if I knew Haskell.

While working on reproducible builds for openSUSE, I found that our git-annex package varied across builds and a discussion at
https://git-annex.branchable.com/bugs/git-annex_does_not_build_reproducibly_from_readdir_order/ made me conclude that yesod-static causes its .o file to contain static files in random filesystem readdir order. Some (sort fs) in the right places might be needed.

See https://reproducible-builds.org/ for why this matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions