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

Re: rebuilding the archive in a dirty chroot: results



On 25/01/08 at 15:59 +0100, Daniel Leidert wrote:
> Am Freitag, den 25.01.2008, 15:25 +0100 schrieb Lucas Nussbaum:
> 
> > I've done two rebuilds of sid on i386.
> > - one in a perfectly clean chroot, as I usually do
> > - one in a chroot, where as many build-dependancies as impossible were
> >   installed (take the Sources file, extract the build-deps for all
> >   packages, and install as many packages as possible) (the chroot is
> >   named bdfh -- build daemon from hell)
> [..]
> > All the results are available from
> >   http://people.debian.org/~lucas/logs/2008/01/22/bdfh/
> 
> Ok. I checked docbook-xsl. Your report says, that there is a difference
> in the control file in the Installed-Size field. Now this package just
> copies files from the source to the correct place in the file system. So
> I checked the files: a) that I have written or that are created by
> debhelper and b) that are patched. But from the build logs I cannot find
> a difference between these files. So I'm wondering, where the difference
> comes from. Now because the file-list is very long and the build logs do
> not have the same ordering of the files, it is hard to compare the file
> lists without hacking around some kind of script that reads in your
> build-logs and compares the file-lists found in the build logs. So I'm
> wondering if you could send me the file lists in some sorted order or if
> there is some tool to compare packages directly?

Seems like gzip didn't compress the files in the exact same way, even if
the resulting size was the same:
$ diff -burN t t2
Binary files t/usr/share/doc/docbook-xsl-doc-html/changelog.Debian.gz
and t2/usr/share/doc/docbook-xsl-doc-html/changelog.Debian.gz differ
Binary files t/usr/share/doc/docbook-xsl-doc-html/NEWS.Debian.gz and
t2/usr/share/doc/docbook-xsl-doc-html/NEWS.Debian.gz differ

-rw-r--r-- 1 lnussbaum grenoble 10286 2008-01-23 22:35
t2/usr/share/doc/docbook-xsl-doc-html/changelog.Debian.gz
-rw-r--r-- 1 lnussbaum grenoble  1592 2008-01-23 22:35
t2/usr/share/doc/docbook-xsl-doc-html/NEWS.Debian.gz
-rw-r--r-- 1 lnussbaum grenoble 10286 2008-01-23 22:35
t/usr/share/doc/docbook-xsl-doc-html/changelog.Debian.gz
-rw-r--r-- 1 lnussbaum grenoble  1592 2008-01-23 22:35
t/usr/share/doc/docbook-xsl-doc-html/NEWS.Debian.gz

zdiff doesn't show any difference.

But if the size is the same, why would the Installed-Size differ? I have
no idea. I've copied the source and the binary packages to
gluck:~lucas/docbook-xsl.{normal,bdfh}, if you want to have a look.
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: