On Mon, 2020-03-15 at 19:26:14 +0000, Nicholas Brown wrote:
> I could imagine the patch below, which I started looking at some time ago
> but never
> got around to coming back to, could form a start at implementing this.

This is pretty close to what I initially did, and mentioned on my first
reply to the bug.

  
<https://git.hadrons.org/cgit/debian/dpkg/dpkg.git/commit/?h=pu/dpkg-buildpackage-build-outputdir>

> It was just the obvious paths within the script itself, but the various
> calls to dpkg-source,
> dpkg-genbuildinfo, dpkg-genchanges, that all accept output options, still
> need to be
> modified to pass this new argument.

The actual problem are none of these, but the dpkg-deb calls performed
from within debian/rules, directly or indirectly via debhelper. Where
even if debhelper would handle this as Philipp Hahn suggested, dpkg
could not rely on that as this is a package-specific implementation
detail.

Until and iff dpkg-buildpackage starts handling the dpkg-deb calls by
itself, this bug cannot be solved. I didn't feel like marking as
wontfix because I think the request make sense, it's just that I don't
see how to implement it as things stand right now.

Thanks,
Guillem

  • Bug#657401: Nicholas Brown
    • Bug#657401: dpkg-buildpackage: support output director... Guillem Jover

Reply via email to