Bug#1006385: krita: reproducible-builds: build path embedded in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Feb 24 19:12:00 GMT 2022


Source: krita
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 krita in two different ways, notably
directly into the /usr/bin/krita binary, and the RPATH contains the
build path resulting in different buildid.

The attached patches fix this by removing the explicitly embedded build
path in krita/main.cc, and passing -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
a dh_auto_configure override, which should use a relative path for
RPATH.


With these patches applied, krita should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining krita!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-krita-main.cc-Remove-reference-to-build-directory.patch
Type: text/x-diff
Size: 1077 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220224/856692db/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch
Type: text/x-diff
Size: 1027 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220224/856692db/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/20220224/856692db/attachment.sig>


More information about the Reproducible-bugs mailing list