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

splint package does not build reproducibly #8

Open
bmwiedemann opened this issue Aug 11, 2017 · 2 comments
Open

splint package does not build reproducibly #8

bmwiedemann opened this issue Aug 11, 2017 · 2 comments

Comments

@bmwiedemann
Copy link

SPLINT_VERSION includes output of date so that building on different days gives different output binaries.
See https://reproducible-builds.org/ for why this matters and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797254
for a possible patch (needs to be ported from configure to configure.ac)

One simple alternative would be to not include the build date into SPLINT_VERSION at all.

@bpringlemeir
Copy link
Collaborator

Do you still maintain the package? I considered replacing the date with a git tag. However, I see that we have LCL_COMPILE which is defined as "Compiled using $CC $CFLAGS on uname -a by whoami". We removed the autoconf stuff from git so this will be generated and who ever runs the autoconf will change this string.

@bmwiedemann
Copy link
Author

We still have the package:
https://build.opensuse.org/package/show/openSUSE:Factory/splint solves those with splint-3.1.2-no-uname.patch and splint-3.1.2-build-date-override.patch so for us it builds reproducibly atm, but I always try to contribute such patches upstream so that other distributions benefit as well.

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

No branches or pull requests

2 participants