Mailinglist Archive: opensuse-packaging (216 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Reproducible .tar.gz compression?
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Tue, 8 Mar 2011 10:24:17 +0100
  • Message-id: <AANLkTi=+V=iEp4md_V1aGQ_wDh6HGa0Q84whKJvAiykh@mail.gmail.com>
2011/3/7 Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>:
El 07/03/11 15:42, Cristian Morales Vega escribió:
2011/3/7 Cristian Morales Vega <cmorve69@xxxxxxxx>:
I have a package that "tar czf"s a directory in the build process.
This breaks build-compare since every compression generates a
different file.

a file with different timestamps or one with different checksum ?

No in the original files. Otherwise the bzip2 file would also be different ;-)
The problem was the timestamp of the temporal tar file... but now I
have a different problem. I can create reproducible gzip files from
the tar, but now I'm unable to create reproducible tar files.

In my local system everything is OK. Using "osc build" I get
reproducible results. If I manually create .tar.gz files from
different copies of the directory I get reproducible results. If I
uncompress the .tar.gz files created in the build service and create
new .tar.gz from them I get reproducible results... But the builds in
the (Packman) Build Service are not reproducible.

I'm going to look through the tar file format specs, but any help is welcome.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >