Bug#990084: graphicsmagick: reproducible builds: Embeds different paths on usrmerge system

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Jun 20 02:52:59 BST 2021


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

The delegates.mgk file embeds the full path to the "mv" binary, which is
different on usrmerge systems:

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

  ./usr/lib/GraphicsMagick-1.4/config/delegates.mgk

  <delegate·decode="hpg"·command='"hp2xx"·-q·-m·eps·-f·`basename·"%o"`·"%i"·&&·/bin/mv·-f·`basename·"%o"`·"%o"'·/>
  vs.
  <delegate·decode="hpg"·command='"hp2xx"·-q·-m·eps·-f·`basename·"%o"`·"%i"·&&·/usr/bin/mv·-f·`basename·"%o"`·"%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, though the only
remaining issue is build paths, which is not tested in the "testing"
suite, so applying this patch should result in reproducible builds once
it migrates to "testing".


Thanks for maintaining graphicsmagick!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-MVDelegate-to-configure.patch
Type: text/x-diff
Size: 948 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210619/4e27896a/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/20210619/4e27896a/attachment.sig>


More information about the Reproducible-bugs mailing list