Bug#1021514: ssocr: reproducible-builds: build path embedded in /usr/bin/ssocr

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Oct 10 00:14:17 BST 2022


Source: ssocr
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 /usr/bin/ssocr:

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

  /build/1st/ssocr-2.22.1/ssocr.c:54
  vs.
  /build/2/ssocr-2.22.1/2nd/ssocr.c:54

The attached patch to debian/rules fixes this by adding a dh_auto_build
override that passes the default CFLAGS as CCOPTIONS.

According to my local tests, with this patch applied, ssocr should
*almost* build reproducibly on tests.reproducible-builds.org! (I'll
submit a patch also for the remaining timestamp issue)

Thanks for maintaining ssocr!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Add-dh_auto_build-override-to-explicitl.patch
Type: text/x-diff
Size: 667 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221009/3f0ea1e5/attachment-0001.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/3f0ea1e5/attachment-0001.sig>


More information about the Reproducible-bugs mailing list