Your message dated Tue, 02 Jun 2015 23:23:13 +0000
with message-id <[email protected]>
and subject line Bug#786965: fixed in python3.4 3.4.3-7
has caused the Debian Bug report #786965,
regarding python3.4: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
786965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python3.4
Version: 3.4.3-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that python3.4 could not be built reproducibly.

The attached patch fixes several timestamps related issues:

 * CPP gets passed `-DDATE` and `-DTIME` using the time of the latest
   debian/changelog entry. This will fix variations in binaries.
 * The time of the latest debian/changelog entry is given to sphinx via
   `SPHINXOPTS`. This will fix variations in the documentation.
 * `-n` is given to gzip when compressing devhelp to avoid a timestamp.

Unfortunately, this only makes python3.4 reproducible when
`noopt` is in `DEB_BUILD_OPTIONS`. Otherwise, objects contain random
names due to `-ffat-lto-objects`, but this ought to be fixed in GCC.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru python3.4-3.4.3/debian/changelog python3.4-3.4.3/debian/changelog
--- python3.4-3.4.3/debian/changelog	2015-05-07 12:43:58.000000000 +0200
+++ python3.4-3.4.3/debian/changelog	2015-05-27 10:35:40.000000000 +0200
@@ -1,3 +1,12 @@
+python3.4 (3.4.3-6.0~reproducible1) UNRELEASED; urgency=medium
+
+  * Make the build reproducible:
+    - Set -DDATE and -DTIME to match the latest debian/changelog entry.
+    - Pass time of latest debian/changelog entry to sphinx via SPHINXOPTS.
+    - Do not store a timestamps when compressing devhelp.
+
+ -- Jérémy Bobbio <[email protected]>  Wed, 27 May 2015 10:15:54 +0200
+
 python3.4 (3.4.3-6) unstable; urgency=medium
 
   * Update to 20150429 from the 3.4 branch.
diff -Nru python3.4-3.4.3/debian/rules python3.4-3.4.3/debian/rules
--- python3.4-3.4.3/debian/rules	2015-04-30 13:58:06.000000000 +0200
+++ python3.4-3.4.3/debian/rules	2015-05-27 10:35:12.000000000 +0200
@@ -23,6 +23,17 @@
 PKGSOURCE  := $(call vafilt,$(CHANGELOG_VARS),Source)
 PKGVERSION := $(call vafilt,$(CHANGELOG_VARS),Version)
 
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+
+BUILD_DATE := $(shell LC_ALL=C date -u +'"%H:%M:%S"' -d "$(LAST_CHANGE)")
+BUILD_TIME := $(shell LC_ALL=C date -u +'"%b %e %Y"' -d "$(LAST_CHANGE)")
+export BUILD_DATE BUILD_TIME
+BUILD_TIME_CCPFLAGS := -DDATE="$$$$BUILD_DATE" -DTIME="$$$$BUILD_TIME"
+
+SPHINXOPTS := -D today="$(shell LC_ALL=C date -u +"%B %d, %Y" -d "$(LAST_CHANGE)")"
+SPHINXOPTS += -D html_last_updated_fmt="$(shell LC_ALL=C date -u +"%B %d, %Y" -d "$(LAST_CHANGE)")"
+export SPHINXOPTS
+
 on_buildd := $(shell [ -f /CurrentlyBuilding -o "$$LOGNAME" = buildd -o "$$USER" = buildd ] && echo yes)
 
 ifneq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
