Your message dated Sat, 12 Aug 2017 02:51:18 +0000
with message-id <e1dgmwe-000gb1...@fasolo.debian.org>
and subject line Bug#861608: fixed in sbt 0.13.13-2
has caused the Debian Bug report #861608,
regarding sbt: 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 ow...@bugs.debian.org
immediately.)


-- 
861608: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861608
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sbt
Version: 0.13.13-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that sbt could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible_build.patch   2017-05-01 13:31:44.909639506 
+0100
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-05-01
+
+--- sbt-0.13.13.orig/project/Util.scala
++++ sbt-0.13.13/project/Util.scala
+@@ -62,7 +62,9 @@ object Util {
+       import java.util.{ Date, TimeZone }
+       val formatter = new java.text.SimpleDateFormat("yyyyMMdd'T'HHmmss")
+       formatter.setTimeZone(TimeZone.getTimeZone("GMT"))
+-      val timestamp = formatter.format(new Date)
++      var timestamp = formatter.format(new Date)
++      try { timestamp = formatter.format(new 
Date(sys.env("SOURCE_DATE_EPOCH").toLong * 1000L)) }
++      catch { case e: Exception => s.log.warn("Could not read 
SOURCE_DATE_EPOCH"); Nil }
+       val content = versionLine(version) + "\ntimestamp=" + timestamp
+       val f = dir / "xsbt.version.properties"
+       if (!f.exists || f.lastModified < lastCompilationTime(analysis) || 
!containsVersion(f, version)) {
--- a/debian/patches/series     2017-05-01 13:31:30.973574029 +0100
--- b/debian/patches/series     2017-05-01 13:31:44.909639506 +0100
@@ -4,3 +4,4 @@
 #add-default-local-debian-resolver.patch
 add-local-debian-maven-repo.patch
 base-on-scala211.patch
+reproducible_build.patch

--- End Message ---
--- Begin Message ---
Source: sbt
Source-Version: 0.13.13-2

We believe that the bug you reported is fixed in the latest version of
sbt, 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 861...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated sbt 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 11 Aug 2017 15:25:11 -0700
Source: sbt
Binary: sbt libsbt-java
Architecture: source all
Version: 0.13.13-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description:
 libsbt-java - Scala Build Tool libraries
 sbt        - Scala Build Tool
Closes: 861608
Changes:
 sbt (0.13.13-2) unstable; urgency=medium
 .
   * Team upload.
   * Upload to unstable.
   * Apply patch for reproducible builds (Closes: #861608)
     - Thank you to Chris Lamb for the patch.
Checksums-Sha1:
 17df803d2692f40f52dcb04f48f0fa4cce0517e3 3032 sbt_0.13.13-2.dsc
 c813e3179f5a5102af91bf98a0289d2a39922f8d 21296 sbt_0.13.13-2.debian.tar.xz
 fbda42cc28885252e9356f999b49b34c8d0135ce 10358514 libsbt-java_0.13.13-2_all.deb
 fd2756d7c4a4ffa1556c9222ade0fa4eba305d5c 1050238 sbt_0.13.13-2_all.deb
 f3270d916d1b11051633e8d9f8cbec66f9f26d9f 11230 sbt_0.13.13-2_amd64.buildinfo
Checksums-Sha256:
 f7f83aff269dca3c8f08163c4d8426f07aa1d43dc776c81ed26fdc425807df39 3032 
sbt_0.13.13-2.dsc
 ae6a349233530947fef3c294047fa34b9bbb9f3605e25a98e1a46f155fc113a5 21296 
sbt_0.13.13-2.debian.tar.xz
 5d746ff4e8a84e6361277008dca99232bd14599142b0ec9fe69dfcc7225e36cb 10358514 
libsbt-java_0.13.13-2_all.deb
 271084e6af651493b9ba90bbbb87509fbffe725520205d1ca4dce8aba9239ff9 1050238 
sbt_0.13.13-2_all.deb
 05e2295f2b8828b1886ff426d28900f3a3e075444e89fe8f6b0117d00b07edf9 11230 
sbt_0.13.13-2_amd64.buildinfo
Files:
 c5f743704d15229d2e218d9c47847622 3032 java optional sbt_0.13.13-2.dsc
 08d0898f3483ac4149a776ffbdb91fc8 21296 java optional 
sbt_0.13.13-2.debian.tar.xz
 9ee320f0c482a74bddebf10fed70596e 10358514 java optional 
libsbt-java_0.13.13-2_all.deb
 d3bc045061c119fe7720970385346c1c 1050238 java optional sbt_0.13.13-2_all.deb
 1ef625f84a8c0bbb68d33a0c42f8b721 11230 java optional 
sbt_0.13.13-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAlmOZ0AUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYXUA//V1kOa8qla9QCvAczLcDZcrjFFTK1
uBwzmEYH6P6xFRo3ohG54toMGhZqL1oLjnqpeD1nJI/GEcwWyO0ZX1FAFz0L9NHN
FQUKAYbIoJ3ZhMA4ATk9dn8RBwoAnFgR4q0kfvUz1Blg1CIouCIy8LrmNP1aMuOA
d4R95fzP9lHJb5DUwzAij3zm6ZqaaRFrc2Yx4iCbsv56I5Vv3XianmbZkeTdKXa6
YtxYetUrOjiieClBdTGCmereadeVElN9opqSDceMJUxnoWbpA7qAhwIoGadpGqWD
sL/gnYNuF9XUwxv0xFO0z9U9NszGMZwvdT1PskkxYhfYs2rNi2jZBMFzRfgUpMkn
xrLJs3n9K0zvZmA/gfDwWdfIqrajdM4l+6WegRVrzLT2pm+NSXr8I5chr+bH4HL+
ssFCOXD3W5xKEDmqO5g38afxUmOjN6R7vlt6U7o63yur0Rabal3Fj0njCHR+k+Vf
gfXUVIzk0RIo0r5VSMdzmj6flZv4Se/vvd1WC9jSA3Zd17nwQTXo+5q6KAiWqvU2
34uQ8y6QDOGFfs3UawI//Et0r69RebELw/EmVQe5H2d2rqq5ZjxO7JLmsABjns+r
Ohxs7m39VnExIJ6i6r9C3SC8ZetR84Y3hfw67W97oUaLzRH+cPll6HYT6ZoKE1U1
MrOhoMXn/JxeEAw=
=2sXV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to