Bug#779135: sgabios: please make the build reproducible
Hi Chris On Sun, 2017-03-05 at 09:29 +, Chris Lamb wrote: > > Would you consider applying this patch and uploading? > > Friendly ping on this :) I'm glad that it still is a friendly ping. I added your further changes to d/rules and uploaded sgabios to mentors.d.n [1]. But feel free to rebuild from source using branch debian/master [2], sgabios uses gbp. Greetings Daniel [1] https://mentors.debian.net/package/sgabios [2] https://github.com/ymc/sgabios-debian.git signature.asc Description: This is a digitally signed message part
Bug#779135: sgabios: please make the build reproducible
> Would you consider applying this patch and uploading? Friendly ping on this :) Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#779135: sgabios: please make the build reproducible
Hi Daniel, > could you do the actual upload for me? Sure, however, I think there were some limitations in my patch from back then. Please could you change it to: -BUILD_HOST = debian +BUILD_HOST = generic -BUILD_USER = debian +BUILD_USER = generic BUILD_DATE = $(shell dpkg-parsechangelog --show-field=Date) -BUILD_SHORT_DATE = $(shell date --date="$(BUILD_DATE)" +%D) +BUILD_SHORT_DATE = $(shell date --utc --date="$(BUILD_DATE)" +%D) It shouldn't "really" say Debian in our derivatives (or it would just be a bit confusing), and we need to print the date in the UTC timezone. Very happy to upload once this is done. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#779135: sgabios: please make the build reproducible
Hi Chris Am Donnerstag, den 18.08.2016, 09:57 +0100 schrieb Chris Lamb: > No problem; did you manage to get around to uploading? :) > It took a bit longer (at least not an other 500+ days), but I managed to prepare an updated version 0.0~svn8-4 containing your patch. Since I do not have upload rights, could you do the actual upload for me? You can either use my upload to mentors.d.n [1] or simply build it yourself from git [2], branch debian/master (sgabios now uses gbp). Thanks Daniel [1] https://mentors.debian.net/package/sgabios [2] https://github.com/ymc/sgabios-debian.git signature.asc Description: This is a digitally signed message part
Bug#779135: sgabios: please make the build reproducible
Daniel Beyer wrote: > thanks for the reminder. I'll try to prepare an upload tomorrow. No problem; did you manage to get around to uploading? :) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#779135: sgabios: please make the build reproducible
Hi Chris, thanks for the reminder. I'll try to prepare an upload tomorrow. Greetings Daniel signature.asc Description: This is a digitally signed message part
Bug#779135: sgabios: please make the build reproducible
Dear Maintainer, > Source: sgabios > Version: 0.0~svn8-3 > Tags: patch There hasn't seem to be any update on this bug in 536 days, in which time the Reproducible Builds effort has come on a long way. :) Would you consider applying this patch and uploading? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#779135: sgabios: please make the build reproducible
Source: sgabios Version: 0.0~svn8-3 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps hostname X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Hi, While working on the reproducible builds effort [1], we have noticed that sgabios could not be built reproducibly. The attached patch removes timestamps and hostnames from the build system. Once applied, sgabios can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- diff -urNad sgabios.orig/sgabios-0.0~svn8/debian/rules sgabios/sgabios-0.0~svn8/debian/rules --- sgabios.orig/sgabios-0.0~svn8/debian/rules 2015-02-24 17:02:48.789379462 + +++ sgabios/sgabios-0.0~svn8/debian/rules 2015-02-24 18:14:54.836871967 + @@ -1,5 +1,10 @@ #!/usr/bin/make -f +BUILD_HOST = debian +BUILD_USER = debian +BUILD_DATE = $(shell dpkg-parsechangelog --show-field=Date) +BUILD_SHORT_DATE = $(shell date --date=$(BUILD_DATE) +%D) + %: +dh $@ @@ -7,6 +12,13 @@ make clean rm -f .depend +override_dh_auto_build: + make \ + BUILD_HOST=\\\$(BUILD_HOST)\\\ \ + BUILD_USER=\\\$(BUILD_USER)\\\ \ + BUILD_DATE=\\\$(BUILD_DATE)\\\ \ + BUILD_SHORT_DATE=\\\$(BUILD_SHORT_DATE)\\\ + override_dh_auto_configure override_dh_auto_test: # nothing to do