Debian Bug report logs - #1005726
ruby-github-markup: reproducible builds: Embedded timestamps in documentation file

Package: src:ruby-github-markup; Maintainer for src:ruby-github-markup is Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Mon, 14 Feb 2022 00:03:01 UTC

Severity: normal

Tags: patch

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#1005726; Package src:ruby-github-markup. (Mon, 14 Feb 2022 00:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Mon, 14 Feb 2022 00:03:03 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: ruby-github-markup: reproducible builds: Embedded timestamps in documentation file
Date: Sun, 13 Feb 2022 15:59:28 -0800
[Message part 1 (text/plain, inline)]
Source: ruby-github-markup
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The file created.rid file shipped in the documentation embeds timestamps
that appear to be timezone dependent:

│ │ │ ├── ./usr/share/rubygems-integration/all/gems/github-markup-1.7.0/doc/created.rid
│ │ │ │ -lib/github/markup.rb   Sun, 13 Feb 2022 11:19:23 -1200                                                                                               ...
│ │ │ │ +lib/github/markup.rb   Mon, 14 Feb 2022 13:19:23 +1400


The attached patch fixes this by removing the file in debian/rules
before building the .deb packages, as it does not appear to be
referenced in any of the documentation.


With this patch applied, ruby-github-markup should build
reproducibly on tests.reproducible-builds.org!


Thanks for maintaining ruby-github-markup!


live well,
  vagrant
[0001-debian-rules-Remove-created.rid-file-from-documentat.patch (text/x-diff, inline)]
From 4318eea5612f0338558a4cdc59849264b8c1ad06 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 13 Feb 2022 23:46:55 +0000
Subject: [PATCH] debian/rules: Remove created.rid file from documentation.

This file contains various timestamps of the generated documentation
files, but appears otherwise unused.

https://reproducible-builds.org/docs/timestamps/
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0161df7..4b17d23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_build:
 	dh_auto_build
 	# build documentation
 	rdoc --main=README.md --exclude=commands lib
-	rm -f doc/js/*.js.gz
+	rm -f doc/js/*.js.gz doc/created.rid
 
 override_dh_auto_install:
 	# use utf-8 locale so test cases work
-- 
2.34.1

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

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:18:51 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.