Package: sbuild
Version: 0.88.5
Severity: minor

Hi. When building packages for bookworm I see this in the build log,
which was not shown before:

E: Failed to execute “dpkg-buildtree”: No such file or directory

Then there is a step called "Install fakeroot" which does nothing
because I already had fakeroot installed.


Apparently dpkg-buildtree is tried first and then fakeroot is installed
after checking that it was not available, so it would seem that the
error message is not a "real" error. I wonder if it would be possible to
check for “dpkg-buildtree” in a more silent way.

Or maybe such new algorithm could be applied only if dpkg >= some-version.

(Manpage says dpkg-buildtree was introduced in dpkg 1.22.3 and
is-rootless was introduced in dpkg 1.22.1).

While we are at it: Given that sbuild now seems to install
fakeroot when it's required to build the package (i.e. I guess
that when the package has "rules-requires-root: binary-targets"),
can I consider a serious bug if the package tries to
use fakeroot explicitly without a build-depends?

Thanks.

Reply via email to