Bug#1020754: shapetools: reproducible-builds: Embedded build path in sttk.h
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon Sep 26 01:27:25 BST 2022
Source: shapetools
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/include/sttk.h:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/shapetools.html
#define·ST_ENV_DEFAULT» "/build/1st/shapetools-1.4pl6/debian/tmp/usr"
vs.
#define·ST_ENV_DEFAULT» "/build/2/shapetools-1.4pl6/2nd/debian/tmp/usr"
The attached patch fixes this in debian/rules by removing the build path
and debian/tmp from sttk.h. It is unclear to me if it would be better to
replace it with a placeholder value, or to leave the debian/tmp part; it
really depends how this define is used.
With this patch applied shapetools should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining shapetools!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-build-path-from-sttk.h.patch
Type: text/x-diff
Size: 825 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/37541771/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/37541771/attachment.sig>
More information about the Reproducible-bugs
mailing list