Bug#983302: imagemagick: reproducible builds: Embeds date dependent on timezone

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Feb 22 08:12:03 GMT 2021


Source: imagemagick
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various files embed a date in imagemagick, and while the command uses
ChangeLog as a reference file to produce a consistent date, it still
outputs a date that is dependent on the timezone:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/imagemagick.html

  /usr/include/ImageMagick-6/magick/version.h 

  #define·MagickReleaseDate··"2021-01-25"
  vs.
  #define·MagickReleaseDate··"2021-01-26"


The attached patch modifies configure.ac to pass an argument to the date
command to use the UTC timezone.

The patch uses the "-u" argument, though the more descriptive "--utc"
argument could be used instead if using GNU date, though other date
implementations may not support this argument.


This patch does not resolve all reproducibility issues (another patch
incoming soon), though the main remaining one is due to build paths,
which is not tested for bullseye.


Thanks for maintaining imagemagick!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure.ac-Patch-to-ensure-release-date-is-in-UTC.patch
Type: text/x-diff
Size: 853 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210222/516ad8e5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210222/516ad8e5/attachment.sig>


More information about the Reproducible-bugs mailing list