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

Bug#830922: marked as done (kernel-handbook: please make the build reproducible)



Your message dated Wed, 25 Jul 2018 03:48:57 +0000
with message-id <E1fiAnJ-0002NU-1j@fasolo.debian.org>
and subject line Bug#830922: fixed in kernel-handbook 1.0.19
has caused the Debian Bug report #830922,
regarding kernel-handbook: 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.)


-- 
830922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830922
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: kernel-handbook
Version: 1.0.17+nm
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 kernel-handbook could not be built reproducibly.

A date and timestamp is embedded in the documentation using the local
timezone and locale.

The attached patch fixes this by fixing the timezone to UTC and the
locale to "C" in the timestamp. Once applied, kernel-handbook can be
built reproducibly in our current experimental framework.

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

Regards,
-- 
Dhole
diff -Nru kernel-handbook-1.0.17/debian/changelog kernel-handbook-1.0.17+nmu1/debian/changelog
--- kernel-handbook-1.0.17/debian/changelog	2016-03-07 03:08:15.000000000 +0100
+++ kernel-handbook-1.0.17+nmu1/debian/changelog	2016-07-13 01:29:10.000000000 +0200
@@ -1,3 +1,10 @@
+kernel-handbook (1.0.17+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix locale and timezone in embedded timestamp to make it reproducible.
+
+ -- Eduard Sanou <dhole@openmailbox.org>  Wed, 13 Jul 2016 01:28:52 +0200
+
 kernel-handbook (1.0.17) unstable; urgency=medium
 
   * debian/control: Change Vcs-Git and Vcs-Browser to canonical HTTP-S URLs
diff -Nru kernel-handbook-1.0.17/Makefile kernel-handbook-1.0.17+nmu1/Makefile
--- kernel-handbook-1.0.17/Makefile	2015-11-13 22:33:04.000000000 +0100
+++ kernel-handbook-1.0.17+nmu1/Makefile	2016-07-13 01:37:47.000000000 +0200
@@ -1,5 +1,5 @@
 version := $(shell dpkg-parsechangelog -SVersion)
-date    := $(shell date -d "$$(dpkg-parsechangelog -SDate)")
+date    := $(shell LC_ALL=C date --utc -d "$$(dpkg-parsechangelog -SDate)")
 
 LANG_PO := ja
 LANG_EN := en

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: kernel-handbook
Source-Version: 1.0.19

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

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated kernel-handbook 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, 25 Jul 2018 11:34:05 +0800
Source: kernel-handbook
Binary: debian-kernel-handbook debian-kernel-handbook-ja
Architecture: source
Version: 1.0.19
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
 debian-kernel-handbook - reference to Debian Linux kernel packages and development
 debian-kernel-handbook-ja - reference to Debian Linux kernel packages and development (Japane
Closes: 830922 874635
Changes:
 kernel-handbook (1.0.19) unstable; urgency=medium
 .
   * Point all project/Vcs URLs to Salsa
   * Direct contributions to the debian-kernel mailing list
   * Move web site to Gitlab Pages
     - This limits it to be English only for now
   * Update URL in "Building a development version of the Debian kernel package"
     to point to Salsa
   * Makefile: Always use UTC in document date
   * Remove version.ent from version control, since it can always be
     regenerated
   * Makefile: Use git commit metadata when building from an unreleased version
   * Makefile: Mark clean and po-update as phony targets
   * Makefile: Add missing dependencies to sync and language targets
   * Makefile: Use stamp files to avoid unnecessary rebuilding
   * Remove redundant text in "Building a custom kernel from the "pristine"
     kernel source", and refer to the previous section instead
   * Improve explanation of how to generate the kernel configuration
   * Note the need to change module signing options when reusing Debian
     kernel config
   * Update disk space requirements for rebuilding official Debian kernel
     packages
   * debian/copyright: Convert to machine-readable copyright format 1.0
   * Makefile: Fix locale in document date to make it reproducible,
     thanks to Eduard Sanou (Closes: #830922)
   * debian/control: Update Standards-Version to 4.1.5:
     - Set Priority: optional
     - Set Rules-Requires-Root: no
   * Update the filename where debug-info is enabled in the linux package
     (Closes: #874635)
   * Use debhelper compatibility level 11
Checksums-Sha1:
 88610842d57c5bdcd35aa109997625a97925f8b3 1779 kernel-handbook_1.0.19.dsc
 91a32f7f11ce94fc49adbfa6419a658a2e27fe59 51144 kernel-handbook_1.0.19.tar.xz
 c4efbd500a8ea357da10eb99e6ffff815f93f225 6504 kernel-handbook_1.0.19_source.buildinfo
Checksums-Sha256:
 1f4529bd0e872870d12386928bf3f31a8c7a939bd56a9b1331643edaac0fb453 1779 kernel-handbook_1.0.19.dsc
 1689380833c6108ae23465ceadecf8aea17f335cb1b8152854b817491492aa37 51144 kernel-handbook_1.0.19.tar.xz
 c3782035df7925e4a6a3c441405acaa6f259ef1fe053d0f9807f4fbe58a65692 6504 kernel-handbook_1.0.19_source.buildinfo
Files:
 e3926f5557538423baa1c43a29af48f2 1779 doc optional kernel-handbook_1.0.19.dsc
 ae413a6086db37cafb7b78a981561211 51144 doc optional kernel-handbook_1.0.19.tar.xz
 3aac392eac5da645e140ee214e4dd7b3 6504 doc optional kernel-handbook_1.0.19_source.buildinfo

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

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAltX8IUACgkQ57/I7JWG
EQkrIxAAvCVNShgNFyIuBh9USrRgNVj29XkqXJeu9Tk3Igqt7QwjF/Gg0q/vJljL
ReO7Dwqp/Fb8n/n8k0U/ho2cv93L7xu08jgYsFg5y72ubJLd+i1pUIlwIbPeCPVo
eSRSwrBYMOdwA7N+Vrm08ML7JWaNWwmwFC/GXHM94M6qWfVxpbXZudhMAmnVFi8D
Q8vPGR+YcgJ0sXuppQA6q0TNPSPbaz20IUzcPb/WUn6V4dYwypC4jHNtoLtYcAce
h6vNu6Znafr5s9VsbkNbb/GybcsQUS//eEizs9+vWftFQmGt3FZczd66UqlcV4UF
NymQyDViWJ4I7gte6KXM91dTe+mes2yq+fYmcpjT01yHFIDXNH9TlNpG+8wD6Ck7
459I2o0+WT3kI84EBB8y6YE+XU9RRm9nM6j2qsNsuFjIIqChOs99XRm6pmCtYPt0
ldNnuOGDwqag8zhUVgLTEmFqrsGx8AWNX32l+boxjA2eKcubP4CPKXmD/5jjDn37
gPM6ydsUbNOlqjGc6jkmHCWHqTkV2chBMWoI42DOOjkDZZRiqwQQh23082amLlVY
iogJn06LqmB3+tofT5LxWGLk8NaZW9GC/bFuD2s/7g7j33fpcXecwa2nR4LNUHwF
OkI6gTjQsq9mVyglUzOOtmh9uhkTgUTkl+grZGPKEyv5YJaL7W0=
=QFSK
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: