On Fri, 16 Oct 2020 17:57:26 +0200 Alex <g...@gmx.net> wrote: > Hi, > > Samuel is not alone in this issue. As I frequently rebuild packages with > small changes, I fully recognise the reported problem occurring since > compat 10. I would very welcome a solution to get the behaviour of > compat<10 back as waiting half an hour per build, just to find an error > in some final step is not fun... >
As I said, I understand the issue and can definitely see why you would like a change in dh. For now, there is a work around. In its raw format, it is not very pretty but someone could clean it up and provide a short-hand for it. > On Sat, 12 Sep 2020 18:09:57 +0200 Samuel Thibault > <sthiba...@debian.org> wrote: > > DH_REBUILD=dh_auto_build dpkg-buildpackage -B -nc > > or > > DH_REBUILD=dh_auto_configure dpkg-buildpackage -B -nc > > Or using a command-line parameter to specify the step at which dh should > restart: > > dpkg-buildpackage -B --no-pre-clean=dh_auto_build > > Or if reusing --no-pre-clean is a no-go: > > dpkg-buildpackage -B --continue=dh_auto_build > > -- > mvg, > > Alex Hermann > > Looks like as good a starting point as any, but it would require support in dpkg (which has a separate set of maintainers). Feel free to suggest it to them, but be advised that that the dpkg maintainers almost certainly will want a general solution (i.e. one that is not tied to debhelper). If dpkg-buildpackage provides an interface that debhelper can rely on and easily use, then that I happy to consider adding support for that interface in debhelper. That said, I am not planning to drive the discussion/design - "someone else" will have to volunteer to take that role. ~Niels