[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#776299: marked as done (twitter-bootstrap: please make the build reproducible)



Your message dated Wed, 23 Sep 2015 13:34:58 +0000
with message-id <E1ZekCI-0003Zi-DQ@franck.debian.org>
and subject line Bug#776299: fixed in twitter-bootstrap 2.0.2+dfsg-6
has caused the Debian Bug report #776299,
regarding twitter-bootstrap: 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 owner@bugs.debian.org
immediately.)


-- 
776299: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776299
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: twitter-bootstrap
Version: 2.0.2+dfsg-5
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 twitter-bootstrap could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, twitter-bootstrap can be built reproducibly in our current
experimental framework.

An alternative solution might be to simply remove the bootstrap.zip from
the final .deb - it does not (or should not!) be used from inside the
-doc package anyway.
 

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/patches/03-reproducible-build.diff b/debian/patches/03-reproducible-build.diff
new file mode 100644
index 0000000..a9cc532
--- /dev/null
+++ b/debian/patches/03-reproducible-build.diff
@@ -0,0 +1,11 @@
+--- a/Makefile.orig	2015-01-26 12:21:27.356099504 +0000
++++ b/Makefile	2015-01-26 12:21:38.724604940 +0000
+@@ -11,6 +11,8 @@
+ 
+ docs: bootstrap
+ 	rm -f docs/assets/bootstrap.zip
++	find bootstrap -depth -newermt '$(BUILD_DATE)' -print0 | \
++               xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
+ 	zip -r docs/assets/bootstrap.zip bootstrap
+ 	lessc ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
+ 	lessc ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
diff --git a/debian/patches/series b/debian/patches/series
index d94f92b..6ef2c0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 use-nodejs-command.patch
 build-with-node-1.4.2.patch
 drop-nc-from-uglifyjs.patch
+03-reproducible-build.diff

--- End Message ---
--- Begin Message ---
Source: twitter-bootstrap
Source-Version: 2.0.2+dfsg-6

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

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated twitter-bootstrap 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: SHA256

Format: 1.8
Date: Wed, 23 Sep 2015 15:05:00 +0200
Source: twitter-bootstrap
Binary: libjs-twitter-bootstrap libjs-twitter-bootstrap-docs
Architecture: source all
Version: 2.0.2+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
 libjs-twitter-bootstrap - HTML, CSS and JS toolkit from Twitter
 libjs-twitter-bootstrap-docs - HTML, CSS and JS toolkit from Twitter (documentation)
Closes: 776299
Changes:
 twitter-bootstrap (2.0.2+dfsg-6) unstable; urgency=medium
 .
   * QA upload.
   * Put new files generated during the build and not removed
     by the clean target in debian/clean.
   * Remove files bootstrap-responsive.css and bootstrap.css
     in the clean target as they are regenerated by the build.
   * Remove the "bootstrap" directory in the clean target, as it's
     a Makefile target and its mere existence makes it not to be
     populated at all.
   * The clean target should now work as expected.
   * Renumber debian/patches/* from 01 to 05.
   * Add debian/patches/06-reproducible-build.patch. Set mtimes of
     "bootstrap" directory before making a zipfile of it.
     Based on a patch by Chris Lamb. Closes: #776299.
Checksums-Sha1:
 481ebbd61925cdde3bc4f47d0a21c8509d5c3e4f 1625 twitter-bootstrap_2.0.2+dfsg-6.dsc
 c0e3f86f36a16f36c8e080b0021c281584b99755 46316 twitter-bootstrap_2.0.2+dfsg-6.debian.tar.xz
 373a88efc5cbc25c714a73f438829a5eeadab151 766944 libjs-twitter-bootstrap-docs_2.0.2+dfsg-6_all.deb
 01ae0cc11a73d5ca76cc2e68e9503d9971d8c219 98134 libjs-twitter-bootstrap_2.0.2+dfsg-6_all.deb
Checksums-Sha256:
 662cbbd13c61255986aacd7e545e7ac3307f34007b1dac9f9d3a2a7962fc8d8a 1625 twitter-bootstrap_2.0.2+dfsg-6.dsc
 6ce44d2df3d80bc7089d34ff033bddd7e06980abb3148a9d175d6a789eba5091 46316 twitter-bootstrap_2.0.2+dfsg-6.debian.tar.xz
 f845595eddd723fa01407025f8004680a795c877689f52fe5e068ddd43466249 766944 libjs-twitter-bootstrap-docs_2.0.2+dfsg-6_all.deb
 cd2a891d0445cebd6bc964ef1dc02e7708eba30e12aac067e8b517050ea02c80 98134 libjs-twitter-bootstrap_2.0.2+dfsg-6_all.deb
Files:
 fb2318fa72d7ce7de88cff9df7891785 1625 web optional twitter-bootstrap_2.0.2+dfsg-6.dsc
 9db45327ba81d58324f6c032f029b6cb 46316 web optional twitter-bootstrap_2.0.2+dfsg-6.debian.tar.xz
 b16bc257b7ca50f2ebe3a12464b5dcd3 766944 doc optional libjs-twitter-bootstrap-docs_2.0.2+dfsg-6_all.deb
 dcb354db981708776d0e150b005c14d7 98134 web optional libjs-twitter-bootstrap_2.0.2+dfsg-6_all.deb

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

iQEcBAEBCAAGBQJWAqRoAAoJEEHOfwufG4sy4jEH/1fD405zNuuGKUtOh5esORzS
V8sRFVyEalioI7TrEVb0oBrmLuE/umtASc1ZSpbsgzhsII28TQ19qLo0SsyaSI3L
k1ZDKwPzLmwCRFI4u8CaDnPipT9oo9zri6pWo/8VsfGj5+SZuMHw3Gv/kXwdI8vI
pENzg1aT6iGNPK5lWUAiTvN5K5/DjbGlzTVz7ArtT+5fAn4ZCMQPHIQ4hq6hOz5n
x3kfhDu/olOipzbWT+XHIP/l5drRrxx2PEzf6E1B54yuHk4iwVLmWRZrI4cJjZa3
q0I4d1cqFSCXraTsg/VmHHZfj9PuPW1y4wXEQWZ7G1zjFuN0kXA0vG3BYZntn6g=
=kUY+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: