[Reproducible-builds] Bug#793300: deejayd: please make the build reproducible
Source: deejayd Version: 0.10.0-6 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org Hi, While working on the reproducible builds effort [1], we have noticed that deejayd could not be built reproducibly. The attached patch removes timezone-varying timestamps from the files compressed with zip. Once applied, deejayd can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- Dhole diff -Nru deejayd-0.10.0/debian/changelog deejayd-0.10.0/debian/changelog --- deejayd-0.10.0/debian/changelog 2014-05-06 07:34:18.0 +0200 +++ deejayd-0.10.0/debian/changelog 2015-07-22 16:55:19.0 +0200 @@ -1,3 +1,10 @@ +deejayd (0.10.0-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix timezone before creating zip file to make package build reproducible. + + -- Dhole dh...@openmailbox.org Wed, 22 Jul 2015 16:54:50 +0200 + deejayd (0.10.0-6) unstable; urgency=medium * Depend on libxine2-x (Closes: #747099). diff -Nru deejayd-0.10.0/debian/patches/fix_timezone deejayd-0.10.0/debian/patches/fix_timezone --- deejayd-0.10.0/debian/patches/fix_timezone 1970-01-01 01:00:00.0 +0100 +++ deejayd-0.10.0/debian/patches/fix_timezone 2015-07-22 16:56:04.0 +0200 @@ -0,0 +1,21 @@ +Description: Fix timezone before creating zip + . + deejayd (0.10.0-6.1) UNRELEASED; urgency=medium + . + * Non-maintainer upload. + * Fix timezone before creating zip file to make package build reproducible. +Author: Dhole dh...@openmailbox.org + +--- + +--- deejayd-0.10.0.orig/setup.py deejayd-0.10.0/setup.py +@@ -62,6 +62,8 @@ class build_extension(Command): + + # first remove old zip file + self.clean() ++# Fix timezone to get reproducible results when adding files to zip ++os.environ['TZ'] = 'UTC' + ext_file = ZipFile(self.ext_path, 'w') + for root, dirs, files in os.walk(self.ext_dir): + for f in files: diff -Nru deejayd-0.10.0/debian/patches/series deejayd-0.10.0/debian/patches/series --- deejayd-0.10.0/debian/patches/series2014-05-06 07:27:53.0 +0200 +++ deejayd-0.10.0/debian/patches/series2015-07-22 16:55:44.0 +0200 @@ -7,3 +7,4 @@ mobileuifix xul-webui-firefox-version inotifyfixes +fix_timezone signature.asc Description: OpenPGP digital signature ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#793319: FTBFS: ImportError: cannot import name component_re
Source: zope.sqlalchemy Version: 0.6.1-2 Severity: serious Tags: sid stretch Justification: fails to build from source User: reproducible-builds@lists.alioth.debian.org Usertags: ftbfs Dear Maintainer, The package fails to build: pydeb: Working on python distribution zope.sqlalchemy Traceback (most recent call last): File /usr/bin/van-pydeb, line 9, in module load_entry_point('van.pydeb==1.3.3', 'console_scripts', 'van-pydeb')() File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 552, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2672, in load_entry_point return ep.load() File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2345, in load return self.resolve() File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2351, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File /usr/lib/python2.7/dist-packages/van/pydeb/__init__.py, line 20, in module from pkg_resources import component_re # Is this a public interface? ImportError: cannot import name component_re pydeb: Working on binary package Full build log: https://reproducible.debian.net/rb-pkg/unstable/amd64/zope.sqlalchemy.html Probably related: https://bugs.debian.org/788697 -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
[Reproducible-builds] Bug#793323: FTBFS: glibmm incompatability(?): macro bind_property requires 4 arguments, but only 3 given
Source: dbus-c++ Version: 0.9.0-6 Severity: serious Tags: sid stretch Justification: fails to build from source User: reproducible-builds@lists.alioth.debian.org Usertags: ftbfs Dear Maintainer, The package fails to build: make[5]: Entering directory '/dbus-c++-0.9.0/examples/glib' g++ -DHAVE_C[..]den -c -o dbus-browser.o dbus-browser.cpp In file included from /usr/include/glibmm-2.4/glibmm.h:96:0, from /usr/include/gtkmm-2.4/gtkmm.h:87, from dbus-browser.h:6, from dbus-browser.cpp:1: /usr/include/glibmm-2.4/glibmm/binding.h:324:41: error: macro bind_property requires 4 arguments, but only 3 given BindingFlags flags = BINDING_DEFAULT) See also: https://bugs.debian.org/790094 Full build log (rbuild): https://reproducible.debian.net/rb-pkg/unstable/amd64/dbus-c++.html -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) ___ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds