Skip to content

Elixir.Macro.Env.beam file differs between builds #10000

@bmwiedemann

Description

@bmwiedemann

Environment

  • Elixir & Erlang/OTP versions (elixir --version): elixir-1.10.3 ; erlang-22.3
  • Operating system: openSUSE-Tumbleweed 20200427

Current behavior

Builds of elixir packages differ between 1-core-VM and 4-core-VM in Elixir.Macro.Env.beam
The start of the main diff has elixir-1.10.3/lib/elixir/lib/macro/env.exj Dbgi

Two builds on 4-core-VMs produce proper identical results.

Expected behavior

It should be possible to produce identical build results anywhere, anytime.
See https://reproducible-builds.org/ for why this matters.

This is sort of a regression on what was all fixed back in #8689
My last reproducible build happened on 2020-04-01 with elixir-1.9.4

How to reproduce:

osc co openSUSE:Factory/elixir && cd $_
for N in 1 4 ; do
  osc build --no-service --vm-type=kvm \
    --keep-pkg=RPMS.$N -j$N
  unrpm RPMS.$N/elixir-1.10.3-0.noarch.rpm
  hexdump -C usr/lib/elixir/lib/elixir/ebin/Elixir.Macro.Env.beam > $N.hex
done
diff -u {1,4}.hex

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