While working on reproducible builds for openSUSE, I found that
our xsnow package varied across builds.
Please apply the attached patch.
extra note: needs --disable-selfrep for bit-identical results or a patch to how tar gets called (tell me, if you are interested)
btw: I created https://github.com/gitmirrors2/xsnow/ and plan to auto-update it from git.
Thanks for mentioning the issues!
tar ball created by 'make dist'. I will retar this tarball using the flags --atime-preserve and
--mtime.
I'll let you know when a new version is available.
Willem
For the tarball, I got reproducible results with
am__tar='$${TAR-tar} --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --owner=0 --group=0 --numeric-owner --mtime="@1" --sort=name -chof - "$$tardir"' am__untar='$${TAR-tar} xf -
https://reproducible-builds.org/docs/archives/ has some background on how the parts in there work.
However, half of these options are specific to GNU tar, so if you want to support BSD tar as well, things get more complicated.
Last edit: Bernhard M. Wiedemann 2022-02-02
Thanks for the suggestions. I am using something like this
I get now reproducible builds, except when I use pbuilder to create a debian package. Could you have a look at my attempt (see configure.ac) and test it on your system? You find the new version (3.4.4~pre3) here:
https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html
I tested your xsnow-3.4.4~pre4.tar.gz and it builds reproducibly in openSUSE. Thanks.
No message, good message ...
Closing this ticket.