Bug#1021521: crack: reproducible-builds: build path embedded in various binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Oct 10 01:42:57 BST 2022


Source: crack
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 build path is embedded in various binaries in /usr/lib/Crack:

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

  /usr/lib/Crack/cracker

  /build/1st/crack-5.0a/src/util/cracker.c:980
  vs.
  /build/2/crack-5.0a/2nd/src/util/cracker.c:980

The attached patch to debian/Crack.make fixes this by adding the default
CFLAGS to C5FLAGS using dpkg-buildflags.

According to my local tests, with this patch applied, and the patch
recently submitted to fix timestamp issues, crack should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining crack!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-Crack.make-Use-dpkg-buildflags-to-set-default.patch
Type: text/x-diff
Size: 882 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221009/4f94d545/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/20221009/4f94d545/attachment.sig>


More information about the Reproducible-bugs mailing list