@@ -337,7 +348,7 @@
 	mkdir -p $(buildd_shared)
 	cd $(buildd_shared) && \
 	  CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" CFLAGS="$(OPT_CFLAGS)" \
-	  CPPFLAGS="$(DPKG_CPPFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
+	  CPPFLAGS='$(DPKG_CPPFLAGS) $(BUILD_TIME_CCPFLAGS)' LDFLAGS="$(DPKG_LDFLAGS)" \
 	    $(config_site) \
 	    ../configure \
 		--enable-shared \
@@ -355,7 +366,7 @@
 	mkdir -p $(buildd_static)
 	cd $(buildd_static) && \
 	  CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" CFLAGS="$(OPT_CFLAGS)" \
-	  CPPFLAGS="$(DPKG_CPPFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
+	  CPPFLAGS='$(DPKG_CPPFLAGS) $(BUILD_TIME_CCPFLAGS)' LDFLAGS="$(DPKG_LDFLAGS)" \
 	    $(config_site) \
 	    ../configure \
 		$(common_configure_args)
@@ -368,7 +379,7 @@
 	mkdir -p $(buildd_debug)
 	cd $(buildd_debug) && \
 	  CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" CFLAGS="$(DEBUG_CFLAGS)" \
-	  CPPFLAGS="$(DPKG_CPPFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
+	  CPPFLAGS='$(DPKG_CPPFLAGS) $(BUILD_TIME_CCPFLAGS)' LDFLAGS="$(DPKG_LDFLAGS)" \
 	    $(config_site) \
 	    ../configure \
 		$(common_configure_args) \
@@ -382,7 +393,7 @@
 	mkdir -p $(buildd_shdebug)
 	cd $(buildd_shdebug) && \
 	  CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" CFLAGS="$(DEBUG_CFLAGS)" \
-	  CPPFLAGS="$(DPKG_CPPFLAGS)" LDFLAGS="$(DPKG_LDFLAGS)" \
+	  CPPFLAGS='$(DPKG_CPPFLAGS) $(BUILD_TIME_CCPFLAGS)' LDFLAGS="$(DPKG_LDFLAGS)" \
 	    $(config_site) \
 	    ../configure \
 		$(common_configure_args) \
@@ -1277,7 +1288,7 @@
 	cd $(buildd_static) && ./python ../debian/pyhtml2devhelp.py \
 		../$(d_doc)/usr/share/doc/$(p_base)/html index.html $(VER) \
 		> ../$(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp
-	gzip -9v $(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp
+	gzip -9nv $(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp
 	dh_link -p$(p_doc) \
 		/usr/share/doc/$(p_base)/html /usr/share/devhelp/books/$(PVER)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: python3.4
Source-Version: 3.4.3-7

We believe that the bug you reported is fixed in the latest version of
python3.4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python3.4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Jun 2015 16:09:35 +0200
Source: python3.4
Binary: python3.4 python3.4-venv libpython3.4-stdlib python3.4-minimal 
libpython3.4-minimal libpython3.4 python3.4-examples python3.4-dev 
libpython3.4-dev libpython3.4-testsuite idle-python3.4 python3.4-doc 
python3.4-dbg libpython3.4-dbg
Architecture: source all ppc64el
Version: 3.4.3-7
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
 idle-python3.4 - IDE for Python (v3.4) using Tkinter
 libpython3.4 - Shared Python runtime library (version 3.4)
 libpython3.4-dbg - Debug Build of the Python Interpreter (version 3.4)
 libpython3.4-dev - Header files and a static library for Python (v3.4)
 libpython3.4-minimal - Minimal subset of the Python language (version 3.4)
 libpython3.4-stdlib - Interactive high-level object-oriented language 
(standard library
 libpython3.4-testsuite - Testsuite for the Python standard library (v3.4)
 python3.4  - Interactive high-level object-oriented language (version 3.4)
 python3.4-dbg - Debug Build of the Python Interpreter (version 3.4)
 python3.4-dev - Header files and a static library for Python (v3.4)
 python3.4-doc - Documentation for the high-level object-oriented language 
Python
 python3.4-examples - Examples for the Python language (v3.4)
 python3.4-minimal - Minimal subset of the Python language (version 3.4)
 python3.4-venv - Interactive high-level object-oriented language (pyvenv 
binary, v
Closes: 786965
Changes:
 python3.4 (3.4.3-7) unstable; urgency=medium
 .
   * Update to 20150602 from the 3.4 branch.
   * Make the build reproducible (Jérémy Bobbio). Closes: #786965.
     - Pass time of latest debian/changelog entry to sphinx via SPHINXOPTS.
     - Do not store a timestamps when compressing devhelp.
   * Pass DATE and TIME macros matching the current debian/changelog entry
     when building getbuildinfo.o.
Checksums-Sha1:
 4a6a8b10993b6847bc24e7748890ec3c34ab1452 3248 python3.4_3.4.3-7.dsc
 449f2507526f31698dc9b346e3d9e8fb47977bed 383624 python3.4_3.4.3-7.debian.tar.xz
 3d4276b3d81aa9b232ef047188e2a83d4ed16101 87752 idle-python3.4_3.4.3-7_all.deb
 4df5836357ae39a1cb0509f81624cfdc51bd422e 5139312 
libpython3.4-dbg_3.4.3-7_ppc64el.deb
 e5909d9820402294ef5573000b92feb330a45578 22586170 
libpython3.4-dev_3.4.3-7_ppc64el.deb
 b8794949fbff2a4e613ff4b504594d6dc9d2018a 493554 
libpython3.4-minimal_3.4.3-7_ppc64el.deb
 2c4600fbb6510e1c09f5aa58d679ce728022729a 2014450 
libpython3.4-stdlib_3.4.3-7_ppc64el.deb
 7082008b5bf7e4eb30dff991024b102a0939a47d 3056486 
libpython3.4-testsuite_3.4.3-7_all.deb
 345a7d7ded05111937570a8f64f5b27d0ac47021 1200130 
libpython3.4_3.4.3-7_ppc64el.deb
 838f13c884b6f3ad830fa76b2689799aee15e02f 7384370 
python3.4-dbg_3.4.3-7_ppc64el.deb
 13f7be68ae8cd99fcaf856e52de39c3c004c0f7d 420036 
python3.4-dev_3.4.3-7_ppc64el.deb
 ec55252bcb6667239a5987390111db2584ea61eb 5253682 python3.4-doc_3.4.3-7_all.deb
 0df9801c14f12d9f6ffedc3384fec9af0fdbc412 394360 
python3.4-examples_3.4.3-7_all.deb
 4ddeb014e69b254ab3505c9efebbdcf3faad3a63 1214244 
python3.4-minimal_3.4.3-7_ppc64el.deb
 de60f05429286f626397690e5fe9a019a0b46718 5978 
python3.4-venv_3.4.3-7_ppc64el.deb
 3743fb2711fe644370e1aebb9e38157f54a0c477 218694 python3.4_3.4.3-7_ppc64el.deb
Checksums-Sha256:
 f49dee9bf7b7bb4e2c6e67eead6cafe5fa1c4dcb8d398311eed02c24017d0a75 3248 
python3.4_3.4.3-7.dsc
 0d35ec1df3e15c1c839065929a952aa47169a3ac62789fb9cf925dea39bb4587 383624 
python3.4_3.4.3-7.debian.tar.xz
 315b848a799f6fcd0e5234ef5f5b674dc158763de5ee50cfa2096f7b181d5190 87752 
idle-python3.4_3.4.3-7_all.deb
 ab66bed7404b8edbe7caa7a2ded91caca1c0633e37aaacf7b0ce2b1cc87851fc 5139312 
libpython3.4-dbg_3.4.3-7_ppc64el.deb
 42d4ad6acde7e8c31ed8daee0c32526258f7bd113760aa9c4e8c00f662d0f952 22586170 
libpython3.4-dev_3.4.3-7_ppc64el.deb
 8dcbe8e91e6158660f5594130ff5f5ee9580847ed81b9f9edc844b0aba924dfd 493554 
libpython3.4-minimal_3.4.3-7_ppc64el.deb
 3c759ef2d3076ce150e47d826be2b04e5aeabd36fc59a79dcd63d4af0d19badc 2014450 
libpython3.4-stdlib_3.4.3-7_ppc64el.deb
 2f91c9fb63c932a9a9b77f28a9885b305e743ed5dc31840db828ecfc42f0dc9c 3056486 
libpython3.4-testsuite_3.4.3-7_all.deb
 85961f8a8373c6b56086391ad3873d42eeddbee7a8e8dc2a39e7d177be37952e 1200130 
libpython3.4_3.4.3-7_ppc64el.deb
 886fe4d49c44259c5d15805250a0815357a5d1c32cd9c6a7e2011a174b8f63da 7384370 
python3.4-dbg_3.4.3-7_ppc64el.deb
 46501f43eba563ff1de1d7401ae6e576270a49458cd890820c9f775bae8d3923 420036 
python3.4-dev_3.4.3-7_ppc64el.deb
 87d384ac7fe7e77e2fb5c1da2a6d7109d1cfe18acc4e5ad24a63bbfb6e8ce845 5253682 
python3.4-doc_3.4.3-7_all.deb
 d77af48bb3bf7c96ce32389c757c0a3df7ec5be644c72d5fb0fdd0123f8be840 394360 
python3.4-examples_3.4.3-7_all.deb
 a0fd1aa179039bd1941fa37b41801d69a85245b70587f8a359a0d2a0f6302ec5 1214244 
python3.4-minimal_3.4.3-7_ppc64el.deb
 fbe58e2ea166c47ea3f963210896d610c371d8164bbc8bc73ce4cd644ac8db37 5978 
python3.4-venv_3.4.3-7_ppc64el.deb
 c448cfe5368e3de79acd325a0b68729bd25b96aaff964bfc9ac36d66dcef1c9e 218694 
python3.4_3.4.3-7_ppc64el.deb
Files:
 9bb70959120247424fc2c27370b41627 3248 python optional python3.4_3.4.3-7.dsc
 90284184af861de1883b8a082807d7c3 383624 python optional 
python3.4_3.4.3-7.debian.tar.xz
 7af93c56afebb752d08fc0d212afcaed 87752 python optional 
idle-python3.4_3.4.3-7_all.deb
 c9dbbc0d1a5da447e7c629c3d624e5dd 5139312 debug extra 
libpython3.4-dbg_3.4.3-7_ppc64el.deb
 4223add8bdcad642a3c068fc72e0d5a6 22586170 libdevel optional 
libpython3.4-dev_3.4.3-7_ppc64el.deb
 a7c44b61fd0426f77c8916a64bacb027 493554 python optional 
libpython3.4-minimal_3.4.3-7_ppc64el.deb
 5467bac365192dee25793ae68f5141cd 2014450 python optional 
libpython3.4-stdlib_3.4.3-7_ppc64el.deb
 88e3451b042dbc1a523196aed9db8b58 3056486 libdevel optional 
libpython3.4-testsuite_3.4.3-7_all.deb
 31069746200192b6446fff852a18746d 1200130 libs optional 
libpython3.4_3.4.3-7_ppc64el.deb
 958899871402f0f2f5ffdebdd09ddce9 7384370 debug extra 
python3.4-dbg_3.4.3-7_ppc64el.deb
 d526786d97a4192fa86b53b25a1cd041 420036 python optional 
python3.4-dev_3.4.3-7_ppc64el.deb
 440dd966e68e9c6e1ac490f715e5f64b 5253682 doc optional 
python3.4-doc_3.4.3-7_all.deb
 af1cd98deee3b64c6aae905fc42ac5ff 394360 python optional 
python3.4-examples_3.4.3-7_all.deb
 82cdcb23ad38e4e8f2bbaac895365211 1214244 python optional 
python3.4-minimal_3.4.3-7_ppc64el.deb
 e1383950dfdc6b3ad98ec1960f6cbe2f 5978 python optional 
python3.4-venv_3.4.3-7_ppc64el.deb
 f8f4ac7e3ffc0c8a4edd8731160b2111 218694 python optional 
python3.4_3.4.3-7_ppc64el.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVbjDkAAoJEL1+qmB3j6b1OCkP/20+kUlaV2vK1+dOHT1muAbP
LCD+NI0wUmEYGcHNWMJZolvuyeZONzN6eNd8kg2bSplU1YzbuMEV2ir0cFWMHfIO
0lqk9aT1yyYS3mEZ94zgfLianAbiVenEeKlLXr+enUvxZRWod23JM61NrahZ/ZhN
/4mFocTaqlmyku7NvJpaRuwNP3W6vLmMu84L7vZ/vT6OIneBU/1/YaVcG3RX0CAY
b1aouoNQdUV8kc/KFoYIlQz0ifTcKGDSc8razwvSM3fY8FjcQAAdtei2+aFHRbbA
euKPIdEErk3EZT1r3fGXMKxV81IS5LNgmAiT9lfEB+X8hOLnHJanVvfRaheXvum7
OlxAl7p0NjQIr7A2KC32eF3PYeym5/veOtr5xZlx77igU6JFKclhsSQmXQmnViR4
4P/mOytsdfr+iI1fXnp1pCIo1hFxVJ5Jl5xk4IAV0SIOFWZFSloN5QKh7OWQPcYp
L3OVKNKr8qIhefLgCyQdlSBEmqW3DJZw8bNmfsCDsBXyEEICEm1vevjmo77axBf+
NKVqtsbRO+5ocLctbBXVnbdUQw9mVZrZvWgv+GIXzzIbDUqyA+/Px1T5ODRmstCI
wweRnpn0RTe/A7Ek6fVRFN3riZSe3WyJWn3CgJddQze6ER78G4nYdT4Ftq8VF0r3
NXsOHWPMrG5SvUG8u1gn
=APpv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to