Debian Bug report logs - #828994
syncthing: please make the build reproducible

version graph

Package: src:syncthing; Maintainer for src:syncthing is Debian Go Packaging Team <team+pkg-go@tracker.debian.org>;

Reported by: Dhole <dhole@riseup.net>

Date: Wed, 29 Jun 2016 15:39:02 UTC

Severity: wishlist

Tags: fixed-upstream, patch

Found in version syncthing/0.13.4+dfsg1-1

Fixed in version syncthing/0.13.9+dfsg1-2

Done: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/syncthing/syncthing/pull/3363

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>:
Bug#828994; Package src:syncthing. (Wed, 29 Jun 2016 15:39:05 GMT) (full text, mbox, link).


Acknowledgement sent to Dhole <dhole@riseup.net>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>. (Wed, 29 Jun 2016 15:39:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Dhole <dhole@riseup.net>
To: submit@bugs.debian.org
Subject: syncthing: please make the build reproducible
Date: Wed, 29 Jun 2016 17:35:02 +0200
[Message part 1 (text/plain, inline)]
Source: syncthing 
Version: 0.13.4+dfsg1-1 
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that syncthing could not be built reproducibly.

genassets.go embeds a timestamp of the localtime to a source code file
generated during the build.

The attached patch fixes this replacing the local timestamp by
SOURCE_DATE_EPOCH if defined. Once applied, syncthing can be built
reproducibly in our current experimental framework.

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

Regards,
-- 
Dhole
[syncthing.diff.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>:
Bug#828994; Package src:syncthing. (Wed, 29 Jun 2016 15:51:16 GMT) (full text, mbox, link).


Acknowledgement sent to Dhole <dhole@riseup.net>:
Extra info received and forwarded to list. Copy sent to Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>. (Wed, 29 Jun 2016 15:51:16 GMT) (full text, mbox, link).


Message #10 received at 828994@bugs.debian.org (full text, mbox, reply):

From: Dhole <dhole@riseup.net>
To: 828994@bugs.debian.org, Reproducible Builds discussion list <reproducible-builds@lists.alioth.debian.org>
Subject: Re: [Reproducible-builds] Bug#828994: syncthing: please make the build reproducible
Date: Wed, 29 Jun 2016 17:48:54 +0200
[Message part 1 (text/plain, inline)]
I forgot to mention: please, consider sending this patch upstream as it
is not Debian specific.

Thanks,
-- 
Dhole
[signature.asc (application/pgp-signature, inline)]

Set Bug forwarded-to-address to 'https://github.com/syncthing/syncthing/pull/3363'. Request was from Alexandre Viau <aviau@debian.org> to control@bugs.debian.org. (Wed, 29 Jun 2016 18:12:18 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from Alexandre Viau <aviau@debian.org> to control@bugs.debian.org. (Wed, 29 Jun 2016 19:21:10 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Nicolas Braud-Santoni <nicolas@braud-santoni.eu> to control@bugs.debian.org. (Wed, 29 Jun 2016 22:00:03 GMT) (full text, mbox, link).


Reply sent to Nicolas Braud-Santoni <nicolas@braud-santoni.eu>:
You have taken responsibility. (Wed, 29 Jun 2016 23:33:24 GMT) (full text, mbox, link).


Notification sent to Dhole <dhole@riseup.net>:
Bug acknowledged by developer. (Wed, 29 Jun 2016 23:33:24 GMT) (full text, mbox, link).


Message #21 received at 828994-close@bugs.debian.org (full text, mbox, reply):

From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
To: 828994-close@bugs.debian.org
Subject: Bug#828994: fixed in syncthing 0.13.9+dfsg1-2
Date: Wed, 29 Jun 2016 23:29:38 +0000
Source: syncthing
Source-Version: 0.13.9+dfsg1-2

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

Debian distribution maintenance software
pp.
Nicolas Braud-Santoni <nicolas@braud-santoni.eu> (supplier of updated syncthing 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 29 Jun 2016 23:13:55 +0200
Source: syncthing
Binary: golang-github-syncthing-syncthing-dev syncthing
Architecture: source all amd64
Version: 0.13.9+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Changed-By: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
Description:
 golang-github-syncthing-syncthing-dev - decentralized file synchronization - dev package
 syncthing  - decentralized file synchronization
Closes: 828808 828994
Changes:
 syncthing (0.13.9+dfsg1-2) unstable; urgency=medium
 .
   * Team upload.
   * Import upstream patches
     - Remove the TestGithubRelease test (Closes: #828808)
     - Honor SOURCE_DATE_EPOCH when set  (Closes: #828994)
   * Fix typos in messages and manpages
Checksums-Sha1:
 025d6327af6189cd820925e018478b522bcc917b 2856 syncthing_0.13.9+dfsg1-2.dsc
 08392def5be6f9ec2c0ac2928e084cf1cb7e478c 24692 syncthing_0.13.9+dfsg1-2.debian.tar.xz
 bdc9f128ebed9603f704489c6805950b9c4b20f7 2264644 golang-github-syncthing-syncthing-dev_0.13.9+dfsg1-2_all.deb
 e332f87875e7f7aa28e5af0fe1d007540a269826 3577298 syncthing_0.13.9+dfsg1-2_amd64.deb
Checksums-Sha256:
 2c29faf4d96e97d5f1453312596de54ffc001a5dc33dcbe6665cc8f7b7858d21 2856 syncthing_0.13.9+dfsg1-2.dsc
 5d92771c3b9c5aaaf79a1a9870b158e8f4d66b9e8a36c881bf8d9b2982f35396 24692 syncthing_0.13.9+dfsg1-2.debian.tar.xz
 285ca30b7422aa8ce56ce622e9a84d522808c705e03109b39b56fdb6aa74a1d8 2264644 golang-github-syncthing-syncthing-dev_0.13.9+dfsg1-2_all.deb
 1708c51d8cac417d306369c8905f17df1e602a50d020863e95e790aa0779b2ed 3577298 syncthing_0.13.9+dfsg1-2_amd64.deb
Files:
 3423b58e36ad2248eba4c7255f4d12bf 2856 devel extra syncthing_0.13.9+dfsg1-2.dsc
 33572966dfc1757b9fb7cf1c3be90b56 24692 devel extra syncthing_0.13.9+dfsg1-2.debian.tar.xz
 3cefa61e3871b5f5880b31474ad8a13e 2264644 devel extra golang-github-syncthing-syncthing-dev_0.13.9+dfsg1-2_all.deb
 87e679e25e389d9f67ede9e5b4eb8cd3 3577298 devel extra syncthing_0.13.9+dfsg1-2_amd64.deb

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

iQIcBAEBCgAGBQJXdEpwAAoJENqCgw48zDo6RY8P/jp6RgtFIKVvUa6A+GUIyMUl
xCEQdf90lBQBQ7Dd1Xgy8tPnfl9nkwJZO5IHH+oX1R/k9wxX1vbOc600hXCJbZ5H
N2E81La0rhNCkZ0+vnwJ/gcfQIbZEYn/JLe+nf4uYmqua3ZH29c3nVkY+y8Ngaui
w0t+DCDTcQ18bzxda6L7ToGkLBVyW4ox1LWUW/hJrRuc6SbsrFXdRLTRnbjjDG8t
A8U5d5QtGbUnuwlWMrxoTPYCkOSdxd6dmENNAIa6XaRYh+IjIQWRNTy/r4obw8aw
IC5RdT8uRztnBvsVSB0lKBu2R7aZ1mOJ0Pxce/xkF4Owgl3bq8oKbF+wcyupCcP1
lj9oojoVwsUTOwYfu+idh0Fv+zUlarwuf9ZqzcKz4w8jIOBvw/DveDHSYg1D4+Ha
i9wiA3O1BVke5VetU6otGvrLsdStRsht3qP1UoqsW6wNYdJZdTBeB4s3ijRLguTP
eLKDBQbSOis+E8HpQtqIDpUGSu8w2monVbLg9zb2a076zwb5YjAtfz+0jYpWyK7w
cJACwADxdabJPlqK2G8x5Kpv92+pQ5ZYhFwc9SNF2BkvdGLR3Z2Bi2LbsokY9smk
exES4ETi1ObD4mR1Jw9t1+lxn9EJ+ReHsISuxIn7rSaU3HguRab5Gyb6FEaMaP3u
4/2BRsjeE6PcPMhiYHW7
=5c1h
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 08 Sep 2016 07:39:14 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:50:45 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.