Bug#1006207: freesas: manpages contains Python tracebacks

Chris Lamb lamby at debian.org
Mon Feb 21 11:36:18 GMT 2022


Package: freesas
Version: 0.9.0-2
Severity: normal
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Dear Maintainer,

The manpages for the freesas contain Python tracebacks instead of
actual documentation.

This is because the calls to help2man fail, and this failure output is
embedded instead of --help:

  for i in debian/python3-freesas/usr/bin/* ; do
    PATH=_build/bin:$$PATH help2man --output=$$(basename $$i).1
    --version-string=$$(dpkg-parsechangelog -S Version | sed
    s/-[^-]*$$//) --help-option -help --no-discard-stderr $$i ; done

I can't seem to find the right invocation right now. Setting
PYTHONPATH does not quite work (it still complains with
"importlib.metadata.PackageNotFoundError"), and if then rework the
calls to invoke the help commands prior to them being moved around,
then we bump into freesas specifically preventing the user from
running it from a Git checkout (!).

This was discovered by reproducibility testing, but it should have
been found by the "manpage-python-traceback" Lintian warning too.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-bugs mailing list