[Pkg-gmagick-im-team] Bug#983303: imagemagick: reproducible builds: Embeds different paths on usrmerge system

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


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

Various files embed the full path to the "mv" and "rm" binaries, which
are different on usrmerge systems:

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

  /etc/ImageMagick-6/delegates.xml

  <delegate·xmlns=""·decode="bpg"·command=""bpgdec"·-b·16·-o·"%o.png"·"%i";·/bin/mv·"%o.png"·"%o""/>
  vs.
  <delegate·xmlns=""·decode="bpg"·command=""bpgdec"·-b·16·-o·"%o.png"·"%i";·/usr/bin/mv·"%o.png"·"%o""/>


The attached patch fixes this in debian/rules by passing arguments to
configure to use the paths in the non-usrmerge paths, as usrmerge
systems typically have compatibility symlinks, while non-usrmerge
systems do not.


This patch does not resolve all reproducibility issues (a patch for
consistent dates was just submitted), though the main identified issue
is build paths, which is not tested for bullseye.


Thanks for maintaining imagemagick!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Pass-MVDelegate-and-RMDelegate-to-confi.patch
Type: text/x-diff
Size: 1190 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gmagick-im-team/attachments/20210222/66420d84/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/pkg-gmagick-im-team/attachments/20210222/66420d84/attachment.sig>


More information about the Pkg-gmagick-im-team mailing list