Debian Bug report logs - #970893
debdelta: Ensure correct mode of html documentation and shipped patches.

version graph

Package: src:debdelta; Maintainer for src:debdelta is A Mennucc1 <mennucc1@debian.org>;

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

Date: Fri, 25 Sep 2020 02:27:02 UTC

Severity: normal

Tags: patch

Fixed in version debdelta/0.67

Done: A Mennucc1 <mennucc1@debian.org>

Bug is archived. No further changes may be made.

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, A Mennucc1 <mennucc1@debian.org>:
Bug#970893; Package src:debdelta. (Fri, 25 Sep 2020 02:27:04 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, A Mennucc1 <mennucc1@debian.org>. (Fri, 25 Sep 2020 02:27:04 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: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debdelta: Ensure correct mode of html documentation and shipped patches.
Date: Thu, 24 Sep 2020 19:22:39 -0700
[Message part 1 (text/plain, inline)]
Source: debdelta
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Several files in debdelta and debdelta-doc use the umask of the build
environment and end up in the package with inconsistent mode as a
result.

Affected files in /usr/share/debdelta-doc/html/* in debdelta-doc and
/usr/share/debdelta/debmirror*.patch in debdelta.

The attached patch sets the modes of these files appropriately, enabling
reproducible builds for debdelta.


Thanks for maintaining debdelta!


live well,
  vagrant
[0001-Ensure-correct-mode-of-html-documentation-and-shippe.patch (text/x-diff, inline)]
From 68b5ee2b286b013584c38048c8951f5a90569487 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Sep 2020 01:43:50 +0000
Subject: [PATCH] Ensure correct mode of html documentation and shipped
 patches.

This ensures reproducible builds regardless of the umask.
---
 debdelta/debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debdelta/debian/rules b/debdelta/debian/rules
index f103fbf..9d47190 100755
--- a/debdelta/debian/rules
+++ b/debdelta/debian/rules
@@ -68,6 +68,9 @@ binary-indep:	checkroot build
 	chown -R root:root $(D2)
 	find debian/debdelta-doc -newermt '$(BUILD_DATE)' -print0 | \
 		xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
+	# Ensure correct mode for files for reproducible builds
+	chmod -c 0755 $(docdir2doc)/html/
+	chmod -c 0644 $(docdir2doc)/html/*
 	dpkg-deb --build $(D2) ..
 
 binary-arch:	checkroot build
@@ -117,6 +120,8 @@ binary-arch:	checkroot build
 	chown -R root:root $(D)
 	find debian/debdelta -newermt '$(BUILD_DATE)' -print0 | \
 		xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
+	# Ensure correct mode for files for reproducible builds
+	chmod -c 0644 $(D)/usr/share/debdelta/*.patch
 	dpkg-deb --build $(D) ..
 
 define checkdir
-- 
2.28.0

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

Reply sent to A Mennucc1 <mennucc1@debian.org>:
You have taken responsibility. (Sun, 24 Jan 2021 10:51:07 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sun, 24 Jan 2021 10:51:07 GMT) (full text, mbox, link).


Message #10 received at 970893-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 970893-close@bugs.debian.org
Subject: Bug#970893: fixed in debdelta 0.67
Date: Sun, 24 Jan 2021 10:48:27 +0000
Source: debdelta
Source-Version: 0.67
Done: A Mennucc1 <mennucc1@debian.org>

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

Debian distribution maintenance software
pp.
A Mennucc1 <mennucc1@debian.org> (supplier of updated debdelta 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: Sat, 23 Jan 2021 21:15:27 +0100
Source: debdelta
Architecture: source
Version: 0.67
Distribution: unstable
Urgency: medium
Maintainer: A Mennucc1 <mennucc1@debian.org>
Changed-By: A Mennucc1 <mennucc1@debian.org>
Closes: 970893
Changes:
 debdelta (0.67) unstable; urgency=medium
 .
   * Bug fix: "Ensure correct mode of html documentation and shipped
     patches.", thanks to Vagrant Cascadian (Closes: #970893).
Checksums-Sha1:
 15d20cbc518842eab6cb85d3cf062073e81d4fdb 1548 debdelta_0.67.dsc
 40328b3566cb1906aa3a4e66b260b151da9b30f7 270096 debdelta_0.67.tar.xz
 bc95802755d913323624df8cc89dc9f345d78b10 5303 debdelta_0.67_source.buildinfo
Checksums-Sha256:
 bd3930a1fd3361a6da4c15ed9f64646a2c41bf732d470063b76a2650aedc0a1a 1548 debdelta_0.67.dsc
 ba6653de3fe6a4afce6b3cb3c6e1c7b0b134d91817de27d3eaee811d1d71180e 270096 debdelta_0.67.tar.xz
 4087193842ba6fa706b2afc95d38120be6e897107babaed9ad97a019d23a8bc3 5303 debdelta_0.67_source.buildinfo
Files:
 63dc511de1f0741625029e6cf514c1a9 1548 devel optional debdelta_0.67.dsc
 1c3dae9119c334326138ef76ba88f5c3 270096 devel optional debdelta_0.67.tar.xz
 f682e6f7a7513c0dfc27192a0258a834 5303 devel optional debdelta_0.67_source.buildinfo

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

iQIzBAEBCgAdFiEENy2drAjrJ7izjulvV8z0WWoTU8IFAmANRL0ACgkQV8z0WWoT
U8LQ8w//dZwElRvXppnVtllxkGh2kJgACCzguq+rXK/RNjl8axs/ml9Ys5MJJyCi
yifYy0jUi5fBman22SFlEHPPhP62i/MfBV7ekzdG6qM1pb1z25aKgQHOlQNAXjgv
1v4jghmt60RHKkSW2h+KxHaeQX/KaNGOfvKbbHgQ3xZ8uKLqXa69h8e0NrOcdMS7
pTnkmayKxGCEt+TnbazowpJv1tYxr0o3sCXT8Q+YukV9x5dz7D5nzcpC8i+rYjD2
G4HH0lx18p6Gd2QTAJWii7QszzevBh3jiITDM+P0FrRUvWhr9MuSPm2WmLcAhhNX
YhqaL/eVjAhiXZT84dcWCp/hxaeWkjlE9ZKHdzQxJyNBXGWpIJ5naFwdafwkVh6D
6sXUTysJFUoQ1Ik8aYJuDHrPakwTJDla8CsZTmVzQJy0I03mcR1V7480M2y27jFA
49KBaPmIL5u6dD0lQTKsq3UeangDGTd9lTSCyHpxm22SE1Iq8wNfIeAufkoywJfl
CYhFMFUNmOLkEjm7+bL1e7byu2Aq6++H9c8+MOiYMQ/+yf6wiSS7QKTKcTJ3N9/6
m7FPv4jXeyZpDVPugERXHm3Q+yAId236WEjtEX5rr2Xsow6c6kubo7VZAFgXKFJO
agHy+IZtX6YV173ttT9MMh/8Xc3SuZwEYRxC3Uip3SWkH21HmQA=
=6oa8
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 26 Feb 2021 07:28:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


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