On Mon, Jan 30, 2006 at 08:40:17PM +0100, Mike Hommey wrote:
> On Mon, Jan 30, 2006 at 06:26:26PM +0000, Ian Jackson <[EMAIL PROTECTED]>
> wrote:
> > Package: firefox
> > Version: 1.5.dfsg-4
> >
> > 1. Unpack firefox_1.5.dfsg-4.dsc
> > 2. debian/rules build
> > 3. fakeroot debian/rules binary
> > 4. fakeroot debian/rules clean
> >
> > Compare the directory tree with a pristine source unpack. In my test,
> > there are 390 additional files.
> >
> > This seems to be due to deficiences in `make distclean'.
>
> IIRC, make realclean is supposed to clean even more, except that it
> still doesn't clean everything.
>
> And also IIRC, there are also files that get removed during the build or
> by the make clean, while they were in the original archive.
Most packages probably have this smae bug. Policy [0] says:
This must undo any effects that the build and binary targets may
have had, except that it should leave alone any output files
created in the parent directory by a run of a binary target.
[0] http://www.us.debian.org/doc/debian-policy/ch-source.html#s-debianrules
The typical interpretation of this, I guess, is that "packages must be
buildable multiple times, without cleaning in between, with no
effective differences in the resulting binary packages". Presumably
most of these files either get removed as the first access in a build
(as you've suggested) or are overwritten ("clobbered") and neither
their contents nor existence at the start of the build have any real
effect.
Justin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]