Your message dated Sat, 18 Jul 2015 19:04:32 +0000 with message-id <E1ZGXPU-00069w-ME@franck.debian.org> and subject line Bug#788752: fixed in analog 2:6.0-21 has caused the Debian Bug report #788752, regarding analog: 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.) -- 788752: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788752 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: analog: please make the build reproducible
- From: Dhole <dhole@openmailbox.org>
- Date: Sun, 14 Jun 2015 20:17:26 +0200
- Message-id: <557DC536.7000705@openmailbox.org>
Source: analog Version: 2:6.0-20 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps Hi! While working on the “reproducible builds” effort [1], we have noticed that analog 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, analog can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- Dholediff -u analog-6.0/debian/changelog analog-6.0/debian/changelog --- analog-6.0/debian/changelog +++ analog-6.0/debian/changelog @@ -1,3 +1,10 @@ +analog (2:6.0-22) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Remove timestamp from outxml.c to make package build reproducibly + + -- Dhole <dhole@openmailbox.org> Sat, 13 Jun 2015 21:05:32 +0200 + analog (2:6.0-20) unstable; urgency=low * QA upload. only in patch2: unchanged: --- analog-6.0.orig/src/outxml.c +++ analog-6.0/src/outxml.c @@ -54,7 +54,6 @@ extern timecode_t starttimec; unsigned int year, month, day, i; - struct tm temptime; char *xmlversion = "1.0"; char *encoding = "UTF-8"; @@ -85,15 +84,10 @@ xml_defaults( opts ); // extract a build timestamp from __DATE__ and __TIME__ -- locale dependent?! need to force "C" locale ? - strptime( __DATE__" "__TIME__, "%b%n%d%n%Y%n%T", &temptime ); - - sprintf( buffer, "%04d%02d%02d%02d%02d", - temptime.tm_year+1900, temptime.tm_mon+1, temptime.tm_mday, temptime.tm_hour, temptime.tm_min ); code2date( starttimec/1440, &day, &month, &year); - + XML_OUT( XMLDBG "<property name=\"version\" content=\"%s\"/>", VERSION ); - XML_OUT( XMLDBG "<property name=\"built\" content=\"%s\"/>", buffer ); XML_OUT( XMLDBG "<property name=\"starttime\" content=\"%04d%02d%02d%02d%02d\"/> ", year, month+1, day, (int)((starttimec%1440)/60), (int)(starttimec%60) );Attachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
- To: 788752-close@bugs.debian.org
- Subject: Bug#788752: fixed in analog 2:6.0-21
- From: Andreas Beckmann <anbe@debian.org>
- Date: Sat, 18 Jul 2015 19:04:32 +0000
- Message-id: <E1ZGXPU-00069w-ME@franck.debian.org>
Source: analog Source-Version: 2:6.0-21 We believe that the bug you reported is fixed in the latest version of analog, 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 788752@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Beckmann <anbe@debian.org> (supplier of updated analog 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: Sat, 18 Jul 2015 20:43:25 +0200 Source: analog Binary: analog Architecture: source Version: 2:6.0-21 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Andreas Beckmann <anbe@debian.org> Description: analog - web server log analyzer Closes: 618951 658779 674823 759872 788752 791850 Changes: analog (2:6.0-21) unstable; urgency=medium . * QA upload. * Build-Depend on libgd-dev. (Closes: #791850) * Fix FTBFS on HURD, thanks to Cyril Roelandt. (Closes: #674823) * debian/patches/02_windows_vista_7.patch: (Closes: #618951) (LP: #222813) add patch by Andrew Glen-Young to recognize Windows 7 and Vista. * Patch build system to allow the build date to be set externally, and set it to the latest debian/changelog entry for reproducibility. Thanks to Dhole. (Closes: #788752) * Ensure hardening flags are used during build. * Use source format 3.0 (quilt), stop using quilt directly. * Switch to debhelper compat level 9 and simplify d/rules. * Bump Standards-Version to 3.9.6. * Debconf translations: - Indonesian (id) by Mahyuddin Susanto. (Closes: #658779) - Turkish (tr) by Mert Dirik. (Closes: #759872) Checksums-Sha1: b20719658f032e7b43f72b23f85ca0c8cf984aa2 1887 analog_6.0-21.dsc 043d5def06bf99f37cba865c0d77afbd6879fecc 26992 analog_6.0-21.debian.tar.xz Checksums-Sha256: 4d8f95643c03cf052dc7dde807546c86cc9c1cddb8e1c9807f0efdee17809759 1887 analog_6.0-21.dsc e393724a564f7131b264d5e7e17cc2dda7f655cad3ad3cec2247f9ec2baa1fd9 26992 analog_6.0-21.debian.tar.xz Files: 5b8528af3924be326818bd6547277fd1 1887 web optional analog_6.0-21.dsc 0fb9a760f5c0d25caa78adac64d234bc 26992 web optional analog_6.0-21.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVqp7XAAoJEF+zP5NZ6e0IWLQP/3URThK/ROqiibfI+ObsFes3 tC9JpVKFGpdDei0H2WOR7nXnd6ai93TbotQxkRnYAwcYwstbmHAaqEmE63eM5GL6 SkcS8IXnerYjZOTMI0YdMOtQxpGIE/4LJRzoHUAWiiwZpjhNVS9vgccXL/wDjCPp RKwzWBc6ImQJtHWYoXabmHQp/C0JWYOzBnkpOe9iJ2QNDMZDblvkxaI6aMdFGQyz 7OTlTNfpd6mz7MftmDYTTrN9VQaBtkoc5Z5AbUT3haT+P0sE3gUgUVjRMj1hNZvH OcSDuNldSZ9KQnJG78oBpyRlvJFBtP7iEY7SbU12v/NpvNtACCjnMdGrpzI59zJt qX131h3iifgypB4iX6z8fpYznkL/onN3O9g1aRHbHxmiCVZMV2+9jQiI4xpr7OxD Bb6o3/AOBK1tYvzslW+uX/3W0Idj8V/55eSc9VwIpJ4Kmra6iRDh5Mtxrvezz8b7 FrcCcEUXVoLeLE4BJ9Mcz7uJCfAGQUkzQcKJvpghd6ioUf4Psc0yRV309MAZhp5s 1QPcC2smZraZDfN1wO9VvcvENg2tyXm8Lt5rBy6JkGCMgQPCufMr35lnR5VZDnIv 0yigWeoql/I0PJGT6EDXxk7ouKk6i10YWqc4oUzTy/yQQ4k/BnUXKAqemoe8YKOJ iJix8mwYnk+zXaKsZQk8 =ESGB -----END PGP SIGNATURE-----
--- End Message ---