Differences between revisions 1 and 2
Revision 1 as of 2015-01-10 13:52:47
Size: 901
Editor: Lunar
Comment: document issue
Revision 2 as of 2015-01-10 13:53:04
Size: 900
Editor: Lunar
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
[[attachment:allegro4.4_4.4.2-5.debbindiff.html|Example debbindiff output]]] [[attachment:allegro4.4_4.4.2-5.debbindiff.html|Example debbindiff output]]

Tarballs contain mtimes. They will not be reproducible if files have been generated during build time.

Known affected packages


Example debbindiff output


Known yet.



If indivdiual mtimes don't matter, then use the --mtime option:

           set mtime for added files from DATE-OR-FILE

Adjusting mtimes

Use find, xargs, and touch to adjust file mtimes before tar is run. Example:

BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')
       find '$(DIR)' -depth -newermt '$(BUILD_DATE)' -print0 | \
               xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
       […] tar […]