Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make build reproducible #1

Closed
wants to merge 10 commits into from
Closed

Make build reproducible #1

wants to merge 10 commits into from

Conversation

akbisw
Copy link

@akbisw akbisw commented Nov 1, 2018

Whilst working on the Reproducible Builds effort [0], we noticed
that libzorpll could not be built reproducibly. This is due to the use
of uname to set ZORPLIB_ENABLE_STACKD​UMP based on build
architecture in a header file [1]. uname is known to be unreliable
especially in containers. If you have any questions or concerns about
this, please feel free to comment/critique. Happy to help in any way!

Also, noticed the use of date command for CURRDATE. But it seems
that CURRDATE is not being used anywhere. Dates are also a known
source of unreproducibility. If CURRDATE is ever used, please take
a look at SOURCE_DATE_EPOCH [2] instead to ensure reproducibility.

[0] https://reproducible-builds.org/
[1] https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/libzorpll.html
[2] https://reproducible-builds.org/specs/source-date-epoch/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants