Bug#1024404: gitlint: reproducible-builds: python tracebacks in gitlint.1 man page
Vagrant Cascadian
vagrant at reproducible-builds.org
Fri Nov 18 20:34:11 GMT 2022
Source: gitlint
Severity: important
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-control-Add-Build-Depends-on-python3-arrow-py.patch
Type: text/x-diff
Size: 745 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221118/afc2d583/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221118/afc2d583/attachment.sig>
More information about the Reproducible-bugs
mailing list