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

Package:
src:krita
Source:
krita
Submitter:
Vagrant Cascadian
Date:
2022-02-24 19:15:04 UTC
Severity:
normal
Tags:
#1006385#5
Date:
2022-02-24 19:12:00 UTC
From:
To:
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