Hi!

On Wed, 2016-11-23 at 12:23:20 +0100, Thorsten Glaser wrote:
> Package: dpkg-dev
> Version: 1.18.15
> Severity: minor

> Run: dpkg-buildpackage -S -d -nc
> 
> Watch this:
> 
> tglase@tglase-nb:~/squirrel-sql $ svn st
> ?       debian/files
> tglase@tglase-nb:~/squirrel-sql $ cat debian/files
> squirrel-sql_3.2.0+dfsg-1_source.buildinfo java optional
> 
> This file should not be there AIUI. Even .pc/ is automatically
> cleaned up and all quilt patches unapplied again, as it should
> be, but this one’s missing.

Well, yes and no. This was brought up on IRC by Ansgar when this new
behavior showed up. The problem here is that you are building a source
package by making a source-only build, disabling dependency checks and
cleanup, which means the debian/files gets left behind.

If what you want is to just create a source package then the correct
thing to do IMO is to just run dpkg-source --build. Of course you
might also need to run dpkg-source --before-build and --after-build.
But not running clean and expecting things to stay clean seems a bit
too much hopeful! :)

In principle for 1.19.x, I'd like to move all generated cruft to
something like debian/.build/ or similar, which means we could add
this to our VCS ignore rules and the above would "work". But otherwise
I'm thinking this is a self-inflicted problem?

Thanks,
Guillem

Reply via email to