Skip to content

filesystem-related nondeterminism from libgit2-sys #618

Closed
@bmwiedemann

Description

@bmwiedemann

While working on reproducible builds for openSUSE, I found that
when building below packages, there were slight differences between each build:

  • bat
  • cargo-c
  • exa
  • onefetch

from libgit2-sys
e.g. around git_attr_get_many_with_session.cold

My analysis showed that it is from filesystem-ordering.

I see ordering issues in the build env
/home/abuild/rpmbuild/BUILD/bat-0.15.4/target/release/build/libgit2-sys-c2cd739238a5d529/output
where .h files change order.

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