Bug#1020752: sjeng: reproducible-builds: differing buildid in in /usr/games/sjeng

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Sep 26 00:41:16 BST 2022


Source: sjeng
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 buildid differs in /usr/games/sjeng when built with a different
build path:

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

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

Alternately, adapting this packge to use the default flags passed via
dpkg-buildflags should solve this issue as well.

With this patch applied sjeng should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining sjeng!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-avo.patch
Type: text/x-diff
Size: 845 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/2778e241/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/20220925/2778e241/attachment.sig>


More information about the Reproducible-bugs mailing list