I'm trying to build a deb according to the https://packaging.ubuntu.com/html/packaging-new-software.html
Everything was working 6 months ago. Now when I execute: bzr dh-make hello 2.10 hello-2.10.tar.gz
I'm getting:
brz: ERROR: unknown command "dh-make"
I tried to apt install -reinstall: bzr, bzr-builddeb, dh-make
That doesn't help. My packages are:
bzr 2.7.0+bzr6622+brz
bzr-builddeb 2.8.12+brz
devscripts 2.21.1ubuntu1
dh-make 2.202003
$ python -V
Python 3.9.5
System: Kubuntu 21.04
What can be wrong and how to debug?
Ok, It seems
dh-make
command support was removed from bzr plugins (packagebrz-debian
) since ver 2.8.51:https://github.com/breezy-team/breezy-debian/blob/master/debian/changelog#L74
The solution is to downgrade brz-debian (2.8.51) to brz-debian (2.8.42) from Ubuntu 20.04: