2

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?

truf
  • 211

1 Answers1

2

Ok, It seems dh-make command support was removed from bzr plugins (package brz-debian) since ver 2.8.51:

breezy-debian (2.8.51) unstable; urgency=medium
  • Drop the dh-make subcommand.

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:

wget http://mirrors.kernel.org/ubuntu/pool/universe/b/breezy-debian/brz-debian_2.8.42_all.deb
sudo dpkg -i brz-debian_2.8.42_all.deb
truf
  • 211