[Reproducible-builds] Bug#788756: aolserver4-nssqlite3: please make the build reproducible
Dhole
dhole at openmailbox.org
Sun Jun 14 18:22:23 UTC 2015
Source: aolserver4-nssqlite3
Version: 0.9-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that aolserver4-nssqlite3 could not be built reproducibly.
The attached patch removes extra timestamps from the build system.
Specifically, the patch avoids the the usage of the __DATE__ and
__TIME__ C macro which embed timestamps during the compilation and make
the package build unreproducible.
Once applied, aolserver4-nssqlite3 can be built reproducibly in our
current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Dhole
-------------- next part --------------
diff -u aolserver4-nssqlite3-0.9/debian/changelog aolserver4-nssqlite3-0.9/debian/changelog
--- aolserver4-nssqlite3-0.9/debian/changelog
+++ aolserver4-nssqlite3-0.9/debian/changelog
@@ -1,3 +1,10 @@
+aolserver4-nssqlite3 (0.9-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Remove timestamp macro from source code to make package build reproducibly
+
+ -- Dhole <dhole at openmailbox.org> Sun, 14 Jun 2015 14:35:39 +0200
+
aolserver4-nssqlite3 (0.9-2) unstable; urgency=low
[ Stefan Sobernig ]
only in patch2:
unchanged:
--- aolserver4-nssqlite3-0.9.orig/nssqlite3.c
+++ aolserver4-nssqlite3-0.9/nssqlite3.c
@@ -28,13 +28,13 @@
*/
-/*
+/*
* nssqlite3.c --
*
* This file implements the SQLite 3 database driver.
*/
-static const char *RCSID = "@(#) $Header: /cvsroot/aolserver/nssqlite3/nssqlite3.c,v 1.1.1.1 2005/03/07 04:36:22 dossy Exp $, compiled: " __DATE__ " " __TIME__;
+static const char *RCSID = "@(#) $Header: /cvsroot/aolserver/nssqlite3/nssqlite3.c,v 1.1.1.1 2005/03/07 04:36:22 dossy Exp $";
#include "ns.h"
#if NS_MAJOR_VERSION >= 4
@@ -130,8 +130,8 @@
driver);
return NS_ERROR;
}
- Ns_Log(Notice, "nssqlite3: Loaded %s, version %s built on %s at %s.",
- driver, DRIVER_VERSION, __DATE__, __TIME__);
+ Ns_Log(Notice, "nssqlite3: Loaded %s, version %s.",
+ driver, DRIVER_VERSION);
return NS_OK;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150614/c9addfec/attachment.sig>
More information about the Reproducible-builds
mailing list