Debian Bug report logs - #1024404
gitlint: reproducible-builds: python tracebacks in gitlint.1 man page

version graph

Package: src:gitlint; Maintainer for src:gitlint is Daniel Baumann <daniel.baumann@progress-linux.org>;

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

Date: Fri, 18 Nov 2022 20:39:02 UTC

Severity: important

Tags: patch

Fixed in version gitlint/0.18.0-1

Done: Daniel Baumann <daniel.baumann@progress-linux.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, Daniel Baumann <daniel.baumann@progress-linux.org>:
Bug#1024404; Package src:gitlint. (Fri, 18 Nov 2022 20:39: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, Daniel Baumann <daniel.baumann@progress-linux.org>. (Fri, 18 Nov 2022 20:39: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: submit@bugs.debian.org
Subject: gitlint: reproducible-builds: python tracebacks in gitlint.1 man page
Date: Fri, 18 Nov 2022 12:34:11 -0800
[Message part 1 (text/plain, inline)]
Source: gitlint
Severity: important
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The output of a python traceback including the build path is embedded in
the gitlint.1 man page:

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

  /usr/share/man/man1/gitlint.1.gz

  .TH·TRACEBACK·"1"·"December·2021"·"Traceback·(most·recent·call·last):"·"User·Commands"
  ...
  File·"/build/1st/gitlint\-0.17.0/debian/gitlint/usr/bin/gitlint",·line·33,·in·<module>
  vs.
  File·"/build/2/gitlint\-0.17.0/2nd/debian/gitlint/usr/bin/gitlint",·line·33,·in·<module>
  ...
  import·click
  ModuleNotFoundError:·No·module·named·'click'

Though embedding the build path revealed the problem, the real problem
is caused by missing dependencies...

The attached patch to debian/control fixes this by passing adding
several python3 packages to Build-Depends, as using help2man requires
the run-time dependencies at build-time.

According to my local tests, with this patch applied gitlint should
build reproducibly on tests.reproducible-builds.org as a side-effect of
fixing the real problem!

Thanks for maintaining gitlint!

live well,
  vagrant
[0001-debian-control-Add-Build-Depends-on-python3-arrow-py.patch (text/x-diff, inline)]
From 00d8df53ff0425c801103417db027819541fa132 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 18 Nov 2022 20:19:38 +0000
Subject: [PATCH] debian/control: Add Build-Depends on python3-arrow,
 python3-click and python3-sh, which are used when generated the gitlint.1
 manpage.

---
 debian/control | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/control b/debian/control
index 80ce548..036ea43 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,10 @@ Build-Depends:
  git,
  help2man,
  python3-all,
+ python3-arrow,
+ python3-click,
  python3-setuptools,
+ python3-sh,
 Rules-Requires-Root: no
 Standards-Version: 4.6.0
 Homepage: https://jorisroovers.com/gitlint/
-- 
2.38.1

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

