On 12/01/2015 05:50 PM, Marc Haber wrote:
> Package: borgbackup
> Version: 0.28.2-1
> Severity: important
> 
> Hi,
> 
> when invoking debuild in the same source tree twice, the second try
> fails with "unrepresentable changes to source". debian/rules clean
> should return the package in the complete pre-build state so that the
> build can begin again. This makes debugging packages tremendously
> easier than having to unpack over and over again.
> 
> Severity: important since this is the usual severity for "fails to
> build twice in a row" bug reports.
> 
> Greetings
> Marc
> 

Hello Marc,

thank you for reporting this.  I'll look into it and patch the d/rules
clean-target.

In the meantime, you can use git-buildpackage's [export] feature as a
workaround, making it a bit more user friendly to use scratchpad
directories.

Something along the lines of
git add -u && gbp buildpackage --git-export=INDEX --git-ignore-new
should work (called from the collab-maint/borgbackup.git clone)

Cheers,
Danny

[export]:
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.building.html#GBP.BUILDING.EXPORT

Reply via email to