Re: rpmbuild producing different files

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

 



On Mon, 2004-10-18 at 12:49 -0400, Scot Mc Pherson wrote:
> On Tuesday 19 October 2004 12:25 pm, Nils Philippsen wrote:
> > On Mon, 2004-10-18 at 11:41 -0400, Scot Mc Pherson wrote:
> > > > I'd say this is to be expected because (ar) archives contain time
> > > > stamps which change with every build. That is also why I would expect
> > > > every RPM to have different checksums, because it again contains a
> > > > (cpio) archive which contains timestamps.
> > > >
> > > > Nils
> > >
> > > Of course, but that shouldn't change the file sizes.
> >
> > Sure it does ;-) as the contained archives are compressed and different
> > timestamps of files in there result in different data to be compressed
> > (the uncompressed archive) which will almost inevitably result in
> > different sizes of the compressed archive.
> >
> > Nils
> 
> Ah well I don't mean the RPM file itself, I mean the contents of the RPM. The 
> files themselves. For example, libc-2.3.3.so should always be the same size 
> when built several times with the same toolchain.

Are you running prelink or is this from unpacking (rpm2cpio) the
package?

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp@xxxxxxxxxx
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux