Bug#977783: magicfilter: reproducible builds: buildid changes with different build path

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Dec 20 19:48:45 GMT 2020


Source: magicfilter
Version: 1.2-65
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org


The file /usr/sbin/magicfilter has a different buildid when the build
path changes:

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

  GNU 0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» Build·ID:·c89260c14a143b70d63d924b4712c4b35c03a23c
  vs.
  GNU 0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» Build·ID:·487f927ccc177675cac6867f716c97792fc359c4

The attached patch fixes this in debian/rules by passing
-ffile-prefix-map via CFLAGS.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-debian-rules-Use-ffile-prefix-map-in-CFLAGS-to-ensur.patch
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201220/578482d2/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/20201220/578482d2/attachment.sig>


More information about the Reproducible-bugs mailing list