Reply sent to Daniel Baumann <daniel.baumann@progress-linux.org>:
You have taken responsibility. (Sat, 19 Nov 2022 15:24:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sat, 19 Nov 2022 15:24:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1024404-close@bugs.debian.org
Subject: Bug#1024404: fixed in gitlint 0.18.0-1
Date: Sat, 19 Nov 2022 15:20:52 +0000
Source: gitlint
Source-Version: 0.18.0-1
Done: Daniel Baumann <daniel.baumann@progress-linux.org>

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

Debian distribution maintenance software
pp.
Daniel Baumann <daniel.baumann@progress-linux.org> (supplier of updated gitlint 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, 19 Nov 2022 15:55:10 +0100
Source: gitlint
Architecture: source
Version: 0.18.0-1
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Changed-By: Daniel Baumann <daniel.baumann@progress-linux.org>
Closes: 1024404
Changes:
 gitlint (0.18.0-1) sid; urgency=medium
 .
   * Uploading to sid.
   * Merging upstream version 0.18.0.
   * Updating copyright for 2022.
   * Updating to standards version 4.6.1.
   * Adding further build-depends used for manpage generation to make build
     reproducible, thanks to Vagrant Cascadian <vagrant@reproducible-
     builds.org> (Closes: #1024404).
Checksums-Sha1:
 9915cfe813aaf9a888feb7a0af3be1d4af5788b2 2013 gitlint_0.18.0-1.dsc
 8dcec0a7407d15195b7a65feeb03e29a0b1f5163 693856 gitlint_0.18.0.orig.tar.xz
 13189b598832fb18da1976fe6f3745013e4da495 3444 gitlint_0.18.0-1.debian.tar.xz
 bd2a9bfcb6d513a8dde33bfc13aedb5c58d7aa9c 7579 gitlint_0.18.0-1_amd64.buildinfo
Checksums-Sha256:
 54ff2a42787210e1a53da2b26d88da0f7ae33347c4bea36ce12510b500318921 2013 gitlint_0.18.0-1.dsc
 641ee23a30fb702b117fef4588690be5d430f65272c5962b0e0431f0c8d3b433 693856 gitlint_0.18.0.orig.tar.xz
 5402a9ae0004e2384e077d3581be4cf5ebfdbdaa5c3c6d27fd07c4860cb076bc 3444 gitlint_0.18.0-1.debian.tar.xz
 319fc81b14cabb11c559f602937af02e6b19e5799ca72353c190fb35e7cd25e9 7579 gitlint_0.18.0-1_amd64.buildinfo
Files:
 a050c03f0ba1c719e7e298389a966120 2013 utils optional gitlint_0.18.0-1.dsc
 3011c932283fa06aa891c8102fb4b8e0 693856 utils optional gitlint_0.18.0.orig.tar.xz
 952cbc86254f431831bf80f7255edafe 3444 utils optional gitlint_0.18.0-1.debian.tar.xz
 454d75402ccb1cc1d341a2c9b8547aae 7579 utils optional gitlint_0.18.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEgTbtJcfWfpLHSkKSVc8b+YaruccFAmN47noACgkQVc8b+Yar
uccGbw//QcjkL1sM6JDvZaid1GLOhWPu8uBkp9vNn8fesSq7M3gwob9CrGoQ/WNG
S6+mlXDAGXEr5GeISNTRTpJ+DrAkeLB95ffvMZQApt+LRnIxoiPJ5ktz+3AsiVPl
XHu2al77b7uuwXjxoUS0XgvgJFf+KHyIBgMyRcXbEi4M/OeCkekjyI6tH4auCkQg
Px+nFARCNMIL4vP93zwqhi5D3ZgMoEGQyMLP3+pA85nZAgeBXU2N23GDeIO8+yOj
yVsJgXhgmxTsL0XeMemdhIGWozLJyuLr/vTP/xNEJRtwTAlffEzIZTxADHdKcsQp
2hN8o4LhGvx0iKHZOIgh6qG3kPYa8NpLeS4OdHU8t6+pB5MTCo4HjOiPfAy5fEDu
ZhCSL/GPEVe7ilGO+QXTpw95K9p8jOf2rr7tAJKIUBNprGN5tUMndOzsauIPq2jj
3T/blBvb3UpudCw9ekI3bxlsXMZlxY4EszeK53AqApeDcxuBr89Eoui31J/VXGzn
uDQYezxj8E7k9FNPvDrW9nNYAlQvQt1wWKFbWr4SBHGKatDNAzK8PwZsQGFTylQ5
03jZuFVmTjnOszkRL5ArxyKL8aOcs9DWc31+1OZFDK8FaA1bSQt19MDmLiw4YR+n
ARVZPjNS4vNsk9xSWOp/Oc2ZfAZc5bBZfyBRbzSKSAOtPAPeTrI=
=1S8n
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 23 Dec 2022 07:24:51 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 11:31:03 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.