Your message dated Sat, 16 Dec 2023 01:04:40 +0000
with message-id <e1rej6e-009ing...@fasolo.debian.org>
and subject line Bug#979019: fixed in lirc 0.10.1-7.3
has caused the Debian Bug report #979019,
regarding lirc: reproducible builds: Embeds timestamps and kernel version in 
various files
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 ow...@bugs.debian.org
immediately.)


-- 
979019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979019
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: lirc
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps kernel
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Various files embed timestamps and the running kernel version:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/i386/diffoscope-results/lirc.html

  /etc/lirc/lircd.conf.d/devinput.lircd.conf

  #·Generated·by·lirc-make-devinput·on·4.19.0-11-amd64
  vs.
  #·Generated·by·lirc-make-devinput·on·4.19.0-11-686-pae
  
  #·Date:·Thu·Nov·11·01:28:19·-12·2021
  vs.
  #·Date:·Fri·Oct··9·21:13:04·+14·2020

The attached patch fixes this by adjusting the tools used to generate
these files to not embed the timestamps or kernel version.


Thanks for maintaining lirc!


live well,
  vagrant
From 5a83c1b30f769d00d8a5f60785f001eda842981a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sat, 2 Jan 2021 00:41:38 +0000
Subject: [PATCH 1/3] debian/patches: Add patch to avoid embedding build time
 and kernel version in build results.

---
 ...ld-date-and-kernel-version-in-variou.patch | 60 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 61 insertions(+)
 create mode 100644 debian/patches/0009-Do-not-embed-build-date-and-kernel-version-in-variou.patch

diff --git a/debian/patches/0009-Do-not-embed-build-date-and-kernel-version-in-variou.patch b/debian/patches/0009-Do-not-embed-build-date-and-kernel-version-in-variou.patch
new file mode 100644
index 0000000..66455ed
--- /dev/null
+++ b/debian/patches/0009-Do-not-embed-build-date-and-kernel-version-in-variou.patch
@@ -0,0 +1,60 @@
+From 557300dcda769bb04e0ae03393b892c7e371403f Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagr...@reproducible-builds.org>
+Date: Sat, 2 Jan 2021 00:01:20 +0000
+Subject: [PATCH] Do not embed build date and kernel version in various files.
+
+https://reproducible-builds.org/docs/timestamps/
+https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_issue.html
+---
+ tools/irdb-get           | 2 +-
+ tools/lirc-lsplugins.cpp | 5 ++---
+ tools/lirc-make-devinput | 3 +--
+ 3 files changed, 4 insertions(+), 6 deletions(-)
+
+diff --git a/tools/irdb-get b/tools/irdb-get
+index e4e0a26..7688475 100755
+--- a/tools/irdb-get
++++ b/tools/irdb-get
+@@ -193,7 +193,7 @@ def do_yaml_config():
+         lircmd_by_driver[driver].append("%s/%s" % (tokens[0], tokens[2]))
+ 
+     print("#")
+-    print("# Created by 'irdb-get yaml-config' at " + time.ctime())
++    print("# Created by 'irdb-get yaml-config' ")
+     print("#")
+     print("\nlircd_by_driver:")
+     print_yaml_dict(lircd_by_driver)
+diff --git a/tools/lirc-lsplugins.cpp b/tools/lirc-lsplugins.cpp
+index ba67a3c..d38087f 100644
+--- a/tools/lirc-lsplugins.cpp
++++ b/tools/lirc-lsplugins.cpp
+@@ -415,10 +415,9 @@ static void print_header(void)
+ static void print_yaml_header(void)
+ {
+ 	static const char* const YAML_HEADER =
+-		"#\n# Generated by lirc-lsplugins --yaml (%s) at %s#\n ";
+-	const time_t now = time(NULL);
++		"#\n# Generated by lirc-lsplugins --yaml (%s)\n ";
+ 
+-	printf(YAML_HEADER, VERSION, ctime(&now));
++	printf(YAML_HEADER, VERSION);
+ 	printf("\ndrivers:\n");
+ }
+ 
+diff --git a/tools/lirc-make-devinput b/tools/lirc-make-devinput
+index f7e6f97..c37b5e1 100755
+--- a/tools/lirc-make-devinput
++++ b/tools/lirc-make-devinput
+@@ -61,8 +61,7 @@ if test -n "$lirc_map"; then
+ fi
+ 
+ 
+-echo "# Generated by $(basename $0) on $(uname -r)"
+-echo "# Date: $(date)"
++echo "# Generated by $(basename $0)"
+ cat <<EOF
+ 
+ begin remote
+-- 
+2.30.0
+
diff --git a/debian/patches/series b/debian/patches/series
index cb72009..7797a6c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006-lirc-gpio-ir-0.10.patch
 0007-python3.8.diff
 0008-doxyfile-Don-t-include-full-pathname-961954.patch
+0009-Do-not-embed-build-date-and-kernel-version-in-variou.patch
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: lirc
Source-Version: 0.10.1-7.3
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated lirc 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 05 Dec 2023 15:52:45 -0800
Source: lirc
Architecture: source
Version: 0.10.1-7.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Lirc Team <team+debian-l...@tracker.debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 979019 979023 979024 988907 989304 1052309
Changes:
 lirc (0.10.1-7.3) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Non-maintainer upload.
   * tools: Do not embed build date and kernel version in various files.
     (Closes: #979019)
   * debian/rules: Run build in the C.UTF-8 locale. (Closes: #979023)
 .
   [ Helmut Grohne ]
   * Build verbosely by default. (Closes: #988907)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Normalize shipped tarball of python source code.
     (Closes: #979024)
 .
   [ Helmut Grohne ]
   * Fix FTBFS when systemdsystemunitdir changes in systemd.pc.
     (Closes: #1052309)
   * Fix build vs host confusion. (Closes: #1052309)
   * Check for /dev/input using AC_CHECK_FILE. (Closes: #989304)
   * Multiarchify python Build-Depends. (Closes: #989304)
   * Export _PYTHON_SYSCONFIGDATA_NAME for setup.py. (Closes: #989304)
Checksums-Sha1:
 3eff410e3192cf065546314c13787019be978442 2251 lirc_0.10.1-7.3.dsc
 cc744704f2de715729638d5cd17329510b5a34a4 41928 lirc_0.10.1-7.3.debian.tar.xz
Checksums-Sha256:
 15fddc80a1852d9d1ff21872cd986c9705f6c4e9346a8098ec6c93565abcfd1f 2251 
lirc_0.10.1-7.3.dsc
 4c5c03e146f3ef7aeff2e0d0dc5f7a35713a1ddcd6f07c3044c9f607b48d92df 41928 
lirc_0.10.1-7.3.debian.tar.xz
Files:
 94227eb8effa8de90faef4ab4dbce54b 2251 utils optional lirc_0.10.1-7.3.dsc
 cf18a660942e124d53513ccc62de991b 41928 utils optional 
lirc_0.10.1-7.3.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZW+7iSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqsgpAP4j50+SmtNxzq4Y
SX+8NJ3no8w8+1Ej4OjuIGL53TmsuAD/QwO1hvlAWuzEu3d7eQq7+if2SqGdL/jB
0LS+c5uKoQA=
=K8rx
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to