Your message dated Sun, 27 Dec 2015 00:21:05 +0000
with message-id <[email protected]>
and subject line Bug#783290: fixed in rkward 0.6.4-1
has caused the Debian Bug report #783290,
regarding rkward: Please make 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.)


-- 
783290: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783290
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rkward
Severity: wishlist
Tags: upstream patch

Hi,

while working on the "reproducible builds" effort [1], it has been discovered
that rkward could not be built reproducibly. GNU R leaves a build timestamp
(showing date + time + timezone) in the /usr/lib/R/library/*/Description files
it generates.

The attached patch fixes the build timestamp to the timestamp of the last dch
entry. Thisis the default now for all GNUR packagesin Debian, see
https://bugs.debian.org/782764 for reference.

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

Best,
Philip
diff -u -r rkward-0.6.2~rc1/debian/rules rkward-0.6.2~rc1.R/debian/rules
--- rkward-0.6.2~rc1/debian/rules	2015-04-25 13:34:47.000000000 +0200
+++ rkward-0.6.2~rc1.R/debian/rules	2015-04-25 13:38:47.905295483 +0200
@@ -26,6 +26,9 @@
 RMAJOR = $(shell echo $(RVERS) | awk -F. '{print $$1}')
 RMINOR = $(shell echo $(RVERS) | awk -F. '{print $$2}')
 
+# set built-time of GNUR packages to time of created binary package based on stamp in changelog
+builttime = $(shell dpkg-parsechangelog -l$(CURDIR)/debian/changelog | awk -F': ' '/Date/ {print $$2}')
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
@@ -65,7 +68,8 @@
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
 		-DKDE4_DISABLE_MULTIMEDIA=ON \
 		-DR_EXECUTABLE=/usr/bin/R/ \
-		-DR_LIBDIR=/usr/lib/R/site-library/
+		-DR_LIBDIR=/usr/lib/R/site-library/ \
+		-DBUILD_TIMESTAMP="$(builttime)"
 
 	# Add here commands to compile the package.
 	cd $(CURDIR)/build && $(MAKE)
diff -u -r rkward-0.6.2~rc1/rkward/rbackend/rpackages/CMakeLists.txt rkward-0.6.2~rc1.R/rkward/rbackend/rpackages/CMakeLists.txt
--- rkward-0.6.2~rc1/rkward/rbackend/rpackages/CMakeLists.txt	2014-10-13 21:22:08.000000000 +0200
+++ rkward-0.6.2~rc1.R/rkward/rbackend/rpackages/CMakeLists.txt	2015-04-25 13:09:53.004937231 +0200
@@ -5,4 +5,4 @@
 	"${CMAKE_CURRENT_BINARY_DIR}/rpackage_install.cmake"
 	@ONLY)
 
-INSTALL(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/rpackage_install.cmake -DDESTDIR=${DESTDIR})
+INSTALL(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/rpackage_install.cmake -DDESTDIR=${DESTDIR} -DBUILD_TIMESTAMP=${BUILD_TIMESTAMP})
diff -u -r rkward-0.6.2~rc1/rkward/rbackend/rpackages/rpackage_install.cmake.in rkward-0.6.2~rc1.R/rkward/rbackend/rpackages/rpackage_install.cmake.in
--- rkward-0.6.2~rc1/rkward/rbackend/rpackages/rpackage_install.cmake.in	2014-10-13 21:22:06.000000000 +0200
+++ rkward-0.6.2~rc1.R/rkward/rbackend/rpackages/rpackage_install.cmake.in	2015-04-25 13:09:57.412966334 +0200
@@ -20,7 +20,7 @@
 		COMMAND mkdir -p @CMAKE_CURRENT_BINARY_DIR@/tmp ${DESTDIR}/@R_LIBDIR@
 	)
 	EXECUTE_PROCESS(
-		COMMAND env TMPDIR=@CMAKE_CURRENT_BINARY_DIR@/tmp @R_EXECUTABLE@ CMD INSTALL -c -l ${DESTDIR}/@R_LIBDIR@ "@CMAKE_CURRENT_SOURCE_DIR@/rkward" "@CMAKE_CURRENT_SOURCE_DIR@/rkwardtests"
+		COMMAND env TMPDIR=@CMAKE_CURRENT_BINARY_DIR@/tmp @R_EXECUTABLE@ CMD INSTALL --built-timestamp=${BUILD_TIMESTAMP} -c -l ${DESTDIR}/@R_LIBDIR@ "@CMAKE_CURRENT_SOURCE_DIR@/rkward" "@CMAKE_CURRENT_SOURCE_DIR@/rkwardtests"
 		WORKING_DIRECTORY @CMAKE_CURRENT_BINARY_DIR@
 		RESULT_VARIABLE R_LIB_INSTALL_EXIT_CODE
 	)

--- End Message ---
--- Begin Message ---
Source: rkward
Source-Version: 0.6.4-1

We believe that the bug you reported is fixed in the latest version of
rkward, 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.
Thomas Friedrichsmeier <[email protected]> (supplier of updated rkward 
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: Sat, 19 Dec 2015 21:10:00 +0100
Source: rkward
Binary: rkward
Architecture: source amd64
Version: 0.6.4-1
Distribution: unstable
Urgency: low
Maintainer: Thomas Friedrichsmeier <[email protected]>
Changed-By: Thomas Friedrichsmeier <[email protected]>
Description:
 rkward     - KDE frontend to the R statistics language
Closes: 783290
Changes:
 rkward (0.6.4-1) unstable; urgency=low
 .
   * new upstream release
   * add override for false-positive source-is-missing lintian warnings
   * remove obsolete README.Debian file
   * increase debhelper compatibility level to 9 (no changes needed)
   * replace dh_clean -k with dh_prep
   * remove legacy rules dealing with R versions prior to 3.0.0
   * upstream has replaced KHTMLPart with QWebKit. As Qt4WebKit is scheduled for
     removal, revert this change, here. Change to 3.0 (quilt) format for this.
   * Make build reproducible (thanks to Philip Rinn)
     closes: #783290
Checksums-Sha1:
 1c21f522107d645a1ef009e8cbdcc9474f66eae0 1863 rkward_0.6.4-1.dsc
 9238bc2b9cf750f961a72e0bb1a66654453f93bc 3593684 rkward_0.6.4.orig.tar.gz
 e869a41f3569b5058b58e3544170a683441ad841 21232 rkward_0.6.4-1.debian.tar.xz
 330ebe058d47d1d0de0ebd4ee409c69b41fd4534 10320902 
rkward-dbgsym_0.6.4-1_amd64.deb
 03b006292f9a94febb54d5e09b858db190250f52 1965784 rkward_0.6.4-1_amd64.deb
Checksums-Sha256:
 4ca4409005cce129a1cce0724a2b1c2b6b4ca68be367be3a1fdad314b6738231 1863 
rkward_0.6.4-1.dsc
 a0fb7d084519e710ea3c7dc60bb92d24126bcb002bd1d1e00231f480e373f6c5 3593684 
rkward_0.6.4.orig.tar.gz
 712d0fa5fb88668115fbc7a8c00e2245f68b9b5169a4acea19b84a9c7397104e 21232 
rkward_0.6.4-1.debian.tar.xz
 ae98c79d0463f6b934b20c1dde582b70158577453cb78db0968f7e3f39f3b9fc 10320902 
rkward-dbgsym_0.6.4-1_amd64.deb
 77690e4165b97b4837b522fee67b8cbc78b8444ee2e53f88722332016b685d22 1965784 
rkward_0.6.4-1_amd64.deb
Files:
 2875bfd87a70622e1c236f4bd54d6a3d 1863 math optional rkward_0.6.4-1.dsc
 5812bc976b1e5afcbd6e208dce48b6f2 3593684 math optional rkward_0.6.4.orig.tar.gz
 fbdf252eb304e278b87cd505a7b96d3d 21232 math optional 
rkward_0.6.4-1.debian.tar.xz
 e152fdc7be4bdca474b291234d1f68de 10320902 debug extra 
rkward-dbgsym_0.6.4-1_amd64.deb
 3bf86adb18992276310267595f669b37 1965784 math optional rkward_0.6.4-1_amd64.deb

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

iQIcBAEBCAAGBQJWfy0CAAoJEKtkX0BihqfQ9C0P/1ZIK6Tysl45j/grpTD8TS2S
hdhIGzSzB+HGlV1y3d6keX70FYrgNVLEzvLEj7b/eUox1qeXEozMiRpaF6viKZVK
dypxLUFDNct0Idy3e2UGPXoYpQGmGHWvEVHvRwVHMsZZbmZQiYVIRxrgPfck9/pI
O8cttobczurbOn7dE8GxwlveP2HLpjMhCYtq7BVO4QJytYJa6QSHJrv/soE7pAJ7
6TWKlllp42juaDv9AJJU1+I/4wn8OxHjYL+HkgHf3hGWMFfLONK86laP1lJNzE7P
Oa9dH0R/wFY6212zdWrnapL36yZ8gAa/RYuBKmqKOf/aGoIfZw9OcnYlynEJC73O
xbsCC4NPn45YUgijJisW5e7zJyDbncKj2WKN8Lt7V8VNV0FmjWAQFoS8yFyQtrwM
I2FNM+OEco4ReSL8gNxhgZG9+r8zmt9T7fGfGdIKb5KUqwovI9QScOUkpMCIoIv5
ElvpIGB41hN14y+vbbxhe0nB/gdMwlxADWt2MczTnqv0/jO0JaSoMfqV+oSUMqr5
AGGQg/fhAP5uwjhm+FglhHRX+KwtJBPX3jZTe5LBzQMaE+jROFyaKjcygn1Y560/
sKi3bg3aFu4EPaGfcNkZEEVhLELjRpVYP2qVAVeJR/pcYJC32sMQ2y0OwwGNPTqz
msk3iN9nCrtbY8C+HAAN
=cUds
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to