[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-source again broken wrt to 3.0 (quilt)???


On Wed, 18 Jan 2012, Norbert Preining wrote:
> So, let the flame war start again, or the enlightning procedure. I am open
> to explanations.

It would be nice if you could avoid the "flaming tone" in all your mails.
In particular since most of the time it ends up being a mistake of yours.

On Wed, 18 Jan 2012, Norbert Preining wrote:
> On Mi, 18 Jan 2012, Jakub Wilk wrote:
> > Wait, are you patching files inside debian/? That won't fly.
> Umpf, and, is that so evil? Esp for a NMU this is *very* good
> as it allows to see what the changes of the NMU are ...

Yes, it's evil. dpkg-source tries to generate a new diff between the
currently unpacked source package and a "pristine" one which it generates
by unpacking the original tarball, copying the debian directory and
applying the patches.

But if the debian directory already contains changes which are part of the
patches, then it will fail trying to re-apply those changes.

There's a lintian error for this if for some reason you still manage to
build it:

(This was possible with source format "1.0" because there was only one big
patch which is regenerated every time, and because the source was built with
quilt patches unapplied)

Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/

Reply to: