Bug#806803: does not build twice in a row

2015-12-06 Thread Marc Haber
Hi Danny,

On Tue, Dec 01, 2015 at 09:53:00PM +0100, Danny Edel wrote:
> 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)

Neat idea, thanks. Works.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Bug#806803: does not build twice in a row

2015-12-01 Thread Danny Edel
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



Bug#806803: does not build twice in a row

2015-12-01 Thread Marc Haber
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