#1003999 leatherman: reproducible-builds: BuildId differences triggered by RPATH

Package:
src:leatherman
Source:
leatherman
Submitter:
Vagrant Cascadian
Date:
2022-01-19 05:03:04 UTC
Severity:
normal
Tags:
#1003999#5
Date:
2022-01-19 04:58:55 UTC
From:
To:
The RPATH contains the build path resulting in different buildid:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/leatherman.html

The attached patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override,
which should use a relative path for RPATH.

Alternately, updating the packaging to debhelper compat level 14 should
fix this, although it is currently an experimental compat level.

With this patch applied, leatherman should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining leatherman!

live well,
  vagrant