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 #485

Open
jelly opened this issue Dec 7, 2019 · 1 comment · May be fixed by #487
Open

Make build reproducible #485

jelly opened this issue Dec 7, 2019 · 1 comment · May be fixed by #487

Comments

@jelly
Copy link

@jelly jelly commented Dec 7, 2019

The current libcec cannot be built twice on different machines since it records the buildtime in the binary. A solution is to honour SOURCE_DATE_EPOCH which is described on the reproducible builds website https://reproducible-builds.org/

bmwiedemann added a commit to bmwiedemann/libcec that referenced this issue Dec 17, 2019
to be more portable
and to allow for reproducible builds

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

Also consistently use ISO 8601 date format to be understood everywhere.

Fixes Pulse-Eight#485
@bmwiedemann bmwiedemann linked a pull request that will close this issue Dec 17, 2019
@bmwiedemann

This comment has been minimized.

Copy link

@bmwiedemann bmwiedemann commented Dec 17, 2019

in openSUSE we workaround it with
https://github.com/bmwiedemann/openSUSE/blob/master/packages/libc/libcec/libcec-build-compare.patch

but since it is cmake, one can use the TIMESTAMP macro to be more portable and provide reproducible builds at the same time. See #487 for that.

There are also build user, host and kernel version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.