Package: dh-python
Version: 4.20200315
Severity: normal

I was building a package locally and noticed this in the build log:

D: pybuild __init__:36: cannot initialize 'cmake' plugin
Traceback (most recent call last):
  File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in <module>
    module.BuildSystem.is_usable()
  File "/usr/share/dh-python/dhpython/build/base.py", line 120, in is_usable
    raise Exception("missing command: %s" % command)
Exception: missing command: cmake

Pybuild should catch the error and if needed print something useful.  I
don't know that this needs anything though.  If a package uses cmake and
it's not there, it'll eventually blow up the build anyway.  I don't thnk
pybuild needs to call it out.

Scott K

Reply via email to