On Sun, Jun 18, 2017 at 07:47:14PM -0700, Russ Allbery wrote:
> >     % dgit --build-products-dir ~/foo gbp-build
> 
> This appears to not work.  In fact, there appears to be no way to get dgit
> to work with gbp-buildpackage if you set an export-dir in your ~/.gbp.conf
> (at least in some brief experiments).
> 
> Even with that flag, dgit writes some (but not all) of its output files in
> the parent directory (pieces of the source package and the downloaded dsc
> file of the previous release), and then aborts because it can't find the
> right files.  It appears to be doing pieces of the build outside of
> gbp-buildpackage, since I know gbp-buildpackage will always write all of
> its files in my configured export-dir.

I suspect that's exactly what's happening.  I think we now have two
bugs.

1. --build-products-dir makes dgit /read/ build products from a new dir,
   but it should probably also write the source package it generates to
   that dir

2. even if Ian wants to have dgit continue to put generated source
   packages in .. no matter what, it needs to be able to read them from
   .., even when --builds-products-dir points somewhere else.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to