[Reproducible-builds] Bug#828810: fakeroot: [PATCH] Make the build reproducible
Package: fakeroot Version: 1.21-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: environment Hi! While working on the "reproducible builds" effort [1], we have noticed that fakeroot could not be built reproducibly. The attached patch fix the shebang shell used in fakeroot.in to /bin/sh. Once applied, fakeroot can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp fakeroot-1.21.orig/debian/patches/fix-shell-in-fakeroot fakeroot-1.21/debian/patches/reproducible-build --- fakeroot-1.21.orig/debian/patches/fix-shell-in-fakeroot 1969-12-31 21:00:00.0 -0300 +++ fakeroot-1.21/debian/patches/fix-shell-in-fakeroot 2016-06-27 16:51:57.038058143 -0300 @@ -0,0 +1,13 @@ +Description: Fix shell in fakeroot.in + Use /bin/sh instead of @SHELL@ in fakeroot.in +Author: Juan Picca <jumap...@gmail.com> +Last-Update: 2016-06-27 +--- +--- a/scripts/fakeroot.in b/scripts/fakeroot.in +@@ -1,4 +1,4 @@ +-#!@SHELL@ ++#!/bin/sh + + # This script first starts faked (the daemon), and then it will run + # the requested program with fake root privileges. diff -urNp fakeroot-1.21.orig/debian/patches/series fakeroot-1.21/debian/patches/series --- fakeroot-1.21.orig/debian/patches/series 2016-06-26 19:07:15.0 -0300 +++ fakeroot-1.21/debian/patches/series 2016-06-27 16:48:01.489470826 -0300 @@ -1,2 +1,3 @@ eglibc-fts-without-LFS glibc-xattr-types +fix-shell-in-fakeroot ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Ideas about TimestampsFromCPPMacros issue.
Ximin, Dhole: Thanks for correct my misconception about the state of the issue and the discouragement of the patch sent by Dhole. Thanks to Dhole too for update the wiki page of the issue. Greetings, JMPC > On 16-02-11 20:13:25, Ximin Luo wrote: > > Juan Picca: > > > From the issue page > > > (https://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros) > > > i see that the usage of SOURCE_DATE_EPOCH was > > > discouraged in the gcc-patches mailing list thread. > > > > > > > Hi Juan, I think that was not discouragement, it was just neutral discussion about the consequences. > > > > As I understand the patch is going ahead and will eventually hit GCC 6. They just needed to find some time that's suitable for their release cycle. > > > > https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01590.html > > > > X > > Exactly! As Ximin says, the thread you included was from june 2015. > The message you show was not really a discouragement but a suggestion, > so it must be taken as any other suggestion, and I believe that the > message was not from a gcc maintainer. > > The thread that Ximin included is the most recent discussion, see the > beginning here: > https://gcc.gnu.org/ml/gcc-patches/2015-11/msg01890.html. > Basically I took the original patch and modified following the > suggestions from the gcc contributors in the original thread plus review > by the Debian gcc maintainer Matthias Klose > (you can follow the thread to learn more). Eventually the gcc people > seemed to have no further complain about the patch; I even signed the > copyright assignment. So the last message was that they are now at the > stage of fixing bugs in GCC 5, and they asked me to send the patch again > when the new feature stage for GCC 6 starts, which should be around > April 2016 :) > > -- > Dhole ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#792821: pkg-config: [PATCH] please make the build reproducible
Package: pkg-config Version: 0.28-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: locale Hi! While working on the reproducible builds effort [1], we have noticed that pkg-config could not be built reproducibly. The attached patch set the environment variable LC_ALL=C for the sort command in debian/rules whose output changes depending on the locale. Once applied, pkg-config can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp pkg-config-0.28.orig/debian/rules pkg-config-0.28/debian/rules --- pkg-config-0.28.orig/debian/rules 2015-07-18 17:04:57.0 -0300 +++ pkg-config-0.28/debian/rules 2015-07-18 17:10:01.381537676 -0300 @@ -14,7 +14,7 @@ endif SYSTEM_LIBDIRS := $(shell for opt in '' $$($${CC-$(GCC)} -print-multi-lib | sed -n -e's/.*;@/-/p'); do \ $(GCC) $$opt -print-search-dirs | sed -n -e's/^libraries: =//p' \ | sed -e's/:/\n/g' | xargs -n1 readlink -f | grep -v 'gcc\|/[0-9.]\+$$'; \ -done | sort -u | tr '\n' : | sed 's/:$$//') +done | LC_ALL=C sort -u | tr '\n' : | sed 's/:$$//') %: dh $@ --with autoreconf ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#792285: pkgconf: [PATCH] please make the build reproducible
Package: pkgconf Version: 0.9.7-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: locale Hi! While working on the reproducible builds effort [1], we have noticed that pkgconf could not be built reproducibly. The attached patch removes locale-specific ordering written in the binary file. Once applied, pkgconf can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -rNup pkgconf-0.9.7.orig/debian/rules pkgconf-0.9.7/debian/rules --- pkgconf-0.9.7.orig/debian/rules 2014-02-16 11:08:13.0 -0200 +++ pkgconf-0.9.7/debian/rules 2015-07-13 11:38:40.359016831 -0300 @@ -5,7 +5,7 @@ DEB_HOST_MULTIARCH := $(shell dpkg-a SYSTEM_LIBDIRS := $(shell for opt in '' $$($${CC-gcc} -print-multi-lib | sed -n -e's/.*;@/-/p'); do \ gcc $$opt -print-search-dirs | sed -n -e's/^libraries: =//p' \ | sed -e's/:/\n/g' | xargs -n1 readlink -f | grep -v 'gcc\|/[0-9.]\+$$'; \ -done | sort -u | tr '\n' : | sed 's/:$$//') +done | LC_ALL=C sort -u | tr '\n' : | sed 's/:$$//') %: dh $@ --with=autoreconf ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#785624: Timestamps in manpages generated makes builds non-reproducible
Package: doxygen Version: 1.8.9.1-3 Followup-For: Bug #785624 Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi. I created a patch for doxygen that allow get the current date and time from the DOXYGEN_CURRENTDATETIME environment variable in iso 8601 extended format. The expected usage in the debian/rules file is the following: LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) DOXYGEN_CURRENTDATETIME = $(shell LC_ALL=C date -uIs -d $(LAST_CHANGE)) export DOXYGEN_CURRENTDATETIME Comments are welcome. Greetings, Juan Picca Note: the code for parse the date is simplified from QDateTime Description: Allow set doxygen current date time from environment variable Allow use the DOXYGEN_CURRENTDATETIME environment variable for modify the current date and time used by doxygen for timestamp values. The expected format for DOXYGEN_CURRENTDATETIME is the ISO 8601 extended format. The code for parse the text in iso 8601 format is a simplification of the code from QDateTime::fromString, QDate::fromString and QTime::fromString. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-06-29 --- --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -49,7 +49,7 @@ static QCString dateToRTFDateString() { - const QDateTime d = QDateTime::currentDateTime(); + const QDateTime d = DoxygenDateTime::get(); QCString result; result.sprintf(\\yr%d\\mo%d\\dy%d\\hr%d\\min%d\\sec%d, d.date().year(), d.date().month(), d.date().day(), --- a/src/util.cpp +++ b/src/util.cpp @@ -90,6 +90,95 @@ #define REL_PATH_TO_ROOT ../../ // +// DoxygenDateTime implementation +// + +QDateTime DoxygenDateTime::current; // initialize static to null + +QDateTime DoxygenDateTime::get() +{ + if (current.isNull()) + { +if (const char* env_p = std::getenv(DOXYGEN_CURRENTDATETIME)) +{ + current = parseIso8601(env_p); +} +if (!current.isValid()) +{ + current = QDateTime::currentDateTime(); +} + } + return current; +} + +QDateTime DoxygenDateTime::parseIso8601(const QString s) +{ + if (s.isEmpty()) + { +return QDateTime(); + } + QString tmp = s; + const QDate date = parseIso8601Date(tmp.left(10)); + if (tmp.length() == 10) + { +return QDateTime(date); + } + tmp = tmp.mid(11); + if (tmp.at(tmp.length() - 1) == 'Z') + { + // skip UTC specifications + tmp = tmp.left(tmp.length() - 1); + } + else + { +// skip timezone specifications +QRegExp rx(QString([+-]).latin1()); +if (tmp.contains(rx)) +{ +int idx = tmp.find(rx); +tmp = tmp.left(idx); +} + } + const QTime time = parseIso8601Time(tmp); + return QDateTime(date, time); +} + +QDate DoxygenDateTime::parseIso8601Date(const QString s) +{ + if (s.isEmpty()) + { +return QDate(); + } + int year(s.mid(0, 4).toInt()); + int month(s.mid(5, 2).toInt()); + int day(s.mid(8, 2).toInt()); + if (year month day) { +return QDate(year, month, day); + } + return QDate(); +} + +QTime DoxygenDateTime::parseIso8601Time(const QString s) +{ + if (s.isEmpty()) + { +return QTime(); + } + bool ok = true; + const int hour(s.mid(0, 2).toInt(ok)); + if (!ok) +return QTime(); + const int minute(s.mid(3, 2).toInt(ok)); + if (!ok) +return QTime(); + const int second(s.mid(6, 2).toInt(ok)); + if (!ok) +return QTime(); + // ignore msec if exists + return QTime(hour, minute, second, 0); +} + +// // TextGeneratorOLImpl implementation // @@ -2460,7 +2549,7 @@ QCString fileToString(const char *name,b QCString dateToString(bool includeTime) { - QDateTime current = QDateTime::currentDateTime(); + QDateTime current = DoxygenDateTime::get(); return theTranslator-trDateTime(current.date().year(), current.date().month(), current.date().day(), @@ -2473,7 +2562,7 @@ QCString dateToString(bool includeTime) QCString yearToString() { - const QDate d=QDate::currentDate(); + const QDate d = DoxygenDateTime::get().date(); QCString result; result.sprintf(%d, d.year()); return result; --- a/src/util.h +++ b/src/util.h @@ -24,6 +24,8 @@ #include qlist.h #include ctype.h +#include cstdlib +#include qdatetime.h #include types.h #include sortdict.h #include docparser.h @@ -60,6 +62,18 @@ class FTextStream; // +/** Handle the doxygen date and time. */ +class DoxygenDateTime +{ + public: +static QDateTime get(); + private: +static QDateTime current; +static QDateTime parseIso8601(const QString s); +static QDate parseIso8601Date(const QString s); +static QTime parseIso8601Time(const
[Reproducible-builds] Bug#790235: basemap: [PATCH] please make the build reproducible
Package: basemap Version: 1.0.7+dfsg-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that basemap could not be built reproducibly. The attached patches removes extra timestamps from the build system. Once applied, basemap can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp basemap-1.0.7+dfsg.old/debian/rules basemap-1.0.7+dfsg/debian/rules --- basemap-1.0.7+dfsg.old/debian/rules 2012-08-10 18:36:52.0 -0300 +++ basemap-1.0.7+dfsg/debian/rules 2015-06-27 13:27:18.548667416 -0300 @@ -3,6 +3,11 @@ PYVERS := $(shell pyversions -s) LIB := $$(python -c from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=\$(BUILD_DATE)\ +SPHINXOPTS += -D today=\$(BUILD_DATE)\ + %: dh $@ --with sphinxdoc @@ -29,7 +34,7 @@ build-indep: # mpl_toolkits namespace ln -s $$(dirname $$(python -c import mpl_toolkits.axes_grid1 as p; print p.__file__)) $(CURDIR)/$(LIB)/mpl_toolkits/ # build doc only for default python version - (export MPLCONFIGDIR=. ; cd doc ; PYTHONPATH=$(CURDIR)/$(LIB) BASEMAPDATA=$(CURDIR)/lib/mpl_toolkits/basemap/data/ python make.py html) + (export MPLCONFIGDIR=. ; cd doc ; PYTHONPATH=$(CURDIR)/$(LIB) BASEMAPDATA=$(CURDIR)/lib/mpl_toolkits/basemap/data/ python make.py --sphinxopts=$(SPHINXOPTS) html) # remove hack rm $(CURDIR)/$(LIB)/mpl_toolkits/axes_grid1 Description: Modify doc/make.py to add sphinxopts options. Allow pass the value of sphinxopts command line option to sphinx-build. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-06-27 --- --- a/doc/make.py +++ b/doc/make.py @@ -5,13 +5,13 @@ import os import shutil import sys -def html(): -os.system('sphinx-build -b html -d build/doctrees . build/html') +def html(opts): +os.system('sphinx-build %s -b html -d build/doctrees . build/html' % opts.get('sphinxopts', '')) -def latex(): +def latex(opts): if sys.platform != 'win32': # LaTeX format. -os.system('sphinx-build -b latex -d build/doctrees . build/latex') +os.system('sphinx-build %s -b latex -d build/doctrees . build/latex' % opts.get('sphinxopts', '')) # Produce pdf. os.chdir('build/latex') @@ -27,12 +27,12 @@ def latex(): else: print 'latex build has not been tested on windows' -def clean(): +def clean(opts): shutil.rmtree('build') -def all(): -html() -latex() +def all(opts): +html(opts) +latex(opts) funcd = { @@ -44,11 +44,16 @@ funcd = { if len(sys.argv)1: +opts = {} for arg in sys.argv[1:]: +if arg.startswith('--sphinxopts='): +opts['sphinxopts'] = arg.replace('--sphinxopts=', '') +continue + func = funcd.get(arg) if func is None: raise SystemExit('Do not know how to handle %s; valid args are'%( arg, funcd.keys())) -func() +func(opts) else: -all() +all({}) ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789997: python-pysqlite2: [PATCH] please make the build reproducible
Package: python-pysqlite2 Version: 2.6.3-3 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-pysqlite2 could not be built reproducibly. The attached patches removes extra timestamps from the build system. Once applied, python-pysqlite2 can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-pysqlite2-2.6.3.old/debian/rules python-pysqlite2-2.6.3/debian/rules --- python-pysqlite2-2.6.3.old/debian/rules 2012-06-24 08:14:37.0 + +++ python-pysqlite2-2.6.3/debian/rules 2015-06-26 02:12:28.077796703 + @@ -8,6 +8,10 @@ include /usr/share/dpkg/buildflags.mk PYVERS = $(shell pyversions -r) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=\$(BUILD_DATE)\ + build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp @@ -60,7 +64,7 @@ binary-indep: dh_prep dh_installdirs -i usr/share/doc/python-pysqlite2-doc/html - python setup.py build_docs + python setup.py build_docs --sphinxopts=$(SPHINXOPTS) dh_installdocs -i build/doc/* cd debian/python-pysqlite2-doc/usr/share/doc/python-pysqlite2-doc \ mv *.html *.js *.inv _static _sources html \ Description: Modify DocBuilder command Modify DocBuilder command to use sphinxopts command line option for add parameters in the call to sphinx-build. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-06-25 --- --- a/setup.py +++ b/setup.py @@ -65,10 +65,10 @@ else: class DocBuilder(Command): description = Builds the documentation -user_options = [] +user_options = [(sphinxopts=, None, sphinx options)] def initialize_options(self): -pass +self.sphinxopts = def finalize_options(self): pass @@ -80,7 +80,7 @@ class DocBuilder(Command): except OSError: pass os.makedirs(build/doc) -rc = os.system(sphinx-build doc/sphinx build/doc) +rc = os.system(sphinx-build %s doc/sphinx build/doc % self.sphinxopts) if rc != 0: print Is sphinx installed? If not, try 'sudo easy_install sphinx'. ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789728: aegisub: [PATCH] please make the build reproducible
Package: aegisub Version: 3.1.2-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that aegisub could not be built reproducibly. The attached patch removes timestamps from the code. Once applied, aegisub can be built reproducibly. [1]: https://wiki.debian.org/ReproducibleBuilds Description: Only add timestamp when BUILD_CREDIT is defined Author: Juan Picca jumap...@gmail.com Last-Update: 2015-06-23 --- --- a/src/version.cpp +++ b/src/version.cpp @@ -58,7 +58,11 @@ const char *GetAegisubShortVersionString } const char *GetAegisubBuildTime() { +#ifdef BUILD_CREDIT return __DATE__ __TIME__; +#else + return ; +#endif } const char *GetAegisubBuildCredit() { ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789747: dipy: [PATCH] please make the build reproducible
Package: dipy Version: 0.7.1-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that dipy could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, dipy can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp dipy-0.7.1.old/debian/rules dipy-0.7.1/debian/rules --- dipy-0.7.1.old/debian/rules 2014-08-13 11:18:54.0 -0300 +++ dipy-0.7.1/debian/rules 2015-06-24 00:00:43.428334134 -0300 @@ -22,6 +22,10 @@ upver = $(shell echo $(debver) | cut -d MIN_CYTHONVER = 0.17.3 +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D today=\$(BUILD_DATE)\ + %: dh --buildsystem=python_distutils $@ @@ -74,7 +78,7 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTION cp -rp doc-examples/doc/examples_built/* doc/examples_built/ export PYTHONPATH=$$(/bin/ls -d $(INSTALL_PATH)/usr/lib/$(PYTHON)/*-packages) \ MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \ - cd doc; $(MAKE) html-after-examples + cd doc; $(MAKE) html-after-examples SPHINXOPTS=$(SPHINXOPTS) -rm doc/_build/html/_static/jquery.js -rm -r doc/_build/html/_sources : # objects inventory is of no use for the package ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789748: jansson: [PATCH] please make the build reproducible
Package: jansson Version: 2.7-3 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that jansson could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, jansson can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp jansson-2.7.old/debian/rules jansson-2.7/debian/rules --- jansson-2.7.old/debian/rules 2015-06-23 08:11:19.0 -0300 +++ jansson-2.7/debian/rules 2015-06-24 00:19:44.637089407 -0300 @@ -1,11 +1,15 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D today=\$(BUILD_DATE)\ + %: dh $@ --with=autoreconf,sphinxdoc override_dh_auto_build: dh_auto_build - $(MAKE) html + $(MAKE) html SPHINXOPTS=$(SPHINXOPTS) override_dh_strip: dh_strip --dbg-package=libjansson-dbg ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789752: mathjax-docs: [PATCH] please make the build reproducible
Package: mathjax-docs Version: 2.5+20150415-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that mathjax-docs could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, mathjax-docs can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp mathjax-docs-2.5+20150415.old/debian/rules mathjax-docs-2.5+20150415/debian/rules --- mathjax-docs-2.5+20150415.old/debian/rules 2015-05-03 15:25:41.0 -0300 +++ mathjax-docs-2.5+20150415/debian/rules 2015-06-24 02:07:45.499341887 -0300 @@ -1,11 +1,14 @@ #!/usr/bin/make -f # -*- makefile -*- +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --with sphinxdoc override_dh_auto_build: - sphinx-build . html + sphinx-build -D today=$(BUILD_DATE) . html override_dh_auto_clean: rm -rf html ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789751: python-pysaml2: [PATCH] please make the build reproducible
Package: python-pysaml2 Version: 2.4.0-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-pysaml2 could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-pysaml2 can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-pysaml2-2.4.0.old/debian/rules python-pysaml2-2.4.0/debian/rules --- python-pysaml2-2.4.0.old/debian/rules 2015-05-15 13:02:00.0 -0300 +++ python-pysaml2-2.4.0/debian/rules 2015-06-24 01:40:37.133414431 -0300 @@ -6,6 +6,9 @@ PYTHONS:=$(shell pyversions -vr) UPSTREAM_GIT = git://github.com/rohe/pysaml2.git -include /usr/share/openstack-pkg-tools/pkgos.make +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --buildsystem=python_distutils --with python2,sphinxdoc @@ -41,7 +44,7 @@ override_dh_clean: rm -rf build override_dh_sphinxdoc: - sphinx-build -b html doc debian/python-pysaml2-doc/usr/share/doc/python-pysaml2-doc/html + sphinx-build -D today=$(BUILD_DATE) -b html doc debian/python-pysaml2-doc/usr/share/doc/python-pysaml2-doc/html dh_sphinxdoc -O--buildsystem=python_distutils # Commands not to run ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#789733: migrate: [PATCH] please make the build reproducible
Package: migrate Version: 0.9.6-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that migrate could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, migrate can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp migrate-0.9.6.old/debian/rules migrate-0.9.6/debian/rules --- migrate-0.9.6.old/debian/rules 2015-04-27 05:42:44.0 -0300 +++ migrate-0.9.6/debian/rules 2015-06-23 19:06:31.450484794 -0300 @@ -12,6 +12,9 @@ DEB_UPSTREAM_VERSION=$(shell dpkg-parsec DOCS=$(shell find docs/ -name *.rst -printf %p ) PYLIBDIR=$(call py_libdir,$(shell pyversions -d)) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --with python2,sphinxdoc --buildsystem=python_distutils @@ -23,7 +26,7 @@ override_dh_auto_clean: override_dh_auto_install: # install documentation - PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N \ + PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N -D today=$(BUILD_DATE) \ doc/source \ debian/python-migrate/usr/share/doc/python-migrate/html/ cp debian/install.tmpl debian/install ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788596: simplejson: [PATCH] please make the build reproducible
Package: simplejson Version: 3.7.3-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that simplejson could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, simplejson can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp simplejson-3.7.3.old/debian/rules simplejson-3.7.3/debian/rules --- simplejson-3.7.3.old/debian/rules 2014-09-07 10:55:45.0 -0300 +++ simplejson-3.7.3/debian/rules 2015-06-12 21:00:25.234750413 -0300 @@ -6,13 +6,17 @@ export PYBUILD_DESTDIR_python3=debian/py export PYBUILD_DESTDIR_python3-dbg=debian/python3-simplejson-dbg/ export PYBUILD_DESTDIR_pypy=debian/pypy-simplejson/ +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + %: dh $@ --with python2,python3,pypy,sphinxdoc --buildsystem=pybuild build-indep: dh_testdir dh_installdirs - sphinx-build -N -q -E -b html . \ + sphinx-build $(SPHINXOPTS) -N -q -E -b html . \ $(CURDIR)/debian/python-simplejson-doc/usr/share/doc/python-simplejson-doc/ override_dh_sphinxdoc: ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788597: waitress: [PATCH] please make the build reproducible
Package: waitress Version: 0.8.9-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that waitress could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, waitress can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp waitress-0.8.9.old/debian/rules waitress-0.8.9/debian/rules --- waitress-0.8.9.old/debian/rules 2014-04-24 03:17:57.0 -0300 +++ waitress-0.8.9/debian/rules 2015-06-12 21:19:59.862755145 -0300 @@ -4,12 +4,16 @@ export PYBUILD_DESTDIR_python2=debian/py export PYBUILD_DESTDIR_python3=debian/python3-waitress/ export PYBUILD_DISABLE=test +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -N -D html_last_updated_fmt=\$(BUILD_DATE)\ + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build -v - $(MAKE) -C docs clean html SPHINXOPTS=-N + $(MAKE) -C docs clean html SPHINXOPTS=$(SPHINXOPTS) override_dh_auto_clean: dh_auto_clean ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788594: pywavelets: [PATCH] please make the build reproducible
Package: pywavelets Version: 0.2.2-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that pywavelets could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, pywavelets can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp pywavelets-0.2.2.old/debian/rules pywavelets-0.2.2/debian/rules --- pywavelets-0.2.2.old/debian/rules 2013-07-14 07:58:56.0 + +++ pywavelets-0.2.2/debian/rules 2015-06-12 12:42:12.719771057 + @@ -12,6 +12,10 @@ PYVERS = $(shell pyversions -vr) PACKAGE_NAME = python-pywt MODULE_NAME = PyWavelets +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=\$(BUILD_DATE)\ + TESTS = \ test_doc.py \ test_perfect_reconstruction.py \ @@ -34,7 +38,7 @@ build-stamp: build-docs $(PYVERS:%=build touch $@ build-docs: - make -C doc html + make -C doc html SPHINXOPTS=$(SPHINXOPTS) touch $@ build-ext-%: ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788467: astroquery: [PATCH] please make the build reproducible
Package: astroquery Version: 0.2.4+dfsg-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that astroquery could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, astroquery can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp astroquery-0.2.4+dfsg.old/debian/rules astroquery-0.2.4+dfsg/debian/rules --- astroquery-0.2.4+dfsg.old/debian/rules 2015-04-07 06:53:09.0 -0300 +++ astroquery-0.2.4+dfsg/debian/rules 2015-06-11 09:10:16.195865837 -0300 @@ -6,12 +6,16 @@ export PYBUILD_TEST_PYTEST=1 export PYBUILD_TEST_ARGS=../../../astroquery export http_proxy=127.0.0.1:9 +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build - PYTHONPATH=. sphinx-build -N -bhtml docs/ build/html # HTML generator + PYTHONPATH=. sphinx-build $(SPHINXOPTS) -N -bhtml docs/ build/html # HTML generator override_dh_auto_clean: dh_auto_clean ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788469: glance: [PATCH] please make the build reproducible
Package: glance Version: 2015.1.0-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that glance could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, glance can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp glance-2015.1.0.old/debian/rules glance-2015.1.0/debian/rules --- glance-2015.1.0.old/debian/rules 2015-04-30 18:46:13.0 -0300 +++ glance-2015.1.0/debian/rules 2015-06-11 09:29:37.859893246 -0300 @@ -6,6 +6,11 @@ include /usr/share/openstack-pkg-tools/p export OSLO_PACKAGE_VERSION=$(VERSION) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D today=$(BUILD_DATE) +SPHINXOPTS += -D html_last_updated_fmt=$(BUILD_DATE) + %: dh $@ --buildsystem=python_distutils --with python2,sphinxdoc,systemd @@ -25,13 +30,13 @@ override_dh_auto_build: override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html doc/source $(CURDIR)/debian/python-glance-doc/usr/share/doc/python-glance-doc/html + sphinx-build $(SPHINXOPTS) -b html doc/source $(CURDIR)/debian/python-glance-doc/usr/share/doc/python-glance-doc/html dh_sphinxdoc -O--buildsystem=python_distutils endif override_dh_installman: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b man doc/source doc/build/man + sphinx-build $(SPHINXOPTS) -b man doc/source doc/build/man dh_installman -O--buildsystem=python_distutils endif ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788476: mpi4py: [PATCH] please make the build reproducible
Package: mpi4py Version: 1.3.1+hg20131106-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that mpi4py could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, mpi4py can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp mpi4py-1.3.1+hg20131106.old/debian/rules mpi4py-1.3.1+hg20131106/debian/rules --- mpi4py-1.3.1+hg20131106.old/debian/rules 2014-11-24 12:21:30.0 -0200 +++ mpi4py-1.3.1+hg20131106/debian/rules 2015-06-11 09:35:09.259901065 -0300 @@ -8,6 +8,9 @@ PY3VERS = $(shell py3versions -vr) CYTHON_VER := $(shell dpkg -l cython 2/dev/null | awk '/^ii/{print $$3;}' || echo 0) RECONF = $(shell dpkg --compare-versions $(CYTHON_VER) ge 0.19.1 echo ,autoreconf || echo ) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + # Specify a specific version of MPI to use in the build, otherwise # just use the default. # MPI=.openmpi @@ -40,7 +43,7 @@ override_dh_auto_build: : # Build documentation now PYTHONPATH=`/bin/ls -d $(CURDIR)/build/lib.*$(PY2)` \ - make -C docs/source/usrman/ html + make -C docs/source/usrman/ html SPHINXOPTS=-D today=\$(BUILD_DATE)\ override_dh_auto_install: dh_auto_install ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788477: musicbrainzngs: [PATCH] please make the build reproducible
Package: musicbrainzngs Version: 0.5-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that musicbrainzngs could not be built reproducibly. The attached patch removes extra timestamps from the build system. ensure a stable file order when creating the source archive. Once applied, musicbrainzngs can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp musicbrainzngs-0.5.old/debian/rules musicbrainzngs-0.5/debian/rules --- musicbrainzngs-0.5.old/debian/rules 2014-10-12 18:28:41.0 -0200 +++ musicbrainzngs-0.5/debian/rules 2015-06-11 09:50:54.495923368 -0300 @@ -4,12 +4,16 @@ #export DH_VERBOSE=1 export PYBUILD_NAME=musicbrainzngs + +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build - make -C docs html + make -C docs html SPHINXOPTS=-D html_last_updated_fmt=\$(BUILD_DATE)\ override_dh_clean: rm -rf docs/_build ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788478: ns3: [PATCH] please make the build reproducible
Package: ns3 Version: 3.22+dfsg-1 Severity: wishlist Template taken from https://wiki.debian.org/ReproducibleBuilds/Contribute Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that ns3 could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, ns3 can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp ns3-3.22+dfsg.old/debian/rules ns3-3.22+dfsg/debian/rules --- ns3-3.22+dfsg.old/debian/rules 2015-05-14 02:08:16.0 -0300 +++ ns3-3.22+dfsg/debian/rules 2015-06-11 10:05:28.687943994 -0300 @@ -14,15 +14,20 @@ BUILD_OPTION=$(shell if [ $(MEMORY) -lt CPU_CORES=$(shell nproc) BUILD_OPTION_OPTIPNG=$(shell echo -j$(CPU_CORES)) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D today=\$(BUILD_DATE)\ +SPHINXOPTS += -D html_last_updated_fmt=\$(BUILD_DATE)\ + %: dh $@ --with python2 build-indep: build-doc-stamp build-doc-stamp: - make html man -C ./$(NS3_DIR)/doc/manual/ - make html man -C ./$(NS3_DIR)/doc/models/ - make html man -C ./$(NS3_DIR)/doc/tutorial/ + make html man -C ./$(NS3_DIR)/doc/manual/ SPHINXOPTS=$(SPHINXOPTS) + make html man -C ./$(NS3_DIR)/doc/models/ SPHINXOPTS=$(SPHINXOPTS) + make html man -C ./$(NS3_DIR)/doc/tutorial/ SPHINXOPTS=$(SPHINXOPTS) rm ns-3.*/doc/*/build/*/_static/jquery.js rm ns-3.*/doc/*/build/*/_static/underscore.js touch $@ ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788479: oslo-config: [PATCH] please make the build reproducible
Package: oslo-config Version: 1.9.3-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that oslo-config could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, oslo-config can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp oslo-config-1.9.3.old/debian/rules oslo-config-1.9.3/debian/rules --- oslo-config-1.9.3.old/debian/rules 2015-04-27 06:02:17.0 -0300 +++ oslo-config-1.9.3/debian/rules 2015-06-11 11:22:23.656052882 -0300 @@ -5,6 +5,10 @@ PYTHON3S:=$(shell py3versions -vr) UPSTREAM_GIT = git://github.com/openstack/oslo.config.git +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) @@ -40,7 +44,7 @@ endif override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html doc/source $(CURDIR)/debian/python-oslo.config-doc/usr/share/doc/python-oslo.config-doc/html + sphinx-build $(SPHINXOPTS) -b html doc/source $(CURDIR)/debian/python-oslo.config-doc/usr/share/doc/python-oslo.config-doc/html dh_sphinxdoc -O--buildsystem=python_distutils endif ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788480: oslo.messaging: [PATCH] please make the build reproducible
Package: oslo.messaging Version: 1.8.1-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that oslo.messaging could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, oslo.messaging can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp oslo.messaging-1.8.1.old/debian/rules oslo.messaging-1.8.1/debian/rules --- oslo.messaging-1.8.1.old/debian/rules 2015-04-27 10:22:53.0 -0300 +++ oslo.messaging-1.8.1/debian/rules 2015-06-11 12:19:38.436133925 -0300 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) @@ -18,6 +22,6 @@ endif override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html doc/source $(CURDIR)/debian/python-oslo.messaging/usr/share/doc/python-oslo.messaging/html + sphinx-build $(SPHINXOPTS) -b html doc/source $(CURDIR)/debian/python-oslo.messaging/usr/share/doc/python-oslo.messaging/html dh_sphinxdoc -O--buildsystem=python_distutils endif ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788486: pyopencl: [PATCH] please make the build reproducible
Package: pyopencl Version: 2015.1-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that pyopencl could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, pyopencl can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp pyopencl-2015.1.old/debian/rules pyopencl-2015.1/debian/rules --- pyopencl-2015.1.old/debian/rules 2015-06-09 18:08:24.0 -0300 +++ pyopencl-2015.1/debian/rules 2015-06-11 12:26:35.960143776 -0300 @@ -12,6 +12,8 @@ endif LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS:=-D today=\$(BUILD_DATE)\ +SPHINXOPTS+=-D html_last_updated_fmt=\$(BUILD_DATE)\ %: dh $@ --with python2,python3,sphinxdoc @@ -50,7 +52,7 @@ override_dh_auto_install: override_dh_installdocs: # Required to build PyOpenCL symbols for documentation cp -Ri pyopencl.egg-info build/lib.*-*-$(firstword $(PYTHON2))/ - PYTHONPATH=../$$(ls -d build/lib.*-*-$(firstword $(PYTHON2)))/ $(MAKE) -C doc html SPHINXOPTS='-D today=$(BUILD_DATE)' + PYTHONPATH=../$$(ls -d build/lib.*-*-$(firstword $(PYTHON2)))/ $(MAKE) -C doc html SPHINXOPTS=$(SPHINXOPTS) rm -rf build/lib.*-*-$(firstword $(PYTHON2))/pyopencl.egg-info dh_installdocs ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788487: python-amqp: [PATCH] please make the build reproducible
Package: python-amqp Version: 1.4.6-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-amqp could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-amqp can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-amqp-1.4.6.old/debian/rules python-amqp-1.4.6/debian/rules --- python-amqp-1.4.6.old/debian/rules 2015-05-19 06:47:20.0 -0300 +++ python-amqp-1.4.6/debian/rules 2015-06-11 12:36:32.040157840 -0300 @@ -3,6 +3,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + export PYBUILD_NAME=amqp %: @@ -10,7 +13,7 @@ export PYBUILD_NAME=amqp override_dh_auto_build: dh_auto_build - PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html + PYTHONPATH=. sphinx-build -D today=$(BUILD_DATE) -b html -N docs/ docs/.build/html override_dh_clean: rm -rf docs/.build ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788502: python-glance-store: [PATCH] please make the build reproducible
Package: python-glance-store Version: 0.4.0-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-glance-store could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-glance-store can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-glance-store-0.4.0.old/debian/rules python-glance-store-0.4.0/debian/rules --- python-glance-store-0.4.0.old/debian/rules 2015-04-28 10:41:45.0 -0300 +++ python-glance-store-0.4.0/debian/rules 2015-06-11 22:10:19.820794747 -0300 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) @@ -40,7 +44,7 @@ override_dh_clean: rm -rf build .testrepository override_dh_sphinxdoc: - sphinx-build -b html doc/source debian/python-glance-store-doc/usr/share/doc/python-glance-store-doc/html + sphinx-build $(SPHINXOPTS) -b html doc/source debian/python-glance-store-doc/usr/share/doc/python-glance-store-doc/html dh_sphinxdoc -O--buildsystem=python_distutils # Commands not to run ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788504: python-psutil: [PATCH] please make the build reproducible
Package: python-psutil Version: 2.1.1-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-psutil could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-psutil can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-psutil-2.1.1.old/debian/rules python-psutil-2.1.1/debian/rules --- python-psutil-2.1.1.old/debian/rules 2014-05-02 15:57:54.0 -0300 +++ python-psutil-2.1.1/debian/rules 2015-06-11 22:19:08.349355883 -0300 @@ -1,5 +1,9 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=\$(BUILD_DATE)\ + PY2VERS := $(shell pyversions -s) PY3VERS := $(shell py3versions -s) @@ -15,7 +19,7 @@ override_dh_auto_build: for python in $(PY2VERS) $(PY3VERS); do \ $$python setup.py build; \ done - $(MAKE) -C docs html + $(MAKE) -C docs html SPHINXOPTS=$(SPHINXOPTS) override_dh_auto_install: set -e ; \ ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788507: python-repoze.tm2: [PATCH] please make the build reproducible
Package: python-repoze.tm2 Version: 2.0-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-repoze.tm2 could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-repoze.tm2 can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -ruNp python-repoze.tm2-2.0.old/debian/rules python-repoze.tm2-2.0/debian/rules --- python-repoze.tm2-2.0.old/debian/rules 2014-09-28 12:19:16.0 -0300 +++ python-repoze.tm2-2.0/debian/rules 2015-06-11 23:01:23.412037493 -0300 @@ -2,10 +2,13 @@ #DH_VERBOSE=1 PYBUILD_NAME=python-repoze.tm2 +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - sphinx-build -b html docs $(CURDIR)/debian/python-repoze.tm2-doc/usr/share/doc/python-repoze.tm2-doc/html + sphinx-build $(SPHINXOPTS) -b html docs $(CURDIR)/debian/python-repoze.tm2-doc/usr/share/doc/python-repoze.tm2-doc/html dh_sphinxdoc -O--buildsystem=pybuild endif ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788501: python-fudge: [PATCH] please make the build reproducible
Package: python-fudge Version: 1.0.3-3 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-fudge could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-fudge can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-fudge-1.0.3.old/debian/rules python-fudge-1.0.3/debian/rules --- python-fudge-1.0.3.old/debian/rules 2012-05-04 16:13:56.0 -0300 +++ python-fudge-1.0.3/debian/rules 2015-06-11 22:05:58.692513453 -0300 @@ -1,12 +1,16 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + override_dh_auto_clean: rm -rf build fudge.egg-info find -name '._*' -delete dh_auto_clean override_dh_auto_install: - sphinx-build -b html -a -c docs docs \ + sphinx-build $(SPHINXOPTS) -b html -a -c docs docs \ $(CURDIR)/debian/python-fudge-doc/usr/share/doc/python-fudge-doc/html python setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-fudge ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788505: python-pypump: [PATCH] please make the build reproducible
Package: python-pypump Version: 0.6-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that python-pypump could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-pypump can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp python-pypump-0.6.old/debian/rules python-pypump-0.6/debian/rules --- python-pypump-0.6.old/debian/rules 2015-05-13 14:48:10.0 -0300 +++ python-pypump-0.6/debian/rules 2015-06-11 22:30:19.454056240 -0300 @@ -2,6 +2,10 @@ PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D today=\$(BUILD_DATE)\ + %: dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc @@ -12,7 +16,7 @@ override_dh_clean: override_dh_auto_build: dh_auto_build - make -C docs html + make -C docs html SPHINXOPTS=$(SPHINXOPTS) # # This version pypump-shell needs the path $HOME/.config/ # # to exist for it to build correctly, so I'm adding it ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788394: makehuman: [PATCH] please make the build reproducible
Package: makehuman Version: 1.0.2-8 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that makehuman could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, makehuman can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -urNp makehuman-1.0.2.old/debian/scripts/gendoc.sh makehuman-1.0.2/debian/scripts/gendoc.sh --- makehuman-1.0.2.old/debian/scripts/gendoc.sh 2015-05-16 19:56:27.0 -0300 +++ makehuman-1.0.2/debian/scripts/gendoc.sh 2015-06-10 11:50:00.495705233 -0300 @@ -1,10 +1,13 @@ #!/usr/bin/env bash # This script creates the API documentation files. +LAST_CHANGE=$(dpkg-parsechangelog -S Date) +BUILD_DATE=$(LC_ALL=C date -u +%B %d, %Y -d $LAST_CHANGE) +SPHINXOPTS=-D html_last_updated_fmt=\$BUILD_DATE\ echo Creating API documentation if [ -d docs ]; then -cd docs/sphinx; make html +cd docs/sphinx; make html SPHINXOPTS=$SPHINXOPTS else exit 0 fi ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788396: murano: [PATCH] please make the build reproducible
Package: murano Version: 2015.1.0-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that murano could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, murano can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -urNp murano-2015.1.0.old/debian/rules murano-2015.1.0/debian/rules --- murano-2015.1.0.old/debian/rules 2015-05-14 19:22:42.0 -0300 +++ murano-2015.1.0/debian/rules 2015-06-10 11:11:22.763703220 -0300 @@ -5,6 +5,10 @@ PYTHON3S:=$(shell py3versions -vr) UPSTREAM_GIT = git://github.com/stackforge/murano.git +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=$(BUILD_DATE) + include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) @@ -29,7 +33,7 @@ endif override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - PYTHONPATH=. sphinx-build -b html doc/source $(CURDIR)/debian/murano-doc/usr/share/doc/murano-doc/html + PYTHONPATH=. sphinx-build $(SPHINXOPTS) -b html doc/source $(CURDIR)/debian/murano-doc/usr/share/doc/murano-doc/html dh_sphinxdoc -O--buildsystem=python_distutils endif ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788402: linop: [PATCH] please make the build reproducible
Package: linop Version: 0.8.2-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that linop could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, linop can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp linop-0.8.2.old/debian/rules linop-0.8.2/debian/rules --- linop-0.8.2.old/debian/rules 2014-04-22 08:10:37.0 -0300 +++ linop-0.8.2/debian/rules 2015-06-10 21:39:25.436091821 -0300 @@ -3,11 +3,14 @@ export DH_VERBOSE=1 export PYBUILD_NAME=linop +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_install-indep: - python setup.py build_sphinx -b html + python setup.py build_sphinx -b html --today=$(BUILD_DATE) override_dh_sphinxdoc: ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788406: argvalidate: [PATCH] please make the build reproducible
Package: argvalidate Version: 0.9.0-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that argvalidate could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, argvalidate can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds diff -urNp argvalidate-0.9.0.old/debian/rules argvalidate-0.9.0/debian/rules --- argvalidate-0.9.0.old/debian/rules 2014-09-17 16:03:59.0 -0300 +++ argvalidate-0.9.0/debian/rules 2015-06-10 22:48:58.627293262 -0300 @@ -3,11 +3,15 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) +SPHINXOPTS := -D html_last_updated_fmt=\$(BUILD_DATE)\ + %: dh $@ --with python2,sphinxdoc --buildsystem=pybuild override_dh_installdocs: - make -C doc html + make -C doc html SPHINXOPTS=$(SPHINXOPTS) dh_installdocs override_dh_clean: ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#788249: pastescript: [PATCH] please make the build reproducible
Source: pastescript Version: 1.7.5-3 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that pastescript could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, pastescript can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -urNp pastescript-1.7.5.old/debian/rules pastescript-1.7.5/debian/rules --- pastescript-1.7.5.old/debian/rules 2012-05-27 16:46:37.0 -0300 +++ pastescript-1.7.5/debian/rules 2015-06-09 12:38:27.710010479 -0300 @@ -1,6 +1,11 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) + +SPHINXOPTS := -D today=$(BUILD_DATE) +SPHINXOPTS += -D html_last_updated_fmt=$(BUILD_DATE) PYVERS=$(shell pyversions -vr) PKGDIR=$(CURDIR)/debian/python-pastescript @@ -20,7 +25,7 @@ build-arch: build-docs: dh_testdir dh_installdirs - PYTHONPATH=. sphinx-build -N -q -E -b html docs/ $(PKGDIR)/usr/share/doc/python-pastescript/docs/ + PYTHONPATH=. sphinx-build -N -q -E -b html $(SPHINXOPTS) docs/ $(PKGDIR)/usr/share/doc/python-pastescript/docs/ touch $@ install: build install-stamp ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#787303: dos2unix: please make the build reproducible
Package: dos2unix Version: 6.0.4-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that dos2unix could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, dos2unix can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -rupN dos2unix-6.0.4.old/debian/rules dos2unix-6.0.4/debian/rules --- dos2unix-6.0.4.old/debian/rules 2014-01-03 09:07:50.0 -0200 +++ dos2unix-6.0.4/debian/rules 2015-05-31 03:46:57.648901919 -0300 @@ -5,6 +5,10 @@ PKGDIR = $(CURDIR)/debian/$(PACKAGE) DOCROOTDIR = $(PKGDIR)/usr/share/doc PKGDOCDIR = $(DOCROOTDIR)/$(PACKAGE) +BUILD_DATE = $(shell dpkg-parsechangelog -S Date) +PODCENTER= $(shell date -u +%Y-%m-%d --date=$(BUILD_DATE)) +export PODCENTER + export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] Bug#786846: alt-ergo: [PATCH] please make the build reproducible - set build date
Hi Jérémy! Thanks for your comments, i will change it soon. Maybe we need change too the wiki pages as https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx ? Greetings On Tue, May 26, 2015 at 5:29 AM, Jérémy Bobbio lu...@debian.org wrote: Juan Picca: --- a/Makefile.users +++ b/Makefile.users @@ -1,4 +1,5 @@ ARCH = $(shell uname -m) +BUILD_DATE = $(shell LANG=en_US; date) I would use `?=` instead of `=` here to highlight that it can be preset. I'm actually suprised that it works like this, but tests confirmed it. But hey, you learn every day: https://www.gnu.org/software/make/manual/html_node/Overriding.html Thanks Juan. :) -- Lunar.''`. lu...@debian.org: :Ⓐ : # apt-get install anarchism `. `'` `- ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] Bug#786846: alt-ergo: [PATCH] please make the build reproducible - set build date
Please, ignore the previous email. I did not realize that the set of the variable is in debian/rules. On Tue, May 26, 2015 at 7:45 AM, Juan Picca jumap...@gmail.com wrote: Hi Jérémy! Thanks for your comments, i will change it soon. Maybe we need change too the wiki pages as https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx ? Greetings On Tue, May 26, 2015 at 5:29 AM, Jérémy Bobbio lu...@debian.org wrote: Juan Picca: --- a/Makefile.users +++ b/Makefile.users @@ -1,4 +1,5 @@ ARCH = $(shell uname -m) +BUILD_DATE = $(shell LANG=en_US; date) I would use `?=` instead of `=` here to highlight that it can be preset. I'm actually suprised that it works like this, but tests confirmed it. But hey, you learn every day: https://www.gnu.org/software/make/manual/html_node/Overriding.html Thanks Juan. :) -- Lunar.''`. lu...@debian.org: :Ⓐ : # apt-get install anarchism `. `'` `- ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#786508: ttyload: [PATCH] please make the build reproducible
Package: ttyload Version: 0.5-8 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that ttyload could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, ttyload can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -rupN ttyload-0.5.old/debian/pod2man.mk ttyload-0.5/debian/pod2man.mk --- ttyload-0.5.old/debian/pod2man.mk 2013-05-23 13:30:32.0 -0300 +++ ttyload-0.5/debian/pod2man.mk 2015-05-22 08:40:40.080899770 -0300 @@ -36,7 +36,6 @@ RELEASE ?= $(PACKAGE) # Optional variables to set MANSECT ?= 1 -PODCENTER ?= $$(date +%Y-%m-%d) # Directories MANSRC = @@ -54,7 +53,6 @@ $(MANPAGE): $(MANPOD) # make target - create manual page from a *.pod page podchecker $(MANPOD) LC_ALL=C $(POD2MAN) $(POD2MAN_FLAGS) \ - --center=$(PODCENTER) \ --name=$(PACKAGE) \ --section=$(MANSECT) \ --release=$(RELEASE) \ ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#785774: afterstep: [PATCH] please make the build reproducible
Source: afterstep Version: 2.2.12-5 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that afterstep could not be built reproducibly. The three attached patches removes extra timestamps from the build system: * 47-Add-build-date-to-AsDocGen.patch: modifies ASDocGen binary to add the --build-date flag that expects an unix time (integer) and use it for timestamps in generated files (documentation). * 48-Make-build-reproducible.patch: modifies Makefile.in adding the variable ASDOCGENOPTS to the command line of ASDocGen. * debian-rules.patch: modifies the debian/rules file to get the unix time from the changelog file and set the variable ASDOCGENOPTS. Once applied, afterstep can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Description: Add build-date flag Add build-date flag for use the given unix time instead current time in timestamps. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-05-18 --- --- a/src/ASDocGen/ASDocGen.c +++ b/src/ASDocGen/ASDocGen.c @@ -195,14 +195,15 @@ asdocgen_usage (void) printf (Usage:\n %s\t\t[-t |--target plain|text|html|php|xml|nroff|source] [-s | -css stylesheets_file]\n \t\t\t[--faq-css stylesheets_file] [--html-data-back background] [-d | --data]\n - \t\t\t[-S | --source source_dir] [-D | --dst destination_dir]\n + \t\t\t[-S | --source source_dir] [-D | --dst destination_dir] [--build-date unixtime]\n -t | --target - selects oputput file format\n -s | --css - selects which file to get HTML style sheets from\n --faq-css - selects which file to get HTML style sheets from for FAQs\n --html-data-back - which image file to use as HTML background ( default background.jpg )\n -d | --data- generate HTML catalogue of image/data files\n -S | --source - specifies dir to read XML source or data source from\n - -D | --dst - specifies destination directory - where to wriote stuff to\n, + -D | --dst - specifies destination directory - where to wriote stuff to\n + --build-date - uses the given unix time instead current time\n, MyName); exit (0); } @@ -215,6 +216,8 @@ main (int argc, char **argv) char *source_dir = NULL ; const char *destination_dir = NULL ; Bool do_data = False; + Bool use_build_date = False; + time_t build_date; ASDocType target_type = DocType_Source ; /* Save our program name - for error messages */ set_DeadPipe_handler(DeadPipe); @@ -269,6 +272,17 @@ main (int argc, char **argv) { ++i ; destination_dir = argv[i] ; + }else if( strcmp( argv[i], --build-date ) == 0 i+1 argc argv[i+1] != NULL ) + { +++i ; +struct tm tm; +if( strptime(argv[i], %s, tm) == NULL) + show_error( invalid unix time \%s\, argv[i] ); +else +{ + build_date = mktime(tm); + use_build_date = True; +} } } } @@ -295,7 +309,6 @@ main (int argc, char **argv) TopicIndexName = UserTopicIndexName ; if( target_type DocType_Source ) { - time_t curtime; struct tm *loctime; ASHashData hashd; @@ -306,9 +319,15 @@ main (int argc, char **argv) } /* Get the current time. */ - curtime = time (NULL); - /* Convert it to local time representation. */ - loctime = localtime (curtime); + if( use_build_date ) + loctime = gmtime (build_date); + else + { + time_t curtime = time (NULL); + /* Convert it to local time representation. */ + loctime = localtime (curtime); + } + strftime(CurrentDateLong, DATE_SIZE, %b %e %Y, loctime); strftime(CurrentDateShort, DATE_SIZE, %m/%d/%Y, loctime); } Description: Add variable for ASDocGen options in Makefile.in Add variable ASDOCGENOPTS in Makefile.in to pass extra options to ASDocGen when build the documentation. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-05-19 --- --- a/src/ASDocGen/Makefile.in +++ b/src/ASDocGen/Makefile.in @@ -1,3 +1,6 @@ +# You can set these variables from the command line. +ASDOCGENOPTS = + OBJS = ASDocGen.o datadoc.o docfile.o robodoc.o xmlproc.o PROG = ASDocGen @@ -18,18 +21,18 @@ do_compile:$(OBJS) $(LIBS_DEPEND) Ma @touch do_compile doc_man: do_compile - @echo -n Generating man pages ... ; ./ASDocGen -l log.man -t nroff ; echo Done ; touch doc_man + @echo -n Generating man pages ... ; ./ASDocGen -l log.man -t nroff $(ASDOCGENOPTS) ; echo Done ; touch doc_man doc_html: do_compile - @echo -n Generating
[Reproducible-builds] Bug#783475: texi2html: [PATCH] Allow make the build of documentation reproducible adding the use-date flag.
Package: texi2html Version: 1.82+dfsg1-3 Followup-For: Bug #783475 Modified patch after comments and advices of Jérémy Bobbio. The option was renamed to --build-date and now expects an unix time integer which is formatted using pretty_time instead of using a given string to show as timestamp. -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Description: Add --build-date command line flag. Allow create reproducible documentation passing a unix time in the command line. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-05-16 --- a/T2h_i18n.pm +++ b/T2h_i18n.pm @@ -295,7 +295,14 @@ sub pretty_date($) my $lang = shift; my($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst); -($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time); +if ($Texi2HTML::Config::BUILD_DATE) +{ +($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime($Texi2HTML::Config::BUILD_DATE); +} +else +{ +($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time); +} $year += ($year 70) ? 2000 : 1900; # obachman: Let's do it as the Americans do #return($MONTH_NAMES-{$lang}[$mon] . , . $mday . . $year); --- a/texi2html.init +++ b/texi2html.init @@ -260,6 +260,10 @@ $MONOLITHIC = 1; # the specified url are used as stylesheet links @CSS_REFS = (); +# -build-date +# Use the given unix time as build date showing UTC timezone when it is used +$BUILD_DATE = undef; + ## # The following options are only relevant if $L2H is set # --- a/texi2html.pl +++ b/texi2html.pl @@ -261,6 +261,7 @@ $EXTERNAL_DIR $IGNORE_PREAMBLE_TEXT @CSS_FILES @CSS_REFS +$BUILD_DATE $INLINE_CONTENTS $INLINE_INSERTCOPYING ); @@ -2600,6 +2601,13 @@ $T2H_OPTIONS - {'css-ref'} = verbose = 'generate reference to the CSS URL $s' }; +$T2H_OPTIONS - {'build-date'} = +{ + type = '=i', + linkage = \$Texi2HTML::Config::BUILD_DATE, + verbose = 'use the given unix time as build date showing UTC timezone when it is used' +}; + $T2H_OPTIONS - {'transliterate-file-names'} = { type = '!', --- a/doc/texi2html.texi +++ b/doc/texi2html.texi @@ -523,6 +523,8 @@ Display a short help and exit. Be verbose. @item @longopt{version} Display version information and exit. +@item @longopt{build-date=@var{unixtime}} +Use the given unix time as build date showing UTC timezone when it is used. @end table @c --- a/doc/texi2html.info +++ b/doc/texi2html.info @@ -435,6 +435,9 @@ Miscellaneous general options: `--version' Display version information and exit. +`--build-date=UNIXTIME' + Use the given unix time as build date showing UTC timezone when it is used. + File: texi2html.info, Node: Splitting output, Next: Output files, Prev: General options, Up: Invoking texi2html ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#784723: alot: [PATCH] Please make the build reproducible
Source: alot Version: 0.3.6-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that alot could not be built reproducibly. The attached patch removes extra timestamps from the build system when creating the source archive. Once applied, alot can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -rupN alot-0.3.6.old/debian/rules alot-0.3.6/debian/rules --- alot-0.3.6.old/debian/rules 2014-08-22 06:52:14.0 -0300 +++ alot-0.3.6/debian/rules 2015-05-07 11:35:52.565732248 -0300 @@ -1,4 +1,6 @@ #!/usr/bin/make -f +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) %: dh $@ --with python2,sphinxdoc @@ -6,7 +8,7 @@ override_dh_auto_build: dh_auto_build rm -rf $(CURDIR)/docs/build - $(MAKE) -C docs html man + $(MAKE) -C docs html man SPHINXOPTS=-D today=\$(BUILD_DATE)\ override_dh_auto_install: dh_auto_install -- --install-lib=/usr/share/alot/ ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
Re: [Reproducible-builds] Bug#783574: mopidy: [PATCH] Please make the build reproducible.
Thanks for your comments and advice Jérémy! I hope that with your help i can do better! Greetings, JMPC On Tue, Apr 28, 2015 at 9:36 AM, Jérémy Bobbio lu...@debian.org wrote: Hi Juan, A few comments on your patch submission so you can get better at it. :) Juan Picca: Source: mopidy Version: 1.0.2 This is a Debian bug report, so you need to use the full version of the Debian package—including the package revision number. For mopidy, that would mean 1.0.2-1. Severity: normal There is no consensus that the fact that a package can't be built reproducibly should be considered as a bug. So for the moment, this should be “wishlist”: we want to improve the package, we are not fixing defects. Description: Make documentation build reproducible. Use the last changelog date in generated documentation Author: Juan Picca jumap...@gmail.com Last-Update: 2015-04-28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Anyone familiar with Debian patches will notice. Writing this line mostly adds noise. --- a/docs/Makefile +++ b/docs/Makefile @@ -1,8 +1,10 @@ # Makefile for Sphinx documentation # +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date -l../debian/changelog) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) # You can set these variables from the command line. -SPHINXOPTS= +SPHINXOPTS= -D today=$(BUILD_DATE) SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build The patch that you sent is a patch to be put in `debian/patches` as it touches upstream files. But the changes you are making to upstream files are very specific to the Debian package. If I take the patched version and remove the `debian/` directory, I'm going to get errors. Ideally, we want other distributions to be able to make their package reproducible. So when we need to change the upstream build system, we should aim at making it in a way that is agnostic to the distribution. In this specific case, you could do this by changing the upstream Makefile to add extra options to SPHINXOPTS only when the BUILD_DATE variable exists in the environment. Then BUILD_DATE can be set and exported in `debian/rules`. Hope that helps, -- Lunar.''`. lu...@debian.org: :Ⓐ : # apt-get install anarchism `. `'` `- ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#783478: texi2html: [PATCH] Please make the build reproducible
Package: texi2html Version: 1.82+dfsg1 Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that texi2html could not be built reproducibly. The attached patch removes extra timestamps from the build system and ensure a stable file order when creating the source archive. Once applied, texi2html can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds NOTE: THIS PATCH DEPENDS OF https://bugs.debian.org/783475 -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Description: Make the build reproducible This patch uses dpkg-parsechangelog instead of mdate-sh in configure.ac. A previous patch modifies the file configure.ac, changing his last modified time avoiding make the build reproducible. Due not usage the file mdate-sh is removed. Author: Juan Picca jumap...@gmail.com Last-Update: 2015-04-26 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ dnl --enable-maintainer-mode argument. AM_MAINTAINER_MODE dnl Misc variable settings -PACKAGE_DATE=`$srcdir/mdate-sh $srcdir/configure.ac` +PACKAGE_DATE=`dpkg-parsechangelog -S date` AC_SUBST([PACKAGE_DATE]) dnl Checks for programs. --- a/doc/mdate-sh +++ /dev/null @@ -1,201 +0,0 @@ -#!/bin/sh -# Get modification time of a file or directory and pretty-print it. - -scriptversion=2005-06-29.22 - -# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005 Free Software -# Foundation, Inc. -# written by Ulrich Drepper drep...@gnu.ai.mit.edu, June 1995 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to bug-autom...@gnu.org or send patches to -# automake-patc...@gnu.org. - -case $1 in - '') - echo $0: No file. Try \`$0 --help' for more information. 12 - exit 1; - ;; - -h | --h*) -cat \EOF -Usage: mdate-sh [--help] [--version] FILE - -Pretty-print the modification time of FILE. - -Report bugs to bug-autom...@gnu.org. -EOF -exit $? -;; - -v | --v*) -echo mdate-sh $scriptversion -exit $? -;; -esac - -# Prevent date giving response in another language. -LANG=C -export LANG -LC_ALL=C -export LC_ALL -LC_TIME=C -export LC_TIME - -# GNU ls changes its time format in response to the TIME_STYLE -# variable. Since we cannot assume `unset' works, revert this -# variable to its documented default. -if test ${TIME_STYLE+set} = set; then - TIME_STYLE=posix-long-iso - export TIME_STYLE -fi - -save_arg1=$1 - -# Find out how to get the extended ls output of a file or directory. -if ls -L /dev/null 1/dev/null 21; then - ls_command='ls -L -l -d' -else - ls_command='ls -l -d' -fi - -# A `ls -l' line looks as follows on OS/2. -# drwxrwx---0 Aug 11 2001 foo -# This differs from Unix, which adds ownership information. -# drwxrwx--- 2 root root 4096 Aug 11 2001 foo -# -# To find the date, we split the line on spaces and iterate on words -# until we find a month. This cannot work with files whose owner is a -# user named `Jan', or `Feb', etc. However, it's unlikely that `/' -# will be owned by a user whose name is a month. So we first look at -# the extended ls output of the root directory to decide how many -# words should be skipped to get the date. - -# On HPUX /bin/sh, set interprets -rw-r--r-- as options, so the x below. -set x`ls -l -d /` - -# Find which argument is the month. -month= -command= -until test $month -do - shift - # Add another shift to the command. - command=$command shift; - case $1 in -Jan) month=January; nummonth=1;; -Feb) month=February; nummonth
[Reproducible-builds] Bug#783574: mopidy: [PATCH] Please make the build reproducible.
Source: mopidy Version: 1.0.2 Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the reproducible builds effort [1], we have noticed that mopidy could not be built reproducibly. The attached patch removes generated timestamps from the build system. Once applied, mopidy can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Description: Make documentation build reproducible. Use the last changelog date in generated documentation Author: Juan Picca jumap...@gmail.com Last-Update: 2015-04-28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/docs/Makefile +++ b/docs/Makefile @@ -1,8 +1,10 @@ # Makefile for Sphinx documentation # +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date -l../debian/changelog) +BUILD_DATE=$(shell LC_ALL=C date -u +%B %d, %Y -d $(LAST_CHANGE)) # You can set these variables from the command line. -SPHINXOPTS= +SPHINXOPTS= -D today=$(BUILD_DATE) SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds