Your message dated Sat, 16 Dec 2023 01:04:40 +0000
with message-id <e1rej6e-009inm...@fasolo.debian.org>
and subject line Bug#979024: fixed in lirc 0.10.1-7.3
has caused the Debian Bug report #979024,
regarding lirc: reproducible builds: ships tarball of python sources
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.)


-- 
979024: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979024
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: umask timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The lirc package ships a /usr/share/lirc/lirc-VERSION.tar.gz tarball.

This tarball contains timestamps produced during the build, can be
affected by the umask of the build environment.

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

  /usr/share/lirc/lirc-0.10.1.tar.gz

  
-rw-r--r--···0·root···(0)·root···(0)··1667·2017-09-10·08:52:19.000000·lirc-0.10.1/README.rst
  vs.
  
-rw-rw-r--···0·root···(0)·root···(0)··1667·2017-09-10·08:52:19.000000·lirc-0.10.1/README.rst


I do not know enough about lirc to know if this tarball needed to be
shipped in the package, or could they be shipped as files in the
filesystem instead?


If it is ok to remove the tarball entirely, the attached patch fixes
these issues by removing the tarball from debian/rules.


If that is not an appropriate way forward, I can look into how to
generate the tarball deterministically. It appears to use setup.py to
generate the tarball:

  Makefile.am-    cd $(abs_builddir)/python-pkg; CFLAGS=-I$(abs_top_srcdir)/lib 
\
  Makefile.am-        LDFLAGS=-L$(abs_builddir)/lib/.libs $(PYTHON) setup.py -q 
sdist


Thanks for maintaining lirc!


live well,
  vagrant
From f0785b3b08c91abd7fa502e98cdd15a79fdbd4b9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sat, 2 Jan 2021 02:59:53 +0000
Subject: [PATCH 5/5] debian/rules: Delete shipped tarball of python source
 code.

The tarball includes timestamps and various other things that may vary
between builds.

https://reproducible-builds.org/docs/archives/
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index beabc5e..ee55368 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/pkg-info.mk
 
 export DEB_BUILD_MAINT_OPTIONS      = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND     = -Wl,--as-needed
@@ -74,6 +75,8 @@ endif
 
 override_dh_install:
 	dh_install --fail-missing
+	# Remove python tarball
+	rm -f debian/lirc/usr/share/lirc/lirc-$(DEB_VERSION_UPSTREAM).tar.gz
 
 override_dh_installinit:
 	dh_installinit --package=lirc --name=lircd
-- 
2.30.0

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